datadog

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 26 Imported by: 16

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

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

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

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

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

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

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

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

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

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

Functions ¶

func CacheExpires ¶

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

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

func ContainsUnparsedObject ¶ added in v1.3.0

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

func NewDefaultContext ¶

func NewDefaultContext(ctx context.Context) context.Context

NewDefaultContext returns a new context setup with environment variables

func PtrBool ¶

func PtrBool(v bool) *bool

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

func PtrFloat32 ¶

func PtrFloat32(v float32) *float32

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

func PtrFloat64 ¶

func PtrFloat64(v float64) *float64

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

func PtrInt ¶

func PtrInt(v int) *int

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

func PtrInt32 ¶

func PtrInt32(v int32) *int32

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

func PtrInt64 ¶

func PtrInt64(v int64) *int64

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

func PtrString ¶

func PtrString(v string) *string

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

func PtrTime ¶

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

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

Types ¶

type APIClient ¶

type APIClient struct {
	AuditApi *AuditApiService

	AuthNMappingsApi *AuthNMappingsApiService

	CloudWorkloadSecurityApi *CloudWorkloadSecurityApiService

	DashboardListsApi *DashboardListsApiService

	IncidentServicesApi *IncidentServicesApiService

	IncidentTeamsApi *IncidentTeamsApiService

	IncidentsApi *IncidentsApiService

	KeyManagementApi *KeyManagementApiService

	LogsApi *LogsApiService

	LogsArchivesApi *LogsArchivesApiService

	LogsMetricsApi *LogsMetricsApiService

	MetricsApi *MetricsApiService

	ProcessesApi *ProcessesApiService

	RolesApi *RolesApiService

	RUMApi *RUMApiService

	SecurityMonitoringApi *SecurityMonitoringApiService

	ServiceAccountsApi *ServiceAccountsApiService

	UsersApi *UsersApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Datadog API V2 Collection API v1.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient ¶

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) CallAPI ¶

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

CallAPI do the request.

func (*APIClient) GetConfig ¶

func (c *APIClient) GetConfig() *Configuration

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

func (*APIClient) PrepareRequest ¶

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

PrepareRequest build the request

type APIErrorResponse ¶

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

APIErrorResponse API error response.

func NewAPIErrorResponse ¶

func NewAPIErrorResponse(errors []string) *APIErrorResponse

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

func NewAPIErrorResponseWithDefaults ¶

func NewAPIErrorResponseWithDefaults() *APIErrorResponse

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

func (*APIErrorResponse) GetErrors ¶

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

GetErrors returns the Errors field value

func (*APIErrorResponse) GetErrorsOk ¶

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

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

func (APIErrorResponse) MarshalJSON ¶

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

func (*APIErrorResponse) SetErrors ¶

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

SetErrors sets field value

func (*APIErrorResponse) UnmarshalJSON ¶

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

type APIKey ¶

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIKeyCreateAttributes ¶

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

APIKeyCreateAttributes Attributes used to create an API Key.

func NewAPIKeyCreateAttributes ¶

func NewAPIKeyCreateAttributes(name string) *APIKeyCreateAttributes

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

func NewAPIKeyCreateAttributesWithDefaults ¶

func NewAPIKeyCreateAttributesWithDefaults() *APIKeyCreateAttributes

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

func (*APIKeyCreateAttributes) GetName ¶

func (o *APIKeyCreateAttributes) GetName() string

GetName returns the Name field value

func (*APIKeyCreateAttributes) GetNameOk ¶

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

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

func (APIKeyCreateAttributes) MarshalJSON ¶

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

func (*APIKeyCreateAttributes) SetName ¶

func (o *APIKeyCreateAttributes) SetName(v string)

SetName sets field value

func (*APIKeyCreateAttributes) UnmarshalJSON ¶

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

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, type_ 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)

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)

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)

func (*APIKeyCreateRequest) SetData ¶

func (o *APIKeyCreateRequest) SetData(v APIKeyCreateData)

SetData sets field value

func (*APIKeyCreateRequest) UnmarshalJSON ¶

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

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)

func (*APIKeyRelationships) SetCreatedBy ¶

func (o *APIKeyRelationships) SetCreatedBy(v RelationshipToUser)

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

func (*APIKeyRelationships) SetModifiedBy ¶

func (o *APIKeyRelationships) SetModifiedBy(v RelationshipToUser)

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

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

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

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)

func (*APIKeyResponse) SetData ¶

func (o *APIKeyResponse) SetData(v FullAPIKey)

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

func (*APIKeyResponse) SetIncluded ¶

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

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

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

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

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

Get the actual instance

func (APIKeyResponseIncludedItem) MarshalJSON ¶

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

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

func (*APIKeyResponseIncludedItem) UnmarshalJSON ¶

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

Unmarshal JSON 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)

func (*APIKeyUpdateAttributes) SetName ¶

func (o *APIKeyUpdateAttributes) SetName(v string)

SetName sets field value

func (*APIKeyUpdateAttributes) UnmarshalJSON ¶

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

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, type_ 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)

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)

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)

func (*APIKeyUpdateRequest) SetData ¶

func (o *APIKeyUpdateRequest) SetData(v APIKeyUpdateData)

SetData sets field value

func (*APIKeyUpdateRequest) UnmarshalJSON ¶

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

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)

func (*APIKeysResponse) SetData ¶

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

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

func (*APIKeysResponse) SetIncluded ¶

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

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

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

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

type APIKeysSort ¶

type APIKeysSort string

APIKeysSort Sorting options

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

List of APIKeysSort

func NewAPIKeysSortFromValue ¶

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

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

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

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

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

type APIKeysType ¶

type APIKeysType string

APIKeysType API Keys resource type.

const (
	APIKEYSTYPE_API_KEYS APIKeysType = "api_keys"
)

List of APIKeysType

func NewAPIKeysTypeFromValue ¶

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

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

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

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

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

type APIResponse ¶

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse ¶

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError ¶

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApplicationKeyCreateAttributes ¶

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

ApplicationKeyCreateAttributes Attributes used to create an application Key.

func NewApplicationKeyCreateAttributes ¶

func NewApplicationKeyCreateAttributes(name string) *ApplicationKeyCreateAttributes

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

func NewApplicationKeyCreateAttributesWithDefaults ¶

func NewApplicationKeyCreateAttributesWithDefaults() *ApplicationKeyCreateAttributes

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

func (*ApplicationKeyCreateAttributes) GetName ¶

GetName returns the Name field value

func (*ApplicationKeyCreateAttributes) GetNameOk ¶

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

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

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

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

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

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

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

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

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

func (o *ApplicationKeyCreateAttributes) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (ApplicationKeyCreateAttributes) MarshalJSON ¶

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

func (*ApplicationKeyCreateAttributes) SetName ¶

func (o *ApplicationKeyCreateAttributes) SetName(v string)

SetName sets field value

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

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

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

func (*ApplicationKeyCreateAttributes) UnmarshalJSON ¶

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

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, type_ 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)

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)

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)

func (*ApplicationKeyCreateRequest) SetData ¶

SetData sets field value

func (*ApplicationKeyCreateRequest) UnmarshalJSON ¶

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

type ApplicationKeyRelationships ¶

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

ApplicationKeyRelationships Resources related to the application key.

func NewApplicationKeyRelationships ¶

func NewApplicationKeyRelationships() *ApplicationKeyRelationships

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

func NewApplicationKeyRelationshipsWithDefaults ¶

func NewApplicationKeyRelationshipsWithDefaults() *ApplicationKeyRelationships

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

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

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

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

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

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

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

func (o *ApplicationKeyRelationships) HasOwnedBy() bool

HasOwnedBy returns a boolean if a field has been set.

func (ApplicationKeyRelationships) MarshalJSON ¶

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

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

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

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

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

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)

func (*ApplicationKeyResponse) SetData ¶

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

func (*ApplicationKeyResponse) SetIncluded ¶

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

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

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

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

Get the actual instance

func (ApplicationKeyResponseIncludedItem) MarshalJSON ¶

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

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

func (*ApplicationKeyResponseIncludedItem) UnmarshalJSON ¶

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

Unmarshal JSON data into one of the pointers in the struct

type ApplicationKeyUpdateAttributes ¶

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

ApplicationKeyUpdateAttributes Attributes used to update an application Key.

func NewApplicationKeyUpdateAttributes ¶

func NewApplicationKeyUpdateAttributes() *ApplicationKeyUpdateAttributes

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

func NewApplicationKeyUpdateAttributesWithDefaults ¶

func NewApplicationKeyUpdateAttributesWithDefaults() *ApplicationKeyUpdateAttributes

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

func (*ApplicationKeyUpdateAttributes) GetName ¶

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

func (*ApplicationKeyUpdateAttributes) GetNameOk ¶

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

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

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

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

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

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

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

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

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

func (o *ApplicationKeyUpdateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

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

func (o *ApplicationKeyUpdateAttributes) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (ApplicationKeyUpdateAttributes) MarshalJSON ¶

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

func (*ApplicationKeyUpdateAttributes) SetName ¶

func (o *ApplicationKeyUpdateAttributes) SetName(v string)

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

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

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

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

func (*ApplicationKeyUpdateAttributes) UnmarshalJSON ¶

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

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, type_ 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)

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)

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)

func (*ApplicationKeyUpdateRequest) SetData ¶

SetData sets field value

func (*ApplicationKeyUpdateRequest) UnmarshalJSON ¶

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

type ApplicationKeysSort ¶

type ApplicationKeysSort string

ApplicationKeysSort Sorting options

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

List of ApplicationKeysSort

func NewApplicationKeysSortFromValue ¶

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

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

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

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

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

type ApplicationKeysType ¶

type ApplicationKeysType string

ApplicationKeysType Application Keys resource type.

const (
	APPLICATIONKEYSTYPE_APPLICATION_KEYS ApplicationKeysType = "application_keys"
)

List of ApplicationKeysType

func NewApplicationKeysTypeFromValue ¶

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

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

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

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

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

type AuditApiService ¶ added in v1.11.0

type AuditApiService service

AuditApiService AuditApi service

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

* ListAuditLogs Get a list of Audit Logs events * List endpoint returns events that match a Audit Logs search query. * [Results are paginated][1]. * * Use this endpoint to see your latest Audit Logs events. * * [1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination

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

* SearchAuditLogs Search Audit Logs events * List endpoint returns Audit Logs events that match an Audit search query. * [Results are paginated][1]. * * Use this endpoint to build complex Audit Logs events filtering and search. * * [1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination

type AuditLogsEvent ¶ added in v1.11.0

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

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

func NewAuditLogsEvent ¶ added in v1.11.0

func NewAuditLogsEvent() *AuditLogsEvent

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

func NewAuditLogsEventWithDefaults ¶ added in v1.11.0

func NewAuditLogsEventWithDefaults() *AuditLogsEvent

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

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

func (o *AuditLogsEvent) GetAttributes() AuditLogsEventAttributes

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

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

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

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

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

func (o *AuditLogsEvent) GetId() string

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

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

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

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

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

func (o *AuditLogsEvent) GetType() AuditLogsEventType

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

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

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

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

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

func (o *AuditLogsEvent) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

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

func (o *AuditLogsEvent) HasId() bool

HasId returns a boolean if a field has been set.

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

func (o *AuditLogsEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (AuditLogsEvent) MarshalJSON ¶ added in v1.11.0

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

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

func (o *AuditLogsEvent) SetAttributes(v AuditLogsEventAttributes)

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

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

func (o *AuditLogsEvent) SetId(v string)

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

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

func (o *AuditLogsEvent) SetType(v AuditLogsEventType)

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

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

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

type AuditLogsEventAttributes ¶ added in v1.11.0

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

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

func NewAuditLogsEventAttributes ¶ added in v1.11.0

func NewAuditLogsEventAttributes() *AuditLogsEventAttributes

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

func NewAuditLogsEventAttributesWithDefaults ¶ added in v1.11.0

func NewAuditLogsEventAttributesWithDefaults() *AuditLogsEventAttributes

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

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

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

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

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

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

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

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

func (o *AuditLogsEventAttributes) GetService() string

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *AuditLogsEventAttributes) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

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

func (o *AuditLogsEventAttributes) HasService() bool

HasService returns a boolean if a field has been set.

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

func (o *AuditLogsEventAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

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

func (o *AuditLogsEventAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (AuditLogsEventAttributes) MarshalJSON ¶ added in v1.11.0

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

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

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

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

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

func (o *AuditLogsEventAttributes) SetService(v string)

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

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

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

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

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

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

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

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

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

type AuditLogsEventType ¶ added in v1.11.0

type AuditLogsEventType string

AuditLogsEventType Type of the event.

const (
	AUDITLOGSEVENTTYPE_Audit AuditLogsEventType = "audit"
)

List of AuditLogsEventType

func NewAuditLogsEventTypeFromValue ¶ added in v1.11.0

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

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

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

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

func (AuditLogsEventType) IsValid ¶ added in v1.11.0

func (v AuditLogsEventType) IsValid() bool

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

func (AuditLogsEventType) Ptr ¶ added in v1.11.0

Ptr returns reference to AuditLogsEventType value

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

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

type AuditLogsEventsResponse ¶ added in v1.11.0

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

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

func NewAuditLogsEventsResponse ¶ added in v1.11.0

func NewAuditLogsEventsResponse() *AuditLogsEventsResponse

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

func NewAuditLogsEventsResponseWithDefaults ¶ added in v1.11.0

func NewAuditLogsEventsResponseWithDefaults() *AuditLogsEventsResponse

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *AuditLogsEventsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (o *AuditLogsEventsResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

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

func (o *AuditLogsEventsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (AuditLogsEventsResponse) MarshalJSON ¶ added in v1.11.0

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

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

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

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

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

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

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

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

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

type AuditLogsQueryFilter ¶ added in v1.11.0

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

AuditLogsQueryFilter Search and filter query settings.

func NewAuditLogsQueryFilter ¶ added in v1.11.0

func NewAuditLogsQueryFilter() *AuditLogsQueryFilter

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

func NewAuditLogsQueryFilterWithDefaults ¶ added in v1.11.0

func NewAuditLogsQueryFilterWithDefaults() *AuditLogsQueryFilter

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

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

func (o *AuditLogsQueryFilter) GetFrom() string

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

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

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

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

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

func (o *AuditLogsQueryFilter) GetQuery() string

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

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

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

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

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

func (o *AuditLogsQueryFilter) GetTo() string

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

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

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

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

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

func (o *AuditLogsQueryFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

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

func (o *AuditLogsQueryFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

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

func (o *AuditLogsQueryFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (AuditLogsQueryFilter) MarshalJSON ¶ added in v1.11.0

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

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

func (o *AuditLogsQueryFilter) SetFrom(v string)

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

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

func (o *AuditLogsQueryFilter) SetQuery(v string)

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

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

func (o *AuditLogsQueryFilter) SetTo(v string)

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

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

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

type AuditLogsQueryOptions ¶ added in v1.11.0

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

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

func NewAuditLogsQueryOptions ¶ added in v1.11.0

func NewAuditLogsQueryOptions() *AuditLogsQueryOptions

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

func NewAuditLogsQueryOptionsWithDefaults ¶ added in v1.11.0

func NewAuditLogsQueryOptionsWithDefaults() *AuditLogsQueryOptions

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

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

func (o *AuditLogsQueryOptions) GetTimeOffset() int64

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

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

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

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

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

func (o *AuditLogsQueryOptions) GetTimezone() string

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

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

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

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

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

func (o *AuditLogsQueryOptions) HasTimeOffset() bool

HasTimeOffset returns a boolean if a field has been set.

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

func (o *AuditLogsQueryOptions) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (AuditLogsQueryOptions) MarshalJSON ¶ added in v1.11.0

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

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

func (o *AuditLogsQueryOptions) SetTimeOffset(v int64)

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

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

func (o *AuditLogsQueryOptions) SetTimezone(v string)

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

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

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

type AuditLogsQueryPageOptions ¶ added in v1.11.0

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

AuditLogsQueryPageOptions Paging attributes for listing events.

func NewAuditLogsQueryPageOptions ¶ added in v1.11.0

func NewAuditLogsQueryPageOptions() *AuditLogsQueryPageOptions

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

func NewAuditLogsQueryPageOptionsWithDefaults ¶ added in v1.11.0

func NewAuditLogsQueryPageOptionsWithDefaults() *AuditLogsQueryPageOptions

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

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

func (o *AuditLogsQueryPageOptions) GetCursor() string

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

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

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

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

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

func (o *AuditLogsQueryPageOptions) GetLimit() int32

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

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

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

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

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

func (o *AuditLogsQueryPageOptions) HasCursor() bool

HasCursor returns a boolean if a field has been set.

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

func (o *AuditLogsQueryPageOptions) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (AuditLogsQueryPageOptions) MarshalJSON ¶ added in v1.11.0

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

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

func (o *AuditLogsQueryPageOptions) SetCursor(v string)

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

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

func (o *AuditLogsQueryPageOptions) SetLimit(v int32)

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

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

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

AuditLogsResponseLinks Links attributes.

func NewAuditLogsResponseLinks() *AuditLogsResponseLinks

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

func NewAuditLogsResponseLinksWithDefaults ¶ added in v1.11.0

func NewAuditLogsResponseLinksWithDefaults() *AuditLogsResponseLinks

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

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

func (o *AuditLogsResponseLinks) GetNext() string

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

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

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

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

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

func (o *AuditLogsResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (AuditLogsResponseLinks) MarshalJSON ¶ added in v1.11.0

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

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

func (o *AuditLogsResponseLinks) SetNext(v string)

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

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

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

type AuditLogsResponseMetadata ¶ added in v1.11.0

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

AuditLogsResponseMetadata The metadata associated with a request.

func NewAuditLogsResponseMetadata ¶ added in v1.11.0

func NewAuditLogsResponseMetadata() *AuditLogsResponseMetadata

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

func NewAuditLogsResponseMetadataWithDefaults ¶ added in v1.11.0

func NewAuditLogsResponseMetadataWithDefaults() *AuditLogsResponseMetadata

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

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

func (o *AuditLogsResponseMetadata) GetElapsed() int64

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

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

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

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

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

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

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

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

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

func (o *AuditLogsResponseMetadata) GetRequestId() string

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *AuditLogsResponseMetadata) HasElapsed() bool

HasElapsed returns a boolean if a field has been set.

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

func (o *AuditLogsResponseMetadata) HasPage() bool

HasPage returns a boolean if a field has been set.

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

func (o *AuditLogsResponseMetadata) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

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

func (o *AuditLogsResponseMetadata) HasStatus() bool

HasStatus returns a boolean if a field has been set.

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

func (o *AuditLogsResponseMetadata) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (AuditLogsResponseMetadata) MarshalJSON ¶ added in v1.11.0

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

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

func (o *AuditLogsResponseMetadata) SetElapsed(v int64)

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

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

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

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

func (o *AuditLogsResponseMetadata) SetRequestId(v string)

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

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

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

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

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

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

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

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

type AuditLogsResponsePage ¶ added in v1.11.0

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

AuditLogsResponsePage Paging attributes.

func NewAuditLogsResponsePage ¶ added in v1.11.0

func NewAuditLogsResponsePage() *AuditLogsResponsePage

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

func NewAuditLogsResponsePageWithDefaults ¶ added in v1.11.0

func NewAuditLogsResponsePageWithDefaults() *AuditLogsResponsePage

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

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

func (o *AuditLogsResponsePage) GetAfter() string

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

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

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

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

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

func (o *AuditLogsResponsePage) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (AuditLogsResponsePage) MarshalJSON ¶ added in v1.11.0

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

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

func (o *AuditLogsResponsePage) SetAfter(v string)

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

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

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

type AuditLogsResponseStatus ¶ added in v1.11.0

type AuditLogsResponseStatus string

AuditLogsResponseStatus The status of the response.

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

List of AuditLogsResponseStatus

func NewAuditLogsResponseStatusFromValue ¶ added in v1.11.0

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

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

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

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

func (AuditLogsResponseStatus) IsValid ¶ added in v1.11.0

func (v AuditLogsResponseStatus) IsValid() bool

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

func (AuditLogsResponseStatus) Ptr ¶ added in v1.11.0

Ptr returns reference to AuditLogsResponseStatus value

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

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

type AuditLogsSearchEventsRequest ¶ added in v1.11.0

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

AuditLogsSearchEventsRequest The request for a Audit Logs events list.

func NewAuditLogsSearchEventsRequest ¶ added in v1.11.0

func NewAuditLogsSearchEventsRequest() *AuditLogsSearchEventsRequest

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

func NewAuditLogsSearchEventsRequestWithDefaults ¶ added in v1.11.0

func NewAuditLogsSearchEventsRequestWithDefaults() *AuditLogsSearchEventsRequest

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *AuditLogsSearchEventsRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

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

func (o *AuditLogsSearchEventsRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

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

func (o *AuditLogsSearchEventsRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

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

func (o *AuditLogsSearchEventsRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (AuditLogsSearchEventsRequest) MarshalJSON ¶ added in v1.11.0

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

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

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

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

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

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

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

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

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

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

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

type AuditLogsSort ¶ added in v1.11.0

type AuditLogsSort string

AuditLogsSort Sort parameters when querying events.

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

List of AuditLogsSort

func NewAuditLogsSortFromValue ¶ added in v1.11.0

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

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

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

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

func (AuditLogsSort) IsValid ¶ added in v1.11.0

func (v AuditLogsSort) IsValid() bool

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

func (AuditLogsSort) Ptr ¶ added in v1.11.0

func (v AuditLogsSort) Ptr() *AuditLogsSort

Ptr returns reference to AuditLogsSort value

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

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

type AuditLogsWarning ¶ added in v1.11.0

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

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

func NewAuditLogsWarning ¶ added in v1.11.0

func NewAuditLogsWarning() *AuditLogsWarning

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

func NewAuditLogsWarningWithDefaults ¶ added in v1.11.0

func NewAuditLogsWarningWithDefaults() *AuditLogsWarning

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

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

func (o *AuditLogsWarning) GetCode() string

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

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

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

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

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

func (o *AuditLogsWarning) GetDetail() string

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

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

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

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

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

func (o *AuditLogsWarning) GetTitle() string

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

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

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

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

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

func (o *AuditLogsWarning) HasCode() bool

HasCode returns a boolean if a field has been set.

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

func (o *AuditLogsWarning) HasDetail() bool

HasDetail returns a boolean if a field has been set.

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

func (o *AuditLogsWarning) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (AuditLogsWarning) MarshalJSON ¶ added in v1.11.0

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

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

func (o *AuditLogsWarning) SetCode(v string)

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

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

func (o *AuditLogsWarning) SetDetail(v string)

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

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

func (o *AuditLogsWarning) SetTitle(v string)

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

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

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

type AuthNMapping ¶ added in v1.9.0

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

AuthNMapping The AuthN Mapping object returned by API.

func NewAuthNMapping ¶ added in v1.9.0

func NewAuthNMapping(id string, type_ AuthNMappingsType) *AuthNMapping

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

func NewAuthNMappingWithDefaults ¶ added in v1.9.0

func NewAuthNMappingWithDefaults() *AuthNMapping

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

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

func (o *AuthNMapping) GetAttributes() AuthNMappingAttributes

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

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

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

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

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

func (o *AuthNMapping) GetId() string

GetId returns the Id field value

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

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

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

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

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

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

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

func (o *AuthNMapping) 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 (*AuthNMapping) GetRelationships ¶ added in v1.9.0

func (o *AuthNMapping) GetRelationships() AuthNMappingRelationships

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

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

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

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

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

func (o *AuthNMapping) GetType() AuthNMappingsType

GetType returns the Type field value

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

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

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

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

func (o *AuthNMapping) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

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

func (o *AuthNMapping) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

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

func (o *AuthNMapping) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (AuthNMapping) MarshalJSON ¶ added in v1.9.0

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

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

func (o *AuthNMapping) SetAttributes(v AuthNMappingAttributes)

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

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

func (o *AuthNMapping) SetId(v string)

SetId sets field value

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

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

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

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

func (o *AuthNMapping) SetRelationships(v AuthNMappingRelationships)

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

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

func (o *AuthNMapping) SetType(v AuthNMappingsType)

SetType sets field value

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

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

type AuthNMappingAttributes ¶ added in v1.9.0

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

AuthNMappingAttributes Attributes of AuthN Mapping.

func NewAuthNMappingAttributes ¶ added in v1.9.0

func NewAuthNMappingAttributes() *AuthNMappingAttributes

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

func NewAuthNMappingAttributesWithDefaults ¶ added in v1.9.0

func NewAuthNMappingAttributesWithDefaults() *AuthNMappingAttributes

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

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

func (o *AuthNMappingAttributes) GetAttributeKey() string

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

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

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

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

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

func (o *AuthNMappingAttributes) GetAttributeValue() string

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (o *AuthNMappingAttributes) GetSamlAssertionAttributeId() int32

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

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

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

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

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

func (o *AuthNMappingAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

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

func (o *AuthNMappingAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

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

func (o *AuthNMappingAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

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

func (o *AuthNMappingAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

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

func (o *AuthNMappingAttributes) HasSamlAssertionAttributeId() bool

HasSamlAssertionAttributeId returns a boolean if a field has been set.

func (AuthNMappingAttributes) MarshalJSON ¶ added in v1.9.0

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

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

func (o *AuthNMappingAttributes) SetAttributeKey(v string)

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

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

func (o *AuthNMappingAttributes) SetAttributeValue(v string)

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

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

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

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

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

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

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

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

func (o *AuthNMappingAttributes) SetSamlAssertionAttributeId(v int32)

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

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

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

type AuthNMappingCreateAttributes ¶ added in v1.9.0

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

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

func NewAuthNMappingCreateAttributes ¶ added in v1.9.0

func NewAuthNMappingCreateAttributes() *AuthNMappingCreateAttributes

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

func NewAuthNMappingCreateAttributesWithDefaults ¶ added in v1.9.0

func NewAuthNMappingCreateAttributesWithDefaults() *AuthNMappingCreateAttributes

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

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

func (o *AuthNMappingCreateAttributes) GetAttributeKey() string

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

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

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

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

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

func (o *AuthNMappingCreateAttributes) GetAttributeValue() string

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

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

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

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

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

func (o *AuthNMappingCreateAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

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

func (o *AuthNMappingCreateAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (AuthNMappingCreateAttributes) MarshalJSON ¶ added in v1.9.0

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

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

func (o *AuthNMappingCreateAttributes) SetAttributeKey(v string)

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

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

func (o *AuthNMappingCreateAttributes) SetAttributeValue(v string)

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

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

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

type AuthNMappingCreateData ¶ added in v1.9.0

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

AuthNMappingCreateData Data for creating an AuthN Mapping.

func NewAuthNMappingCreateData ¶ added in v1.9.0

func NewAuthNMappingCreateData(type_ AuthNMappingsType) *AuthNMappingCreateData

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

func NewAuthNMappingCreateDataWithDefaults ¶ added in v1.9.0

func NewAuthNMappingCreateDataWithDefaults() *AuthNMappingCreateData

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

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

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

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

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

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

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

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

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

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

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

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

GetType returns the Type field value

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

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

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

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

func (o *AuthNMappingCreateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

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

func (o *AuthNMappingCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (AuthNMappingCreateData) MarshalJSON ¶ added in v1.9.0

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

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

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

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

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

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

SetType sets field value

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

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

type AuthNMappingCreateRelationships ¶ added in v1.9.0

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

AuthNMappingCreateRelationships Relationship of AuthN Mapping create object to Role.

func NewAuthNMappingCreateRelationships ¶ added in v1.9.0

func NewAuthNMappingCreateRelationships() *AuthNMappingCreateRelationships

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

func NewAuthNMappingCreateRelationshipsWithDefaults ¶ added in v1.9.0

func NewAuthNMappingCreateRelationshipsWithDefaults() *AuthNMappingCreateRelationships

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

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

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

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

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

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

HasRole returns a boolean if a field has been set.

func (AuthNMappingCreateRelationships) MarshalJSON ¶ added in v1.9.0

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

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

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

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

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

type AuthNMappingCreateRequest ¶ added in v1.9.0

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

AuthNMappingCreateRequest Request for creating an AuthN Mapping.

func NewAuthNMappingCreateRequest ¶ added in v1.9.0

func NewAuthNMappingCreateRequest(data AuthNMappingCreateData) *AuthNMappingCreateRequest

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

func NewAuthNMappingCreateRequestWithDefaults ¶ added in v1.9.0

func NewAuthNMappingCreateRequestWithDefaults() *AuthNMappingCreateRequest

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

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

GetData returns the Data field value

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

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

func (AuthNMappingCreateRequest) MarshalJSON ¶ added in v1.9.0

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

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

SetData sets field value

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

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

type AuthNMappingIncluded ¶ added in v1.9.0

type AuthNMappingIncluded struct {
	SAMLAssertionAttribute *SAMLAssertionAttribute
	Role                   *Role

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

AuthNMappingIncluded - Included data in the AuthN Mapping response.

func RoleAsAuthNMappingIncluded ¶ added in v1.9.0

func RoleAsAuthNMappingIncluded(v *Role) AuthNMappingIncluded

RoleAsAuthNMappingIncluded is a convenience function that returns Role wrapped in AuthNMappingIncluded

func SAMLAssertionAttributeAsAuthNMappingIncluded ¶ added in v1.9.0

func SAMLAssertionAttributeAsAuthNMappingIncluded(v *SAMLAssertionAttribute) AuthNMappingIncluded

SAMLAssertionAttributeAsAuthNMappingIncluded is a convenience function that returns SAMLAssertionAttribute wrapped in AuthNMappingIncluded

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

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

Get the actual instance

func (AuthNMappingIncluded) MarshalJSON ¶ added in v1.9.0

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

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

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

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

Unmarshal JSON data into one of the pointers in the struct

type AuthNMappingRelationships ¶ added in v1.9.0

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

AuthNMappingRelationships All relationships associated with AuthN Mapping.

func NewAuthNMappingRelationships ¶ added in v1.9.0

func NewAuthNMappingRelationships() *AuthNMappingRelationships

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

func NewAuthNMappingRelationshipsWithDefaults ¶ added in v1.9.0

func NewAuthNMappingRelationshipsWithDefaults() *AuthNMappingRelationships

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

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

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

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

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

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

func (o *AuthNMappingRelationships) GetSamlAssertionAttribute() RelationshipToSAMLAssertionAttribute

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

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

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

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

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

func (o *AuthNMappingRelationships) HasRole() bool

HasRole returns a boolean if a field has been set.

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

func (o *AuthNMappingRelationships) HasSamlAssertionAttribute() bool

HasSamlAssertionAttribute returns a boolean if a field has been set.

func (AuthNMappingRelationships) MarshalJSON ¶ added in v1.9.0

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

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

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

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

func (o *AuthNMappingRelationships) SetSamlAssertionAttribute(v RelationshipToSAMLAssertionAttribute)

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

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

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

type AuthNMappingResponse ¶ added in v1.9.0

type AuthNMappingResponse struct {
	// The AuthN Mapping object returned by API.
	Data *AuthNMapping `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{}
}

AuthNMappingResponse AuthN Mapping response from the API.

func NewAuthNMappingResponse ¶ added in v1.9.0

func NewAuthNMappingResponse() *AuthNMappingResponse

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

func NewAuthNMappingResponseWithDefaults ¶ added in v1.9.0

func NewAuthNMappingResponseWithDefaults() *AuthNMappingResponse

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

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

func (o *AuthNMappingResponse) GetData() AuthNMapping

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

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

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

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

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

func (o *AuthNMappingResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (AuthNMappingResponse) MarshalJSON ¶ added in v1.9.0

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

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

func (o *AuthNMappingResponse) SetData(v AuthNMapping)

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

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

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

type AuthNMappingUpdateAttributes ¶ added in v1.9.0

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

AuthNMappingUpdateAttributes Key/Value pair of attributes used for update request.

func NewAuthNMappingUpdateAttributes ¶ added in v1.9.0

func NewAuthNMappingUpdateAttributes() *AuthNMappingUpdateAttributes

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

func NewAuthNMappingUpdateAttributesWithDefaults ¶ added in v1.9.0

func NewAuthNMappingUpdateAttributesWithDefaults() *AuthNMappingUpdateAttributes

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

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

func (o *AuthNMappingUpdateAttributes) GetAttributeKey() string

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

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

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

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

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

func (o *AuthNMappingUpdateAttributes) GetAttributeValue() string

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

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

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

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

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

func (o *AuthNMappingUpdateAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

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

func (o *AuthNMappingUpdateAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (AuthNMappingUpdateAttributes) MarshalJSON ¶ added in v1.9.0

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

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

func (o *AuthNMappingUpdateAttributes) SetAttributeKey(v string)

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

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

func (o *AuthNMappingUpdateAttributes) SetAttributeValue(v string)

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

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

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

type AuthNMappingUpdateData ¶ added in v1.9.0

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

AuthNMappingUpdateData Data for updating an AuthN Mapping.

func NewAuthNMappingUpdateData ¶ added in v1.9.0

func NewAuthNMappingUpdateData(id string, type_ AuthNMappingsType) *AuthNMappingUpdateData

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

func NewAuthNMappingUpdateDataWithDefaults ¶ added in v1.9.0

func NewAuthNMappingUpdateDataWithDefaults() *AuthNMappingUpdateData

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

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

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

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

func (o *AuthNMappingUpdateData) GetAttributesOk() (*AuthNMappingUpdateAttributes, bool)

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

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

func (o *AuthNMappingUpdateData) GetId() string

GetId returns the Id field value

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

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

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

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

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

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

func (o *AuthNMappingUpdateData) GetRelationshipsOk() (*AuthNMappingUpdateRelationships, bool)

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

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

GetType returns the Type field value

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

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

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

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

func (o *AuthNMappingUpdateData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

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

func (o *AuthNMappingUpdateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (AuthNMappingUpdateData) MarshalJSON ¶ added in v1.9.0

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

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

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

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

func (o *AuthNMappingUpdateData) SetId(v string)

SetId sets field value

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

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

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

SetType sets field value

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

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

type AuthNMappingUpdateRelationships ¶ added in v1.9.0

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

AuthNMappingUpdateRelationships Relationship of AuthN Mapping update object to Role.

func NewAuthNMappingUpdateRelationships ¶ added in v1.9.0

func NewAuthNMappingUpdateRelationships() *AuthNMappingUpdateRelationships

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

func NewAuthNMappingUpdateRelationshipsWithDefaults ¶ added in v1.9.0

func NewAuthNMappingUpdateRelationshipsWithDefaults() *AuthNMappingUpdateRelationships

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

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

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

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

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

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

HasRole returns a boolean if a field has been set.

func (AuthNMappingUpdateRelationships) MarshalJSON ¶ added in v1.9.0

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

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

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

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

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

type AuthNMappingUpdateRequest ¶ added in v1.9.0

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

AuthNMappingUpdateRequest Request to update an AuthN Mapping.

func NewAuthNMappingUpdateRequest ¶ added in v1.9.0

func NewAuthNMappingUpdateRequest(data AuthNMappingUpdateData) *AuthNMappingUpdateRequest

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

func NewAuthNMappingUpdateRequestWithDefaults ¶ added in v1.9.0

func NewAuthNMappingUpdateRequestWithDefaults() *AuthNMappingUpdateRequest

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

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

GetData returns the Data field value

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

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

func (AuthNMappingUpdateRequest) MarshalJSON ¶ added in v1.9.0

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

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

SetData sets field value

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

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

type AuthNMappingsApiService ¶ added in v1.9.0

type AuthNMappingsApiService service

AuthNMappingsApiService AuthNMappingsApi service

func (*AuthNMappingsApiService) CreateAuthNMapping ¶ added in v1.9.0

* CreateAuthNMapping Create an AuthN Mapping * Create an AuthN Mapping.

func (*AuthNMappingsApiService) DeleteAuthNMapping ¶ added in v1.9.0

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

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

func (*AuthNMappingsApiService) GetAuthNMapping ¶ added in v1.9.0

func (a *AuthNMappingsApiService) GetAuthNMapping(ctx _context.Context, authnMappingId string) (AuthNMappingResponse, *_nethttp.Response, error)

* GetAuthNMapping Get an AuthN Mapping by UUID * Get an AuthN Mapping specified by the AuthN Mapping UUID.

func (*AuthNMappingsApiService) ListAuthNMappings ¶ added in v1.9.0

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

func (*AuthNMappingsApiService) UpdateAuthNMapping ¶ added in v1.9.0

* UpdateAuthNMapping Edit an AuthN Mapping * Edit an AuthN Mapping.

type AuthNMappingsResponse ¶ added in v1.9.0

type AuthNMappingsResponse struct {
	// Array of returned AuthN Mappings.
	Data *[]AuthNMapping `json:"data,omitempty"`
	// Object describing meta attributes of response.
	Meta *ResponseMetaAttributes `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

AuthNMappingsResponse Array of AuthN Mappings response.

func NewAuthNMappingsResponse ¶ added in v1.9.0

func NewAuthNMappingsResponse() *AuthNMappingsResponse

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

func NewAuthNMappingsResponseWithDefaults ¶ added in v1.9.0

func NewAuthNMappingsResponseWithDefaults() *AuthNMappingsResponse

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

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

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

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

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

func (o *AuthNMappingsResponse) GetDataOk() (*[]AuthNMapping, bool)

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

func (*AuthNMappingsResponse) GetMeta ¶ added in v1.9.0

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

func (*AuthNMappingsResponse) GetMetaOk ¶ added in v1.9.0

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

func (*AuthNMappingsResponse) HasData ¶ added in v1.9.0

func (o *AuthNMappingsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*AuthNMappingsResponse) HasMeta ¶ added in v1.9.0

func (o *AuthNMappingsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (AuthNMappingsResponse) MarshalJSON ¶ added in v1.9.0

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

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

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

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

func (*AuthNMappingsResponse) SetMeta ¶ added in v1.9.0

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

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

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

type AuthNMappingsSort ¶ added in v1.9.0

type AuthNMappingsSort string

AuthNMappingsSort Sorting options for AuthN Mappings.

const (
	AUTHNMAPPINGSSORT_CREATED_AT_ASCENDING                      AuthNMappingsSort = "created_at"
	AUTHNMAPPINGSSORT_CREATED_AT_DESCENDING                     AuthNMappingsSort = "-created_at"
	AUTHNMAPPINGSSORT_ROLE_ID_ASCENDING                         AuthNMappingsSort = "role_id"
	AUTHNMAPPINGSSORT_ROLE_ID_DESCENDING                        AuthNMappingsSort = "-role_id"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_ID_ASCENDING     AuthNMappingsSort = "saml_assertion_attribute_id"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_ID_DESCENDING    AuthNMappingsSort = "-saml_assertion_attribute_id"
	AUTHNMAPPINGSSORT_ROLE_NAME_ASCENDING                       AuthNMappingsSort = "role.name"
	AUTHNMAPPINGSSORT_ROLE_NAME_DESCENDING                      AuthNMappingsSort = "-role.name"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_KEY_ASCENDING    AuthNMappingsSort = "saml_assertion_attribute.attribute_key"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_KEY_DESCENDING   AuthNMappingsSort = "-saml_assertion_attribute.attribute_key"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_VALUE_ASCENDING  AuthNMappingsSort = "saml_assertion_attribute.attribute_value"
	AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_VALUE_DESCENDING AuthNMappingsSort = "-saml_assertion_attribute.attribute_value"
)

List of AuthNMappingsSort

func NewAuthNMappingsSortFromValue ¶ added in v1.9.0

func NewAuthNMappingsSortFromValue(v string) (*AuthNMappingsSort, error)

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

func (*AuthNMappingsSort) GetAllowedValues ¶ added in v1.9.0

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

func (AuthNMappingsSort) IsValid ¶ added in v1.9.0

func (v AuthNMappingsSort) IsValid() bool

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

func (AuthNMappingsSort) Ptr ¶ added in v1.9.0

Ptr returns reference to AuthNMappingsSort value

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

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

type AuthNMappingsType ¶ added in v1.9.0

type AuthNMappingsType string

AuthNMappingsType AuthN Mappings resource type.

const (
	AUTHNMAPPINGSTYPE_AUTHN_MAPPINGS AuthNMappingsType = "authn_mappings"
)

List of AuthNMappingsType

func NewAuthNMappingsTypeFromValue ¶ added in v1.9.0

func NewAuthNMappingsTypeFromValue(v string) (*AuthNMappingsType, error)

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

func (*AuthNMappingsType) GetAllowedValues ¶ added in v1.9.0

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

func (AuthNMappingsType) IsValid ¶ added in v1.9.0

func (v AuthNMappingsType) IsValid() bool

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

func (AuthNMappingsType) Ptr ¶ added in v1.9.0

Ptr returns reference to AuthNMappingsType value

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

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

type BasicAuth ¶

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CloudWorkloadSecurityAgentRuleAttributes ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleAttributes struct {
	// The category of the Agent rule.
	Category *string `json:"category,omitempty"`
	// When the Agent rule was created, timestamp in milliseconds.
	CreationDate *int64 `json:"creationDate,omitempty"`
	// The attributes of the user who created the Agent rule.
	Creator *CloudWorkloadSecurityAgentRuleCreatorAttributes `json:"creator,omitempty"`
	// Whether the rule is included by default.
	DefaultRule *bool `json:"defaultRule,omitempty"`
	// The description of the Agent rule.
	Description *string `json:"description,omitempty"`
	// Whether the Agent rule is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// The SECL expression of the Agent rule.
	Expression *string `json:"expression,omitempty"`
	// The name of the Agent rule.
	Name *string `json:"name,omitempty"`
	// When the Agent rule was last updated, timestamp in milliseconds.
	UpdatedAt *int64 `json:"updatedAt,omitempty"`
	// The attributes of the user who last updated the Agent rule.
	Updater *CloudWorkloadSecurityAgentRuleUpdaterAttributes `json:"updater,omitempty"`
	// The version of the Agent rule.
	Version *int64 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleAttributes A Cloud Workload Security Agent rule returned by the API.

func NewCloudWorkloadSecurityAgentRuleAttributes ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleAttributes() *CloudWorkloadSecurityAgentRuleAttributes

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

func NewCloudWorkloadSecurityAgentRuleAttributesWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleAttributes

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCategory ¶ added in v1.8.0

GetCategory returns the Category field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCategoryOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCategoryOk() (*string, bool)

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCreationDate ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCreationDate() int64

GetCreationDate returns the CreationDate field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCreationDateOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCreationDateOk() (*int64, bool)

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCreator ¶ added in v1.8.0

GetCreator returns the Creator field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetCreatorOk ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRule ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRule() bool

GetDefaultRule returns the DefaultRule field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRuleOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRuleOk() (*bool, bool)

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetDescription ¶ added in v1.8.0

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

func (*CloudWorkloadSecurityAgentRuleAttributes) GetDescriptionOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetEnabled ¶ added in v1.8.0

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetEnabledOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetExpression ¶ added in v1.8.0

GetExpression returns the Expression field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetExpressionOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetExpressionOk() (*string, bool)

GetExpressionOk returns a tuple with the Expression field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetName ¶ added in v1.8.0

GetName returns the Name field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetNameOk ¶ added in v1.8.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAt ¶ added in v1.8.0

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAtOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAtOk() (*int64, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdater ¶ added in v1.8.0

GetUpdater returns the Updater field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdaterOk ¶ added in v1.8.0

GetUpdaterOk returns a tuple with the Updater field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetVersion ¶ added in v1.8.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleAttributes) GetVersionOk ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasCategory ¶ added in v1.8.0

HasCategory returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasCreationDate ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasCreator ¶ added in v1.8.0

HasCreator returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasDefaultRule ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) HasDefaultRule() bool

HasDefaultRule returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasDescription ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasEnabled ¶ added in v1.8.0

HasEnabled returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasExpression ¶ added in v1.8.0

HasExpression returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasName ¶ added in v1.8.0

HasName returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasUpdatedAt ¶ added in v1.8.0

HasUpdatedAt returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasUpdater ¶ added in v1.8.0

HasUpdater returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleAttributes) HasVersion ¶ added in v1.8.0

HasVersion returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleAttributes) MarshalJSON ¶ added in v1.8.0

func (*CloudWorkloadSecurityAgentRuleAttributes) SetCategory ¶ added in v1.8.0

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetCreationDate ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) SetCreationDate(v int64)

SetCreationDate gets a reference to the given int64 and assigns it to the CreationDate field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetCreator ¶ added in v1.8.0

SetCreator gets a reference to the given CloudWorkloadSecurityAgentRuleCreatorAttributes and assigns it to the Creator field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetDefaultRule ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) SetDefaultRule(v bool)

SetDefaultRule gets a reference to the given bool and assigns it to the DefaultRule field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetDescription ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetEnabled ¶ added in v1.8.0

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetExpression ¶ added in v1.8.0

SetExpression gets a reference to the given string and assigns it to the Expression field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetName ¶ added in v1.8.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetUpdatedAt ¶ added in v1.8.0

SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetUpdater ¶ added in v1.8.0

SetUpdater gets a reference to the given CloudWorkloadSecurityAgentRuleUpdaterAttributes and assigns it to the Updater field.

func (*CloudWorkloadSecurityAgentRuleAttributes) SetVersion ¶ added in v1.8.0

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*CloudWorkloadSecurityAgentRuleAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleAttributes) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityAgentRuleCreateAttributes ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleCreateAttributes struct {
	// The description of the Agent rule.
	Description *string `json:"description,omitempty"`
	// Whether the Agent rule is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// The SECL expression of the Agent rule.
	Expression string `json:"expression"`
	// The name of the Agent rule.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleCreateAttributes Create a new Cloud Workload Security Agent rule.

func NewCloudWorkloadSecurityAgentRuleCreateAttributes ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreateAttributes(expression string, name string) *CloudWorkloadSecurityAgentRuleCreateAttributes

NewCloudWorkloadSecurityAgentRuleCreateAttributes instantiates a new CloudWorkloadSecurityAgentRuleCreateAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudWorkloadSecurityAgentRuleCreateAttributesWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreateAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleCreateAttributes

NewCloudWorkloadSecurityAgentRuleCreateAttributesWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleCreateAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetDescription ¶ added in v1.8.0

GetDescription returns the Description field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetDescriptionOk ¶ added in v1.8.0

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetEnabled ¶ added in v1.8.0

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetEnabledOk ¶ added in v1.8.0

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetExpression ¶ added in v1.8.0

GetExpression returns the Expression field value

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetExpressionOk ¶ added in v1.8.0

GetExpressionOk returns a tuple with the Expression field value and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetName ¶ added in v1.8.0

GetName returns the Name field value

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetNameOk ¶ added in v1.8.0

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) HasDescription ¶ added in v1.8.0

HasDescription returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) HasEnabled ¶ added in v1.8.0

HasEnabled returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleCreateAttributes) MarshalJSON ¶ added in v1.8.0

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetDescription ¶ added in v1.8.0

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetEnabled ¶ added in v1.8.0

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetExpression ¶ added in v1.8.0

SetExpression sets field value

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetName ¶ added in v1.8.0

SetName sets field value

func (*CloudWorkloadSecurityAgentRuleCreateAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityAgentRuleCreateData ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleCreateData struct {
	// Create a new Cloud Workload Security Agent rule.
	Attributes CloudWorkloadSecurityAgentRuleCreateAttributes `json:"attributes"`
	// The type of the resource. The value should always be `agent_rule`.
	Type CloudWorkloadSecurityAgentRuleType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleCreateData Object for a single Agent rule.

func NewCloudWorkloadSecurityAgentRuleCreateData ¶ added in v1.8.0

NewCloudWorkloadSecurityAgentRuleCreateData instantiates a new CloudWorkloadSecurityAgentRuleCreateData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudWorkloadSecurityAgentRuleCreateDataWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreateDataWithDefaults() *CloudWorkloadSecurityAgentRuleCreateData

NewCloudWorkloadSecurityAgentRuleCreateDataWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleCreateData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudWorkloadSecurityAgentRuleCreateData) GetAttributes ¶ added in v1.8.0

GetAttributes returns the Attributes field value

func (*CloudWorkloadSecurityAgentRuleCreateData) GetAttributesOk ¶ added in v1.8.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleCreateData) GetType ¶ added in v1.8.0

GetType returns the Type field value

func (*CloudWorkloadSecurityAgentRuleCreateData) GetTypeOk ¶ added in v1.8.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (CloudWorkloadSecurityAgentRuleCreateData) MarshalJSON ¶ added in v1.8.0

func (*CloudWorkloadSecurityAgentRuleCreateData) SetAttributes ¶ added in v1.8.0

SetAttributes sets field value

func (*CloudWorkloadSecurityAgentRuleCreateData) SetType ¶ added in v1.8.0

SetType sets field value

func (*CloudWorkloadSecurityAgentRuleCreateData) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleCreateData) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityAgentRuleCreateRequest ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleCreateRequest struct {
	// Object for a single Agent rule.
	Data CloudWorkloadSecurityAgentRuleCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleCreateRequest Request object that includes the Agent rule to create.

func NewCloudWorkloadSecurityAgentRuleCreateRequest ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreateRequest(data CloudWorkloadSecurityAgentRuleCreateData) *CloudWorkloadSecurityAgentRuleCreateRequest

NewCloudWorkloadSecurityAgentRuleCreateRequest instantiates a new CloudWorkloadSecurityAgentRuleCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudWorkloadSecurityAgentRuleCreateRequestWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreateRequestWithDefaults() *CloudWorkloadSecurityAgentRuleCreateRequest

NewCloudWorkloadSecurityAgentRuleCreateRequestWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudWorkloadSecurityAgentRuleCreateRequest) GetData ¶ added in v1.8.0

GetData returns the Data field value

func (*CloudWorkloadSecurityAgentRuleCreateRequest) GetDataOk ¶ added in v1.8.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (CloudWorkloadSecurityAgentRuleCreateRequest) MarshalJSON ¶ added in v1.8.0

func (*CloudWorkloadSecurityAgentRuleCreateRequest) SetData ¶ added in v1.8.0

SetData sets field value

func (*CloudWorkloadSecurityAgentRuleCreateRequest) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleCreateRequest) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityAgentRuleCreatorAttributes ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleCreatorAttributes struct {
	// The handle of the user.
	Handle *string `json:"handle,omitempty"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleCreatorAttributes The attributes of the user who created the Agent rule.

func NewCloudWorkloadSecurityAgentRuleCreatorAttributes ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreatorAttributes() *CloudWorkloadSecurityAgentRuleCreatorAttributes

NewCloudWorkloadSecurityAgentRuleCreatorAttributes instantiates a new CloudWorkloadSecurityAgentRuleCreatorAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudWorkloadSecurityAgentRuleCreatorAttributesWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleCreatorAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleCreatorAttributes

NewCloudWorkloadSecurityAgentRuleCreatorAttributesWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleCreatorAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetHandle ¶ added in v1.8.0

GetHandle returns the Handle field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetHandleOk ¶ added in v1.8.0

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetName ¶ added in v1.8.0

GetName returns the Name field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetNameOk ¶ added in v1.8.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) HasHandle ¶ added in v1.8.0

HasHandle returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) HasName ¶ added in v1.8.0

HasName returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleCreatorAttributes) MarshalJSON ¶ added in v1.8.0

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) SetHandle ¶ added in v1.8.0

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) SetName ¶ added in v1.8.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityAgentRuleData ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleData struct {
	// A Cloud Workload Security Agent rule returned by the API.
	Attributes *CloudWorkloadSecurityAgentRuleAttributes `json:"attributes,omitempty"`
	// The ID of the Agent rule.
	Id *string `json:"id,omitempty"`
	// The type of the resource. The value should always be `agent_rule`.
	Type *CloudWorkloadSecurityAgentRuleType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleData Object for a single Agent rule.

func NewCloudWorkloadSecurityAgentRuleData ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleData() *CloudWorkloadSecurityAgentRuleData

NewCloudWorkloadSecurityAgentRuleData instantiates a new CloudWorkloadSecurityAgentRuleData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudWorkloadSecurityAgentRuleDataWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleDataWithDefaults() *CloudWorkloadSecurityAgentRuleData

NewCloudWorkloadSecurityAgentRuleDataWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudWorkloadSecurityAgentRuleData) GetAttributes ¶ added in v1.8.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleData) GetAttributesOk ¶ added in v1.8.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleData) GetId ¶ added in v1.8.0

GetId returns the Id field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleData) GetIdOk ¶ added in v1.8.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleData) GetType ¶ added in v1.8.0

GetType returns the Type field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleData) GetTypeOk ¶ added in v1.8.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleData) HasAttributes ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleData) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleData) HasId ¶ added in v1.8.0

HasId returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleData) HasType ¶ added in v1.8.0

HasType returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleData) MarshalJSON ¶ added in v1.8.0

func (o CloudWorkloadSecurityAgentRuleData) MarshalJSON() ([]byte, error)

func (*CloudWorkloadSecurityAgentRuleData) SetAttributes ¶ added in v1.8.0

SetAttributes gets a reference to the given CloudWorkloadSecurityAgentRuleAttributes and assigns it to the Attributes field.

func (*CloudWorkloadSecurityAgentRuleData) SetId ¶ added in v1.8.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*CloudWorkloadSecurityAgentRuleData) SetType ¶ added in v1.8.0

SetType gets a reference to the given CloudWorkloadSecurityAgentRuleType and assigns it to the Type field.

func (*CloudWorkloadSecurityAgentRuleData) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleData) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityAgentRuleResponse ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleResponse struct {
	// Object for a single Agent rule.
	Data *CloudWorkloadSecurityAgentRuleData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleResponse Response object that includes an Agent rule.

func NewCloudWorkloadSecurityAgentRuleResponse ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleResponse() *CloudWorkloadSecurityAgentRuleResponse

NewCloudWorkloadSecurityAgentRuleResponse instantiates a new CloudWorkloadSecurityAgentRuleResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudWorkloadSecurityAgentRuleResponseWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleResponseWithDefaults() *CloudWorkloadSecurityAgentRuleResponse

NewCloudWorkloadSecurityAgentRuleResponseWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudWorkloadSecurityAgentRuleResponse) GetData ¶ added in v1.8.0

GetData returns the Data field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleResponse) GetDataOk ¶ added in v1.8.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleResponse) HasData ¶ added in v1.8.0

HasData returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleResponse) MarshalJSON ¶ added in v1.8.0

func (o CloudWorkloadSecurityAgentRuleResponse) MarshalJSON() ([]byte, error)

func (*CloudWorkloadSecurityAgentRuleResponse) SetData ¶ added in v1.8.0

SetData gets a reference to the given CloudWorkloadSecurityAgentRuleData and assigns it to the Data field.

func (*CloudWorkloadSecurityAgentRuleResponse) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleResponse) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityAgentRuleType ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleType string

CloudWorkloadSecurityAgentRuleType The type of the resource. The value should always be `agent_rule`.

const (
	CLOUDWORKLOADSECURITYAGENTRULETYPE_AGENT_RULE CloudWorkloadSecurityAgentRuleType = "agent_rule"
)

List of CloudWorkloadSecurityAgentRuleType

func NewCloudWorkloadSecurityAgentRuleTypeFromValue ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleTypeFromValue(v string) (*CloudWorkloadSecurityAgentRuleType, error)

NewCloudWorkloadSecurityAgentRuleTypeFromValue returns a pointer to a valid CloudWorkloadSecurityAgentRuleType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*CloudWorkloadSecurityAgentRuleType) GetAllowedValues ¶ added in v1.8.0

func (CloudWorkloadSecurityAgentRuleType) IsValid ¶ added in v1.8.0

IsValid return true if the value is valid for the enum, false otherwise

func (CloudWorkloadSecurityAgentRuleType) Ptr ¶ added in v1.8.0

Ptr returns reference to CloudWorkloadSecurityAgentRuleType value

func (*CloudWorkloadSecurityAgentRuleType) UnmarshalJSON ¶ added in v1.8.0

func (v *CloudWorkloadSecurityAgentRuleType) UnmarshalJSON(src []byte) error

type CloudWorkloadSecurityAgentRuleUpdateAttributes ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleUpdateAttributes struct {
	// The description of the Agent rule.
	Description *string `json:"description,omitempty"`
	// Whether the Agent rule is enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// The SECL expression of the Agent rule.
	Expression *string `json:"expression,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleUpdateAttributes Update an existing Cloud Workload Security Agent rule.

func NewCloudWorkloadSecurityAgentRuleUpdateAttributes ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdateAttributes() *CloudWorkloadSecurityAgentRuleUpdateAttributes

NewCloudWorkloadSecurityAgentRuleUpdateAttributes instantiates a new CloudWorkloadSecurityAgentRuleUpdateAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudWorkloadSecurityAgentRuleUpdateAttributesWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdateAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleUpdateAttributes

NewCloudWorkloadSecurityAgentRuleUpdateAttributesWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleUpdateAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetDescription ¶ added in v1.8.0

GetDescription returns the Description field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetDescriptionOk ¶ added in v1.8.0

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetEnabled ¶ added in v1.8.0

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetEnabledOk ¶ added in v1.8.0

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetExpression ¶ added in v1.8.0

GetExpression returns the Expression field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetExpressionOk ¶ added in v1.8.0

GetExpressionOk returns a tuple with the Expression field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) HasDescription ¶ added in v1.8.0

HasDescription returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) HasEnabled ¶ added in v1.8.0

HasEnabled returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) HasExpression ¶ added in v1.8.0

HasExpression returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleUpdateAttributes) MarshalJSON ¶ added in v1.8.0

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetDescription ¶ added in v1.8.0

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetEnabled ¶ added in v1.8.0

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetExpression ¶ added in v1.8.0

SetExpression gets a reference to the given string and assigns it to the Expression field.

func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityAgentRuleUpdateData ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleUpdateData struct {
	// Update an existing Cloud Workload Security Agent rule.
	Attributes CloudWorkloadSecurityAgentRuleUpdateAttributes `json:"attributes"`
	// The type of the resource. The value should always be `agent_rule`.
	Type CloudWorkloadSecurityAgentRuleType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleUpdateData Object for a single Agent rule.

func NewCloudWorkloadSecurityAgentRuleUpdateData ¶ added in v1.8.0

NewCloudWorkloadSecurityAgentRuleUpdateData instantiates a new CloudWorkloadSecurityAgentRuleUpdateData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudWorkloadSecurityAgentRuleUpdateDataWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdateDataWithDefaults() *CloudWorkloadSecurityAgentRuleUpdateData

NewCloudWorkloadSecurityAgentRuleUpdateDataWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleUpdateData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudWorkloadSecurityAgentRuleUpdateData) GetAttributes ¶ added in v1.8.0

GetAttributes returns the Attributes field value

func (*CloudWorkloadSecurityAgentRuleUpdateData) GetAttributesOk ¶ added in v1.8.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleUpdateData) GetType ¶ added in v1.8.0

GetType returns the Type field value

func (*CloudWorkloadSecurityAgentRuleUpdateData) GetTypeOk ¶ added in v1.8.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (CloudWorkloadSecurityAgentRuleUpdateData) MarshalJSON ¶ added in v1.8.0

func (*CloudWorkloadSecurityAgentRuleUpdateData) SetAttributes ¶ added in v1.8.0

SetAttributes sets field value

func (*CloudWorkloadSecurityAgentRuleUpdateData) SetType ¶ added in v1.8.0

SetType sets field value

func (*CloudWorkloadSecurityAgentRuleUpdateData) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleUpdateData) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityAgentRuleUpdateRequest ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleUpdateRequest struct {
	// Object for a single Agent rule.
	Data CloudWorkloadSecurityAgentRuleUpdateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleUpdateRequest Request object that includes the Agent rule with the attributes to update.

func NewCloudWorkloadSecurityAgentRuleUpdateRequest ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdateRequest(data CloudWorkloadSecurityAgentRuleUpdateData) *CloudWorkloadSecurityAgentRuleUpdateRequest

NewCloudWorkloadSecurityAgentRuleUpdateRequest instantiates a new CloudWorkloadSecurityAgentRuleUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudWorkloadSecurityAgentRuleUpdateRequestWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdateRequestWithDefaults() *CloudWorkloadSecurityAgentRuleUpdateRequest

NewCloudWorkloadSecurityAgentRuleUpdateRequestWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudWorkloadSecurityAgentRuleUpdateRequest) GetData ¶ added in v1.8.0

GetData returns the Data field value

func (*CloudWorkloadSecurityAgentRuleUpdateRequest) GetDataOk ¶ added in v1.8.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (CloudWorkloadSecurityAgentRuleUpdateRequest) MarshalJSON ¶ added in v1.8.0

func (*CloudWorkloadSecurityAgentRuleUpdateRequest) SetData ¶ added in v1.8.0

SetData sets field value

func (*CloudWorkloadSecurityAgentRuleUpdateRequest) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityAgentRuleUpdaterAttributes ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRuleUpdaterAttributes struct {
	// The handle of the user.
	Handle *string `json:"handle,omitempty"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRuleUpdaterAttributes The attributes of the user who last updated the Agent rule.

func NewCloudWorkloadSecurityAgentRuleUpdaterAttributes ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdaterAttributes() *CloudWorkloadSecurityAgentRuleUpdaterAttributes

NewCloudWorkloadSecurityAgentRuleUpdaterAttributes instantiates a new CloudWorkloadSecurityAgentRuleUpdaterAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudWorkloadSecurityAgentRuleUpdaterAttributesWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRuleUpdaterAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleUpdaterAttributes

NewCloudWorkloadSecurityAgentRuleUpdaterAttributesWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleUpdaterAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetHandle ¶ added in v1.8.0

GetHandle returns the Handle field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetHandleOk ¶ added in v1.8.0

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetName ¶ added in v1.8.0

GetName returns the Name field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetNameOk ¶ added in v1.8.0

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasHandle ¶ added in v1.8.0

HasHandle returns a boolean if a field has been set.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasName ¶ added in v1.8.0

HasName returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRuleUpdaterAttributes) MarshalJSON ¶ added in v1.8.0

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetHandle ¶ added in v1.8.0

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetName ¶ added in v1.8.0

SetName gets a reference to the given string and assigns it to the Name field.

func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityAgentRulesListResponse ¶ added in v1.8.0

type CloudWorkloadSecurityAgentRulesListResponse struct {
	// A list of Agent rules objects.
	Data *[]CloudWorkloadSecurityAgentRuleData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

CloudWorkloadSecurityAgentRulesListResponse Response object that includes a list of Agent rule.

func NewCloudWorkloadSecurityAgentRulesListResponse ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRulesListResponse() *CloudWorkloadSecurityAgentRulesListResponse

NewCloudWorkloadSecurityAgentRulesListResponse instantiates a new CloudWorkloadSecurityAgentRulesListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCloudWorkloadSecurityAgentRulesListResponseWithDefaults ¶ added in v1.8.0

func NewCloudWorkloadSecurityAgentRulesListResponseWithDefaults() *CloudWorkloadSecurityAgentRulesListResponse

NewCloudWorkloadSecurityAgentRulesListResponseWithDefaults instantiates a new CloudWorkloadSecurityAgentRulesListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CloudWorkloadSecurityAgentRulesListResponse) GetData ¶ added in v1.8.0

GetData returns the Data field value if set, zero value otherwise.

func (*CloudWorkloadSecurityAgentRulesListResponse) GetDataOk ¶ added in v1.8.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CloudWorkloadSecurityAgentRulesListResponse) HasData ¶ added in v1.8.0

HasData returns a boolean if a field has been set.

func (CloudWorkloadSecurityAgentRulesListResponse) MarshalJSON ¶ added in v1.8.0

func (*CloudWorkloadSecurityAgentRulesListResponse) SetData ¶ added in v1.8.0

SetData gets a reference to the given []CloudWorkloadSecurityAgentRuleData and assigns it to the Data field.

func (*CloudWorkloadSecurityAgentRulesListResponse) UnmarshalJSON ¶ added in v1.8.0

func (o *CloudWorkloadSecurityAgentRulesListResponse) UnmarshalJSON(bytes []byte) (err error)

type CloudWorkloadSecurityApiService ¶ added in v1.8.0

type CloudWorkloadSecurityApiService service

CloudWorkloadSecurityApiService CloudWorkloadSecurityApi service

func (*CloudWorkloadSecurityApiService) CreateCloudWorkloadSecurityAgentRule ¶ added in v1.8.0

* CreateCloudWorkloadSecurityAgentRule Create a Cloud Workload Security Agent rule * Create a new Agent rule with the given parameters.

func (*CloudWorkloadSecurityApiService) DeleteCloudWorkloadSecurityAgentRule ¶ added in v1.8.0

func (a *CloudWorkloadSecurityApiService) DeleteCloudWorkloadSecurityAgentRule(ctx _context.Context, agentRuleId string) (*_nethttp.Response, error)

* DeleteCloudWorkloadSecurityAgentRule Delete a Cloud Workload Security Agent rule * Delete a specific Agent rule.

func (*CloudWorkloadSecurityApiService) DownloadCloudWorkloadPolicyFile ¶ added in v1.8.0

func (a *CloudWorkloadSecurityApiService) DownloadCloudWorkloadPolicyFile(ctx _context.Context) (*os.File, *_nethttp.Response, error)

* DownloadCloudWorkloadPolicyFile Get the latest Cloud Workload Security policy * The download endpoint generates a Cloud Workload Security policy file from your currently active * Cloud Workload Security rules, and downloads them as a .policy file. This file can then be deployed to * your agents to update the policy running in your environment.

func (*CloudWorkloadSecurityApiService) GetCloudWorkloadSecurityAgentRule ¶ added in v1.8.0

func (a *CloudWorkloadSecurityApiService) GetCloudWorkloadSecurityAgentRule(ctx _context.Context, agentRuleId string) (CloudWorkloadSecurityAgentRuleResponse, *_nethttp.Response, error)

* GetCloudWorkloadSecurityAgentRule Get a Cloud Workload Security Agent rule * Get the details of a specific Agent rule.

func (*CloudWorkloadSecurityApiService) ListCloudWorkloadSecurityAgentRules ¶ added in v1.8.0

* ListCloudWorkloadSecurityAgentRules Get all Cloud Workload Security Agent rules * Get the list of Agent rules.

func (*CloudWorkloadSecurityApiService) UpdateCloudWorkloadSecurityAgentRule ¶ added in v1.8.0

* UpdateCloudWorkloadSecurityAgentRule Update a Cloud Workload Security Agent rule * Update a specific Agent rule. * Returns the Agent rule object when the request is successful.

type Configuration ¶

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Compress         bool              `json:"compress,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
	// contains filtered or unexported fields
}

Configuration stores the configuration of the API client

func NewConfiguration ¶

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader ¶

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) GetUnstableOperations ¶

func (c *Configuration) GetUnstableOperations() []string

GetUnstableOperations returns a slice with all unstable operation Ids

func (*Configuration) IsUnstableOperation ¶

func (c *Configuration) IsUnstableOperation(operation string) bool

IsUnstableOperation determines whether an operation is an unstable operation. This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo"

func (*Configuration) IsUnstableOperationEnabled ¶

func (c *Configuration) IsUnstableOperationEnabled(operation string) bool

IsUnstableOperationEnabled determines whether an unstable operation is enabled. This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" Returns true if the operation is unstable and it is enabled, false otherwise

func (*Configuration) ServerURL ¶

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext ¶

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

func (*Configuration) SetUnstableOperationEnabled ¶

func (c *Configuration) SetUnstableOperationEnabled(operation string, enabled bool) bool

SetUnstableOperationEnabled sets an unstable operation as enabled (true) or disabled (false) This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" Returns true if the operation is marked as unstable and thus was enabled/disabled, false otherwise

type ContentEncoding ¶ added in v1.6.0

type ContentEncoding string

ContentEncoding HTTP header used to compress the media-type.

const (
	CONTENTENCODING_GZIP    ContentEncoding = "gzip"
	CONTENTENCODING_DEFLATE ContentEncoding = "deflate"
)

List of ContentEncoding

func NewContentEncodingFromValue ¶ added in v1.6.0

func NewContentEncodingFromValue(v string) (*ContentEncoding, error)

NewContentEncodingFromValue returns a pointer to a valid ContentEncoding for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*ContentEncoding) GetAllowedValues ¶ added in v1.6.0

func (w *ContentEncoding) GetAllowedValues() []ContentEncoding

func (ContentEncoding) IsValid ¶ added in v1.6.0

func (v ContentEncoding) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ContentEncoding) Ptr ¶ added in v1.6.0

Ptr returns reference to ContentEncoding value

func (*ContentEncoding) UnmarshalJSON ¶ added in v1.6.0

func (v *ContentEncoding) UnmarshalJSON(src []byte) error

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)

func (*Creator) SetEmail ¶

func (o *Creator) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*Creator) SetHandle ¶

func (o *Creator) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*Creator) SetName ¶

func (o *Creator) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Creator) UnmarshalJSON ¶ added in v1.3.0

func (o *Creator) UnmarshalJSON(bytes []byte) (err error)

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)

func (*DashboardListAddItemsRequest) SetDashboards ¶

SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.

func (*DashboardListAddItemsRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListAddItemsRequest) UnmarshalJSON(bytes []byte) (err error)

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)

func (*DashboardListAddItemsResponse) SetAddedDashboardsToList ¶

func (o *DashboardListAddItemsResponse) SetAddedDashboardsToList(v []DashboardListItemResponse)

SetAddedDashboardsToList gets a reference to the given []DashboardListItemResponse and assigns it to the AddedDashboardsToList field.

func (*DashboardListAddItemsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListAddItemsResponse) UnmarshalJSON(bytes []byte) (err error)

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)

func (*DashboardListDeleteItemsRequest) SetDashboards ¶

SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.

func (*DashboardListDeleteItemsRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListDeleteItemsRequest) UnmarshalJSON(bytes []byte) (err error)

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)

func (*DashboardListDeleteItemsResponse) SetDeletedDashboardsFromList ¶

func (o *DashboardListDeleteItemsResponse) SetDeletedDashboardsFromList(v []DashboardListItemResponse)

SetDeletedDashboardsFromList gets a reference to the given []DashboardListItemResponse and assigns it to the DeletedDashboardsFromList field.

func (*DashboardListDeleteItemsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListDeleteItemsResponse) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

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, type_ 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)

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)

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, type_ 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)

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)

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)

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)

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)

func (*DashboardListUpdateItemsRequest) SetDashboards ¶

SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.

func (*DashboardListUpdateItemsRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListUpdateItemsRequest) UnmarshalJSON(bytes []byte) (err error)

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)

func (*DashboardListUpdateItemsResponse) SetDashboards ¶

SetDashboards gets a reference to the given []DashboardListItemResponse and assigns it to the Dashboards field.

func (*DashboardListUpdateItemsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *DashboardListUpdateItemsResponse) UnmarshalJSON(bytes []byte) (err error)

type DashboardListsApiService ¶

type DashboardListsApiService service

DashboardListsApiService DashboardListsApi service

func (*DashboardListsApiService) CreateDashboardListItems ¶

* CreateDashboardListItems Add Items to a Dashboard List * Add dashboards to an existing dashboard list.

func (*DashboardListsApiService) DeleteDashboardListItems ¶

* DeleteDashboardListItems Delete items from a dashboard list * Delete dashboards from an existing dashboard list.

func (*DashboardListsApiService) GetDashboardListItems ¶

func (a *DashboardListsApiService) GetDashboardListItems(ctx _context.Context, dashboardListId int64) (DashboardListItems, *_nethttp.Response, error)

* GetDashboardListItems Get items of a Dashboard List * Fetch the dashboard list’s dashboard definitions.

func (*DashboardListsApiService) UpdateDashboardListItems ¶

* UpdateDashboardListItems Update items of a dashboard list * Update dashboards of an existing dashboard list.

type DashboardType ¶

type DashboardType string

DashboardType The type of the dashboard.

const (
	DASHBOARDTYPE_CUSTOM_TIMEBOARD        DashboardType = "custom_timeboard"
	DASHBOARDTYPE_CUSTOM_SCREENBOARD      DashboardType = "custom_screenboard"
	DASHBOARDTYPE_INTEGRATION_SCREENBOARD DashboardType = "integration_screenboard"
	DASHBOARDTYPE_INTEGRATION_TIMEBOARD   DashboardType = "integration_timeboard"
	DASHBOARDTYPE_HOST_TIMEBOARD          DashboardType = "host_timeboard"
)

List of DashboardType

func NewDashboardTypeFromValue ¶

func NewDashboardTypeFromValue(v string) (*DashboardType, error)

NewDashboardTypeFromValue returns a pointer to a valid DashboardType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*DashboardType) GetAllowedValues ¶ added in v1.1.0

func (w *DashboardType) GetAllowedValues() []DashboardType

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

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)

func (*FullAPIKey) SetAttributes ¶

func (o *FullAPIKey) SetAttributes(v FullAPIKeyAttributes)

SetAttributes gets a reference to the given FullAPIKeyAttributes and assigns it to the Attributes field.

func (*FullAPIKey) SetId ¶

func (o *FullAPIKey) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*FullAPIKey) SetRelationships ¶

func (o *FullAPIKey) SetRelationships(v APIKeyRelationships)

SetRelationships gets a reference to the given APIKeyRelationships and assigns it to the Relationships field.

func (*FullAPIKey) SetType ¶

func (o *FullAPIKey) SetType(v APIKeysType)

SetType gets a reference to the given APIKeysType and assigns it to the Type field.

func (*FullAPIKey) UnmarshalJSON ¶ added in v1.3.0

func (o *FullAPIKey) UnmarshalJSON(bytes []byte) (err error)

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)

func (*FullAPIKeyAttributes) SetCreatedAt ¶

func (o *FullAPIKeyAttributes) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*FullAPIKeyAttributes) SetKey ¶

func (o *FullAPIKeyAttributes) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*FullAPIKeyAttributes) SetLast4 ¶

func (o *FullAPIKeyAttributes) SetLast4(v string)

SetLast4 gets a reference to the given string and assigns it to the Last4 field.

func (*FullAPIKeyAttributes) SetModifiedAt ¶

func (o *FullAPIKeyAttributes) SetModifiedAt(v string)

SetModifiedAt gets a reference to the given string and assigns it to the ModifiedAt field.

func (*FullAPIKeyAttributes) SetName ¶

func (o *FullAPIKeyAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*FullAPIKeyAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *FullAPIKeyAttributes) UnmarshalJSON(bytes []byte) (err error)

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)

func (*FullApplicationKey) SetAttributes ¶

SetAttributes gets a reference to the given FullApplicationKeyAttributes and assigns it to the Attributes field.

func (*FullApplicationKey) SetId ¶

func (o *FullApplicationKey) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*FullApplicationKey) SetRelationships ¶

func (o *FullApplicationKey) SetRelationships(v ApplicationKeyRelationships)

SetRelationships gets a reference to the given ApplicationKeyRelationships and assigns it to the Relationships field.

func (*FullApplicationKey) SetType ¶

SetType gets a reference to the given ApplicationKeysType and assigns it to the Type field.

func (*FullApplicationKey) UnmarshalJSON ¶ added in v1.3.0

func (o *FullApplicationKey) UnmarshalJSON(bytes []byte) (err error)

type FullApplicationKeyAttributes ¶

type FullApplicationKeyAttributes struct {
	// Creation date of the application key.
	CreatedAt *string `json:"created_at,omitempty"`
	// The application key.
	Key *string `json:"key,omitempty"`
	// The last four characters of the application key.
	Last4 *string `json:"last4,omitempty"`
	// Name of the application key.
	Name *string `json:"name,omitempty"`
	// Array of scopes to grant the application key. This feature is in private beta, please contact Datadog support to enable scopes for your application keys.
	Scopes []string `json:"scopes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

FullApplicationKeyAttributes Attributes of a full application key.

func NewFullApplicationKeyAttributes ¶

func NewFullApplicationKeyAttributes() *FullApplicationKeyAttributes

NewFullApplicationKeyAttributes instantiates a new FullApplicationKeyAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFullApplicationKeyAttributesWithDefaults ¶

func NewFullApplicationKeyAttributesWithDefaults() *FullApplicationKeyAttributes

NewFullApplicationKeyAttributesWithDefaults instantiates a new FullApplicationKeyAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FullApplicationKeyAttributes) GetCreatedAt ¶

func (o *FullApplicationKeyAttributes) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*FullApplicationKeyAttributes) GetCreatedAtOk ¶

func (o *FullApplicationKeyAttributes) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FullApplicationKeyAttributes) GetKey ¶

GetKey returns the Key field value if set, zero value otherwise.

func (*FullApplicationKeyAttributes) GetKeyOk ¶

func (o *FullApplicationKeyAttributes) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FullApplicationKeyAttributes) GetLast4 ¶

func (o *FullApplicationKeyAttributes) GetLast4() string

GetLast4 returns the Last4 field value if set, zero value otherwise.

func (*FullApplicationKeyAttributes) GetLast4Ok ¶

func (o *FullApplicationKeyAttributes) GetLast4Ok() (*string, bool)

GetLast4Ok returns a tuple with the Last4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FullApplicationKeyAttributes) GetName ¶

func (o *FullApplicationKeyAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*FullApplicationKeyAttributes) GetNameOk ¶

func (o *FullApplicationKeyAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FullApplicationKeyAttributes) GetScopes ¶ added in v1.8.0

func (o *FullApplicationKeyAttributes) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FullApplicationKeyAttributes) GetScopesOk ¶ added in v1.8.0

func (o *FullApplicationKeyAttributes) GetScopesOk() (*[]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FullApplicationKeyAttributes) HasCreatedAt ¶

func (o *FullApplicationKeyAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FullApplicationKeyAttributes) HasKey ¶

func (o *FullApplicationKeyAttributes) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*FullApplicationKeyAttributes) HasLast4 ¶

func (o *FullApplicationKeyAttributes) HasLast4() bool

HasLast4 returns a boolean if a field has been set.

func (*FullApplicationKeyAttributes) HasName ¶

func (o *FullApplicationKeyAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*FullApplicationKeyAttributes) HasScopes ¶ added in v1.8.0

func (o *FullApplicationKeyAttributes) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (FullApplicationKeyAttributes) MarshalJSON ¶

func (o FullApplicationKeyAttributes) MarshalJSON() ([]byte, error)

func (*FullApplicationKeyAttributes) SetCreatedAt ¶

func (o *FullApplicationKeyAttributes) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*FullApplicationKeyAttributes) SetKey ¶

func (o *FullApplicationKeyAttributes) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*FullApplicationKeyAttributes) SetLast4 ¶

func (o *FullApplicationKeyAttributes) SetLast4(v string)

SetLast4 gets a reference to the given string and assigns it to the Last4 field.

func (*FullApplicationKeyAttributes) SetName ¶

func (o *FullApplicationKeyAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*FullApplicationKeyAttributes) SetScopes ¶ added in v1.8.0

func (o *FullApplicationKeyAttributes) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*FullApplicationKeyAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *FullApplicationKeyAttributes) UnmarshalJSON(bytes []byte) (err error)

type GenericOpenAPIError ¶

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body ¶

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error ¶

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model ¶

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GetAPIKeyOptionalParameters ¶

type GetAPIKeyOptionalParameters struct {
	Include *string
}

func NewGetAPIKeyOptionalParameters ¶

func NewGetAPIKeyOptionalParameters() *GetAPIKeyOptionalParameters

func (*GetAPIKeyOptionalParameters) WithInclude ¶

type GetApplicationKeyOptionalParameters ¶ added in v1.2.0

type GetApplicationKeyOptionalParameters struct {
	Include *string
}

func NewGetApplicationKeyOptionalParameters ¶ added in v1.2.0

func NewGetApplicationKeyOptionalParameters() *GetApplicationKeyOptionalParameters

func (*GetApplicationKeyOptionalParameters) WithInclude ¶ added in v1.2.0

type GetIncidentOptionalParameters ¶

type GetIncidentOptionalParameters struct {
	Include *[]IncidentRelatedObject
}

func NewGetIncidentOptionalParameters ¶

func NewGetIncidentOptionalParameters() *GetIncidentOptionalParameters

func (*GetIncidentOptionalParameters) WithInclude ¶

type GetIncidentServiceOptionalParameters ¶

type GetIncidentServiceOptionalParameters struct {
	Include *IncidentRelatedObject
}

func NewGetIncidentServiceOptionalParameters ¶

func NewGetIncidentServiceOptionalParameters() *GetIncidentServiceOptionalParameters

func (*GetIncidentServiceOptionalParameters) WithInclude ¶

type GetIncidentTeamOptionalParameters ¶

type GetIncidentTeamOptionalParameters struct {
	Include *IncidentRelatedObject
}

func NewGetIncidentTeamOptionalParameters ¶

func NewGetIncidentTeamOptionalParameters() *GetIncidentTeamOptionalParameters

func (*GetIncidentTeamOptionalParameters) WithInclude ¶

type HTTPLogError ¶ added in v1.6.0

type HTTPLogError struct {
	// Error message.
	Detail *string `json:"detail,omitempty"`
	// Error code.
	Status *string `json:"status,omitempty"`
	// Error title.
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HTTPLogError List of errors.

func NewHTTPLogError ¶ added in v1.6.0

func NewHTTPLogError() *HTTPLogError

NewHTTPLogError instantiates a new HTTPLogError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHTTPLogErrorWithDefaults ¶ added in v1.6.0

func NewHTTPLogErrorWithDefaults() *HTTPLogError

NewHTTPLogErrorWithDefaults instantiates a new HTTPLogError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HTTPLogError) GetDetail ¶ added in v1.6.0

func (o *HTTPLogError) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*HTTPLogError) GetDetailOk ¶ added in v1.6.0

func (o *HTTPLogError) GetDetailOk() (*string, bool)

GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HTTPLogError) GetStatus ¶ added in v1.6.0

func (o *HTTPLogError) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*HTTPLogError) GetStatusOk ¶ added in v1.6.0

func (o *HTTPLogError) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HTTPLogError) GetTitle ¶ added in v1.6.0

func (o *HTTPLogError) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*HTTPLogError) GetTitleOk ¶ added in v1.6.0

func (o *HTTPLogError) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HTTPLogError) HasDetail ¶ added in v1.6.0

func (o *HTTPLogError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*HTTPLogError) HasStatus ¶ added in v1.6.0

func (o *HTTPLogError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*HTTPLogError) HasTitle ¶ added in v1.6.0

func (o *HTTPLogError) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (HTTPLogError) MarshalJSON ¶ added in v1.6.0

func (o HTTPLogError) MarshalJSON() ([]byte, error)

func (*HTTPLogError) SetDetail ¶ added in v1.6.0

func (o *HTTPLogError) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*HTTPLogError) SetStatus ¶ added in v1.6.0

func (o *HTTPLogError) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*HTTPLogError) SetTitle ¶ added in v1.6.0

func (o *HTTPLogError) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*HTTPLogError) UnmarshalJSON ¶ added in v1.6.0

func (o *HTTPLogError) UnmarshalJSON(bytes []byte) (err error)

type HTTPLogErrors ¶ added in v1.6.0

type HTTPLogErrors struct {
	// Structured errors.
	Errors *[]HTTPLogError `json:"errors,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HTTPLogErrors Invalid query performed.

func NewHTTPLogErrors ¶ added in v1.6.0

func NewHTTPLogErrors() *HTTPLogErrors

NewHTTPLogErrors instantiates a new HTTPLogErrors object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHTTPLogErrorsWithDefaults ¶ added in v1.6.0

func NewHTTPLogErrorsWithDefaults() *HTTPLogErrors

NewHTTPLogErrorsWithDefaults instantiates a new HTTPLogErrors object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HTTPLogErrors) GetErrors ¶ added in v1.6.0

func (o *HTTPLogErrors) GetErrors() []HTTPLogError

GetErrors returns the Errors field value if set, zero value otherwise.

func (*HTTPLogErrors) GetErrorsOk ¶ added in v1.6.0

func (o *HTTPLogErrors) GetErrorsOk() (*[]HTTPLogError, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HTTPLogErrors) HasErrors ¶ added in v1.6.0

func (o *HTTPLogErrors) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (HTTPLogErrors) MarshalJSON ¶ added in v1.6.0

func (o HTTPLogErrors) MarshalJSON() ([]byte, error)

func (*HTTPLogErrors) SetErrors ¶ added in v1.6.0

func (o *HTTPLogErrors) SetErrors(v []HTTPLogError)

SetErrors gets a reference to the given []HTTPLogError and assigns it to the Errors field.

func (*HTTPLogErrors) UnmarshalJSON ¶ added in v1.6.0

func (o *HTTPLogErrors) UnmarshalJSON(bytes []byte) (err error)

type HTTPLogItem ¶ added in v1.6.0

type HTTPLogItem struct {
	// The integration name associated with your log: the technology from which the log originated.
	// When it matches an integration name, Datadog automatically installs the corresponding parsers and facets.
	// See [reserved attributes](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes).
	Ddsource *string `json:"ddsource,omitempty"`
	// Tags associated with your logs.
	Ddtags *string `json:"ddtags,omitempty"`
	// The name of the originating host of the log.
	Hostname *string `json:"hostname,omitempty"`
	// The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes)
	// of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry.
	// That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.
	Message *string `json:"message,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.
	// See [reserved attributes](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes).
	Service *string `json:"service,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

HTTPLogItem Logs that are sent over HTTP.

func NewHTTPLogItem ¶ added in v1.6.0

func NewHTTPLogItem() *HTTPLogItem

NewHTTPLogItem instantiates a new HTTPLogItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHTTPLogItemWithDefaults ¶ added in v1.6.0

func NewHTTPLogItemWithDefaults() *HTTPLogItem

NewHTTPLogItemWithDefaults instantiates a new HTTPLogItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HTTPLogItem) GetDdsource ¶ added in v1.6.0

func (o *HTTPLogItem) GetDdsource() string

GetDdsource returns the Ddsource field value if set, zero value otherwise.

func (*HTTPLogItem) GetDdsourceOk ¶ added in v1.6.0

func (o *HTTPLogItem) GetDdsourceOk() (*string, bool)

GetDdsourceOk returns a tuple with the Ddsource field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HTTPLogItem) GetDdtags ¶ added in v1.6.0

func (o *HTTPLogItem) GetDdtags() string

GetDdtags returns the Ddtags field value if set, zero value otherwise.

func (*HTTPLogItem) GetDdtagsOk ¶ added in v1.6.0

func (o *HTTPLogItem) GetDdtagsOk() (*string, bool)

GetDdtagsOk returns a tuple with the Ddtags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HTTPLogItem) GetHostname ¶ added in v1.6.0

func (o *HTTPLogItem) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*HTTPLogItem) GetHostnameOk ¶ added in v1.6.0

func (o *HTTPLogItem) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HTTPLogItem) GetMessage ¶ added in v1.6.0

func (o *HTTPLogItem) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*HTTPLogItem) GetMessageOk ¶ added in v1.6.0

func (o *HTTPLogItem) 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 (*HTTPLogItem) GetService ¶ added in v1.6.0

func (o *HTTPLogItem) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*HTTPLogItem) GetServiceOk ¶ added in v1.6.0

func (o *HTTPLogItem) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HTTPLogItem) HasDdsource ¶ added in v1.6.0

func (o *HTTPLogItem) HasDdsource() bool

HasDdsource returns a boolean if a field has been set.

func (*HTTPLogItem) HasDdtags ¶ added in v1.6.0

func (o *HTTPLogItem) HasDdtags() bool

HasDdtags returns a boolean if a field has been set.

func (*HTTPLogItem) HasHostname ¶ added in v1.6.0

func (o *HTTPLogItem) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*HTTPLogItem) HasMessage ¶ added in v1.6.0

func (o *HTTPLogItem) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*HTTPLogItem) HasService ¶ added in v1.6.0

func (o *HTTPLogItem) HasService() bool

HasService returns a boolean if a field has been set.

func (HTTPLogItem) MarshalJSON ¶ added in v1.6.0

func (o HTTPLogItem) MarshalJSON() ([]byte, error)

func (*HTTPLogItem) SetDdsource ¶ added in v1.6.0

func (o *HTTPLogItem) SetDdsource(v string)

SetDdsource gets a reference to the given string and assigns it to the Ddsource field.

func (*HTTPLogItem) SetDdtags ¶ added in v1.6.0

func (o *HTTPLogItem) SetDdtags(v string)

SetDdtags gets a reference to the given string and assigns it to the Ddtags field.

func (*HTTPLogItem) SetHostname ¶ added in v1.6.0

func (o *HTTPLogItem) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*HTTPLogItem) SetMessage ¶ added in v1.6.0

func (o *HTTPLogItem) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*HTTPLogItem) SetService ¶ added in v1.6.0

func (o *HTTPLogItem) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*HTTPLogItem) UnmarshalJSON ¶ added in v1.6.0

func (o *HTTPLogItem) UnmarshalJSON(bytes []byte) (err error)

type IncidentCreateAttributes ¶

type IncidentCreateAttributes struct {
	// A flag indicating whether the incident caused customer impact.
	CustomerImpacted bool `json:"customer_impacted"`
	// A condensed view of the user-defined fields for which to create initial selections.
	Fields map[string]IncidentFieldAttributes `json:"fields,omitempty"`
	// An array of initial timeline cells to be placed at the beginning of the incident timeline.
	InitialCells *[]IncidentTimelineCellCreateAttributes `json:"initial_cells,omitempty"`
	// Notification handles that will be notified of the incident at creation.
	NotificationHandles *[]IncidentNotificationHandle `json:"notification_handles,omitempty"`
	// The title of the incident, which summarizes what happened.
	Title string `json:"title"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentCreateAttributes The incident's attributes for a create request.

func NewIncidentCreateAttributes ¶

func NewIncidentCreateAttributes(customerImpacted bool, title string) *IncidentCreateAttributes

NewIncidentCreateAttributes instantiates a new IncidentCreateAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentCreateAttributesWithDefaults ¶

func NewIncidentCreateAttributesWithDefaults() *IncidentCreateAttributes

NewIncidentCreateAttributesWithDefaults instantiates a new IncidentCreateAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentCreateAttributes) GetCustomerImpacted ¶

func (o *IncidentCreateAttributes) GetCustomerImpacted() bool

GetCustomerImpacted returns the CustomerImpacted field value

func (*IncidentCreateAttributes) GetCustomerImpactedOk ¶

func (o *IncidentCreateAttributes) GetCustomerImpactedOk() (*bool, bool)

GetCustomerImpactedOk returns a tuple with the CustomerImpacted field value and a boolean to check if the value has been set.

func (*IncidentCreateAttributes) GetFields ¶

GetFields returns the Fields field value if set, zero value otherwise.

func (*IncidentCreateAttributes) GetFieldsOk ¶

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentCreateAttributes) GetInitialCells ¶ added in v1.3.0

GetInitialCells returns the InitialCells field value if set, zero value otherwise.

func (*IncidentCreateAttributes) GetInitialCellsOk ¶ added in v1.3.0

GetInitialCellsOk returns a tuple with the InitialCells field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentCreateAttributes) GetNotificationHandles ¶

func (o *IncidentCreateAttributes) GetNotificationHandles() []IncidentNotificationHandle

GetNotificationHandles returns the NotificationHandles field value if set, zero value otherwise.

func (*IncidentCreateAttributes) GetNotificationHandlesOk ¶

func (o *IncidentCreateAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)

GetNotificationHandlesOk returns a tuple with the NotificationHandles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentCreateAttributes) GetTitle ¶

func (o *IncidentCreateAttributes) GetTitle() string

GetTitle returns the Title field value

func (*IncidentCreateAttributes) GetTitleOk ¶

func (o *IncidentCreateAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*IncidentCreateAttributes) HasFields ¶

func (o *IncidentCreateAttributes) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*IncidentCreateAttributes) HasInitialCells ¶ added in v1.3.0

func (o *IncidentCreateAttributes) HasInitialCells() bool

HasInitialCells returns a boolean if a field has been set.

func (*IncidentCreateAttributes) HasNotificationHandles ¶

func (o *IncidentCreateAttributes) HasNotificationHandles() bool

HasNotificationHandles returns a boolean if a field has been set.

func (IncidentCreateAttributes) MarshalJSON ¶

func (o IncidentCreateAttributes) MarshalJSON() ([]byte, error)

func (*IncidentCreateAttributes) SetCustomerImpacted ¶

func (o *IncidentCreateAttributes) SetCustomerImpacted(v bool)

SetCustomerImpacted sets field value

func (*IncidentCreateAttributes) SetFields ¶

SetFields gets a reference to the given map[string]IncidentFieldAttributes and assigns it to the Fields field.

func (*IncidentCreateAttributes) SetInitialCells ¶ added in v1.3.0

SetInitialCells gets a reference to the given []IncidentTimelineCellCreateAttributes and assigns it to the InitialCells field.

func (*IncidentCreateAttributes) SetNotificationHandles ¶

func (o *IncidentCreateAttributes) SetNotificationHandles(v []IncidentNotificationHandle)

SetNotificationHandles gets a reference to the given []IncidentNotificationHandle and assigns it to the NotificationHandles field.

func (*IncidentCreateAttributes) SetTitle ¶

func (o *IncidentCreateAttributes) SetTitle(v string)

SetTitle sets field value

func (*IncidentCreateAttributes) UnmarshalJSON ¶

func (o *IncidentCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

type IncidentCreateRelationships ¶

type IncidentCreateRelationships struct {
	// Relationship to user.
	CommanderUser NullableRelationshipToUser `json:"commander_user"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentCreateRelationships The relationships the incident will have with other resources once created.

func NewIncidentCreateRelationships ¶

func NewIncidentCreateRelationships(commanderUser NullableRelationshipToUser) *IncidentCreateRelationships

NewIncidentCreateRelationships instantiates a new IncidentCreateRelationships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentCreateRelationshipsWithDefaults ¶

func NewIncidentCreateRelationshipsWithDefaults() *IncidentCreateRelationships

NewIncidentCreateRelationshipsWithDefaults instantiates a new IncidentCreateRelationships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentCreateRelationships) GetCommanderUser ¶ added in v1.9.0

GetCommanderUser returns the CommanderUser field value

func (*IncidentCreateRelationships) GetCommanderUserOk ¶ added in v1.9.0

func (o *IncidentCreateRelationships) GetCommanderUserOk() (*NullableRelationshipToUser, bool)

GetCommanderUserOk returns a tuple with the CommanderUser field value and a boolean to check if the value has been set.

func (IncidentCreateRelationships) MarshalJSON ¶

func (o IncidentCreateRelationships) MarshalJSON() ([]byte, error)

func (*IncidentCreateRelationships) SetCommanderUser ¶ added in v1.9.0

SetCommanderUser sets field value

func (*IncidentCreateRelationships) UnmarshalJSON ¶

func (o *IncidentCreateRelationships) UnmarshalJSON(bytes []byte) (err error)

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)

func (*IncidentCreateRequest) SetData ¶

SetData sets field value

func (*IncidentCreateRequest) UnmarshalJSON ¶

func (o *IncidentCreateRequest) UnmarshalJSON(bytes []byte) (err error)

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{}

Get the actual instance

func (IncidentFieldAttributes) MarshalJSON ¶

func (src IncidentFieldAttributes) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*IncidentFieldAttributes) UnmarshalJSON ¶

func (dst *IncidentFieldAttributes) UnmarshalJSON(data []byte) error

Unmarshal JSON 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)

func (*IncidentFieldAttributesMultipleValue) SetType ¶

SetType gets a reference to the given IncidentFieldAttributesValueType and assigns it to the Type field.

func (*IncidentFieldAttributesMultipleValue) SetValue ¶

SetValue gets a reference to the given []string and assigns it to the Value field.

func (*IncidentFieldAttributesMultipleValue) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentFieldAttributesMultipleValue) UnmarshalJSON(bytes []byte) (err error)

type IncidentFieldAttributesSingleValue ¶

type IncidentFieldAttributesSingleValue struct {
	// Type of the single value field definitions.
	Type *IncidentFieldAttributesSingleValueType `json:"type,omitempty"`
	// The single value selected for this field.
	Value NullableString `json:"value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentFieldAttributesSingleValue A field with a single value selected.

func NewIncidentFieldAttributesSingleValue ¶

func NewIncidentFieldAttributesSingleValue() *IncidentFieldAttributesSingleValue

NewIncidentFieldAttributesSingleValue instantiates a new IncidentFieldAttributesSingleValue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentFieldAttributesSingleValueWithDefaults ¶

func NewIncidentFieldAttributesSingleValueWithDefaults() *IncidentFieldAttributesSingleValue

NewIncidentFieldAttributesSingleValueWithDefaults instantiates a new IncidentFieldAttributesSingleValue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentFieldAttributesSingleValue) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*IncidentFieldAttributesSingleValue) GetTypeOk ¶

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentFieldAttributesSingleValue) GetValue ¶

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentFieldAttributesSingleValue) GetValueOk ¶

func (o *IncidentFieldAttributesSingleValue) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IncidentFieldAttributesSingleValue) HasType ¶

HasType returns a boolean if a field has been set.

func (*IncidentFieldAttributesSingleValue) HasValue ¶

HasValue returns a boolean if a field has been set.

func (IncidentFieldAttributesSingleValue) MarshalJSON ¶

func (o IncidentFieldAttributesSingleValue) MarshalJSON() ([]byte, error)

func (*IncidentFieldAttributesSingleValue) SetType ¶

SetType gets a reference to the given IncidentFieldAttributesSingleValueType and assigns it to the Type field.

func (*IncidentFieldAttributesSingleValue) SetValue ¶

SetValue gets a reference to the given NullableString and assigns it to the Value field.

func (*IncidentFieldAttributesSingleValue) SetValueNil ¶ added in v1.5.0

func (o *IncidentFieldAttributesSingleValue) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil

func (*IncidentFieldAttributesSingleValue) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentFieldAttributesSingleValue) UnmarshalJSON(bytes []byte) (err error)

func (*IncidentFieldAttributesSingleValue) UnsetValue ¶ added in v1.5.0

func (o *IncidentFieldAttributesSingleValue) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil

type IncidentFieldAttributesSingleValueType ¶

type IncidentFieldAttributesSingleValueType string

IncidentFieldAttributesSingleValueType Type of the single value field definitions.

const (
	INCIDENTFIELDATTRIBUTESSINGLEVALUETYPE_DROPDOWN IncidentFieldAttributesSingleValueType = "dropdown"
	INCIDENTFIELDATTRIBUTESSINGLEVALUETYPE_TEXTBOX  IncidentFieldAttributesSingleValueType = "textbox"
)

List of IncidentFieldAttributesSingleValueType

func NewIncidentFieldAttributesSingleValueTypeFromValue ¶

func NewIncidentFieldAttributesSingleValueTypeFromValue(v string) (*IncidentFieldAttributesSingleValueType, error)

NewIncidentFieldAttributesSingleValueTypeFromValue returns a pointer to a valid IncidentFieldAttributesSingleValueType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*IncidentFieldAttributesSingleValueType) GetAllowedValues ¶ added in v1.1.0

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

type IncidentFieldAttributesValueType ¶

type IncidentFieldAttributesValueType string

IncidentFieldAttributesValueType Type of the multiple value field definitions.

const (
	INCIDENTFIELDATTRIBUTESVALUETYPE_MULTISELECT  IncidentFieldAttributesValueType = "multiselect"
	INCIDENTFIELDATTRIBUTESVALUETYPE_TEXTARRAY    IncidentFieldAttributesValueType = "textarray"
	INCIDENTFIELDATTRIBUTESVALUETYPE_METRICTAG    IncidentFieldAttributesValueType = "metrictag"
	INCIDENTFIELDATTRIBUTESVALUETYPE_AUTOCOMPLETE IncidentFieldAttributesValueType = "autocomplete"
)

List of IncidentFieldAttributesValueType

func NewIncidentFieldAttributesValueTypeFromValue ¶

func NewIncidentFieldAttributesValueTypeFromValue(v string) (*IncidentFieldAttributesValueType, error)

NewIncidentFieldAttributesValueTypeFromValue returns a pointer to a valid IncidentFieldAttributesValueType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*IncidentFieldAttributesValueType) GetAllowedValues ¶ added in v1.1.0

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

type IncidentIntegrationMetadataType ¶

type IncidentIntegrationMetadataType string

IncidentIntegrationMetadataType Integration metadata resource type.

const (
	INCIDENTINTEGRATIONMETADATATYPE_INCIDENT_INTEGRATIONS IncidentIntegrationMetadataType = "incident_integrations"
)

List of IncidentIntegrationMetadataType

func NewIncidentIntegrationMetadataTypeFromValue ¶

func NewIncidentIntegrationMetadataTypeFromValue(v string) (*IncidentIntegrationMetadataType, error)

NewIncidentIntegrationMetadataTypeFromValue returns a pointer to a valid IncidentIntegrationMetadataType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*IncidentIntegrationMetadataType) GetAllowedValues ¶ added in v1.1.0

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

type IncidentNotificationHandle ¶ added in v1.3.0

type IncidentNotificationHandle struct {
	// The name of the notified handle.
	DisplayName *string `json:"display_name,omitempty"`
	// The email address used for the notification.
	Handle *string `json:"handle,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentNotificationHandle A notification handle that will be notified at incident creation.

func NewIncidentNotificationHandle ¶ added in v1.3.0

func NewIncidentNotificationHandle() *IncidentNotificationHandle

NewIncidentNotificationHandle instantiates a new IncidentNotificationHandle object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentNotificationHandleWithDefaults ¶ added in v1.3.0

func NewIncidentNotificationHandleWithDefaults() *IncidentNotificationHandle

NewIncidentNotificationHandleWithDefaults instantiates a new IncidentNotificationHandle object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentNotificationHandle) GetDisplayName ¶ added in v1.3.0

func (o *IncidentNotificationHandle) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*IncidentNotificationHandle) GetDisplayNameOk ¶ added in v1.3.0

func (o *IncidentNotificationHandle) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentNotificationHandle) GetHandle ¶ added in v1.3.0

func (o *IncidentNotificationHandle) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*IncidentNotificationHandle) GetHandleOk ¶ added in v1.3.0

func (o *IncidentNotificationHandle) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentNotificationHandle) HasDisplayName ¶ added in v1.3.0

func (o *IncidentNotificationHandle) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*IncidentNotificationHandle) HasHandle ¶ added in v1.3.0

func (o *IncidentNotificationHandle) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (IncidentNotificationHandle) MarshalJSON ¶ added in v1.3.0

func (o IncidentNotificationHandle) MarshalJSON() ([]byte, error)

func (*IncidentNotificationHandle) SetDisplayName ¶ added in v1.3.0

func (o *IncidentNotificationHandle) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*IncidentNotificationHandle) SetHandle ¶ added in v1.3.0

func (o *IncidentNotificationHandle) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*IncidentNotificationHandle) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentNotificationHandle) UnmarshalJSON(bytes []byte) (err error)

type IncidentPostmortemType ¶

type IncidentPostmortemType string

IncidentPostmortemType Incident postmortem resource type.

const (
	INCIDENTPOSTMORTEMTYPE_INCIDENT_POSTMORTEMS IncidentPostmortemType = "incident_postmortems"
)

List of IncidentPostmortemType

func NewIncidentPostmortemTypeFromValue ¶

func NewIncidentPostmortemTypeFromValue(v string) (*IncidentPostmortemType, error)

NewIncidentPostmortemTypeFromValue returns a pointer to a valid IncidentPostmortemType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*IncidentPostmortemType) GetAllowedValues ¶ added in v1.1.0

func (w *IncidentPostmortemType) GetAllowedValues() []IncidentPostmortemType

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

type IncidentRelatedObject ¶

type IncidentRelatedObject string

IncidentRelatedObject Object related to an incident.

const (
	INCIDENTRELATEDOBJECT_USERS IncidentRelatedObject = "users"
)

List of IncidentRelatedObject

func NewIncidentRelatedObjectFromValue ¶

func NewIncidentRelatedObjectFromValue(v string) (*IncidentRelatedObject, error)

NewIncidentRelatedObjectFromValue returns a pointer to a valid IncidentRelatedObject for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*IncidentRelatedObject) GetAllowedValues ¶ added in v1.1.0

func (w *IncidentRelatedObject) GetAllowedValues() []IncidentRelatedObject

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

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)

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)

type IncidentResponseAttributes ¶

type IncidentResponseAttributes struct {
	// Timestamp when the incident was created.
	Created *time.Time `json:"created,omitempty"`
	// Length of the incident's customer impact in seconds.
	// Equals the difference between `customer_impact_start` and `customer_impact_end`.
	CustomerImpactDuration *int64 `json:"customer_impact_duration,omitempty"`
	// Timestamp when customers were no longer impacted by the incident.
	CustomerImpactEnd NullableTime `json:"customer_impact_end,omitempty"`
	// A summary of the impact customers experienced during the incident.
	CustomerImpactScope NullableString `json:"customer_impact_scope,omitempty"`
	// Timestamp when customers began being impacted by the incident.
	CustomerImpactStart NullableTime `json:"customer_impact_start,omitempty"`
	// A flag indicating whether the incident caused customer impact.
	CustomerImpacted *bool `json:"customer_impacted,omitempty"`
	// Timestamp when the incident was detected.
	Detected NullableTime `json:"detected,omitempty"`
	// A condensed view of the user-defined fields attached to incidents.
	Fields map[string]IncidentFieldAttributes `json:"fields,omitempty"`
	// Timestamp when the incident was last modified.
	Modified *time.Time `json:"modified,omitempty"`
	// Notification handles that will be notified of the incident during update.
	NotificationHandles []IncidentNotificationHandle `json:"notification_handles,omitempty"`
	// The UUID of the postmortem object attached to the incident.
	PostmortemId *string `json:"postmortem_id,omitempty"`
	// The monotonically increasing integer ID for the incident.
	PublicId *int64 `json:"public_id,omitempty"`
	// Timestamp when the incident's state was set to resolved.
	Resolved NullableTime `json:"resolved,omitempty"`
	// The amount of time in seconds to detect the incident.
	// Equals the difference between `customer_impact_start` and `detected`.
	TimeToDetect *int64 `json:"time_to_detect,omitempty"`
	// The amount of time in seconds to call incident after detection. Equals the difference of `detected` and `created`.
	TimeToInternalResponse *int64 `json:"time_to_internal_response,omitempty"`
	// The amount of time in seconds to resolve customer impact after detecting the issue. Equals the difference between `customer_impact_end` and `detected`.
	TimeToRepair *int64 `json:"time_to_repair,omitempty"`
	// The amount of time in seconds to resolve the incident after it was created. Equals the difference between `created` and `resolved`.
	TimeToResolve *int64 `json:"time_to_resolve,omitempty"`
	// The title of the incident, which summarizes what happened.
	Title string `json:"title"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentResponseAttributes The incident's attributes from a response.

func NewIncidentResponseAttributes ¶

func NewIncidentResponseAttributes(title string) *IncidentResponseAttributes

NewIncidentResponseAttributes instantiates a new IncidentResponseAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentResponseAttributesWithDefaults ¶

func NewIncidentResponseAttributesWithDefaults() *IncidentResponseAttributes

NewIncidentResponseAttributesWithDefaults instantiates a new IncidentResponseAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentResponseAttributes) GetCreated ¶

func (o *IncidentResponseAttributes) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetCreatedOk ¶

func (o *IncidentResponseAttributes) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) GetCustomerImpactDuration ¶

func (o *IncidentResponseAttributes) GetCustomerImpactDuration() int64

GetCustomerImpactDuration returns the CustomerImpactDuration field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetCustomerImpactDurationOk ¶

func (o *IncidentResponseAttributes) GetCustomerImpactDurationOk() (*int64, bool)

GetCustomerImpactDurationOk returns a tuple with the CustomerImpactDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) GetCustomerImpactEnd ¶

func (o *IncidentResponseAttributes) GetCustomerImpactEnd() time.Time

GetCustomerImpactEnd returns the CustomerImpactEnd field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentResponseAttributes) GetCustomerImpactEndOk ¶

func (o *IncidentResponseAttributes) GetCustomerImpactEndOk() (*time.Time, bool)

GetCustomerImpactEndOk returns a tuple with the CustomerImpactEnd field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IncidentResponseAttributes) GetCustomerImpactScope ¶

func (o *IncidentResponseAttributes) GetCustomerImpactScope() string

GetCustomerImpactScope returns the CustomerImpactScope field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentResponseAttributes) GetCustomerImpactScopeOk ¶

func (o *IncidentResponseAttributes) GetCustomerImpactScopeOk() (*string, bool)

GetCustomerImpactScopeOk returns a tuple with the CustomerImpactScope field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IncidentResponseAttributes) GetCustomerImpactStart ¶

func (o *IncidentResponseAttributes) GetCustomerImpactStart() time.Time

GetCustomerImpactStart returns the CustomerImpactStart field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentResponseAttributes) GetCustomerImpactStartOk ¶

func (o *IncidentResponseAttributes) GetCustomerImpactStartOk() (*time.Time, bool)

GetCustomerImpactStartOk returns a tuple with the CustomerImpactStart field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IncidentResponseAttributes) GetCustomerImpacted ¶

func (o *IncidentResponseAttributes) GetCustomerImpacted() bool

GetCustomerImpacted returns the CustomerImpacted field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetCustomerImpactedOk ¶

func (o *IncidentResponseAttributes) GetCustomerImpactedOk() (*bool, bool)

GetCustomerImpactedOk returns a tuple with the CustomerImpacted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) GetDetected ¶

func (o *IncidentResponseAttributes) GetDetected() time.Time

GetDetected returns the Detected field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentResponseAttributes) GetDetectedOk ¶

func (o *IncidentResponseAttributes) GetDetectedOk() (*time.Time, bool)

GetDetectedOk returns a tuple with the Detected field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IncidentResponseAttributes) GetFields ¶

GetFields returns the Fields field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetFieldsOk ¶

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) GetModified ¶

func (o *IncidentResponseAttributes) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetModifiedOk ¶

func (o *IncidentResponseAttributes) GetModifiedOk() (*time.Time, bool)

GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) GetNotificationHandles ¶

func (o *IncidentResponseAttributes) GetNotificationHandles() []IncidentNotificationHandle

GetNotificationHandles returns the NotificationHandles field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentResponseAttributes) GetNotificationHandlesOk ¶

func (o *IncidentResponseAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)

GetNotificationHandlesOk returns a tuple with the NotificationHandles field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IncidentResponseAttributes) GetPostmortemId ¶

func (o *IncidentResponseAttributes) GetPostmortemId() string

GetPostmortemId returns the PostmortemId field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetPostmortemIdOk ¶

func (o *IncidentResponseAttributes) GetPostmortemIdOk() (*string, bool)

GetPostmortemIdOk returns a tuple with the PostmortemId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) GetPublicId ¶

func (o *IncidentResponseAttributes) GetPublicId() int64

GetPublicId returns the PublicId field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetPublicIdOk ¶

func (o *IncidentResponseAttributes) GetPublicIdOk() (*int64, bool)

GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) GetResolved ¶

func (o *IncidentResponseAttributes) GetResolved() time.Time

GetResolved returns the Resolved field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentResponseAttributes) GetResolvedOk ¶

func (o *IncidentResponseAttributes) GetResolvedOk() (*time.Time, bool)

GetResolvedOk returns a tuple with the Resolved field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IncidentResponseAttributes) GetTimeToDetect ¶

func (o *IncidentResponseAttributes) GetTimeToDetect() int64

GetTimeToDetect returns the TimeToDetect field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetTimeToDetectOk ¶

func (o *IncidentResponseAttributes) GetTimeToDetectOk() (*int64, bool)

GetTimeToDetectOk returns a tuple with the TimeToDetect field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) GetTimeToInternalResponse ¶

func (o *IncidentResponseAttributes) GetTimeToInternalResponse() int64

GetTimeToInternalResponse returns the TimeToInternalResponse field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetTimeToInternalResponseOk ¶

func (o *IncidentResponseAttributes) GetTimeToInternalResponseOk() (*int64, bool)

GetTimeToInternalResponseOk returns a tuple with the TimeToInternalResponse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) GetTimeToRepair ¶

func (o *IncidentResponseAttributes) GetTimeToRepair() int64

GetTimeToRepair returns the TimeToRepair field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetTimeToRepairOk ¶

func (o *IncidentResponseAttributes) GetTimeToRepairOk() (*int64, bool)

GetTimeToRepairOk returns a tuple with the TimeToRepair field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) GetTimeToResolve ¶

func (o *IncidentResponseAttributes) GetTimeToResolve() int64

GetTimeToResolve returns the TimeToResolve field value if set, zero value otherwise.

func (*IncidentResponseAttributes) GetTimeToResolveOk ¶

func (o *IncidentResponseAttributes) GetTimeToResolveOk() (*int64, bool)

GetTimeToResolveOk returns a tuple with the TimeToResolve field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) GetTitle ¶

func (o *IncidentResponseAttributes) GetTitle() string

GetTitle returns the Title field value

func (*IncidentResponseAttributes) GetTitleOk ¶

func (o *IncidentResponseAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*IncidentResponseAttributes) HasCreated ¶

func (o *IncidentResponseAttributes) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasCustomerImpactDuration ¶

func (o *IncidentResponseAttributes) HasCustomerImpactDuration() bool

HasCustomerImpactDuration returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasCustomerImpactEnd ¶

func (o *IncidentResponseAttributes) HasCustomerImpactEnd() bool

HasCustomerImpactEnd returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasCustomerImpactScope ¶

func (o *IncidentResponseAttributes) HasCustomerImpactScope() bool

HasCustomerImpactScope returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasCustomerImpactStart ¶

func (o *IncidentResponseAttributes) HasCustomerImpactStart() bool

HasCustomerImpactStart returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasCustomerImpacted ¶

func (o *IncidentResponseAttributes) HasCustomerImpacted() bool

HasCustomerImpacted returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasDetected ¶

func (o *IncidentResponseAttributes) HasDetected() bool

HasDetected returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasFields ¶

func (o *IncidentResponseAttributes) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasModified ¶

func (o *IncidentResponseAttributes) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasNotificationHandles ¶

func (o *IncidentResponseAttributes) HasNotificationHandles() bool

HasNotificationHandles returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasPostmortemId ¶

func (o *IncidentResponseAttributes) HasPostmortemId() bool

HasPostmortemId returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasPublicId ¶

func (o *IncidentResponseAttributes) HasPublicId() bool

HasPublicId returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasResolved ¶

func (o *IncidentResponseAttributes) HasResolved() bool

HasResolved returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasTimeToDetect ¶

func (o *IncidentResponseAttributes) HasTimeToDetect() bool

HasTimeToDetect returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasTimeToInternalResponse ¶

func (o *IncidentResponseAttributes) HasTimeToInternalResponse() bool

HasTimeToInternalResponse returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasTimeToRepair ¶

func (o *IncidentResponseAttributes) HasTimeToRepair() bool

HasTimeToRepair returns a boolean if a field has been set.

func (*IncidentResponseAttributes) HasTimeToResolve ¶

func (o *IncidentResponseAttributes) HasTimeToResolve() bool

HasTimeToResolve returns a boolean if a field has been set.

func (IncidentResponseAttributes) MarshalJSON ¶

func (o IncidentResponseAttributes) MarshalJSON() ([]byte, error)

func (*IncidentResponseAttributes) SetCreated ¶

func (o *IncidentResponseAttributes) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*IncidentResponseAttributes) SetCustomerImpactDuration ¶

func (o *IncidentResponseAttributes) SetCustomerImpactDuration(v int64)

SetCustomerImpactDuration gets a reference to the given int64 and assigns it to the CustomerImpactDuration field.

func (*IncidentResponseAttributes) SetCustomerImpactEnd ¶

func (o *IncidentResponseAttributes) SetCustomerImpactEnd(v time.Time)

SetCustomerImpactEnd gets a reference to the given NullableTime and assigns it to the CustomerImpactEnd field.

func (*IncidentResponseAttributes) SetCustomerImpactEndNil ¶

func (o *IncidentResponseAttributes) SetCustomerImpactEndNil()

SetCustomerImpactEndNil sets the value for CustomerImpactEnd to be an explicit nil

func (*IncidentResponseAttributes) SetCustomerImpactScope ¶

func (o *IncidentResponseAttributes) SetCustomerImpactScope(v string)

SetCustomerImpactScope gets a reference to the given NullableString and assigns it to the CustomerImpactScope field.

func (*IncidentResponseAttributes) SetCustomerImpactScopeNil ¶

func (o *IncidentResponseAttributes) SetCustomerImpactScopeNil()

SetCustomerImpactScopeNil sets the value for CustomerImpactScope to be an explicit nil

func (*IncidentResponseAttributes) SetCustomerImpactStart ¶

func (o *IncidentResponseAttributes) SetCustomerImpactStart(v time.Time)

SetCustomerImpactStart gets a reference to the given NullableTime and assigns it to the CustomerImpactStart field.

func (*IncidentResponseAttributes) SetCustomerImpactStartNil ¶

func (o *IncidentResponseAttributes) SetCustomerImpactStartNil()

SetCustomerImpactStartNil sets the value for CustomerImpactStart to be an explicit nil

func (*IncidentResponseAttributes) SetCustomerImpacted ¶

func (o *IncidentResponseAttributes) SetCustomerImpacted(v bool)

SetCustomerImpacted gets a reference to the given bool and assigns it to the CustomerImpacted field.

func (*IncidentResponseAttributes) SetDetected ¶

func (o *IncidentResponseAttributes) SetDetected(v time.Time)

SetDetected gets a reference to the given NullableTime and assigns it to the Detected field.

func (*IncidentResponseAttributes) SetDetectedNil ¶

func (o *IncidentResponseAttributes) SetDetectedNil()

SetDetectedNil sets the value for Detected to be an explicit nil

func (*IncidentResponseAttributes) SetFields ¶

SetFields gets a reference to the given map[string]IncidentFieldAttributes and assigns it to the Fields field.

func (*IncidentResponseAttributes) SetModified ¶

func (o *IncidentResponseAttributes) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*IncidentResponseAttributes) SetNotificationHandles ¶

func (o *IncidentResponseAttributes) SetNotificationHandles(v []IncidentNotificationHandle)

SetNotificationHandles gets a reference to the given []IncidentNotificationHandle and assigns it to the NotificationHandles field.

func (*IncidentResponseAttributes) SetPostmortemId ¶

func (o *IncidentResponseAttributes) SetPostmortemId(v string)

SetPostmortemId gets a reference to the given string and assigns it to the PostmortemId field.

func (*IncidentResponseAttributes) SetPublicId ¶

func (o *IncidentResponseAttributes) SetPublicId(v int64)

SetPublicId gets a reference to the given int64 and assigns it to the PublicId field.

func (*IncidentResponseAttributes) SetResolved ¶

func (o *IncidentResponseAttributes) SetResolved(v time.Time)

SetResolved gets a reference to the given NullableTime and assigns it to the Resolved field.

func (*IncidentResponseAttributes) SetResolvedNil ¶

func (o *IncidentResponseAttributes) SetResolvedNil()

SetResolvedNil sets the value for Resolved to be an explicit nil

func (*IncidentResponseAttributes) SetTimeToDetect ¶

func (o *IncidentResponseAttributes) SetTimeToDetect(v int64)

SetTimeToDetect gets a reference to the given int64 and assigns it to the TimeToDetect field.

func (*IncidentResponseAttributes) SetTimeToInternalResponse ¶

func (o *IncidentResponseAttributes) SetTimeToInternalResponse(v int64)

SetTimeToInternalResponse gets a reference to the given int64 and assigns it to the TimeToInternalResponse field.

func (*IncidentResponseAttributes) SetTimeToRepair ¶

func (o *IncidentResponseAttributes) SetTimeToRepair(v int64)

SetTimeToRepair gets a reference to the given int64 and assigns it to the TimeToRepair field.

func (*IncidentResponseAttributes) SetTimeToResolve ¶

func (o *IncidentResponseAttributes) SetTimeToResolve(v int64)

SetTimeToResolve gets a reference to the given int64 and assigns it to the TimeToResolve field.

func (*IncidentResponseAttributes) SetTitle ¶

func (o *IncidentResponseAttributes) SetTitle(v string)

SetTitle sets field value

func (*IncidentResponseAttributes) UnmarshalJSON ¶

func (o *IncidentResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

type IncidentResponseIncludedItem ¶

type IncidentResponseIncludedItem struct {
	User *User

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

IncidentResponseIncludedItem - An object related to an incident that is included in the response.

func UserAsIncidentResponseIncludedItem ¶

func UserAsIncidentResponseIncludedItem(v *User) IncidentResponseIncludedItem

UserAsIncidentResponseIncludedItem is a convenience function that returns User wrapped in IncidentResponseIncludedItem

func (*IncidentResponseIncludedItem) GetActualInstance ¶

func (obj *IncidentResponseIncludedItem) GetActualInstance() interface{}

Get the actual instance

func (IncidentResponseIncludedItem) MarshalJSON ¶

func (src IncidentResponseIncludedItem) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*IncidentResponseIncludedItem) UnmarshalJSON ¶

func (dst *IncidentResponseIncludedItem) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type IncidentResponseMeta ¶ added in v1.9.0

type IncidentResponseMeta struct {
	// Pagination properties.
	Pagination *IncidentResponseMetaPagination `json:"pagination,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentResponseMeta The metadata object containing pagination metadata.

func NewIncidentResponseMeta ¶ added in v1.9.0

func NewIncidentResponseMeta() *IncidentResponseMeta

NewIncidentResponseMeta instantiates a new IncidentResponseMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentResponseMetaWithDefaults ¶ added in v1.9.0

func NewIncidentResponseMetaWithDefaults() *IncidentResponseMeta

NewIncidentResponseMetaWithDefaults instantiates a new IncidentResponseMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentResponseMeta) GetPagination ¶ added in v1.9.0

GetPagination returns the Pagination field value if set, zero value otherwise.

func (*IncidentResponseMeta) GetPaginationOk ¶ added in v1.9.0

func (o *IncidentResponseMeta) GetPaginationOk() (*IncidentResponseMetaPagination, bool)

GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseMeta) HasPagination ¶ added in v1.9.0

func (o *IncidentResponseMeta) HasPagination() bool

HasPagination returns a boolean if a field has been set.

func (IncidentResponseMeta) MarshalJSON ¶ added in v1.9.0

func (o IncidentResponseMeta) MarshalJSON() ([]byte, error)

func (*IncidentResponseMeta) SetPagination ¶ added in v1.9.0

SetPagination gets a reference to the given IncidentResponseMetaPagination and assigns it to the Pagination field.

func (*IncidentResponseMeta) UnmarshalJSON ¶ added in v1.9.0

func (o *IncidentResponseMeta) UnmarshalJSON(bytes []byte) (err error)

type IncidentResponseMetaPagination ¶ added in v1.9.0

type IncidentResponseMetaPagination struct {
	// The index of the first element in the next page of results. Equal to page size added to the current offset.
	NextOffset *int64 `json:"next_offset,omitempty"`
	// The index of the first element in the results.
	Offset *int64 `json:"offset,omitempty"`
	// Maximum size of pages to return.
	Size *int64 `json:"size,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentResponseMetaPagination Pagination properties.

func NewIncidentResponseMetaPagination ¶ added in v1.9.0

func NewIncidentResponseMetaPagination() *IncidentResponseMetaPagination

NewIncidentResponseMetaPagination instantiates a new IncidentResponseMetaPagination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentResponseMetaPaginationWithDefaults ¶ added in v1.9.0

func NewIncidentResponseMetaPaginationWithDefaults() *IncidentResponseMetaPagination

NewIncidentResponseMetaPaginationWithDefaults instantiates a new IncidentResponseMetaPagination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentResponseMetaPagination) GetNextOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) GetNextOffset() int64

GetNextOffset returns the NextOffset field value if set, zero value otherwise.

func (*IncidentResponseMetaPagination) GetNextOffsetOk ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) GetNextOffsetOk() (*int64, bool)

GetNextOffsetOk returns a tuple with the NextOffset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseMetaPagination) GetOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) GetOffset() int64

GetOffset returns the Offset field value if set, zero value otherwise.

func (*IncidentResponseMetaPagination) GetOffsetOk ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) GetOffsetOk() (*int64, bool)

GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseMetaPagination) GetSize ¶ added in v1.9.0

GetSize returns the Size field value if set, zero value otherwise.

func (*IncidentResponseMetaPagination) GetSizeOk ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseMetaPagination) HasNextOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) HasNextOffset() bool

HasNextOffset returns a boolean if a field has been set.

func (*IncidentResponseMetaPagination) HasOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*IncidentResponseMetaPagination) HasSize ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) HasSize() bool

HasSize returns a boolean if a field has been set.

func (IncidentResponseMetaPagination) MarshalJSON ¶ added in v1.9.0

func (o IncidentResponseMetaPagination) MarshalJSON() ([]byte, error)

func (*IncidentResponseMetaPagination) SetNextOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) SetNextOffset(v int64)

SetNextOffset gets a reference to the given int64 and assigns it to the NextOffset field.

func (*IncidentResponseMetaPagination) SetOffset ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) SetOffset(v int64)

SetOffset gets a reference to the given int64 and assigns it to the Offset field.

func (*IncidentResponseMetaPagination) SetSize ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*IncidentResponseMetaPagination) UnmarshalJSON ¶ added in v1.9.0

func (o *IncidentResponseMetaPagination) UnmarshalJSON(bytes []byte) (err error)

type IncidentResponseRelationships ¶

type IncidentResponseRelationships struct {
	// Relationship to user.
	CommanderUser *NullableRelationshipToUser `json:"commander_user,omitempty"`
	// Relationship to user.
	CreatedByUser *RelationshipToUser `json:"created_by_user,omitempty"`
	// A relationship reference for multiple integration metadata objects.
	Integrations *RelationshipToIncidentIntegrationMetadatas `json:"integrations,omitempty"`
	// Relationship to user.
	LastModifiedByUser *RelationshipToUser `json:"last_modified_by_user,omitempty"`
	// A relationship reference for postmortems.
	Postmortem *RelationshipToIncidentPostmortem `json:"postmortem,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentResponseRelationships The incident's relationships from a response.

func NewIncidentResponseRelationships ¶

func NewIncidentResponseRelationships() *IncidentResponseRelationships

NewIncidentResponseRelationships instantiates a new IncidentResponseRelationships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentResponseRelationshipsWithDefaults ¶

func NewIncidentResponseRelationshipsWithDefaults() *IncidentResponseRelationships

NewIncidentResponseRelationshipsWithDefaults instantiates a new IncidentResponseRelationships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentResponseRelationships) GetCommanderUser ¶

GetCommanderUser returns the CommanderUser field value if set, zero value otherwise.

func (*IncidentResponseRelationships) GetCommanderUserOk ¶

GetCommanderUserOk returns a tuple with the CommanderUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseRelationships) GetCreatedByUser ¶

func (o *IncidentResponseRelationships) GetCreatedByUser() RelationshipToUser

GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise.

func (*IncidentResponseRelationships) GetCreatedByUserOk ¶

func (o *IncidentResponseRelationships) GetCreatedByUserOk() (*RelationshipToUser, bool)

GetCreatedByUserOk returns a tuple with the CreatedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseRelationships) GetIntegrations ¶

GetIntegrations returns the Integrations field value if set, zero value otherwise.

func (*IncidentResponseRelationships) GetIntegrationsOk ¶

GetIntegrationsOk returns a tuple with the Integrations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseRelationships) GetLastModifiedByUser ¶

func (o *IncidentResponseRelationships) GetLastModifiedByUser() RelationshipToUser

GetLastModifiedByUser returns the LastModifiedByUser field value if set, zero value otherwise.

func (*IncidentResponseRelationships) GetLastModifiedByUserOk ¶

func (o *IncidentResponseRelationships) GetLastModifiedByUserOk() (*RelationshipToUser, bool)

GetLastModifiedByUserOk returns a tuple with the LastModifiedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseRelationships) GetPostmortem ¶

GetPostmortem returns the Postmortem field value if set, zero value otherwise.

func (*IncidentResponseRelationships) GetPostmortemOk ¶

GetPostmortemOk returns a tuple with the Postmortem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentResponseRelationships) HasCommanderUser ¶

func (o *IncidentResponseRelationships) HasCommanderUser() bool

HasCommanderUser returns a boolean if a field has been set.

func (*IncidentResponseRelationships) HasCreatedByUser ¶

func (o *IncidentResponseRelationships) HasCreatedByUser() bool

HasCreatedByUser returns a boolean if a field has been set.

func (*IncidentResponseRelationships) HasIntegrations ¶

func (o *IncidentResponseRelationships) HasIntegrations() bool

HasIntegrations returns a boolean if a field has been set.

func (*IncidentResponseRelationships) HasLastModifiedByUser ¶

func (o *IncidentResponseRelationships) HasLastModifiedByUser() bool

HasLastModifiedByUser returns a boolean if a field has been set.

func (*IncidentResponseRelationships) HasPostmortem ¶

func (o *IncidentResponseRelationships) HasPostmortem() bool

HasPostmortem returns a boolean if a field has been set.

func (IncidentResponseRelationships) MarshalJSON ¶

func (o IncidentResponseRelationships) MarshalJSON() ([]byte, error)

func (*IncidentResponseRelationships) SetCommanderUser ¶

SetCommanderUser gets a reference to the given NullableRelationshipToUser and assigns it to the CommanderUser field.

func (*IncidentResponseRelationships) SetCreatedByUser ¶

func (o *IncidentResponseRelationships) SetCreatedByUser(v RelationshipToUser)

SetCreatedByUser gets a reference to the given RelationshipToUser and assigns it to the CreatedByUser field.

func (*IncidentResponseRelationships) SetIntegrations ¶

SetIntegrations gets a reference to the given RelationshipToIncidentIntegrationMetadatas and assigns it to the Integrations field.

func (*IncidentResponseRelationships) SetLastModifiedByUser ¶

func (o *IncidentResponseRelationships) SetLastModifiedByUser(v RelationshipToUser)

SetLastModifiedByUser gets a reference to the given RelationshipToUser and assigns it to the LastModifiedByUser field.

func (*IncidentResponseRelationships) SetPostmortem ¶

SetPostmortem gets a reference to the given RelationshipToIncidentPostmortem and assigns it to the Postmortem field.

func (*IncidentResponseRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentResponseRelationships) UnmarshalJSON(bytes []byte) (err error)

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)

func (*IncidentServiceCreateAttributes) SetName ¶

SetName sets field value

func (*IncidentServiceCreateAttributes) UnmarshalJSON ¶

func (o *IncidentServiceCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

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(type_ 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)

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)

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)

func (*IncidentServiceCreateRequest) SetData ¶

SetData sets field value

func (*IncidentServiceCreateRequest) UnmarshalJSON ¶

func (o *IncidentServiceCreateRequest) UnmarshalJSON(bytes []byte) (err error)

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{}

Get the actual instance

func (IncidentServiceIncludedItems) MarshalJSON ¶

func (src IncidentServiceIncludedItems) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*IncidentServiceIncludedItems) UnmarshalJSON ¶

func (dst *IncidentServiceIncludedItems) UnmarshalJSON(data []byte) error

Unmarshal JSON 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)

func (*IncidentServiceRelationships) SetCreatedBy ¶

SetCreatedBy gets a reference to the given RelationshipToUser and assigns it to the CreatedBy field.

func (*IncidentServiceRelationships) SetLastModifiedBy ¶

func (o *IncidentServiceRelationships) SetLastModifiedBy(v RelationshipToUser)

SetLastModifiedBy gets a reference to the given RelationshipToUser and assigns it to the LastModifiedBy field.

func (*IncidentServiceRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentServiceRelationships) UnmarshalJSON(bytes []byte) (err error)

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)

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)

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)

func (*IncidentServiceResponseAttributes) SetCreated ¶

func (o *IncidentServiceResponseAttributes) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*IncidentServiceResponseAttributes) SetModified ¶

func (o *IncidentServiceResponseAttributes) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*IncidentServiceResponseAttributes) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*IncidentServiceResponseAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentServiceResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

type IncidentServiceType ¶

type IncidentServiceType string

IncidentServiceType Incident service resource type.

const (
	INCIDENTSERVICETYPE_SERVICES IncidentServiceType = "services"
)

List of IncidentServiceType

func NewIncidentServiceTypeFromValue ¶

func NewIncidentServiceTypeFromValue(v string) (*IncidentServiceType, error)

NewIncidentServiceTypeFromValue returns a pointer to a valid IncidentServiceType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*IncidentServiceType) GetAllowedValues ¶ added in v1.1.0

func (w *IncidentServiceType) GetAllowedValues() []IncidentServiceType

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

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)

func (*IncidentServiceUpdateAttributes) SetName ¶

SetName sets field value

func (*IncidentServiceUpdateAttributes) UnmarshalJSON ¶

func (o *IncidentServiceUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

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(type_ 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)

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)

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)

func (*IncidentServiceUpdateRequest) SetData ¶

SetData sets field value

func (*IncidentServiceUpdateRequest) UnmarshalJSON ¶

func (o *IncidentServiceUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

type IncidentServicesApiService ¶

type IncidentServicesApiService service

IncidentServicesApiService IncidentServicesApi service

func (*IncidentServicesApiService) CreateIncidentService ¶

* CreateIncidentService Create a new incident service * Creates a new incident service.

func (*IncidentServicesApiService) DeleteIncidentService ¶

func (a *IncidentServicesApiService) DeleteIncidentService(ctx _context.Context, serviceId string) (*_nethttp.Response, error)

* DeleteIncidentService Delete an existing incident service * Deletes an existing incident service.

func (*IncidentServicesApiService) GetIncidentService ¶

* GetIncidentService Get details of an incident service * Get details of an incident service. If the `include[users]` query parameter is provided, * the included attribute will contain the users related to these incident services.

func (*IncidentServicesApiService) ListIncidentServices ¶

* ListIncidentServices Get a list of all incident services * Get all incident services uploaded for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident services.

func (*IncidentServicesApiService) UpdateIncidentService ¶

* UpdateIncidentService Update an existing incident service * Updates an existing incident service. Only provide the attributes which should be updated as this request is a partial update.

type IncidentServicesResponse ¶

type IncidentServicesResponse struct {
	// An array of incident services.
	Data []IncidentServiceResponseData `json:"data"`
	// Included related resources which the user requested.
	Included *[]IncidentServiceIncludedItems `json:"included,omitempty"`
	// The metadata object containing pagination metadata.
	Meta *IncidentResponseMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentServicesResponse Response with a list of incident service payloads.

func NewIncidentServicesResponse ¶

func NewIncidentServicesResponse(data []IncidentServiceResponseData) *IncidentServicesResponse

NewIncidentServicesResponse instantiates a new IncidentServicesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentServicesResponseWithDefaults ¶

func NewIncidentServicesResponseWithDefaults() *IncidentServicesResponse

NewIncidentServicesResponseWithDefaults instantiates a new IncidentServicesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentServicesResponse) GetData ¶

GetData returns the Data field value

func (*IncidentServicesResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*IncidentServicesResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentServicesResponse) GetIncludedOk ¶

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentServicesResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*IncidentServicesResponse) GetMetaOk ¶

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentServicesResponse) HasIncluded ¶

func (o *IncidentServicesResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*IncidentServicesResponse) HasMeta ¶

func (o *IncidentServicesResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (IncidentServicesResponse) MarshalJSON ¶

func (o IncidentServicesResponse) MarshalJSON() ([]byte, error)

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)

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)

func (*IncidentTeamCreateAttributes) SetName ¶

func (o *IncidentTeamCreateAttributes) SetName(v string)

SetName sets field value

func (*IncidentTeamCreateAttributes) UnmarshalJSON ¶

func (o *IncidentTeamCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

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(type_ 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)

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)

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)

func (*IncidentTeamCreateRequest) SetData ¶

SetData sets field value

func (*IncidentTeamCreateRequest) UnmarshalJSON ¶

func (o *IncidentTeamCreateRequest) UnmarshalJSON(bytes []byte) (err error)

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{}

Get the actual instance

func (IncidentTeamIncludedItems) MarshalJSON ¶

func (src IncidentTeamIncludedItems) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*IncidentTeamIncludedItems) UnmarshalJSON ¶

func (dst *IncidentTeamIncludedItems) UnmarshalJSON(data []byte) error

Unmarshal JSON 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)

func (*IncidentTeamRelationships) SetCreatedBy ¶

func (o *IncidentTeamRelationships) SetCreatedBy(v RelationshipToUser)

SetCreatedBy gets a reference to the given RelationshipToUser and assigns it to the CreatedBy field.

func (*IncidentTeamRelationships) SetLastModifiedBy ¶

func (o *IncidentTeamRelationships) SetLastModifiedBy(v RelationshipToUser)

SetLastModifiedBy gets a reference to the given RelationshipToUser and assigns it to the LastModifiedBy field.

func (*IncidentTeamRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentTeamRelationships) UnmarshalJSON(bytes []byte) (err error)

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)

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)

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)

func (*IncidentTeamResponseAttributes) SetCreated ¶

func (o *IncidentTeamResponseAttributes) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*IncidentTeamResponseAttributes) SetModified ¶

func (o *IncidentTeamResponseAttributes) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*IncidentTeamResponseAttributes) SetName ¶

func (o *IncidentTeamResponseAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*IncidentTeamResponseAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentTeamResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

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)

func (*IncidentTeamResponseData) SetAttributes ¶

SetAttributes gets a reference to the given IncidentTeamResponseAttributes and assigns it to the Attributes field.

func (*IncidentTeamResponseData) SetId ¶

func (o *IncidentTeamResponseData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IncidentTeamResponseData) SetRelationships ¶

func (o *IncidentTeamResponseData) SetRelationships(v IncidentTeamRelationships)

SetRelationships gets a reference to the given IncidentTeamRelationships and assigns it to the Relationships field.

func (*IncidentTeamResponseData) SetType ¶

SetType gets a reference to the given IncidentTeamType and assigns it to the Type field.

func (*IncidentTeamResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentTeamResponseData) UnmarshalJSON(bytes []byte) (err error)

type IncidentTeamType ¶

type IncidentTeamType string

IncidentTeamType Incident Team resource type.

const (
	INCIDENTTEAMTYPE_TEAMS IncidentTeamType = "teams"
)

List of IncidentTeamType

func NewIncidentTeamTypeFromValue ¶

func NewIncidentTeamTypeFromValue(v string) (*IncidentTeamType, error)

NewIncidentTeamTypeFromValue returns a pointer to a valid IncidentTeamType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*IncidentTeamType) GetAllowedValues ¶ added in v1.1.0

func (w *IncidentTeamType) GetAllowedValues() []IncidentTeamType

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

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)

func (*IncidentTeamUpdateAttributes) SetName ¶

func (o *IncidentTeamUpdateAttributes) SetName(v string)

SetName sets field value

func (*IncidentTeamUpdateAttributes) UnmarshalJSON ¶

func (o *IncidentTeamUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

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(type_ 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)

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)

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)

func (*IncidentTeamUpdateRequest) SetData ¶

SetData sets field value

func (*IncidentTeamUpdateRequest) UnmarshalJSON ¶

func (o *IncidentTeamUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

type IncidentTeamsApiService ¶

type IncidentTeamsApiService service

IncidentTeamsApiService IncidentTeamsApi service

func (*IncidentTeamsApiService) CreateIncidentTeam ¶

* CreateIncidentTeam Create a new incident team * Creates a new incident team.

func (*IncidentTeamsApiService) DeleteIncidentTeam ¶

func (a *IncidentTeamsApiService) DeleteIncidentTeam(ctx _context.Context, teamId string) (*_nethttp.Response, error)

* DeleteIncidentTeam Delete an existing incident team * Deletes an existing incident team.

func (*IncidentTeamsApiService) GetIncidentTeam ¶

* GetIncidentTeam Get details of an incident team * Get details of an incident team. If the `include[users]` query parameter is provided, * the included attribute will contain the users related to these incident teams.

func (*IncidentTeamsApiService) ListIncidentTeams ¶

* ListIncidentTeams Get a list of all incident teams * Get all incident teams for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident teams.

func (*IncidentTeamsApiService) UpdateIncidentTeam ¶

* UpdateIncidentTeam Update an existing incident team * Updates an existing incident team. Only provide the attributes which should be updated as this request is a partial update.

type IncidentTeamsResponse ¶

type IncidentTeamsResponse struct {
	// An array of incident teams.
	Data []IncidentTeamResponseData `json:"data"`
	// Included related resources which the user requested.
	Included *[]IncidentTeamIncludedItems `json:"included,omitempty"`
	// The metadata object containing pagination metadata.
	Meta *IncidentResponseMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentTeamsResponse Response with a list of incident team payloads.

func NewIncidentTeamsResponse ¶

func NewIncidentTeamsResponse(data []IncidentTeamResponseData) *IncidentTeamsResponse

NewIncidentTeamsResponse instantiates a new IncidentTeamsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentTeamsResponseWithDefaults ¶

func NewIncidentTeamsResponseWithDefaults() *IncidentTeamsResponse

NewIncidentTeamsResponseWithDefaults instantiates a new IncidentTeamsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentTeamsResponse) GetData ¶

GetData returns the Data field value

func (*IncidentTeamsResponse) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*IncidentTeamsResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentTeamsResponse) GetIncludedOk ¶

func (o *IncidentTeamsResponse) GetIncludedOk() (*[]IncidentTeamIncludedItems, bool)

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentTeamsResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*IncidentTeamsResponse) GetMetaOk ¶

func (o *IncidentTeamsResponse) GetMetaOk() (*IncidentResponseMeta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentTeamsResponse) HasIncluded ¶

func (o *IncidentTeamsResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*IncidentTeamsResponse) HasMeta ¶

func (o *IncidentTeamsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (IncidentTeamsResponse) MarshalJSON ¶

func (o IncidentTeamsResponse) MarshalJSON() ([]byte, error)

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)

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{}

Get the actual instance

func (IncidentTimelineCellCreateAttributes) MarshalJSON ¶

func (src IncidentTimelineCellCreateAttributes) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*IncidentTimelineCellCreateAttributes) UnmarshalJSON ¶

func (dst *IncidentTimelineCellCreateAttributes) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type IncidentTimelineCellMarkdownContentType ¶

type IncidentTimelineCellMarkdownContentType string

IncidentTimelineCellMarkdownContentType Type of the Markdown timeline cell.

const (
	INCIDENTTIMELINECELLMARKDOWNCONTENTTYPE_MARKDOWN IncidentTimelineCellMarkdownContentType = "markdown"
)

List of IncidentTimelineCellMarkdownContentType

func NewIncidentTimelineCellMarkdownContentTypeFromValue ¶

func NewIncidentTimelineCellMarkdownContentTypeFromValue(v string) (*IncidentTimelineCellMarkdownContentType, error)

NewIncidentTimelineCellMarkdownContentTypeFromValue returns a pointer to a valid IncidentTimelineCellMarkdownContentType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*IncidentTimelineCellMarkdownContentType) GetAllowedValues ¶ added in v1.1.0

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

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 ¶

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)

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 ¶

func (*IncidentTimelineCellMarkdownCreateAttributesContent) SetContent ¶

SetContent gets a reference to the given string and assigns it to the Content field.

func (*IncidentTimelineCellMarkdownCreateAttributesContent) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentTimelineCellMarkdownCreateAttributesContent) UnmarshalJSON(bytes []byte) (err error)

type IncidentType ¶

type IncidentType string

IncidentType Incident resource type.

const (
	INCIDENTTYPE_INCIDENTS IncidentType = "incidents"
)

List of IncidentType

func NewIncidentTypeFromValue ¶

func NewIncidentTypeFromValue(v string) (*IncidentType, error)

NewIncidentTypeFromValue returns a pointer to a valid IncidentType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*IncidentType) GetAllowedValues ¶ added in v1.1.0

func (w *IncidentType) GetAllowedValues() []IncidentType

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

type IncidentUpdateAttributes ¶

type IncidentUpdateAttributes struct {
	// Timestamp when customers were no longer impacted by the incident.
	CustomerImpactEnd NullableTime `json:"customer_impact_end,omitempty"`
	// A summary of the impact customers experienced during the incident.
	CustomerImpactScope *string `json:"customer_impact_scope,omitempty"`
	// Timestamp when customers began being impacted by the incident.
	CustomerImpactStart NullableTime `json:"customer_impact_start,omitempty"`
	// A flag indicating whether the incident caused customer impact.
	CustomerImpacted *bool `json:"customer_impacted,omitempty"`
	// Timestamp when the incident was detected.
	Detected NullableTime `json:"detected,omitempty"`
	// A condensed view of the user-defined fields for which to update selections.
	Fields map[string]IncidentFieldAttributes `json:"fields,omitempty"`
	// Notification handles that will be notified of the incident during update.
	NotificationHandles *[]IncidentNotificationHandle `json:"notification_handles,omitempty"`
	// Timestamp when the incident's state was set to resolved.
	Resolved NullableTime `json:"resolved,omitempty"`
	// The title of the incident, which summarizes what happened.
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentUpdateAttributes The incident's attributes for an update request.

func NewIncidentUpdateAttributes ¶

func NewIncidentUpdateAttributes() *IncidentUpdateAttributes

NewIncidentUpdateAttributes instantiates a new IncidentUpdateAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentUpdateAttributesWithDefaults ¶

func NewIncidentUpdateAttributesWithDefaults() *IncidentUpdateAttributes

NewIncidentUpdateAttributesWithDefaults instantiates a new IncidentUpdateAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentUpdateAttributes) GetCustomerImpactEnd ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactEnd() time.Time

GetCustomerImpactEnd returns the CustomerImpactEnd field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentUpdateAttributes) GetCustomerImpactEndOk ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactEndOk() (*time.Time, bool)

GetCustomerImpactEndOk returns a tuple with the CustomerImpactEnd field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IncidentUpdateAttributes) GetCustomerImpactScope ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactScope() string

GetCustomerImpactScope returns the CustomerImpactScope field value if set, zero value otherwise.

func (*IncidentUpdateAttributes) GetCustomerImpactScopeOk ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactScopeOk() (*string, bool)

GetCustomerImpactScopeOk returns a tuple with the CustomerImpactScope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateAttributes) GetCustomerImpactStart ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactStart() time.Time

GetCustomerImpactStart returns the CustomerImpactStart field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentUpdateAttributes) GetCustomerImpactStartOk ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactStartOk() (*time.Time, bool)

GetCustomerImpactStartOk returns a tuple with the CustomerImpactStart field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IncidentUpdateAttributes) GetCustomerImpacted ¶

func (o *IncidentUpdateAttributes) GetCustomerImpacted() bool

GetCustomerImpacted returns the CustomerImpacted field value if set, zero value otherwise.

func (*IncidentUpdateAttributes) GetCustomerImpactedOk ¶

func (o *IncidentUpdateAttributes) GetCustomerImpactedOk() (*bool, bool)

GetCustomerImpactedOk returns a tuple with the CustomerImpacted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateAttributes) GetDetected ¶

func (o *IncidentUpdateAttributes) GetDetected() time.Time

GetDetected returns the Detected field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentUpdateAttributes) GetDetectedOk ¶

func (o *IncidentUpdateAttributes) GetDetectedOk() (*time.Time, bool)

GetDetectedOk returns a tuple with the Detected field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IncidentUpdateAttributes) GetFields ¶

GetFields returns the Fields field value if set, zero value otherwise.

func (*IncidentUpdateAttributes) GetFieldsOk ¶

GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateAttributes) GetNotificationHandles ¶

func (o *IncidentUpdateAttributes) GetNotificationHandles() []IncidentNotificationHandle

GetNotificationHandles returns the NotificationHandles field value if set, zero value otherwise.

func (*IncidentUpdateAttributes) GetNotificationHandlesOk ¶

func (o *IncidentUpdateAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)

GetNotificationHandlesOk returns a tuple with the NotificationHandles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateAttributes) GetResolved ¶

func (o *IncidentUpdateAttributes) GetResolved() time.Time

GetResolved returns the Resolved field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IncidentUpdateAttributes) GetResolvedOk ¶

func (o *IncidentUpdateAttributes) GetResolvedOk() (*time.Time, bool)

GetResolvedOk returns a tuple with the Resolved field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IncidentUpdateAttributes) GetTitle ¶

func (o *IncidentUpdateAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*IncidentUpdateAttributes) GetTitleOk ¶

func (o *IncidentUpdateAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentUpdateAttributes) HasCustomerImpactEnd ¶

func (o *IncidentUpdateAttributes) HasCustomerImpactEnd() bool

HasCustomerImpactEnd returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasCustomerImpactScope ¶

func (o *IncidentUpdateAttributes) HasCustomerImpactScope() bool

HasCustomerImpactScope returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasCustomerImpactStart ¶

func (o *IncidentUpdateAttributes) HasCustomerImpactStart() bool

HasCustomerImpactStart returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasCustomerImpacted ¶

func (o *IncidentUpdateAttributes) HasCustomerImpacted() bool

HasCustomerImpacted returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasDetected ¶

func (o *IncidentUpdateAttributes) HasDetected() bool

HasDetected returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasFields ¶

func (o *IncidentUpdateAttributes) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasNotificationHandles ¶

func (o *IncidentUpdateAttributes) HasNotificationHandles() bool

HasNotificationHandles returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasResolved ¶

func (o *IncidentUpdateAttributes) HasResolved() bool

HasResolved returns a boolean if a field has been set.

func (*IncidentUpdateAttributes) HasTitle ¶

func (o *IncidentUpdateAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (IncidentUpdateAttributes) MarshalJSON ¶

func (o IncidentUpdateAttributes) MarshalJSON() ([]byte, error)

func (*IncidentUpdateAttributes) SetCustomerImpactEnd ¶

func (o *IncidentUpdateAttributes) SetCustomerImpactEnd(v time.Time)

SetCustomerImpactEnd gets a reference to the given NullableTime and assigns it to the CustomerImpactEnd field.

func (*IncidentUpdateAttributes) SetCustomerImpactEndNil ¶

func (o *IncidentUpdateAttributes) SetCustomerImpactEndNil()

SetCustomerImpactEndNil sets the value for CustomerImpactEnd to be an explicit nil

func (*IncidentUpdateAttributes) SetCustomerImpactScope ¶

func (o *IncidentUpdateAttributes) SetCustomerImpactScope(v string)

SetCustomerImpactScope gets a reference to the given string and assigns it to the CustomerImpactScope field.

func (*IncidentUpdateAttributes) SetCustomerImpactStart ¶

func (o *IncidentUpdateAttributes) SetCustomerImpactStart(v time.Time)

SetCustomerImpactStart gets a reference to the given NullableTime and assigns it to the CustomerImpactStart field.

func (*IncidentUpdateAttributes) SetCustomerImpactStartNil ¶

func (o *IncidentUpdateAttributes) SetCustomerImpactStartNil()

SetCustomerImpactStartNil sets the value for CustomerImpactStart to be an explicit nil

func (*IncidentUpdateAttributes) SetCustomerImpacted ¶

func (o *IncidentUpdateAttributes) SetCustomerImpacted(v bool)

SetCustomerImpacted gets a reference to the given bool and assigns it to the CustomerImpacted field.

func (*IncidentUpdateAttributes) SetDetected ¶

func (o *IncidentUpdateAttributes) SetDetected(v time.Time)

SetDetected gets a reference to the given NullableTime and assigns it to the Detected field.

func (*IncidentUpdateAttributes) SetDetectedNil ¶

func (o *IncidentUpdateAttributes) SetDetectedNil()

SetDetectedNil sets the value for Detected to be an explicit nil

func (*IncidentUpdateAttributes) SetFields ¶

SetFields gets a reference to the given map[string]IncidentFieldAttributes and assigns it to the Fields field.

func (*IncidentUpdateAttributes) SetNotificationHandles ¶

func (o *IncidentUpdateAttributes) SetNotificationHandles(v []IncidentNotificationHandle)

SetNotificationHandles gets a reference to the given []IncidentNotificationHandle and assigns it to the NotificationHandles field.

func (*IncidentUpdateAttributes) SetResolved ¶

func (o *IncidentUpdateAttributes) SetResolved(v time.Time)

SetResolved gets a reference to the given NullableTime and assigns it to the Resolved field.

func (*IncidentUpdateAttributes) SetResolvedNil ¶

func (o *IncidentUpdateAttributes) SetResolvedNil()

SetResolvedNil sets the value for Resolved to be an explicit nil

func (*IncidentUpdateAttributes) SetTitle ¶

func (o *IncidentUpdateAttributes) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*IncidentUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

func (*IncidentUpdateAttributes) UnsetCustomerImpactEnd ¶

func (o *IncidentUpdateAttributes) UnsetCustomerImpactEnd()

UnsetCustomerImpactEnd ensures that no value is present for CustomerImpactEnd, not even an explicit nil

func (*IncidentUpdateAttributes) UnsetCustomerImpactStart ¶

func (o *IncidentUpdateAttributes) UnsetCustomerImpactStart()

UnsetCustomerImpactStart ensures that no value is present for CustomerImpactStart, not even an explicit nil

func (*IncidentUpdateAttributes) UnsetDetected ¶

func (o *IncidentUpdateAttributes) UnsetDetected()

UnsetDetected ensures that no value is present for Detected, not even an explicit nil

func (*IncidentUpdateAttributes) UnsetResolved ¶

func (o *IncidentUpdateAttributes) UnsetResolved()

UnsetResolved ensures that no value is present for Resolved, not even an explicit nil

type IncidentUpdateData ¶

type IncidentUpdateData struct {
	// The incident's attributes for an update request.
	Attributes *IncidentUpdateAttributes `json:"attributes,omitempty"`
	// The team's ID.
	Id string `json:"id"`
	// The incident's relationships for an update request.
	Relationships *IncidentUpdateRelationships `json:"relationships,omitempty"`
	// Incident resource type.
	Type IncidentType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentUpdateData Incident data for an update request.

func NewIncidentUpdateData ¶

func NewIncidentUpdateData(id string, type_ 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)

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)

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)

func (*IncidentUpdateRelationships) SetCommanderUser ¶

SetCommanderUser gets a reference to the given NullableRelationshipToUser and assigns it to the CommanderUser field.

func (*IncidentUpdateRelationships) SetIntegrations ¶

SetIntegrations gets a reference to the given RelationshipToIncidentIntegrationMetadatas and assigns it to the Integrations field.

func (*IncidentUpdateRelationships) SetPostmortem ¶

SetPostmortem gets a reference to the given RelationshipToIncidentPostmortem and assigns it to the Postmortem field.

func (*IncidentUpdateRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *IncidentUpdateRelationships) UnmarshalJSON(bytes []byte) (err error)

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)

func (*IncidentUpdateRequest) SetData ¶

SetData sets field value

func (*IncidentUpdateRequest) UnmarshalJSON ¶

func (o *IncidentUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

type IncidentsApiService ¶

type IncidentsApiService service

IncidentsApiService IncidentsApi service

func (*IncidentsApiService) CreateIncident ¶

* CreateIncident Create an incident * Create an incident.

func (*IncidentsApiService) DeleteIncident ¶

func (a *IncidentsApiService) DeleteIncident(ctx _context.Context, incidentId string) (*_nethttp.Response, error)

* DeleteIncident Delete an existing incident * Deletes an existing incident from the users organization.

func (*IncidentsApiService) GetIncident ¶

* GetIncident Get the details of an incident * Get the details of an incident by `incident_id`.

func (*IncidentsApiService) ListIncidents ¶

* ListIncidents Get a list of incidents * Get all incidents for the user's organization.

func (*IncidentsApiService) UpdateIncident ¶

* UpdateIncident Update an existing incident * Updates an incident. Provide only the attributes that should be updated as this request is a partial update.

type IncidentsResponse ¶

type IncidentsResponse struct {
	// An array of incidents.
	Data []IncidentResponseData `json:"data"`
	// Included related resources that the user requested.
	Included *[]IncidentResponseIncludedItem `json:"included,omitempty"`
	// The metadata object containing pagination metadata.
	Meta *IncidentResponseMeta `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

IncidentsResponse Response with a list of incidents.

func NewIncidentsResponse ¶

func NewIncidentsResponse(data []IncidentResponseData) *IncidentsResponse

NewIncidentsResponse instantiates a new IncidentsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIncidentsResponseWithDefaults ¶

func NewIncidentsResponseWithDefaults() *IncidentsResponse

NewIncidentsResponseWithDefaults instantiates a new IncidentsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IncidentsResponse) GetData ¶

func (o *IncidentsResponse) GetData() []IncidentResponseData

GetData returns the Data field value

func (*IncidentsResponse) GetDataOk ¶

func (o *IncidentsResponse) GetDataOk() (*[]IncidentResponseData, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*IncidentsResponse) GetIncluded ¶

GetIncluded returns the Included field value if set, zero value otherwise.

func (*IncidentsResponse) GetIncludedOk ¶

func (o *IncidentsResponse) GetIncludedOk() (*[]IncidentResponseIncludedItem, bool)

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentsResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*IncidentsResponse) GetMetaOk ¶

func (o *IncidentsResponse) GetMetaOk() (*IncidentResponseMeta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IncidentsResponse) HasIncluded ¶

func (o *IncidentsResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*IncidentsResponse) HasMeta ¶

func (o *IncidentsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (IncidentsResponse) MarshalJSON ¶

func (o IncidentsResponse) MarshalJSON() ([]byte, error)

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)

type KeyManagementApiService ¶

type KeyManagementApiService service

KeyManagementApiService KeyManagementApi service

func (*KeyManagementApiService) CreateAPIKey ¶

* CreateAPIKey Create an API key * Create an API key.

func (*KeyManagementApiService) CreateCurrentUserApplicationKey ¶

* CreateCurrentUserApplicationKey Create an application key for current user * Create an application key for current user

func (*KeyManagementApiService) DeleteAPIKey ¶

func (a *KeyManagementApiService) DeleteAPIKey(ctx _context.Context, apiKeyId string) (*_nethttp.Response, error)

* DeleteAPIKey Delete an API key * Delete an API key.

func (*KeyManagementApiService) DeleteApplicationKey ¶

func (a *KeyManagementApiService) DeleteApplicationKey(ctx _context.Context, appKeyId string) (*_nethttp.Response, error)

* DeleteApplicationKey Delete an application key * Delete an application key

func (*KeyManagementApiService) DeleteCurrentUserApplicationKey ¶

func (a *KeyManagementApiService) DeleteCurrentUserApplicationKey(ctx _context.Context, appKeyId string) (*_nethttp.Response, error)

* DeleteCurrentUserApplicationKey Delete an application key owned by current user * Delete an application key owned by current user

func (*KeyManagementApiService) GetAPIKey ¶

* GetAPIKey Get API key * Get an API key.

func (*KeyManagementApiService) GetApplicationKey ¶ added in v1.2.0

* GetApplicationKey Get an application key * Get an application key for your org.

func (*KeyManagementApiService) GetCurrentUserApplicationKey ¶

func (a *KeyManagementApiService) GetCurrentUserApplicationKey(ctx _context.Context, appKeyId string) (ApplicationKeyResponse, *_nethttp.Response, error)

* GetCurrentUserApplicationKey Get one application key owned by current user * Get an application key owned by current user

func (*KeyManagementApiService) ListAPIKeys ¶

* ListAPIKeys Get all API keys * List all API keys available for your account.

func (*KeyManagementApiService) ListApplicationKeys ¶

* ListApplicationKeys Get all application keys * List all application keys available for your org

func (*KeyManagementApiService) ListCurrentUserApplicationKeys ¶

* ListCurrentUserApplicationKeys Get all application keys owned by current user * List all application keys available for current user

func (*KeyManagementApiService) UpdateAPIKey ¶

* UpdateAPIKey Edit an API key * Update an API key.

func (*KeyManagementApiService) UpdateApplicationKey ¶

* UpdateApplicationKey Edit an application key * Edit an application key

func (*KeyManagementApiService) UpdateCurrentUserApplicationKey ¶

func (a *KeyManagementApiService) UpdateCurrentUserApplicationKey(ctx _context.Context, appKeyId string, body ApplicationKeyUpdateRequest) (ApplicationKeyResponse, *_nethttp.Response, error)

* UpdateCurrentUserApplicationKey Edit an application key owned by current user * Edit an application key owned by current user

type ListAPIKeysOptionalParameters ¶

type ListAPIKeysOptionalParameters struct {
	PageSize              *int64
	PageNumber            *int64
	Sort                  *APIKeysSort
	Filter                *string
	FilterCreatedAtStart  *string
	FilterCreatedAtEnd    *string
	FilterModifiedAtStart *string
	FilterModifiedAtEnd   *string
	Include               *string
}

func NewListAPIKeysOptionalParameters ¶

func NewListAPIKeysOptionalParameters() *ListAPIKeysOptionalParameters

func (*ListAPIKeysOptionalParameters) WithFilter ¶

func (*ListAPIKeysOptionalParameters) WithFilterCreatedAtEnd ¶

func (r *ListAPIKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListAPIKeysOptionalParameters

func (*ListAPIKeysOptionalParameters) WithFilterCreatedAtStart ¶

func (r *ListAPIKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListAPIKeysOptionalParameters

func (*ListAPIKeysOptionalParameters) WithFilterModifiedAtEnd ¶

func (r *ListAPIKeysOptionalParameters) WithFilterModifiedAtEnd(filterModifiedAtEnd string) *ListAPIKeysOptionalParameters

func (*ListAPIKeysOptionalParameters) WithFilterModifiedAtStart ¶

func (r *ListAPIKeysOptionalParameters) WithFilterModifiedAtStart(filterModifiedAtStart string) *ListAPIKeysOptionalParameters

func (*ListAPIKeysOptionalParameters) WithInclude ¶

func (*ListAPIKeysOptionalParameters) WithPageNumber ¶

func (r *ListAPIKeysOptionalParameters) WithPageNumber(pageNumber int64) *ListAPIKeysOptionalParameters

func (*ListAPIKeysOptionalParameters) WithPageSize ¶

func (*ListAPIKeysOptionalParameters) WithSort ¶

type ListApplicationKeysOptionalParameters ¶

type ListApplicationKeysOptionalParameters struct {
	PageSize             *int64
	PageNumber           *int64
	Sort                 *ApplicationKeysSort
	Filter               *string
	FilterCreatedAtStart *string
	FilterCreatedAtEnd   *string
}

func NewListApplicationKeysOptionalParameters ¶

func NewListApplicationKeysOptionalParameters() *ListApplicationKeysOptionalParameters

func (*ListApplicationKeysOptionalParameters) WithFilter ¶

func (*ListApplicationKeysOptionalParameters) WithFilterCreatedAtEnd ¶

func (r *ListApplicationKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListApplicationKeysOptionalParameters

func (*ListApplicationKeysOptionalParameters) WithFilterCreatedAtStart ¶

func (r *ListApplicationKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListApplicationKeysOptionalParameters

func (*ListApplicationKeysOptionalParameters) WithPageNumber ¶

func (*ListApplicationKeysOptionalParameters) WithPageSize ¶

func (*ListApplicationKeysOptionalParameters) WithSort ¶

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)

func (*ListApplicationKeysResponse) SetData ¶

SetData gets a reference to the given []PartialApplicationKey and assigns it to the Data field.

func (*ListApplicationKeysResponse) SetIncluded ¶

SetIncluded gets a reference to the given []ApplicationKeyResponseIncludedItem and assigns it to the Included field.

func (*ListApplicationKeysResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *ListApplicationKeysResponse) UnmarshalJSON(bytes []byte) (err error)

type ListAuditLogsOptionalParameters ¶ added in v1.11.0

type ListAuditLogsOptionalParameters struct {
	FilterQuery *string
	FilterFrom  *time.Time
	FilterTo    *time.Time
	Sort        *AuditLogsSort
	PageCursor  *string
	PageLimit   *int32
}

func NewListAuditLogsOptionalParameters ¶ added in v1.11.0

func NewListAuditLogsOptionalParameters() *ListAuditLogsOptionalParameters

func (*ListAuditLogsOptionalParameters) WithFilterFrom ¶ added in v1.11.0

func (*ListAuditLogsOptionalParameters) WithFilterQuery ¶ added in v1.11.0

func (*ListAuditLogsOptionalParameters) WithFilterTo ¶ added in v1.11.0

func (*ListAuditLogsOptionalParameters) WithPageCursor ¶ added in v1.11.0

func (*ListAuditLogsOptionalParameters) WithPageLimit ¶ added in v1.11.0

func (*ListAuditLogsOptionalParameters) WithSort ¶ added in v1.11.0

type ListAuthNMappingsOptionalParameters ¶ added in v1.9.0

type ListAuthNMappingsOptionalParameters struct {
	PageSize   *int64
	PageNumber *int64
	Sort       *AuthNMappingsSort
	Include    *[]string
	Filter     *string
}

func NewListAuthNMappingsOptionalParameters ¶ added in v1.9.0

func NewListAuthNMappingsOptionalParameters() *ListAuthNMappingsOptionalParameters

func (*ListAuthNMappingsOptionalParameters) WithFilter ¶ added in v1.9.0

func (*ListAuthNMappingsOptionalParameters) WithInclude ¶ added in v1.9.0

func (*ListAuthNMappingsOptionalParameters) WithPageNumber ¶ added in v1.9.0

func (*ListAuthNMappingsOptionalParameters) WithPageSize ¶ added in v1.9.0

func (*ListAuthNMappingsOptionalParameters) WithSort ¶ added in v1.9.0

type ListCurrentUserApplicationKeysOptionalParameters ¶

type ListCurrentUserApplicationKeysOptionalParameters struct {
	PageSize             *int64
	PageNumber           *int64
	Sort                 *ApplicationKeysSort
	Filter               *string
	FilterCreatedAtStart *string
	FilterCreatedAtEnd   *string
}

func NewListCurrentUserApplicationKeysOptionalParameters ¶

func NewListCurrentUserApplicationKeysOptionalParameters() *ListCurrentUserApplicationKeysOptionalParameters

func (*ListCurrentUserApplicationKeysOptionalParameters) WithFilter ¶

func (*ListCurrentUserApplicationKeysOptionalParameters) WithFilterCreatedAtEnd ¶

func (*ListCurrentUserApplicationKeysOptionalParameters) WithFilterCreatedAtStart ¶

func (*ListCurrentUserApplicationKeysOptionalParameters) WithPageNumber ¶

func (*ListCurrentUserApplicationKeysOptionalParameters) WithPageSize ¶

func (*ListCurrentUserApplicationKeysOptionalParameters) WithSort ¶

type ListIncidentServicesOptionalParameters ¶

type ListIncidentServicesOptionalParameters struct {
	Include    *IncidentRelatedObject
	PageSize   *int64
	PageOffset *int64
	Filter     *string
}

func NewListIncidentServicesOptionalParameters ¶

func NewListIncidentServicesOptionalParameters() *ListIncidentServicesOptionalParameters

func (*ListIncidentServicesOptionalParameters) WithFilter ¶

func (*ListIncidentServicesOptionalParameters) WithInclude ¶

func (*ListIncidentServicesOptionalParameters) WithPageOffset ¶

func (*ListIncidentServicesOptionalParameters) WithPageSize ¶

type ListIncidentTeamsOptionalParameters ¶

type ListIncidentTeamsOptionalParameters struct {
	Include    *IncidentRelatedObject
	PageSize   *int64
	PageOffset *int64
	Filter     *string
}

func NewListIncidentTeamsOptionalParameters ¶

func NewListIncidentTeamsOptionalParameters() *ListIncidentTeamsOptionalParameters

func (*ListIncidentTeamsOptionalParameters) WithFilter ¶

func (*ListIncidentTeamsOptionalParameters) WithInclude ¶

func (*ListIncidentTeamsOptionalParameters) WithPageOffset ¶

func (*ListIncidentTeamsOptionalParameters) WithPageSize ¶

type ListIncidentsOptionalParameters ¶

type ListIncidentsOptionalParameters struct {
	Include    *[]IncidentRelatedObject
	PageSize   *int64
	PageOffset *int64
}

func NewListIncidentsOptionalParameters ¶

func NewListIncidentsOptionalParameters() *ListIncidentsOptionalParameters

func (*ListIncidentsOptionalParameters) WithInclude ¶

func (*ListIncidentsOptionalParameters) WithPageOffset ¶

func (*ListIncidentsOptionalParameters) WithPageSize ¶

type ListLogsGetOptionalParameters ¶

type ListLogsGetOptionalParameters struct {
	FilterQuery *string
	FilterIndex *string
	FilterFrom  *time.Time
	FilterTo    *time.Time
	Sort        *LogsSort
	PageCursor  *string
	PageLimit   *int32
}

func NewListLogsGetOptionalParameters ¶

func NewListLogsGetOptionalParameters() *ListLogsGetOptionalParameters

func (*ListLogsGetOptionalParameters) WithFilterFrom ¶

func (*ListLogsGetOptionalParameters) WithFilterIndex ¶

func (r *ListLogsGetOptionalParameters) WithFilterIndex(filterIndex string) *ListLogsGetOptionalParameters

func (*ListLogsGetOptionalParameters) WithFilterQuery ¶

func (r *ListLogsGetOptionalParameters) WithFilterQuery(filterQuery string) *ListLogsGetOptionalParameters

func (*ListLogsGetOptionalParameters) WithFilterTo ¶

func (*ListLogsGetOptionalParameters) WithPageCursor ¶

func (*ListLogsGetOptionalParameters) WithPageLimit ¶

func (*ListLogsGetOptionalParameters) WithSort ¶

type ListLogsOptionalParameters ¶

type ListLogsOptionalParameters struct {
	Body *LogsListRequest
}

func NewListLogsOptionalParameters ¶

func NewListLogsOptionalParameters() *ListLogsOptionalParameters

func (*ListLogsOptionalParameters) WithBody ¶

type ListProcessesOptionalParameters ¶

type ListProcessesOptionalParameters struct {
	Search     *string
	Tags       *string
	From       *int64
	To         *int64
	PageLimit  *int32
	PageCursor *string
}

func NewListProcessesOptionalParameters ¶

func NewListProcessesOptionalParameters() *ListProcessesOptionalParameters

func (*ListProcessesOptionalParameters) WithFrom ¶

func (*ListProcessesOptionalParameters) WithPageCursor ¶

func (*ListProcessesOptionalParameters) WithPageLimit ¶

func (*ListProcessesOptionalParameters) WithSearch ¶

func (*ListProcessesOptionalParameters) WithTags ¶

func (*ListProcessesOptionalParameters) WithTo ¶

type ListRUMEventsOptionalParameters ¶ added in v1.11.0

type ListRUMEventsOptionalParameters struct {
	FilterQuery *string
	FilterFrom  *time.Time
	FilterTo    *time.Time
	Sort        *RUMSort
	PageCursor  *string
	PageLimit   *int32
}

func NewListRUMEventsOptionalParameters ¶ added in v1.11.0

func NewListRUMEventsOptionalParameters() *ListRUMEventsOptionalParameters

func (*ListRUMEventsOptionalParameters) WithFilterFrom ¶ added in v1.11.0

func (*ListRUMEventsOptionalParameters) WithFilterQuery ¶ added in v1.11.0

func (*ListRUMEventsOptionalParameters) WithFilterTo ¶ added in v1.11.0

func (*ListRUMEventsOptionalParameters) WithPageCursor ¶ added in v1.11.0

func (*ListRUMEventsOptionalParameters) WithPageLimit ¶ added in v1.11.0

func (*ListRUMEventsOptionalParameters) WithSort ¶ added in v1.11.0

type ListRoleUsersOptionalParameters ¶

type ListRoleUsersOptionalParameters struct {
	PageSize   *int64
	PageNumber *int64
	Sort       *string
	Filter     *string
}

func NewListRoleUsersOptionalParameters ¶

func NewListRoleUsersOptionalParameters() *ListRoleUsersOptionalParameters

func (*ListRoleUsersOptionalParameters) WithFilter ¶

func (*ListRoleUsersOptionalParameters) WithPageNumber ¶

func (*ListRoleUsersOptionalParameters) WithPageSize ¶

func (*ListRoleUsersOptionalParameters) WithSort ¶

type ListRolesOptionalParameters ¶

type ListRolesOptionalParameters struct {
	PageSize   *int64
	PageNumber *int64
	Sort       *RolesSort
	Filter     *string
}

func NewListRolesOptionalParameters ¶

func NewListRolesOptionalParameters() *ListRolesOptionalParameters

func (*ListRolesOptionalParameters) WithFilter ¶

func (*ListRolesOptionalParameters) WithPageNumber ¶

func (r *ListRolesOptionalParameters) WithPageNumber(pageNumber int64) *ListRolesOptionalParameters

func (*ListRolesOptionalParameters) WithPageSize ¶

func (*ListRolesOptionalParameters) WithSort ¶

type ListSecurityMonitoringRulesOptionalParameters ¶

type ListSecurityMonitoringRulesOptionalParameters struct {
	PageSize   *int64
	PageNumber *int64
}

func NewListSecurityMonitoringRulesOptionalParameters ¶

func NewListSecurityMonitoringRulesOptionalParameters() *ListSecurityMonitoringRulesOptionalParameters

func (*ListSecurityMonitoringRulesOptionalParameters) WithPageNumber ¶

func (*ListSecurityMonitoringRulesOptionalParameters) WithPageSize ¶

type ListSecurityMonitoringSignalsOptionalParameters ¶

type ListSecurityMonitoringSignalsOptionalParameters struct {
	FilterQuery *string
	FilterFrom  *time.Time
	FilterTo    *time.Time
	Sort        *SecurityMonitoringSignalsSort
	PageCursor  *string
	PageLimit   *int32
}

func NewListSecurityMonitoringSignalsOptionalParameters ¶

func NewListSecurityMonitoringSignalsOptionalParameters() *ListSecurityMonitoringSignalsOptionalParameters

func (*ListSecurityMonitoringSignalsOptionalParameters) WithFilterFrom ¶

func (*ListSecurityMonitoringSignalsOptionalParameters) WithFilterQuery ¶

func (*ListSecurityMonitoringSignalsOptionalParameters) WithFilterTo ¶

func (*ListSecurityMonitoringSignalsOptionalParameters) WithPageCursor ¶

func (*ListSecurityMonitoringSignalsOptionalParameters) WithPageLimit ¶

type ListServiceAccountApplicationKeysOptionalParameters ¶ added in v1.3.0

type ListServiceAccountApplicationKeysOptionalParameters struct {
	PageSize             *int64
	PageNumber           *int64
	Sort                 *ApplicationKeysSort
	Filter               *string
	FilterCreatedAtStart *string
	FilterCreatedAtEnd   *string
}

func NewListServiceAccountApplicationKeysOptionalParameters ¶ added in v1.3.0

func NewListServiceAccountApplicationKeysOptionalParameters() *ListServiceAccountApplicationKeysOptionalParameters

func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilter ¶ added in v1.3.0

func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtEnd ¶ added in v1.3.0

func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtStart ¶ added in v1.3.0

func (*ListServiceAccountApplicationKeysOptionalParameters) WithPageNumber ¶ added in v1.3.0

func (*ListServiceAccountApplicationKeysOptionalParameters) WithPageSize ¶ added in v1.3.0

func (*ListServiceAccountApplicationKeysOptionalParameters) WithSort ¶ added in v1.3.0

type ListTagConfigurationsOptionalParameters ¶

type ListTagConfigurationsOptionalParameters struct {
	FilterConfigured         *bool
	FilterTagsConfigured     *string
	FilterMetricType         *MetricTagConfigurationMetricTypes
	FilterIncludePercentiles *bool
	FilterTags               *string
	WindowSeconds            *int64
}

func NewListTagConfigurationsOptionalParameters ¶

func NewListTagConfigurationsOptionalParameters() *ListTagConfigurationsOptionalParameters

func (*ListTagConfigurationsOptionalParameters) WithFilterConfigured ¶

func (*ListTagConfigurationsOptionalParameters) WithFilterIncludePercentiles ¶

func (r *ListTagConfigurationsOptionalParameters) WithFilterIncludePercentiles(filterIncludePercentiles bool) *ListTagConfigurationsOptionalParameters

func (*ListTagConfigurationsOptionalParameters) WithFilterMetricType ¶

func (*ListTagConfigurationsOptionalParameters) WithFilterTags ¶

func (*ListTagConfigurationsOptionalParameters) WithFilterTagsConfigured ¶

func (r *ListTagConfigurationsOptionalParameters) WithFilterTagsConfigured(filterTagsConfigured string) *ListTagConfigurationsOptionalParameters

func (*ListTagConfigurationsOptionalParameters) WithWindowSeconds ¶

type ListUsersOptionalParameters ¶

type ListUsersOptionalParameters struct {
	PageSize     *int64
	PageNumber   *int64
	Sort         *string
	SortDir      *QuerySortOrder
	Filter       *string
	FilterStatus *string
}

func NewListUsersOptionalParameters ¶

func NewListUsersOptionalParameters() *ListUsersOptionalParameters

func (*ListUsersOptionalParameters) WithFilter ¶

func (*ListUsersOptionalParameters) WithFilterStatus ¶

func (r *ListUsersOptionalParameters) WithFilterStatus(filterStatus string) *ListUsersOptionalParameters

func (*ListUsersOptionalParameters) WithPageNumber ¶

func (r *ListUsersOptionalParameters) WithPageNumber(pageNumber int64) *ListUsersOptionalParameters

func (*ListUsersOptionalParameters) WithPageSize ¶

func (*ListUsersOptionalParameters) WithSort ¶

func (*ListUsersOptionalParameters) WithSortDir ¶

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)

func (*Log) SetAttributes ¶

func (o *Log) SetAttributes(v LogAttributes)

SetAttributes gets a reference to the given LogAttributes and assigns it to the Attributes field.

func (*Log) SetId ¶

func (o *Log) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Log) SetType ¶

func (o *Log) SetType(v LogType)

SetType gets a reference to the given LogType and assigns it to the Type field.

func (*Log) UnmarshalJSON ¶ added in v1.3.0

func (o *Log) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogAttributes) SetAttributes ¶

func (o *LogAttributes) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*LogAttributes) SetHost ¶

func (o *LogAttributes) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*LogAttributes) SetMessage ¶

func (o *LogAttributes) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*LogAttributes) SetService ¶

func (o *LogAttributes) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*LogAttributes) SetStatus ¶

func (o *LogAttributes) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*LogAttributes) SetTags ¶

func (o *LogAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*LogAttributes) SetTimestamp ¶

func (o *LogAttributes) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*LogAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *LogAttributes) UnmarshalJSON(bytes []byte) (err error)

type LogType ¶

type LogType string

LogType Type of the event.

const (
	LOGTYPE_LOG LogType = "log"
)

List of LogType

func NewLogTypeFromValue ¶

func NewLogTypeFromValue(v string) (*LogType, error)

NewLogTypeFromValue returns a pointer to a valid LogType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogType) GetAllowedValues ¶ added in v1.1.0

func (w *LogType) GetAllowedValues() []LogType

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

type LogsAggregateBucket ¶

type LogsAggregateBucket struct {
	// The key, value pairs for each group by
	By map[string]string `json:"by,omitempty"`
	// A map of the metric name -> value for regular compute or list of values for a timeseries
	Computes map[string]LogsAggregateBucketValue `json:"computes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsAggregateBucket A bucket values

func NewLogsAggregateBucket ¶

func NewLogsAggregateBucket() *LogsAggregateBucket

NewLogsAggregateBucket instantiates a new LogsAggregateBucket object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLogsAggregateBucketWithDefaults ¶

func NewLogsAggregateBucketWithDefaults() *LogsAggregateBucket

NewLogsAggregateBucketWithDefaults instantiates a new LogsAggregateBucket object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LogsAggregateBucket) GetBy ¶

func (o *LogsAggregateBucket) GetBy() map[string]string

GetBy returns the By field value if set, zero value otherwise.

func (*LogsAggregateBucket) GetByOk ¶

func (o *LogsAggregateBucket) GetByOk() (*map[string]string, bool)

GetByOk returns a tuple with the By field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateBucket) GetComputes ¶

GetComputes returns the Computes field value if set, zero value otherwise.

func (*LogsAggregateBucket) GetComputesOk ¶

func (o *LogsAggregateBucket) GetComputesOk() (*map[string]LogsAggregateBucketValue, bool)

GetComputesOk returns a tuple with the Computes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsAggregateBucket) HasBy ¶

func (o *LogsAggregateBucket) HasBy() bool

HasBy returns a boolean if a field has been set.

func (*LogsAggregateBucket) HasComputes ¶

func (o *LogsAggregateBucket) HasComputes() bool

HasComputes returns a boolean if a field has been set.

func (LogsAggregateBucket) MarshalJSON ¶

func (o LogsAggregateBucket) MarshalJSON() ([]byte, error)

func (*LogsAggregateBucket) SetBy ¶

func (o *LogsAggregateBucket) SetBy(v map[string]string)

SetBy gets a reference to the given map[string]string and assigns it to the By field.

func (*LogsAggregateBucket) SetComputes ¶

func (o *LogsAggregateBucket) SetComputes(v map[string]LogsAggregateBucketValue)

SetComputes gets a reference to the given map[string]LogsAggregateBucketValue and assigns it to the Computes field.

func (*LogsAggregateBucket) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateBucket) UnmarshalJSON(bytes []byte) (err error)

type LogsAggregateBucketValue ¶

type LogsAggregateBucketValue struct {
	LogsAggregateBucketValueSingleString *string
	LogsAggregateBucketValueSingleNumber *float64
	LogsAggregateBucketValueTimeseries   *LogsAggregateBucketValueTimeseries

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

LogsAggregateBucketValue - A bucket value, can be either a timeseries or a single value

func LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue ¶ added in v1.11.0

func LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue(v *float64) LogsAggregateBucketValue

LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue is a convenience function that returns float64 wrapped in LogsAggregateBucketValue

func LogsAggregateBucketValueSingleStringAsLogsAggregateBucketValue ¶ added in v1.11.0

func LogsAggregateBucketValueSingleStringAsLogsAggregateBucketValue(v *string) LogsAggregateBucketValue

LogsAggregateBucketValueSingleStringAsLogsAggregateBucketValue is a convenience function that returns string wrapped in LogsAggregateBucketValue

func LogsAggregateBucketValueTimeseriesAsLogsAggregateBucketValue ¶

func LogsAggregateBucketValueTimeseriesAsLogsAggregateBucketValue(v *LogsAggregateBucketValueTimeseries) LogsAggregateBucketValue

LogsAggregateBucketValueTimeseriesAsLogsAggregateBucketValue is a convenience function that returns LogsAggregateBucketValueTimeseries wrapped in LogsAggregateBucketValue

func (*LogsAggregateBucketValue) GetActualInstance ¶

func (obj *LogsAggregateBucketValue) GetActualInstance() interface{}

Get the actual instance

func (LogsAggregateBucketValue) MarshalJSON ¶

func (src LogsAggregateBucketValue) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*LogsAggregateBucketValue) UnmarshalJSON ¶

func (dst *LogsAggregateBucketValue) UnmarshalJSON(data []byte) error

Unmarshal JSON 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)

func (*LogsAggregateBucketValueTimeseries) UnmarshalJSON ¶

func (o *LogsAggregateBucketValueTimeseries) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsAggregateBucketValueTimeseriesPoint) SetTime ¶

SetTime gets a reference to the given string and assigns it to the Time field.

func (*LogsAggregateBucketValueTimeseriesPoint) SetValue ¶

SetValue gets a reference to the given float64 and assigns it to the Value field.

func (*LogsAggregateBucketValueTimeseriesPoint) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateBucketValueTimeseriesPoint) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsAggregateRequest) SetCompute ¶

func (o *LogsAggregateRequest) SetCompute(v []LogsCompute)

SetCompute gets a reference to the given []LogsCompute and assigns it to the Compute field.

func (*LogsAggregateRequest) SetFilter ¶

func (o *LogsAggregateRequest) SetFilter(v LogsQueryFilter)

SetFilter gets a reference to the given LogsQueryFilter and assigns it to the Filter field.

func (*LogsAggregateRequest) SetGroupBy ¶

func (o *LogsAggregateRequest) SetGroupBy(v []LogsGroupBy)

SetGroupBy gets a reference to the given []LogsGroupBy and assigns it to the GroupBy field.

func (*LogsAggregateRequest) SetOptions ¶

func (o *LogsAggregateRequest) SetOptions(v LogsQueryOptions)

SetOptions gets a reference to the given LogsQueryOptions and assigns it to the Options field.

func (*LogsAggregateRequest) SetPage ¶

SetPage gets a reference to the given LogsAggregateRequestPage and assigns it to the Page field.

func (*LogsAggregateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateRequest) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsAggregateRequestPage) SetCursor ¶

func (o *LogsAggregateRequestPage) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*LogsAggregateRequestPage) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateRequestPage) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsAggregateResponse) SetData ¶

SetData gets a reference to the given LogsAggregateResponseData and assigns it to the Data field.

func (*LogsAggregateResponse) SetMeta ¶

SetMeta gets a reference to the given LogsResponseMetadata and assigns it to the Meta field.

func (*LogsAggregateResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateResponse) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsAggregateResponseData) SetBuckets ¶

SetBuckets gets a reference to the given []LogsAggregateBucket and assigns it to the Buckets field.

func (*LogsAggregateResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateResponseData) UnmarshalJSON(bytes []byte) (err error)

type LogsAggregateResponseStatus ¶

type LogsAggregateResponseStatus string

LogsAggregateResponseStatus The status of the response

const (
	LOGSAGGREGATERESPONSESTATUS_DONE    LogsAggregateResponseStatus = "done"
	LOGSAGGREGATERESPONSESTATUS_TIMEOUT LogsAggregateResponseStatus = "timeout"
)

List of LogsAggregateResponseStatus

func NewLogsAggregateResponseStatusFromValue ¶

func NewLogsAggregateResponseStatusFromValue(v string) (*LogsAggregateResponseStatus, error)

NewLogsAggregateResponseStatusFromValue returns a pointer to a valid LogsAggregateResponseStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsAggregateResponseStatus) GetAllowedValues ¶ added in v1.1.0

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

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)

func (*LogsAggregateSort) SetAggregation ¶

func (o *LogsAggregateSort) SetAggregation(v LogsAggregationFunction)

SetAggregation gets a reference to the given LogsAggregationFunction and assigns it to the Aggregation field.

func (*LogsAggregateSort) SetMetric ¶

func (o *LogsAggregateSort) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*LogsAggregateSort) SetOrder ¶

func (o *LogsAggregateSort) SetOrder(v LogsSortOrder)

SetOrder gets a reference to the given LogsSortOrder and assigns it to the Order field.

func (*LogsAggregateSort) SetType ¶

SetType gets a reference to the given LogsAggregateSortType and assigns it to the Type field.

func (*LogsAggregateSort) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsAggregateSort) UnmarshalJSON(bytes []byte) (err error)

type LogsAggregateSortType ¶

type LogsAggregateSortType string

LogsAggregateSortType The type of sorting algorithm

const (
	LOGSAGGREGATESORTTYPE_ALPHABETICAL LogsAggregateSortType = "alphabetical"
	LOGSAGGREGATESORTTYPE_MEASURE      LogsAggregateSortType = "measure"
)

List of LogsAggregateSortType

func NewLogsAggregateSortTypeFromValue ¶

func NewLogsAggregateSortTypeFromValue(v string) (*LogsAggregateSortType, error)

NewLogsAggregateSortTypeFromValue returns a pointer to a valid LogsAggregateSortType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsAggregateSortType) GetAllowedValues ¶ added in v1.1.0

func (w *LogsAggregateSortType) GetAllowedValues() []LogsAggregateSortType

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

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"
)

List of LogsAggregationFunction

func NewLogsAggregationFunctionFromValue ¶

func NewLogsAggregationFunctionFromValue(v string) (*LogsAggregationFunction, error)

NewLogsAggregationFunctionFromValue returns a pointer to a valid LogsAggregationFunction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsAggregationFunction) GetAllowedValues ¶ added in v1.1.0

func (w *LogsAggregationFunction) GetAllowedValues() []LogsAggregationFunction

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

type LogsApiService ¶

type LogsApiService service

LogsApiService LogsApi service

func (*LogsApiService) AggregateLogs ¶

* AggregateLogs Aggregate events * The API endpoint to aggregate events into buckets and compute metrics and timeseries.

func (*LogsApiService) ListLogs ¶

* ListLogs Search logs * List endpoint returns logs that match a log search query. * [Results are paginated][1]. * * Use this endpoint to build complex logs filtering and search. * * **If you are considering archiving logs for your organization, * consider use of the Datadog archive capabilities instead of the log list API. * See [Datadog Logs Archive documentation][2].** * * [1]: /logs/guide/collect-multiple-logs-with-pagination * [2]: https://docs.datadoghq.com/logs/archives

func (*LogsApiService) ListLogsGet ¶

* ListLogsGet Get a list of logs * List endpoint returns logs that match a log search query. * [Results are paginated][1]. * * Use this endpoint to see your latest logs. * * **If you are considering archiving logs for your organization, * consider use of the Datadog archive capabilities instead of the log list API. * See [Datadog Logs Archive documentation][2].** * * [1]: /logs/guide/collect-multiple-logs-with-pagination * [2]: https://docs.datadoghq.com/logs/archives

func (*LogsApiService) SubmitLog ¶ added in v1.6.0

func (a *LogsApiService) SubmitLog(ctx _context.Context, body []HTTPLogItem, o ...SubmitLogOptionalParameters) (interface{}, *_nethttp.Response, error)

* SubmitLog Send logs * Send your logs to your Datadog platform over HTTP. Limits per HTTP request are: * * - Maximum content size per payload (uncompressed): 5MB * - Maximum size for a single log: 1MB * - Maximum array size if sending multiple logs in an array: 1000 entries * * Any log exceeding 1MB is accepted and truncated by Datadog: * - For a single log request, the API truncates the log at 1MB and returns a 2xx. * - For a multi-logs request, the API processes all logs, truncates only logs larger than 1MB, and returns a 2xx. * * Datadog recommends sending your logs compressed. * Add the `Content-Encoding: gzip` header to the request when sending compressed logs. * * The status codes answered by the HTTP API are: * - 202: Accepted: the request has been accepted for processing * - 400: Bad request (likely an issue in the payload formatting) * - 401: Unauthorized (likely a missing API Key) * - 403: Permission issue (likely using an invalid API Key) * - 408: Request Timeout, request should be retried after some time * - 413: Payload too large (batch is above 5MB uncompressed) * - 429: Too Many Requests, request should be retried after some time * - 500: Internal Server Error, the server encountered an unexpected condition that prevented it from fulfilling the request, request should be retried after some time * - 503: Service Unavailable, the server is not ready to handle the request probably because it is overloaded, request should be retried after some time

type LogsArchive ¶

type LogsArchive struct {
	// The definition of an archive.
	Data *LogsArchiveDefinition `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsArchive The logs archive.

func NewLogsArchive ¶

func NewLogsArchive() *LogsArchive

NewLogsArchive instantiates a new LogsArchive object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLogsArchiveWithDefaults ¶

func NewLogsArchiveWithDefaults() *LogsArchive

NewLogsArchiveWithDefaults instantiates a new LogsArchive object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LogsArchive) GetData ¶

func (o *LogsArchive) GetData() LogsArchiveDefinition

GetData returns the Data field value if set, zero value otherwise.

func (*LogsArchive) GetDataOk ¶

func (o *LogsArchive) GetDataOk() (*LogsArchiveDefinition, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsArchive) HasData ¶

func (o *LogsArchive) HasData() bool

HasData returns a boolean if a field has been set.

func (LogsArchive) MarshalJSON ¶

func (o LogsArchive) MarshalJSON() ([]byte, error)

func (*LogsArchive) SetData ¶

func (o *LogsArchive) SetData(v LogsArchiveDefinition)

SetData gets a reference to the given LogsArchiveDefinition and assigns it to the Data field.

func (*LogsArchive) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsArchive) UnmarshalJSON(bytes []byte) (err error)

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"`
	// 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) 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) 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)

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) 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)

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)

func (*LogsArchiveCreateRequest) SetData ¶

SetData gets a reference to the given LogsArchiveCreateRequestDefinition and assigns it to the Data field.

func (*LogsArchiveCreateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsArchiveCreateRequest) UnmarshalJSON(bytes []byte) (err error)

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"`
	// 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) 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) 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)

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) 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)

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(type_ 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)

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)

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{}

Get the actual instance

func (LogsArchiveCreateRequestDestination) MarshalJSON ¶

func (src LogsArchiveCreateRequestDestination) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*LogsArchiveCreateRequestDestination) UnmarshalJSON ¶

func (dst *LogsArchiveCreateRequestDestination) UnmarshalJSON(data []byte) error

Unmarshal JSON 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(type_ 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)

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)

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{}

Get the actual instance

func (LogsArchiveDestination) MarshalJSON ¶

func (src LogsArchiveDestination) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*LogsArchiveDestination) UnmarshalJSON ¶

func (dst *LogsArchiveDestination) UnmarshalJSON(data []byte) error

Unmarshal JSON 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, type_ 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)

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)

type LogsArchiveDestinationAzureType ¶

type LogsArchiveDestinationAzureType string

LogsArchiveDestinationAzureType Type of the Azure archive destination.

const (
	LOGSARCHIVEDESTINATIONAZURETYPE_AZURE LogsArchiveDestinationAzureType = "azure"
)

List of LogsArchiveDestinationAzureType

func NewLogsArchiveDestinationAzureTypeFromValue ¶

func NewLogsArchiveDestinationAzureTypeFromValue(v string) (*LogsArchiveDestinationAzureType, error)

NewLogsArchiveDestinationAzureTypeFromValue returns a pointer to a valid LogsArchiveDestinationAzureType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsArchiveDestinationAzureType) GetAllowedValues ¶ added in v1.1.0

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

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, type_ 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)

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)

type LogsArchiveDestinationGCSType ¶

type LogsArchiveDestinationGCSType string

LogsArchiveDestinationGCSType Type of the GCS archive destination.

const (
	LOGSARCHIVEDESTINATIONGCSTYPE_GCS LogsArchiveDestinationGCSType = "gcs"
)

List of LogsArchiveDestinationGCSType

func NewLogsArchiveDestinationGCSTypeFromValue ¶

func NewLogsArchiveDestinationGCSTypeFromValue(v string) (*LogsArchiveDestinationGCSType, error)

NewLogsArchiveDestinationGCSTypeFromValue returns a pointer to a valid LogsArchiveDestinationGCSType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsArchiveDestinationGCSType) GetAllowedValues ¶ added in v1.1.0

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

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, type_ 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)

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)

type LogsArchiveDestinationS3Type ¶

type LogsArchiveDestinationS3Type string

LogsArchiveDestinationS3Type Type of the S3 archive destination.

const (
	LOGSARCHIVEDESTINATIONS3TYPE_S3 LogsArchiveDestinationS3Type = "s3"
)

List of LogsArchiveDestinationS3Type

func NewLogsArchiveDestinationS3TypeFromValue ¶

func NewLogsArchiveDestinationS3TypeFromValue(v string) (*LogsArchiveDestinationS3Type, error)

NewLogsArchiveDestinationS3TypeFromValue returns a pointer to a valid LogsArchiveDestinationS3Type for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsArchiveDestinationS3Type) GetAllowedValues ¶ added in v1.1.0

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

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)

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)

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)

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)

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)

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)

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)

func (*LogsArchiveOrder) SetData ¶

SetData gets a reference to the given LogsArchiveOrderDefinition and assigns it to the Data field.

func (*LogsArchiveOrder) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsArchiveOrder) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsArchiveOrderAttributes) SetArchiveIds ¶

func (o *LogsArchiveOrderAttributes) SetArchiveIds(v []string)

SetArchiveIds sets field value

func (*LogsArchiveOrderAttributes) UnmarshalJSON ¶

func (o *LogsArchiveOrderAttributes) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

type LogsArchiveOrderDefinitionType ¶

type LogsArchiveOrderDefinitionType string

LogsArchiveOrderDefinitionType Type of the archive order definition.

const (
	LOGSARCHIVEORDERDEFINITIONTYPE_ARCHIVE_ORDER LogsArchiveOrderDefinitionType = "archive_order"
)

List of LogsArchiveOrderDefinitionType

func NewLogsArchiveOrderDefinitionTypeFromValue ¶

func NewLogsArchiveOrderDefinitionTypeFromValue(v string) (*LogsArchiveOrderDefinitionType, error)

NewLogsArchiveOrderDefinitionTypeFromValue returns a pointer to a valid LogsArchiveOrderDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsArchiveOrderDefinitionType) GetAllowedValues ¶ added in v1.1.0

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

type LogsArchiveState ¶

type LogsArchiveState string

LogsArchiveState The state of the archive.

const (
	LOGSARCHIVESTATE_UNKNOWN             LogsArchiveState = "UNKNOWN"
	LOGSARCHIVESTATE_WORKING             LogsArchiveState = "WORKING"
	LOGSARCHIVESTATE_FAILING             LogsArchiveState = "FAILING"
	LOGSARCHIVESTATE_WORKING_AUTH_LEGACY LogsArchiveState = "WORKING_AUTH_LEGACY"
)

List of LogsArchiveState

func NewLogsArchiveStateFromValue ¶

func NewLogsArchiveStateFromValue(v string) (*LogsArchiveState, error)

NewLogsArchiveStateFromValue returns a pointer to a valid LogsArchiveState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsArchiveState) GetAllowedValues ¶ added in v1.1.0

func (w *LogsArchiveState) GetAllowedValues() []LogsArchiveState

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

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)

func (*LogsArchives) SetData ¶

func (o *LogsArchives) SetData(v []LogsArchiveDefinition)

SetData gets a reference to the given []LogsArchiveDefinition and assigns it to the Data field.

func (*LogsArchives) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsArchives) UnmarshalJSON(bytes []byte) (err error)

type LogsArchivesApiService ¶

type LogsArchivesApiService service

LogsArchivesApiService LogsArchivesApi service

func (*LogsArchivesApiService) AddReadRoleToArchive ¶

func (a *LogsArchivesApiService) AddReadRoleToArchive(ctx _context.Context, archiveId string, body RelationshipToRole) (*_nethttp.Response, error)

* AddReadRoleToArchive Grant role to an archive * Adds a read role to an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))

func (*LogsArchivesApiService) CreateLogsArchive ¶

* CreateLogsArchive Create an archive * Create an archive in your organization.

func (*LogsArchivesApiService) DeleteLogsArchive ¶

func (a *LogsArchivesApiService) DeleteLogsArchive(ctx _context.Context, archiveId string) (*_nethttp.Response, error)

* DeleteLogsArchive Delete an archive * Delete a given archive from your organization.

func (*LogsArchivesApiService) GetLogsArchive ¶

func (a *LogsArchivesApiService) GetLogsArchive(ctx _context.Context, archiveId string) (LogsArchive, *_nethttp.Response, error)

* GetLogsArchive Get an archive * Get a specific archive from your organization.

func (*LogsArchivesApiService) GetLogsArchiveOrder ¶

* GetLogsArchiveOrder Get archive order * Get the current order of your archives. * This endpoint takes no JSON arguments.

func (*LogsArchivesApiService) ListArchiveReadRoles ¶

func (a *LogsArchivesApiService) ListArchiveReadRoles(ctx _context.Context, archiveId string) (RolesResponse, *_nethttp.Response, error)

* ListArchiveReadRoles List read roles for an archive * Returns all read roles a given archive is restricted to.

func (*LogsArchivesApiService) ListLogsArchives ¶

* ListLogsArchives Get all archives * Get the list of configured logs archives with their definitions.

func (*LogsArchivesApiService) RemoveRoleFromArchive ¶

func (a *LogsArchivesApiService) RemoveRoleFromArchive(ctx _context.Context, archiveId string, body RelationshipToRole) (*_nethttp.Response, error)

* RemoveRoleFromArchive Revoke role from an archive * Removes a role from an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))

func (*LogsArchivesApiService) UpdateLogsArchive ¶

* UpdateLogsArchive Update an archive * Update a given archive configuration. * * **Note**: Using this method updates your archive configuration by **replacing** * your current configuration with the new one sent to your Datadog organization.

func (*LogsArchivesApiService) UpdateLogsArchiveOrder ¶

* UpdateLogsArchiveOrder Update archive order * Update the order of your archives. Since logs are processed sequentially, reordering an archive may change * the structure and content of the data processed by other archives. * * **Note**: Using the `PUT` method updates your archive's order by replacing the current order * with the new one.

type LogsCompute ¶

type LogsCompute struct {
	// An aggregation function
	Aggregation LogsAggregationFunction `json:"aggregation"`
	// The time buckets' size (only used for type=timeseries)
	// Defaults to a resolution of 150 points
	Interval *string `json:"interval,omitempty"`
	// The metric to use
	Metric *string `json:"metric,omitempty"`
	// The type of compute
	Type *LogsComputeType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsCompute A compute rule to compute metrics or timeseries

func NewLogsCompute ¶

func NewLogsCompute(aggregation LogsAggregationFunction) *LogsCompute

NewLogsCompute instantiates a new LogsCompute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLogsComputeWithDefaults ¶

func NewLogsComputeWithDefaults() *LogsCompute

NewLogsComputeWithDefaults instantiates a new LogsCompute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LogsCompute) GetAggregation ¶

func (o *LogsCompute) GetAggregation() LogsAggregationFunction

GetAggregation returns the Aggregation field value

func (*LogsCompute) GetAggregationOk ¶

func (o *LogsCompute) GetAggregationOk() (*LogsAggregationFunction, bool)

GetAggregationOk returns a tuple with the Aggregation field value and a boolean to check if the value has been set.

func (*LogsCompute) GetInterval ¶

func (o *LogsCompute) GetInterval() string

GetInterval returns the Interval field value if set, zero value otherwise.

func (*LogsCompute) GetIntervalOk ¶

func (o *LogsCompute) GetIntervalOk() (*string, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsCompute) GetMetric ¶

func (o *LogsCompute) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*LogsCompute) GetMetricOk ¶

func (o *LogsCompute) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsCompute) GetType ¶

func (o *LogsCompute) GetType() LogsComputeType

GetType returns the Type field value if set, zero value otherwise.

func (*LogsCompute) GetTypeOk ¶

func (o *LogsCompute) GetTypeOk() (*LogsComputeType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsCompute) HasInterval ¶

func (o *LogsCompute) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*LogsCompute) HasMetric ¶

func (o *LogsCompute) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*LogsCompute) HasType ¶

func (o *LogsCompute) HasType() bool

HasType returns a boolean if a field has been set.

func (LogsCompute) MarshalJSON ¶

func (o LogsCompute) MarshalJSON() ([]byte, error)

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)

type LogsComputeType ¶

type LogsComputeType string

LogsComputeType The type of compute

const (
	LOGSCOMPUTETYPE_TIMESERIES LogsComputeType = "timeseries"
	LOGSCOMPUTETYPE_TOTAL      LogsComputeType = "total"
)

List of LogsComputeType

func NewLogsComputeTypeFromValue ¶

func NewLogsComputeTypeFromValue(v string) (*LogsComputeType, error)

NewLogsComputeTypeFromValue returns a pointer to a valid LogsComputeType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsComputeType) GetAllowedValues ¶ added in v1.1.0

func (w *LogsComputeType) GetAllowedValues() []LogsComputeType

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

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)

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)

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)

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)

type LogsGroupByMissing ¶

type LogsGroupByMissing struct {
	LogsGroupByMissingString *string
	LogsGroupByMissingNumber *float64

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

LogsGroupByMissing - The value to use for logs that don't have the facet used to group by

func LogsGroupByMissingNumberAsLogsGroupByMissing ¶ added in v1.11.0

func LogsGroupByMissingNumberAsLogsGroupByMissing(v *float64) LogsGroupByMissing

LogsGroupByMissingNumberAsLogsGroupByMissing is a convenience function that returns float64 wrapped in LogsGroupByMissing

func LogsGroupByMissingStringAsLogsGroupByMissing ¶ added in v1.11.0

func LogsGroupByMissingStringAsLogsGroupByMissing(v *string) LogsGroupByMissing

LogsGroupByMissingStringAsLogsGroupByMissing is a convenience function that returns string wrapped in LogsGroupByMissing

func (*LogsGroupByMissing) GetActualInstance ¶

func (obj *LogsGroupByMissing) GetActualInstance() interface{}

Get the actual instance

func (LogsGroupByMissing) MarshalJSON ¶

func (src LogsGroupByMissing) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*LogsGroupByMissing) UnmarshalJSON ¶

func (dst *LogsGroupByMissing) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type LogsGroupByTotal ¶

type LogsGroupByTotal struct {
	LogsGroupByTotalBoolean *bool
	LogsGroupByTotalString  *string
	LogsGroupByTotalNumber  *float64

	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject interface{}
}

LogsGroupByTotal - A resulting object to put the given computes in over all the matching records.

func LogsGroupByTotalBooleanAsLogsGroupByTotal ¶ added in v1.11.0

func LogsGroupByTotalBooleanAsLogsGroupByTotal(v *bool) LogsGroupByTotal

LogsGroupByTotalBooleanAsLogsGroupByTotal is a convenience function that returns bool wrapped in LogsGroupByTotal

func LogsGroupByTotalNumberAsLogsGroupByTotal ¶ added in v1.11.0

func LogsGroupByTotalNumberAsLogsGroupByTotal(v *float64) LogsGroupByTotal

LogsGroupByTotalNumberAsLogsGroupByTotal is a convenience function that returns float64 wrapped in LogsGroupByTotal

func LogsGroupByTotalStringAsLogsGroupByTotal ¶ added in v1.11.0

func LogsGroupByTotalStringAsLogsGroupByTotal(v *string) LogsGroupByTotal

LogsGroupByTotalStringAsLogsGroupByTotal is a convenience function that returns string wrapped in LogsGroupByTotal

func (*LogsGroupByTotal) GetActualInstance ¶

func (obj *LogsGroupByTotal) GetActualInstance() interface{}

Get the actual instance

func (LogsGroupByTotal) MarshalJSON ¶

func (src LogsGroupByTotal) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*LogsGroupByTotal) UnmarshalJSON ¶

func (dst *LogsGroupByTotal) UnmarshalJSON(data []byte) error

Unmarshal JSON 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)

func (*LogsListRequest) SetFilter ¶

func (o *LogsListRequest) SetFilter(v LogsQueryFilter)

SetFilter gets a reference to the given LogsQueryFilter and assigns it to the Filter field.

func (*LogsListRequest) SetOptions ¶

func (o *LogsListRequest) SetOptions(v LogsQueryOptions)

SetOptions gets a reference to the given LogsQueryOptions and assigns it to the Options field.

func (*LogsListRequest) SetPage ¶

func (o *LogsListRequest) SetPage(v LogsListRequestPage)

SetPage gets a reference to the given LogsListRequestPage and assigns it to the Page field.

func (*LogsListRequest) SetSort ¶

func (o *LogsListRequest) SetSort(v LogsSort)

SetSort gets a reference to the given LogsSort and assigns it to the Sort field.

func (*LogsListRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsListRequest) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsListRequestPage) SetCursor ¶

func (o *LogsListRequestPage) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*LogsListRequestPage) SetLimit ¶

func (o *LogsListRequestPage) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*LogsListRequestPage) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsListRequestPage) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsListResponse) SetData ¶

func (o *LogsListResponse) SetData(v []Log)

SetData gets a reference to the given []Log and assigns it to the Data field.

func (o *LogsListResponse) SetLinks(v LogsListResponseLinks)

SetLinks gets a reference to the given LogsListResponseLinks and assigns it to the Links field.

func (*LogsListResponse) SetMeta ¶

func (o *LogsListResponse) SetMeta(v LogsResponseMetadata)

SetMeta gets a reference to the given LogsResponseMetadata and assigns it to the Meta field.

func (*LogsListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsListResponse) UnmarshalJSON(bytes []byte) (err error)
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)

func (*LogsListResponseLinks) SetNext ¶

func (o *LogsListResponseLinks) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*LogsListResponseLinks) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsListResponseLinks) UnmarshalJSON(bytes []byte) (err error)

type LogsMetricCompute ¶

type LogsMetricCompute struct {
	// The type of aggregation to use.
	AggregationType LogsMetricComputeAggregationType `json:"aggregation_type"`
	// The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution").
	Path *string `json:"path,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricCompute The compute rule to compute the log-based metric.

func NewLogsMetricCompute ¶

func NewLogsMetricCompute(aggregationType LogsMetricComputeAggregationType) *LogsMetricCompute

NewLogsMetricCompute instantiates a new LogsMetricCompute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLogsMetricComputeWithDefaults ¶

func NewLogsMetricComputeWithDefaults() *LogsMetricCompute

NewLogsMetricComputeWithDefaults instantiates a new LogsMetricCompute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LogsMetricCompute) GetAggregationType ¶

func (o *LogsMetricCompute) GetAggregationType() LogsMetricComputeAggregationType

GetAggregationType returns the AggregationType field value

func (*LogsMetricCompute) GetAggregationTypeOk ¶

func (o *LogsMetricCompute) GetAggregationTypeOk() (*LogsMetricComputeAggregationType, bool)

GetAggregationTypeOk returns a tuple with the AggregationType field value and a boolean to check if the value has been set.

func (*LogsMetricCompute) GetPath ¶

func (o *LogsMetricCompute) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*LogsMetricCompute) GetPathOk ¶

func (o *LogsMetricCompute) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricCompute) HasPath ¶

func (o *LogsMetricCompute) HasPath() bool

HasPath returns a boolean if a field has been set.

func (LogsMetricCompute) MarshalJSON ¶

func (o LogsMetricCompute) MarshalJSON() ([]byte, error)

func (*LogsMetricCompute) SetAggregationType ¶

func (o *LogsMetricCompute) SetAggregationType(v LogsMetricComputeAggregationType)

SetAggregationType sets field value

func (*LogsMetricCompute) SetPath ¶

func (o *LogsMetricCompute) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsMetricCompute) UnmarshalJSON ¶

func (o *LogsMetricCompute) UnmarshalJSON(bytes []byte) (err error)

type LogsMetricComputeAggregationType ¶

type LogsMetricComputeAggregationType string

LogsMetricComputeAggregationType The type of aggregation to use.

const (
	LOGSMETRICCOMPUTEAGGREGATIONTYPE_COUNT        LogsMetricComputeAggregationType = "count"
	LOGSMETRICCOMPUTEAGGREGATIONTYPE_DISTRIBUTION LogsMetricComputeAggregationType = "distribution"
)

List of LogsMetricComputeAggregationType

func NewLogsMetricComputeAggregationTypeFromValue ¶

func NewLogsMetricComputeAggregationTypeFromValue(v string) (*LogsMetricComputeAggregationType, error)

NewLogsMetricComputeAggregationTypeFromValue returns a pointer to a valid LogsMetricComputeAggregationType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsMetricComputeAggregationType) GetAllowedValues ¶ added in v1.1.0

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

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)

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)

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, type_ 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)

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)

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)

func (*LogsMetricCreateRequest) SetData ¶

SetData sets field value

func (*LogsMetricCreateRequest) UnmarshalJSON ¶

func (o *LogsMetricCreateRequest) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsMetricFilter) SetQuery ¶

func (o *LogsMetricFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*LogsMetricFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricFilter) UnmarshalJSON(bytes []byte) (err error)

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)

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)

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)

func (*LogsMetricResponse) SetData ¶

SetData gets a reference to the given LogsMetricResponseData and assigns it to the Data field.

func (*LogsMetricResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponse) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsMetricResponseAttributes) SetCompute ¶

SetCompute gets a reference to the given LogsMetricResponseCompute and assigns it to the Compute field.

func (*LogsMetricResponseAttributes) SetFilter ¶

SetFilter gets a reference to the given LogsMetricResponseFilter and assigns it to the Filter field.

func (*LogsMetricResponseAttributes) SetGroupBy ¶

SetGroupBy gets a reference to the given []LogsMetricResponseGroupBy and assigns it to the GroupBy field.

func (*LogsMetricResponseAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponseAttributes) UnmarshalJSON(bytes []byte) (err error)

type LogsMetricResponseCompute ¶

type LogsMetricResponseCompute struct {
	// The type of aggregation to use.
	AggregationType *LogsMetricResponseComputeAggregationType `json:"aggregation_type,omitempty"`
	// The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution").
	Path *string `json:"path,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricResponseCompute The compute rule to compute the log-based metric.

func NewLogsMetricResponseCompute ¶

func NewLogsMetricResponseCompute() *LogsMetricResponseCompute

NewLogsMetricResponseCompute instantiates a new LogsMetricResponseCompute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLogsMetricResponseComputeWithDefaults ¶

func NewLogsMetricResponseComputeWithDefaults() *LogsMetricResponseCompute

NewLogsMetricResponseComputeWithDefaults instantiates a new LogsMetricResponseCompute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LogsMetricResponseCompute) GetAggregationType ¶

GetAggregationType returns the AggregationType field value if set, zero value otherwise.

func (*LogsMetricResponseCompute) GetAggregationTypeOk ¶

GetAggregationTypeOk returns a tuple with the AggregationType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseCompute) GetPath ¶

func (o *LogsMetricResponseCompute) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*LogsMetricResponseCompute) GetPathOk ¶

func (o *LogsMetricResponseCompute) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricResponseCompute) HasAggregationType ¶

func (o *LogsMetricResponseCompute) HasAggregationType() bool

HasAggregationType returns a boolean if a field has been set.

func (*LogsMetricResponseCompute) HasPath ¶

func (o *LogsMetricResponseCompute) HasPath() bool

HasPath returns a boolean if a field has been set.

func (LogsMetricResponseCompute) MarshalJSON ¶

func (o LogsMetricResponseCompute) MarshalJSON() ([]byte, error)

func (*LogsMetricResponseCompute) SetAggregationType ¶

SetAggregationType gets a reference to the given LogsMetricResponseComputeAggregationType and assigns it to the AggregationType field.

func (*LogsMetricResponseCompute) SetPath ¶

func (o *LogsMetricResponseCompute) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsMetricResponseCompute) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponseCompute) UnmarshalJSON(bytes []byte) (err error)

type LogsMetricResponseComputeAggregationType ¶

type LogsMetricResponseComputeAggregationType string

LogsMetricResponseComputeAggregationType The type of aggregation to use.

const (
	LOGSMETRICRESPONSECOMPUTEAGGREGATIONTYPE_COUNT        LogsMetricResponseComputeAggregationType = "count"
	LOGSMETRICRESPONSECOMPUTEAGGREGATIONTYPE_DISTRIBUTION LogsMetricResponseComputeAggregationType = "distribution"
)

List of LogsMetricResponseComputeAggregationType

func NewLogsMetricResponseComputeAggregationTypeFromValue ¶

func NewLogsMetricResponseComputeAggregationTypeFromValue(v string) (*LogsMetricResponseComputeAggregationType, error)

NewLogsMetricResponseComputeAggregationTypeFromValue returns a pointer to a valid LogsMetricResponseComputeAggregationType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsMetricResponseComputeAggregationType) GetAllowedValues ¶ added in v1.1.0

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

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)

func (*LogsMetricResponseData) SetAttributes ¶

SetAttributes gets a reference to the given LogsMetricResponseAttributes and assigns it to the Attributes field.

func (*LogsMetricResponseData) SetId ¶

func (o *LogsMetricResponseData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*LogsMetricResponseData) SetType ¶

func (o *LogsMetricResponseData) SetType(v LogsMetricType)

SetType gets a reference to the given LogsMetricType and assigns it to the Type field.

func (*LogsMetricResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponseData) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsMetricResponseFilter) SetQuery ¶

func (o *LogsMetricResponseFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*LogsMetricResponseFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponseFilter) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsMetricResponseGroupBy) SetPath ¶

func (o *LogsMetricResponseGroupBy) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*LogsMetricResponseGroupBy) SetTagName ¶

func (o *LogsMetricResponseGroupBy) SetTagName(v string)

SetTagName gets a reference to the given string and assigns it to the TagName field.

func (*LogsMetricResponseGroupBy) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricResponseGroupBy) UnmarshalJSON(bytes []byte) (err error)

type LogsMetricType ¶

type LogsMetricType string

LogsMetricType The type of the resource. The value should always be logs_metrics.

const (
	LOGSMETRICTYPE_LOGS_METRICS LogsMetricType = "logs_metrics"
)

List of LogsMetricType

func NewLogsMetricTypeFromValue ¶

func NewLogsMetricTypeFromValue(v string) (*LogsMetricType, error)

NewLogsMetricTypeFromValue returns a pointer to a valid LogsMetricType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsMetricType) GetAllowedValues ¶ added in v1.1.0

func (w *LogsMetricType) GetAllowedValues() []LogsMetricType

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

type LogsMetricUpdateAttributes ¶

type LogsMetricUpdateAttributes struct {
	// The log-based metric filter. Logs matching this filter will be aggregated in this metric.
	Filter *LogsMetricFilter `json:"filter,omitempty"`
	// The rules for the group by.
	GroupBy *[]LogsMetricGroupBy `json:"group_by,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricUpdateAttributes The log-based metric properties that will be updated.

func NewLogsMetricUpdateAttributes ¶

func NewLogsMetricUpdateAttributes() *LogsMetricUpdateAttributes

NewLogsMetricUpdateAttributes instantiates a new LogsMetricUpdateAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLogsMetricUpdateAttributesWithDefaults ¶

func NewLogsMetricUpdateAttributesWithDefaults() *LogsMetricUpdateAttributes

NewLogsMetricUpdateAttributesWithDefaults instantiates a new LogsMetricUpdateAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LogsMetricUpdateAttributes) GetFilter ¶

GetFilter returns the Filter field value if set, zero value otherwise.

func (*LogsMetricUpdateAttributes) GetFilterOk ¶

func (o *LogsMetricUpdateAttributes) GetFilterOk() (*LogsMetricFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricUpdateAttributes) GetGroupBy ¶

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*LogsMetricUpdateAttributes) GetGroupByOk ¶

func (o *LogsMetricUpdateAttributes) GetGroupByOk() (*[]LogsMetricGroupBy, bool)

GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricUpdateAttributes) HasFilter ¶

func (o *LogsMetricUpdateAttributes) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*LogsMetricUpdateAttributes) HasGroupBy ¶

func (o *LogsMetricUpdateAttributes) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (LogsMetricUpdateAttributes) MarshalJSON ¶

func (o LogsMetricUpdateAttributes) MarshalJSON() ([]byte, error)

func (*LogsMetricUpdateAttributes) SetFilter ¶

SetFilter gets a reference to the given LogsMetricFilter and assigns it to the Filter field.

func (*LogsMetricUpdateAttributes) SetGroupBy ¶

func (o *LogsMetricUpdateAttributes) SetGroupBy(v []LogsMetricGroupBy)

SetGroupBy gets a reference to the given []LogsMetricGroupBy and assigns it to the GroupBy field.

func (*LogsMetricUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

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)

func (*LogsMetricUpdateRequest) SetData ¶

SetData sets field value

func (*LogsMetricUpdateRequest) UnmarshalJSON ¶

func (o *LogsMetricUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

type LogsMetricsApiService ¶

type LogsMetricsApiService service

LogsMetricsApiService LogsMetricsApi service

func (*LogsMetricsApiService) CreateLogsMetric ¶

* CreateLogsMetric Create a log-based metric * Create a metric based on your ingested logs in your organization. * Returns the log-based metric object from the request body when the request is successful.

func (*LogsMetricsApiService) DeleteLogsMetric ¶

func (a *LogsMetricsApiService) DeleteLogsMetric(ctx _context.Context, metricId string) (*_nethttp.Response, error)

* DeleteLogsMetric Delete a log-based metric * Delete a specific log-based metric from your organization.

func (*LogsMetricsApiService) GetLogsMetric ¶

* GetLogsMetric Get a log-based metric * Get a specific log-based metric from your organization.

func (*LogsMetricsApiService) ListLogsMetrics ¶

* ListLogsMetrics Get all log-based metrics * Get the list of configured log-based metrics with their definitions.

func (*LogsMetricsApiService) UpdateLogsMetric ¶

* UpdateLogsMetric Update a log-based metric * Update a specific log-based metric from your organization. * Returns the log-based metric object from the request body when the request is successful.

type LogsMetricsResponse ¶

type LogsMetricsResponse struct {
	// A list of log-based metric objects.
	Data *[]LogsMetricResponseData `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsMetricsResponse All the available log-based metric objects.

func NewLogsMetricsResponse ¶

func NewLogsMetricsResponse() *LogsMetricsResponse

NewLogsMetricsResponse instantiates a new LogsMetricsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLogsMetricsResponseWithDefaults ¶

func NewLogsMetricsResponseWithDefaults() *LogsMetricsResponse

NewLogsMetricsResponseWithDefaults instantiates a new LogsMetricsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LogsMetricsResponse) GetData ¶

GetData returns the Data field value if set, zero value otherwise.

func (*LogsMetricsResponse) GetDataOk ¶

func (o *LogsMetricsResponse) GetDataOk() (*[]LogsMetricResponseData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsMetricsResponse) HasData ¶

func (o *LogsMetricsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (LogsMetricsResponse) MarshalJSON ¶

func (o LogsMetricsResponse) MarshalJSON() ([]byte, error)

func (*LogsMetricsResponse) SetData ¶

SetData gets a reference to the given []LogsMetricResponseData and assigns it to the Data field.

func (*LogsMetricsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsMetricsResponse) UnmarshalJSON(bytes []byte) (err error)

type LogsQueryFilter ¶

type LogsQueryFilter struct {
	// The minimum time for the requested logs, supports date math and regular timestamps (milliseconds).
	From *string `json:"from,omitempty"`
	// For customers with multiple indexes, the indexes to search. Defaults to ['*'] which means all indexes.
	Indexes *[]string `json:"indexes,omitempty"`
	// The search query - following the log search syntax.
	Query *string `json:"query,omitempty"`
	// The maximum time for the requested logs, supports date math and regular timestamps (milliseconds).
	To *string `json:"to,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsQueryFilter The search and filter query settings

func NewLogsQueryFilter ¶

func NewLogsQueryFilter() *LogsQueryFilter

NewLogsQueryFilter instantiates a new LogsQueryFilter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLogsQueryFilterWithDefaults ¶

func NewLogsQueryFilterWithDefaults() *LogsQueryFilter

NewLogsQueryFilterWithDefaults instantiates a new LogsQueryFilter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LogsQueryFilter) GetFrom ¶

func (o *LogsQueryFilter) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*LogsQueryFilter) GetFromOk ¶

func (o *LogsQueryFilter) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryFilter) GetIndexes ¶

func (o *LogsQueryFilter) GetIndexes() []string

GetIndexes returns the Indexes field value if set, zero value otherwise.

func (*LogsQueryFilter) GetIndexesOk ¶

func (o *LogsQueryFilter) GetIndexesOk() (*[]string, bool)

GetIndexesOk returns a tuple with the Indexes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryFilter) GetQuery ¶

func (o *LogsQueryFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*LogsQueryFilter) GetQueryOk ¶

func (o *LogsQueryFilter) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryFilter) GetTo ¶

func (o *LogsQueryFilter) GetTo() string

GetTo returns the To field value if set, zero value otherwise.

func (*LogsQueryFilter) GetToOk ¶

func (o *LogsQueryFilter) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryFilter) HasFrom ¶

func (o *LogsQueryFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*LogsQueryFilter) HasIndexes ¶

func (o *LogsQueryFilter) HasIndexes() bool

HasIndexes returns a boolean if a field has been set.

func (*LogsQueryFilter) HasQuery ¶

func (o *LogsQueryFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*LogsQueryFilter) HasTo ¶

func (o *LogsQueryFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (LogsQueryFilter) MarshalJSON ¶

func (o LogsQueryFilter) MarshalJSON() ([]byte, error)

func (*LogsQueryFilter) SetFrom ¶

func (o *LogsQueryFilter) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*LogsQueryFilter) SetIndexes ¶

func (o *LogsQueryFilter) SetIndexes(v []string)

SetIndexes gets a reference to the given []string and assigns it to the Indexes field.

func (*LogsQueryFilter) SetQuery ¶

func (o *LogsQueryFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*LogsQueryFilter) SetTo ¶

func (o *LogsQueryFilter) SetTo(v string)

SetTo gets a reference to the given string and assigns it to the To field.

func (*LogsQueryFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsQueryFilter) UnmarshalJSON(bytes []byte) (err error)

type LogsQueryOptions ¶

type LogsQueryOptions struct {
	// The time offset (in seconds) to apply to the query.
	TimeOffset *int64 `json:"timeOffset,omitempty"`
	// The timezone can be specified both as an offset, for example: "UTC+03:00".
	Timezone *string `json:"timezone,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

LogsQueryOptions Global query options that are used during the query. Note: You should only supply timezone or time offset but not both otherwise the query will fail.

func NewLogsQueryOptions ¶

func NewLogsQueryOptions() *LogsQueryOptions

NewLogsQueryOptions instantiates a new LogsQueryOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLogsQueryOptionsWithDefaults ¶

func NewLogsQueryOptionsWithDefaults() *LogsQueryOptions

NewLogsQueryOptionsWithDefaults instantiates a new LogsQueryOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LogsQueryOptions) GetTimeOffset ¶

func (o *LogsQueryOptions) GetTimeOffset() int64

GetTimeOffset returns the TimeOffset field value if set, zero value otherwise.

func (*LogsQueryOptions) GetTimeOffsetOk ¶

func (o *LogsQueryOptions) GetTimeOffsetOk() (*int64, bool)

GetTimeOffsetOk returns a tuple with the TimeOffset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryOptions) GetTimezone ¶

func (o *LogsQueryOptions) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*LogsQueryOptions) GetTimezoneOk ¶

func (o *LogsQueryOptions) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LogsQueryOptions) HasTimeOffset ¶

func (o *LogsQueryOptions) HasTimeOffset() bool

HasTimeOffset returns a boolean if a field has been set.

func (*LogsQueryOptions) HasTimezone ¶

func (o *LogsQueryOptions) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (LogsQueryOptions) MarshalJSON ¶

func (o LogsQueryOptions) MarshalJSON() ([]byte, error)

func (*LogsQueryOptions) SetTimeOffset ¶

func (o *LogsQueryOptions) SetTimeOffset(v int64)

SetTimeOffset gets a reference to the given int64 and assigns it to the TimeOffset field.

func (*LogsQueryOptions) SetTimezone ¶

func (o *LogsQueryOptions) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*LogsQueryOptions) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsQueryOptions) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsResponseMetadata) SetElapsed ¶

func (o *LogsResponseMetadata) SetElapsed(v int64)

SetElapsed gets a reference to the given int64 and assigns it to the Elapsed field.

func (*LogsResponseMetadata) SetPage ¶

SetPage gets a reference to the given LogsResponseMetadataPage and assigns it to the Page field.

func (*LogsResponseMetadata) SetRequestId ¶

func (o *LogsResponseMetadata) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*LogsResponseMetadata) SetStatus ¶

SetStatus gets a reference to the given LogsAggregateResponseStatus and assigns it to the Status field.

func (*LogsResponseMetadata) SetWarnings ¶

func (o *LogsResponseMetadata) SetWarnings(v []LogsWarning)

SetWarnings gets a reference to the given []LogsWarning and assigns it to the Warnings field.

func (*LogsResponseMetadata) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsResponseMetadata) UnmarshalJSON(bytes []byte) (err error)

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)

func (*LogsResponseMetadataPage) SetAfter ¶

func (o *LogsResponseMetadataPage) SetAfter(v string)

SetAfter gets a reference to the given string and assigns it to the After field.

func (*LogsResponseMetadataPage) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsResponseMetadataPage) UnmarshalJSON(bytes []byte) (err error)

type LogsSort ¶

type LogsSort string

LogsSort Sort parameters when querying logs.

const (
	LOGSSORT_TIMESTAMP_ASCENDING  LogsSort = "timestamp"
	LOGSSORT_TIMESTAMP_DESCENDING LogsSort = "-timestamp"
)

List of LogsSort

func NewLogsSortFromValue ¶

func NewLogsSortFromValue(v string) (*LogsSort, error)

NewLogsSortFromValue returns a pointer to a valid LogsSort for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsSort) GetAllowedValues ¶ added in v1.1.0

func (w *LogsSort) GetAllowedValues() []LogsSort

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

type LogsSortOrder ¶

type LogsSortOrder string

LogsSortOrder The order to use, ascending or descending

const (
	LOGSSORTORDER_ASCENDING  LogsSortOrder = "asc"
	LOGSSORTORDER_DESCENDING LogsSortOrder = "desc"
)

List of LogsSortOrder

func NewLogsSortOrderFromValue ¶

func NewLogsSortOrderFromValue(v string) (*LogsSortOrder, error)

NewLogsSortOrderFromValue returns a pointer to a valid LogsSortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*LogsSortOrder) GetAllowedValues ¶ added in v1.1.0

func (w *LogsSortOrder) GetAllowedValues() []LogsSortOrder

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

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)

func (*LogsWarning) SetCode ¶

func (o *LogsWarning) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*LogsWarning) SetDetail ¶

func (o *LogsWarning) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*LogsWarning) SetTitle ¶

func (o *LogsWarning) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*LogsWarning) UnmarshalJSON ¶ added in v1.3.0

func (o *LogsWarning) UnmarshalJSON(bytes []byte) (err error)

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)

func (*Metric) SetId ¶

func (o *Metric) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Metric) SetType ¶

func (o *Metric) SetType(v MetricType)

SetType gets a reference to the given MetricType and assigns it to the Type field.

func (*Metric) UnmarshalJSON ¶ added in v1.3.0

func (o *Metric) UnmarshalJSON(bytes []byte) (err error)

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)

func (*MetricAllTags) SetAttributes ¶

func (o *MetricAllTags) SetAttributes(v MetricAllTagsAttributes)

SetAttributes gets a reference to the given MetricAllTagsAttributes and assigns it to the Attributes field.

func (*MetricAllTags) SetId ¶

func (o *MetricAllTags) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricAllTags) SetType ¶

func (o *MetricAllTags) SetType(v MetricType)

SetType gets a reference to the given MetricType and assigns it to the Type field.

func (*MetricAllTags) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricAllTags) UnmarshalJSON(bytes []byte) (err error)

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)

func (*MetricAllTagsAttributes) SetTags ¶

func (o *MetricAllTagsAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricAllTagsAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricAllTagsAttributes) UnmarshalJSON(bytes []byte) (err error)

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)

func (*MetricAllTagsResponse) SetData ¶

func (o *MetricAllTagsResponse) SetData(v MetricAllTags)

SetData gets a reference to the given MetricAllTags and assigns it to the Data field.

func (*MetricAllTagsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricAllTagsResponse) UnmarshalJSON(bytes []byte) (err error)

type MetricBulkConfigureTagsType ¶ added in v1.9.0

type MetricBulkConfigureTagsType string

MetricBulkConfigureTagsType The metric bulk configure tags resource.

const (
	METRICBULKCONFIGURETAGSTYPE_BULK_MANAGE_TAGS MetricBulkConfigureTagsType = "metric_bulk_configure_tags"
)

List of MetricBulkConfigureTagsType

func NewMetricBulkConfigureTagsTypeFromValue ¶ added in v1.9.0

func NewMetricBulkConfigureTagsTypeFromValue(v string) (*MetricBulkConfigureTagsType, error)

NewMetricBulkConfigureTagsTypeFromValue returns a pointer to a valid MetricBulkConfigureTagsType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*MetricBulkConfigureTagsType) GetAllowedValues ¶ added in v1.9.0

func (MetricBulkConfigureTagsType) IsValid ¶ added in v1.9.0

func (v MetricBulkConfigureTagsType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MetricBulkConfigureTagsType) Ptr ¶ added in v1.9.0

Ptr returns reference to MetricBulkConfigureTagsType value

func (*MetricBulkConfigureTagsType) UnmarshalJSON ¶ added in v1.9.0

func (v *MetricBulkConfigureTagsType) UnmarshalJSON(src []byte) error

type MetricBulkTagConfigCreate ¶ added in v1.9.0

type MetricBulkTagConfigCreate struct {
	// Optional parameters for bulk creating metric tag configurations.
	Attributes *MetricBulkTagConfigCreateAttributes `json:"attributes,omitempty"`
	// A text prefix to match against metric names.
	Id string `json:"id"`
	// The metric bulk configure tags resource.
	Type MetricBulkConfigureTagsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigCreate Request object to bulk configure tags for metrics matching the given prefix.

func NewMetricBulkTagConfigCreate ¶ added in v1.9.0

func NewMetricBulkTagConfigCreate(id string, type_ MetricBulkConfigureTagsType) *MetricBulkTagConfigCreate

NewMetricBulkTagConfigCreate instantiates a new MetricBulkTagConfigCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricBulkTagConfigCreateWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigCreateWithDefaults() *MetricBulkTagConfigCreate

NewMetricBulkTagConfigCreateWithDefaults instantiates a new MetricBulkTagConfigCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricBulkTagConfigCreate) GetAttributes ¶ added in v1.9.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricBulkTagConfigCreate) GetAttributesOk ¶ added in v1.9.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigCreate) GetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreate) GetId() string

GetId returns the Id field value

func (*MetricBulkTagConfigCreate) GetIdOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreate) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigCreate) GetType ¶ added in v1.9.0

GetType returns the Type field value

func (*MetricBulkTagConfigCreate) GetTypeOk ¶ added in v1.9.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigCreate) HasAttributes ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreate) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (MetricBulkTagConfigCreate) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigCreate) MarshalJSON() ([]byte, error)

func (*MetricBulkTagConfigCreate) SetAttributes ¶ added in v1.9.0

SetAttributes gets a reference to the given MetricBulkTagConfigCreateAttributes and assigns it to the Attributes field.

func (*MetricBulkTagConfigCreate) SetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreate) SetId(v string)

SetId sets field value

func (*MetricBulkTagConfigCreate) SetType ¶ added in v1.9.0

SetType sets field value

func (*MetricBulkTagConfigCreate) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreate) UnmarshalJSON(bytes []byte) (err error)

type MetricBulkTagConfigCreateAttributes ¶ added in v1.9.0

type MetricBulkTagConfigCreateAttributes struct {
	// A list of account emails to notify when the configuration is applied.
	Emails *[]string `json:"emails,omitempty"`
	// A list of tag names to apply to the configuration.
	Tags *[]string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigCreateAttributes Optional parameters for bulk creating metric tag configurations.

func NewMetricBulkTagConfigCreateAttributes ¶ added in v1.9.0

func NewMetricBulkTagConfigCreateAttributes() *MetricBulkTagConfigCreateAttributes

NewMetricBulkTagConfigCreateAttributes instantiates a new MetricBulkTagConfigCreateAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricBulkTagConfigCreateAttributesWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigCreateAttributesWithDefaults() *MetricBulkTagConfigCreateAttributes

NewMetricBulkTagConfigCreateAttributesWithDefaults instantiates a new MetricBulkTagConfigCreateAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricBulkTagConfigCreateAttributes) GetEmails ¶ added in v1.9.0

GetEmails returns the Emails field value if set, zero value otherwise.

func (*MetricBulkTagConfigCreateAttributes) GetEmailsOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreateAttributes) GetEmailsOk() (*[]string, bool)

GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigCreateAttributes) GetTags ¶ added in v1.9.0

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricBulkTagConfigCreateAttributes) GetTagsOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreateAttributes) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigCreateAttributes) HasEmails ¶ added in v1.9.0

HasEmails returns a boolean if a field has been set.

func (*MetricBulkTagConfigCreateAttributes) HasTags ¶ added in v1.9.0

HasTags returns a boolean if a field has been set.

func (MetricBulkTagConfigCreateAttributes) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigCreateAttributes) MarshalJSON() ([]byte, error)

func (*MetricBulkTagConfigCreateAttributes) SetEmails ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreateAttributes) SetEmails(v []string)

SetEmails gets a reference to the given []string and assigns it to the Emails field.

func (*MetricBulkTagConfigCreateAttributes) SetTags ¶ added in v1.9.0

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricBulkTagConfigCreateAttributes) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

type MetricBulkTagConfigCreateRequest ¶ added in v1.9.0

type MetricBulkTagConfigCreateRequest struct {
	// Request object to bulk configure tags for metrics matching the given prefix.
	Data MetricBulkTagConfigCreate `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigCreateRequest Wrapper object for a single bulk tag configuration request.

func NewMetricBulkTagConfigCreateRequest ¶ added in v1.9.0

func NewMetricBulkTagConfigCreateRequest(data MetricBulkTagConfigCreate) *MetricBulkTagConfigCreateRequest

NewMetricBulkTagConfigCreateRequest instantiates a new MetricBulkTagConfigCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricBulkTagConfigCreateRequestWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigCreateRequestWithDefaults() *MetricBulkTagConfigCreateRequest

NewMetricBulkTagConfigCreateRequestWithDefaults instantiates a new MetricBulkTagConfigCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricBulkTagConfigCreateRequest) GetData ¶ added in v1.9.0

GetData returns the Data field value

func (*MetricBulkTagConfigCreateRequest) GetDataOk ¶ added in v1.9.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (MetricBulkTagConfigCreateRequest) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigCreateRequest) MarshalJSON() ([]byte, error)

func (*MetricBulkTagConfigCreateRequest) SetData ¶ added in v1.9.0

SetData sets field value

func (*MetricBulkTagConfigCreateRequest) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigCreateRequest) UnmarshalJSON(bytes []byte) (err error)

type MetricBulkTagConfigDelete ¶ added in v1.9.0

type MetricBulkTagConfigDelete struct {
	// Optional parameters for bulk deleting metric tag configurations.
	Attributes *MetricBulkTagConfigDeleteAttributes `json:"attributes,omitempty"`
	// A text prefix to match against metric names.
	Id string `json:"id"`
	// The metric bulk configure tags resource.
	Type MetricBulkConfigureTagsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigDelete Request object to bulk delete all tag configurations for metrics matching the given prefix.

func NewMetricBulkTagConfigDelete ¶ added in v1.9.0

func NewMetricBulkTagConfigDelete(id string, type_ MetricBulkConfigureTagsType) *MetricBulkTagConfigDelete

NewMetricBulkTagConfigDelete instantiates a new MetricBulkTagConfigDelete object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricBulkTagConfigDeleteWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigDeleteWithDefaults() *MetricBulkTagConfigDelete

NewMetricBulkTagConfigDeleteWithDefaults instantiates a new MetricBulkTagConfigDelete object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricBulkTagConfigDelete) GetAttributes ¶ added in v1.9.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricBulkTagConfigDelete) GetAttributesOk ¶ added in v1.9.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigDelete) GetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigDelete) GetId() string

GetId returns the Id field value

func (*MetricBulkTagConfigDelete) GetIdOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigDelete) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigDelete) GetType ¶ added in v1.9.0

GetType returns the Type field value

func (*MetricBulkTagConfigDelete) GetTypeOk ¶ added in v1.9.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigDelete) HasAttributes ¶ added in v1.9.0

func (o *MetricBulkTagConfigDelete) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (MetricBulkTagConfigDelete) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigDelete) MarshalJSON() ([]byte, error)

func (*MetricBulkTagConfigDelete) SetAttributes ¶ added in v1.9.0

SetAttributes gets a reference to the given MetricBulkTagConfigDeleteAttributes and assigns it to the Attributes field.

func (*MetricBulkTagConfigDelete) SetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigDelete) SetId(v string)

SetId sets field value

func (*MetricBulkTagConfigDelete) SetType ¶ added in v1.9.0

SetType sets field value

func (*MetricBulkTagConfigDelete) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigDelete) UnmarshalJSON(bytes []byte) (err error)

type MetricBulkTagConfigDeleteAttributes ¶ added in v1.9.0

type MetricBulkTagConfigDeleteAttributes struct {
	// A list of account emails to notify when the configuration is applied.
	Emails *[]string `json:"emails,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigDeleteAttributes Optional parameters for bulk deleting metric tag configurations.

func NewMetricBulkTagConfigDeleteAttributes ¶ added in v1.9.0

func NewMetricBulkTagConfigDeleteAttributes() *MetricBulkTagConfigDeleteAttributes

NewMetricBulkTagConfigDeleteAttributes instantiates a new MetricBulkTagConfigDeleteAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricBulkTagConfigDeleteAttributesWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigDeleteAttributesWithDefaults() *MetricBulkTagConfigDeleteAttributes

NewMetricBulkTagConfigDeleteAttributesWithDefaults instantiates a new MetricBulkTagConfigDeleteAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricBulkTagConfigDeleteAttributes) GetEmails ¶ added in v1.9.0

GetEmails returns the Emails field value if set, zero value otherwise.

func (*MetricBulkTagConfigDeleteAttributes) GetEmailsOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigDeleteAttributes) GetEmailsOk() (*[]string, bool)

GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigDeleteAttributes) HasEmails ¶ added in v1.9.0

HasEmails returns a boolean if a field has been set.

func (MetricBulkTagConfigDeleteAttributes) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigDeleteAttributes) MarshalJSON() ([]byte, error)

func (*MetricBulkTagConfigDeleteAttributes) SetEmails ¶ added in v1.9.0

func (o *MetricBulkTagConfigDeleteAttributes) SetEmails(v []string)

SetEmails gets a reference to the given []string and assigns it to the Emails field.

func (*MetricBulkTagConfigDeleteAttributes) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigDeleteAttributes) UnmarshalJSON(bytes []byte) (err error)

type MetricBulkTagConfigDeleteRequest ¶ added in v1.9.0

type MetricBulkTagConfigDeleteRequest struct {
	// Request object to bulk delete all tag configurations for metrics matching the given prefix.
	Data MetricBulkTagConfigDelete `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigDeleteRequest Wrapper object for a single bulk tag deletion request.

func NewMetricBulkTagConfigDeleteRequest ¶ added in v1.9.0

func NewMetricBulkTagConfigDeleteRequest(data MetricBulkTagConfigDelete) *MetricBulkTagConfigDeleteRequest

NewMetricBulkTagConfigDeleteRequest instantiates a new MetricBulkTagConfigDeleteRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricBulkTagConfigDeleteRequestWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigDeleteRequestWithDefaults() *MetricBulkTagConfigDeleteRequest

NewMetricBulkTagConfigDeleteRequestWithDefaults instantiates a new MetricBulkTagConfigDeleteRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricBulkTagConfigDeleteRequest) GetData ¶ added in v1.9.0

GetData returns the Data field value

func (*MetricBulkTagConfigDeleteRequest) GetDataOk ¶ added in v1.9.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (MetricBulkTagConfigDeleteRequest) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigDeleteRequest) MarshalJSON() ([]byte, error)

func (*MetricBulkTagConfigDeleteRequest) SetData ¶ added in v1.9.0

SetData sets field value

func (*MetricBulkTagConfigDeleteRequest) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigDeleteRequest) UnmarshalJSON(bytes []byte) (err error)

type MetricBulkTagConfigResponse ¶ added in v1.9.0

type MetricBulkTagConfigResponse struct {
	// The status of a request to bulk configure metric tags.
	// It contains the fields from the original request for reference.
	Data *MetricBulkTagConfigStatus `json:"data,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigResponse Wrapper for a single bulk tag configuration status response.

func NewMetricBulkTagConfigResponse ¶ added in v1.9.0

func NewMetricBulkTagConfigResponse() *MetricBulkTagConfigResponse

NewMetricBulkTagConfigResponse instantiates a new MetricBulkTagConfigResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricBulkTagConfigResponseWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigResponseWithDefaults() *MetricBulkTagConfigResponse

NewMetricBulkTagConfigResponseWithDefaults instantiates a new MetricBulkTagConfigResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricBulkTagConfigResponse) GetData ¶ added in v1.9.0

GetData returns the Data field value if set, zero value otherwise.

func (*MetricBulkTagConfigResponse) GetDataOk ¶ added in v1.9.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigResponse) HasData ¶ added in v1.9.0

func (o *MetricBulkTagConfigResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (MetricBulkTagConfigResponse) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigResponse) MarshalJSON() ([]byte, error)

func (*MetricBulkTagConfigResponse) SetData ¶ added in v1.9.0

SetData gets a reference to the given MetricBulkTagConfigStatus and assigns it to the Data field.

func (*MetricBulkTagConfigResponse) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigResponse) UnmarshalJSON(bytes []byte) (err error)

type MetricBulkTagConfigStatus ¶ added in v1.9.0

type MetricBulkTagConfigStatus struct {
	// Optional attributes for the status of a bulk tag configuration request.
	Attributes *MetricBulkTagConfigStatusAttributes `json:"attributes,omitempty"`
	// A text prefix to match against metric names.
	Id string `json:"id"`
	// The metric bulk configure tags resource.
	Type MetricBulkConfigureTagsType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigStatus The status of a request to bulk configure metric tags. It contains the fields from the original request for reference.

func NewMetricBulkTagConfigStatus ¶ added in v1.9.0

func NewMetricBulkTagConfigStatus(id string, type_ MetricBulkConfigureTagsType) *MetricBulkTagConfigStatus

NewMetricBulkTagConfigStatus instantiates a new MetricBulkTagConfigStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricBulkTagConfigStatusWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigStatusWithDefaults() *MetricBulkTagConfigStatus

NewMetricBulkTagConfigStatusWithDefaults instantiates a new MetricBulkTagConfigStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricBulkTagConfigStatus) GetAttributes ¶ added in v1.9.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatus) GetAttributesOk ¶ added in v1.9.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatus) GetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatus) GetId() string

GetId returns the Id field value

func (*MetricBulkTagConfigStatus) GetIdOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatus) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatus) GetType ¶ added in v1.9.0

GetType returns the Type field value

func (*MetricBulkTagConfigStatus) GetTypeOk ¶ added in v1.9.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatus) HasAttributes ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatus) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (MetricBulkTagConfigStatus) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigStatus) MarshalJSON() ([]byte, error)

func (*MetricBulkTagConfigStatus) SetAttributes ¶ added in v1.9.0

SetAttributes gets a reference to the given MetricBulkTagConfigStatusAttributes and assigns it to the Attributes field.

func (*MetricBulkTagConfigStatus) SetId ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatus) SetId(v string)

SetId sets field value

func (*MetricBulkTagConfigStatus) SetType ¶ added in v1.9.0

SetType sets field value

func (*MetricBulkTagConfigStatus) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatus) UnmarshalJSON(bytes []byte) (err error)

type MetricBulkTagConfigStatusAttributes ¶ added in v1.9.0

type MetricBulkTagConfigStatusAttributes struct {
	// A list of account emails to notify when the configuration is applied.
	Emails *[]string `json:"emails,omitempty"`
	// The status of the request.
	Status *string `json:"status,omitempty"`
	// A list of tag names to apply to the configuration.
	Tags *[]string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricBulkTagConfigStatusAttributes Optional attributes for the status of a bulk tag configuration request.

func NewMetricBulkTagConfigStatusAttributes ¶ added in v1.9.0

func NewMetricBulkTagConfigStatusAttributes() *MetricBulkTagConfigStatusAttributes

NewMetricBulkTagConfigStatusAttributes instantiates a new MetricBulkTagConfigStatusAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricBulkTagConfigStatusAttributesWithDefaults ¶ added in v1.9.0

func NewMetricBulkTagConfigStatusAttributesWithDefaults() *MetricBulkTagConfigStatusAttributes

NewMetricBulkTagConfigStatusAttributesWithDefaults instantiates a new MetricBulkTagConfigStatusAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricBulkTagConfigStatusAttributes) GetEmails ¶ added in v1.9.0

GetEmails returns the Emails field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatusAttributes) GetEmailsOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatusAttributes) GetEmailsOk() (*[]string, bool)

GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatusAttributes) GetStatus ¶ added in v1.9.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatusAttributes) GetStatusOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatusAttributes) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatusAttributes) GetTags ¶ added in v1.9.0

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricBulkTagConfigStatusAttributes) GetTagsOk ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatusAttributes) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricBulkTagConfigStatusAttributes) HasEmails ¶ added in v1.9.0

HasEmails returns a boolean if a field has been set.

func (*MetricBulkTagConfigStatusAttributes) HasStatus ¶ added in v1.9.0

HasStatus returns a boolean if a field has been set.

func (*MetricBulkTagConfigStatusAttributes) HasTags ¶ added in v1.9.0

HasTags returns a boolean if a field has been set.

func (MetricBulkTagConfigStatusAttributes) MarshalJSON ¶ added in v1.9.0

func (o MetricBulkTagConfigStatusAttributes) MarshalJSON() ([]byte, error)

func (*MetricBulkTagConfigStatusAttributes) SetEmails ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatusAttributes) SetEmails(v []string)

SetEmails gets a reference to the given []string and assigns it to the Emails field.

func (*MetricBulkTagConfigStatusAttributes) SetStatus ¶ added in v1.9.0

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*MetricBulkTagConfigStatusAttributes) SetTags ¶ added in v1.9.0

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricBulkTagConfigStatusAttributes) UnmarshalJSON ¶ added in v1.9.0

func (o *MetricBulkTagConfigStatusAttributes) UnmarshalJSON(bytes []byte) (err error)

type MetricCustomAggregation ¶ added in v1.6.0

type MetricCustomAggregation struct {
	// A space aggregation for use in query.
	Space MetricCustomSpaceAggregation `json:"space"`
	// A time aggregation for use in query.
	Time MetricCustomTimeAggregation `json:"time"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricCustomAggregation A time and space aggregation combination for use in query.

func NewMetricCustomAggregation ¶ added in v1.6.0

NewMetricCustomAggregation instantiates a new MetricCustomAggregation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricCustomAggregationWithDefaults ¶ added in v1.6.0

func NewMetricCustomAggregationWithDefaults() *MetricCustomAggregation

NewMetricCustomAggregationWithDefaults instantiates a new MetricCustomAggregation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricCustomAggregation) GetSpace ¶ added in v1.6.0

GetSpace returns the Space field value

func (*MetricCustomAggregation) GetSpaceOk ¶ added in v1.6.0

GetSpaceOk returns a tuple with the Space field value and a boolean to check if the value has been set.

func (*MetricCustomAggregation) GetTime ¶ added in v1.6.0

GetTime returns the Time field value

func (*MetricCustomAggregation) GetTimeOk ¶ added in v1.6.0

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (MetricCustomAggregation) MarshalJSON ¶ added in v1.6.0

func (o MetricCustomAggregation) MarshalJSON() ([]byte, error)

func (*MetricCustomAggregation) SetSpace ¶ added in v1.6.0

SetSpace sets field value

func (*MetricCustomAggregation) SetTime ¶ added in v1.6.0

SetTime sets field value

func (*MetricCustomAggregation) UnmarshalJSON ¶ added in v1.6.0

func (o *MetricCustomAggregation) UnmarshalJSON(bytes []byte) (err error)

type MetricCustomSpaceAggregation ¶ added in v1.6.0

type MetricCustomSpaceAggregation string

MetricCustomSpaceAggregation A space aggregation for use in query.

const (
	METRICCUSTOMSPACEAGGREGATION_AVG MetricCustomSpaceAggregation = "avg"
	METRICCUSTOMSPACEAGGREGATION_MAX MetricCustomSpaceAggregation = "max"
	METRICCUSTOMSPACEAGGREGATION_MIN MetricCustomSpaceAggregation = "min"
	METRICCUSTOMSPACEAGGREGATION_SUM MetricCustomSpaceAggregation = "sum"
)

List of MetricCustomSpaceAggregation

func NewMetricCustomSpaceAggregationFromValue ¶ added in v1.6.0

func NewMetricCustomSpaceAggregationFromValue(v string) (*MetricCustomSpaceAggregation, error)

NewMetricCustomSpaceAggregationFromValue returns a pointer to a valid MetricCustomSpaceAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*MetricCustomSpaceAggregation) GetAllowedValues ¶ added in v1.6.0

func (MetricCustomSpaceAggregation) IsValid ¶ added in v1.6.0

func (v MetricCustomSpaceAggregation) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MetricCustomSpaceAggregation) Ptr ¶ added in v1.6.0

Ptr returns reference to MetricCustomSpaceAggregation value

func (*MetricCustomSpaceAggregation) UnmarshalJSON ¶ added in v1.6.0

func (v *MetricCustomSpaceAggregation) UnmarshalJSON(src []byte) error

type MetricCustomTimeAggregation ¶ added in v1.6.0

type MetricCustomTimeAggregation string

MetricCustomTimeAggregation A time aggregation for use in query.

const (
	METRICCUSTOMTIMEAGGREGATION_AVG   MetricCustomTimeAggregation = "avg"
	METRICCUSTOMTIMEAGGREGATION_COUNT MetricCustomTimeAggregation = "count"
	METRICCUSTOMTIMEAGGREGATION_MAX   MetricCustomTimeAggregation = "max"
	METRICCUSTOMTIMEAGGREGATION_MIN   MetricCustomTimeAggregation = "min"
	METRICCUSTOMTIMEAGGREGATION_SUM   MetricCustomTimeAggregation = "sum"
)

List of MetricCustomTimeAggregation

func NewMetricCustomTimeAggregationFromValue ¶ added in v1.6.0

func NewMetricCustomTimeAggregationFromValue(v string) (*MetricCustomTimeAggregation, error)

NewMetricCustomTimeAggregationFromValue returns a pointer to a valid MetricCustomTimeAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*MetricCustomTimeAggregation) GetAllowedValues ¶ added in v1.6.0

func (MetricCustomTimeAggregation) IsValid ¶ added in v1.6.0

func (v MetricCustomTimeAggregation) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MetricCustomTimeAggregation) Ptr ¶ added in v1.6.0

Ptr returns reference to MetricCustomTimeAggregation value

func (*MetricCustomTimeAggregation) UnmarshalJSON ¶ added in v1.6.0

func (v *MetricCustomTimeAggregation) UnmarshalJSON(src []byte) error

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)

func (*MetricDistinctVolume) SetAttributes ¶

SetAttributes gets a reference to the given MetricDistinctVolumeAttributes and assigns it to the Attributes field.

func (*MetricDistinctVolume) SetId ¶

func (o *MetricDistinctVolume) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricDistinctVolume) SetType ¶

SetType gets a reference to the given MetricDistinctVolumeType and assigns it to the Type field.

func (*MetricDistinctVolume) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricDistinctVolume) UnmarshalJSON(bytes []byte) (err error)

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)

func (*MetricDistinctVolumeAttributes) SetDistinctVolume ¶

func (o *MetricDistinctVolumeAttributes) SetDistinctVolume(v int64)

SetDistinctVolume gets a reference to the given int64 and assigns it to the DistinctVolume field.

func (*MetricDistinctVolumeAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricDistinctVolumeAttributes) UnmarshalJSON(bytes []byte) (err error)

type MetricDistinctVolumeType ¶

type MetricDistinctVolumeType string

MetricDistinctVolumeType The metric distinct volume type.

const (
	METRICDISTINCTVOLUMETYPE_DISTINCT_METRIC_VOLUMES MetricDistinctVolumeType = "distinct_metric_volumes"
)

List of MetricDistinctVolumeType

func NewMetricDistinctVolumeTypeFromValue ¶

func NewMetricDistinctVolumeTypeFromValue(v string) (*MetricDistinctVolumeType, error)

NewMetricDistinctVolumeTypeFromValue returns a pointer to a valid MetricDistinctVolumeType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*MetricDistinctVolumeType) GetAllowedValues ¶ added in v1.1.0

func (w *MetricDistinctVolumeType) GetAllowedValues() []MetricDistinctVolumeType

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

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)

func (*MetricIngestedIndexedVolume) SetAttributes ¶

SetAttributes gets a reference to the given MetricIngestedIndexedVolumeAttributes and assigns it to the Attributes field.

func (*MetricIngestedIndexedVolume) SetId ¶

func (o *MetricIngestedIndexedVolume) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricIngestedIndexedVolume) SetType ¶

SetType gets a reference to the given MetricIngestedIndexedVolumeType and assigns it to the Type field.

func (*MetricIngestedIndexedVolume) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricIngestedIndexedVolume) UnmarshalJSON(bytes []byte) (err error)

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)

func (*MetricIngestedIndexedVolumeAttributes) SetIndexedVolume ¶

func (o *MetricIngestedIndexedVolumeAttributes) SetIndexedVolume(v int64)

SetIndexedVolume gets a reference to the given int64 and assigns it to the IndexedVolume field.

func (*MetricIngestedIndexedVolumeAttributes) SetIngestedVolume ¶

func (o *MetricIngestedIndexedVolumeAttributes) SetIngestedVolume(v int64)

SetIngestedVolume gets a reference to the given int64 and assigns it to the IngestedVolume field.

func (*MetricIngestedIndexedVolumeAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricIngestedIndexedVolumeAttributes) UnmarshalJSON(bytes []byte) (err error)

type MetricIngestedIndexedVolumeType ¶

type MetricIngestedIndexedVolumeType string

MetricIngestedIndexedVolumeType The metric ingested and indexed volume type.

const (
	METRICINGESTEDINDEXEDVOLUMETYPE_METRIC_VOLUMES MetricIngestedIndexedVolumeType = "metric_volumes"
)

List of MetricIngestedIndexedVolumeType

func NewMetricIngestedIndexedVolumeTypeFromValue ¶

func NewMetricIngestedIndexedVolumeTypeFromValue(v string) (*MetricIngestedIndexedVolumeType, error)

NewMetricIngestedIndexedVolumeTypeFromValue returns a pointer to a valid MetricIngestedIndexedVolumeType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*MetricIngestedIndexedVolumeType) GetAllowedValues ¶ added in v1.1.0

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

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)

func (*MetricTagConfiguration) SetAttributes ¶

SetAttributes gets a reference to the given MetricTagConfigurationAttributes and assigns it to the Attributes field.

func (*MetricTagConfiguration) SetId ¶

func (o *MetricTagConfiguration) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetricTagConfiguration) SetType ¶

SetType gets a reference to the given MetricTagConfigurationType and assigns it to the Type field.

func (*MetricTagConfiguration) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricTagConfiguration) UnmarshalJSON(bytes []byte) (err error)

type MetricTagConfigurationAttributes ¶

type MetricTagConfigurationAttributes struct {
	// A list of queryable aggregation combinations for a count, rate, or gauge metric.
	// By default, count and rate metrics require the (time: sum, space: sum) aggregation and
	// Gauge metrics require the (time: avg, space: avg) aggregation.
	// Additional time & space combinations are also available:
	//
	// - time: avg, space: avg
	// - time: avg, space: max
	// - time: avg, space: min
	// - time: avg, space: sum
	// - time: count, space: sum
	// - time: max, space: max
	// - time: min, space: min
	// - time: sum, space: avg
	// - time: sum, space: sum
	//
	// Can only be applied to metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
	Aggregations *[]MetricCustomAggregation `json:"aggregations,omitempty"`
	// Timestamp when the tag configuration was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Toggle to turn on/off percentile aggregations for distribution metrics.
	// Only present when the `metric_type` is `distribution`.
	IncludePercentiles *bool `json:"include_percentiles,omitempty"`
	// The metric's type.
	MetricType *MetricTagConfigurationMetricTypes `json:"metric_type,omitempty"`
	// Timestamp when the tag configuration was last modified.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// List of tag keys on which to group.
	Tags *[]string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfigurationAttributes Object containing the definition of a metric tag configuration attributes.

func NewMetricTagConfigurationAttributes ¶

func NewMetricTagConfigurationAttributes() *MetricTagConfigurationAttributes

NewMetricTagConfigurationAttributes instantiates a new MetricTagConfigurationAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricTagConfigurationAttributesWithDefaults ¶

func NewMetricTagConfigurationAttributesWithDefaults() *MetricTagConfigurationAttributes

NewMetricTagConfigurationAttributesWithDefaults instantiates a new MetricTagConfigurationAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricTagConfigurationAttributes) GetAggregations ¶ added in v1.6.0

GetAggregations returns the Aggregations field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetAggregationsOk ¶ added in v1.6.0

func (o *MetricTagConfigurationAttributes) GetAggregationsOk() (*[]MetricCustomAggregation, bool)

GetAggregationsOk returns a tuple with the Aggregations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationAttributes) GetCreatedAt ¶

func (o *MetricTagConfigurationAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetCreatedAtOk ¶

func (o *MetricTagConfigurationAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationAttributes) GetIncludePercentiles ¶

func (o *MetricTagConfigurationAttributes) GetIncludePercentiles() bool

GetIncludePercentiles returns the IncludePercentiles field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetIncludePercentilesOk ¶

func (o *MetricTagConfigurationAttributes) GetIncludePercentilesOk() (*bool, bool)

GetIncludePercentilesOk returns a tuple with the IncludePercentiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationAttributes) GetMetricType ¶

GetMetricType returns the MetricType field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetMetricTypeOk ¶

GetMetricTypeOk returns a tuple with the MetricType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationAttributes) GetModifiedAt ¶

func (o *MetricTagConfigurationAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetModifiedAtOk ¶

func (o *MetricTagConfigurationAttributes) GetModifiedAtOk() (*time.Time, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationAttributes) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricTagConfigurationAttributes) GetTagsOk ¶

func (o *MetricTagConfigurationAttributes) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationAttributes) HasAggregations ¶ added in v1.6.0

func (o *MetricTagConfigurationAttributes) HasAggregations() bool

HasAggregations returns a boolean if a field has been set.

func (*MetricTagConfigurationAttributes) HasCreatedAt ¶

func (o *MetricTagConfigurationAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*MetricTagConfigurationAttributes) HasIncludePercentiles ¶

func (o *MetricTagConfigurationAttributes) HasIncludePercentiles() bool

HasIncludePercentiles returns a boolean if a field has been set.

func (*MetricTagConfigurationAttributes) HasMetricType ¶

func (o *MetricTagConfigurationAttributes) HasMetricType() bool

HasMetricType returns a boolean if a field has been set.

func (*MetricTagConfigurationAttributes) HasModifiedAt ¶

func (o *MetricTagConfigurationAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*MetricTagConfigurationAttributes) HasTags ¶

HasTags returns a boolean if a field has been set.

func (MetricTagConfigurationAttributes) MarshalJSON ¶

func (o MetricTagConfigurationAttributes) MarshalJSON() ([]byte, error)

func (*MetricTagConfigurationAttributes) SetAggregations ¶ added in v1.6.0

SetAggregations gets a reference to the given []MetricCustomAggregation and assigns it to the Aggregations field.

func (*MetricTagConfigurationAttributes) SetCreatedAt ¶

func (o *MetricTagConfigurationAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*MetricTagConfigurationAttributes) SetIncludePercentiles ¶

func (o *MetricTagConfigurationAttributes) SetIncludePercentiles(v bool)

SetIncludePercentiles gets a reference to the given bool and assigns it to the IncludePercentiles field.

func (*MetricTagConfigurationAttributes) SetMetricType ¶

SetMetricType gets a reference to the given MetricTagConfigurationMetricTypes and assigns it to the MetricType field.

func (*MetricTagConfigurationAttributes) SetModifiedAt ¶

func (o *MetricTagConfigurationAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*MetricTagConfigurationAttributes) SetTags ¶

func (o *MetricTagConfigurationAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricTagConfigurationAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricTagConfigurationAttributes) UnmarshalJSON(bytes []byte) (err error)

type MetricTagConfigurationCreateAttributes ¶

type MetricTagConfigurationCreateAttributes struct {
	// A list of queryable aggregation combinations for a count, rate, or gauge metric.
	// By default, count and rate metrics require the (time: sum, space: sum) aggregation and
	// Gauge metrics require the (time: avg, space: avg) aggregation.
	// Additional time & space combinations are also available:
	//
	// - time: avg, space: avg
	// - time: avg, space: max
	// - time: avg, space: min
	// - time: avg, space: sum
	// - time: count, space: sum
	// - time: max, space: max
	// - time: min, space: min
	// - time: sum, space: avg
	// - time: sum, space: sum
	//
	// Can only be applied to metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
	Aggregations *[]MetricCustomAggregation `json:"aggregations,omitempty"`
	// Toggle to include/exclude percentiles for a distribution metric.
	// Defaults to false. Can only be applied to metrics that have a `metric_type` of `distribution`.
	IncludePercentiles *bool `json:"include_percentiles,omitempty"`
	// The metric's type.
	MetricType MetricTagConfigurationMetricTypes `json:"metric_type"`
	// A list of tag keys that will be queryable for your metric.
	Tags []string `json:"tags"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfigurationCreateAttributes Object containing the definition of a metric tag configuration to be created.

func NewMetricTagConfigurationCreateAttributes ¶

func NewMetricTagConfigurationCreateAttributes(metricType MetricTagConfigurationMetricTypes, tags []string) *MetricTagConfigurationCreateAttributes

NewMetricTagConfigurationCreateAttributes instantiates a new MetricTagConfigurationCreateAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricTagConfigurationCreateAttributesWithDefaults ¶

func NewMetricTagConfigurationCreateAttributesWithDefaults() *MetricTagConfigurationCreateAttributes

NewMetricTagConfigurationCreateAttributesWithDefaults instantiates a new MetricTagConfigurationCreateAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricTagConfigurationCreateAttributes) GetAggregations ¶ added in v1.6.0

GetAggregations returns the Aggregations field value if set, zero value otherwise.

func (*MetricTagConfigurationCreateAttributes) GetAggregationsOk ¶ added in v1.6.0

GetAggregationsOk returns a tuple with the Aggregations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationCreateAttributes) GetIncludePercentiles ¶

func (o *MetricTagConfigurationCreateAttributes) GetIncludePercentiles() bool

GetIncludePercentiles returns the IncludePercentiles field value if set, zero value otherwise.

func (*MetricTagConfigurationCreateAttributes) GetIncludePercentilesOk ¶

func (o *MetricTagConfigurationCreateAttributes) GetIncludePercentilesOk() (*bool, bool)

GetIncludePercentilesOk returns a tuple with the IncludePercentiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationCreateAttributes) GetMetricType ¶

GetMetricType returns the MetricType field value

func (*MetricTagConfigurationCreateAttributes) GetMetricTypeOk ¶

GetMetricTypeOk returns a tuple with the MetricType field value and a boolean to check if the value has been set.

func (*MetricTagConfigurationCreateAttributes) GetTags ¶

GetTags returns the Tags field value

func (*MetricTagConfigurationCreateAttributes) GetTagsOk ¶

func (o *MetricTagConfigurationCreateAttributes) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*MetricTagConfigurationCreateAttributes) HasAggregations ¶ added in v1.6.0

func (o *MetricTagConfigurationCreateAttributes) HasAggregations() bool

HasAggregations returns a boolean if a field has been set.

func (*MetricTagConfigurationCreateAttributes) HasIncludePercentiles ¶

func (o *MetricTagConfigurationCreateAttributes) HasIncludePercentiles() bool

HasIncludePercentiles returns a boolean if a field has been set.

func (MetricTagConfigurationCreateAttributes) MarshalJSON ¶

func (o MetricTagConfigurationCreateAttributes) MarshalJSON() ([]byte, error)

func (*MetricTagConfigurationCreateAttributes) SetAggregations ¶ added in v1.6.0

SetAggregations gets a reference to the given []MetricCustomAggregation and assigns it to the Aggregations field.

func (*MetricTagConfigurationCreateAttributes) SetIncludePercentiles ¶

func (o *MetricTagConfigurationCreateAttributes) SetIncludePercentiles(v bool)

SetIncludePercentiles gets a reference to the given bool and assigns it to the IncludePercentiles field.

func (*MetricTagConfigurationCreateAttributes) SetMetricType ¶

SetMetricType sets field value

func (*MetricTagConfigurationCreateAttributes) SetTags ¶

SetTags sets field value

func (*MetricTagConfigurationCreateAttributes) UnmarshalJSON ¶

func (o *MetricTagConfigurationCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

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)

func (*MetricTagConfigurationCreateRequest) SetData ¶

SetData sets field value

func (*MetricTagConfigurationCreateRequest) UnmarshalJSON ¶

func (o *MetricTagConfigurationCreateRequest) UnmarshalJSON(bytes []byte) (err error)

type MetricTagConfigurationMetricTypes ¶

type MetricTagConfigurationMetricTypes string

MetricTagConfigurationMetricTypes The metric's type.

const (
	METRICTAGCONFIGURATIONMETRICTYPES_GAUGE        MetricTagConfigurationMetricTypes = "gauge"
	METRICTAGCONFIGURATIONMETRICTYPES_COUNT        MetricTagConfigurationMetricTypes = "count"
	METRICTAGCONFIGURATIONMETRICTYPES_RATE         MetricTagConfigurationMetricTypes = "rate"
	METRICTAGCONFIGURATIONMETRICTYPES_DISTRIBUTION MetricTagConfigurationMetricTypes = "distribution"
)

List of MetricTagConfigurationMetricTypes

func NewMetricTagConfigurationMetricTypesFromValue ¶

func NewMetricTagConfigurationMetricTypesFromValue(v string) (*MetricTagConfigurationMetricTypes, error)

NewMetricTagConfigurationMetricTypesFromValue returns a pointer to a valid MetricTagConfigurationMetricTypes for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*MetricTagConfigurationMetricTypes) GetAllowedValues ¶ added in v1.1.0

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

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)

func (*MetricTagConfigurationResponse) SetData ¶

SetData gets a reference to the given MetricTagConfiguration and assigns it to the Data field.

func (*MetricTagConfigurationResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricTagConfigurationResponse) UnmarshalJSON(bytes []byte) (err error)

type MetricTagConfigurationType ¶

type MetricTagConfigurationType string

MetricTagConfigurationType The metric tag configuration resource type.

const (
	METRICTAGCONFIGURATIONTYPE_MANAGE_TAGS MetricTagConfigurationType = "manage_tags"
)

List of MetricTagConfigurationType

func NewMetricTagConfigurationTypeFromValue ¶

func NewMetricTagConfigurationTypeFromValue(v string) (*MetricTagConfigurationType, error)

NewMetricTagConfigurationTypeFromValue returns a pointer to a valid MetricTagConfigurationType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*MetricTagConfigurationType) GetAllowedValues ¶ added in v1.1.0

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

type MetricTagConfigurationUpdateAttributes ¶

type MetricTagConfigurationUpdateAttributes struct {
	// A list of queryable aggregation combinations for a count, rate, or gauge metric.
	// By default, count and rate metrics require the (time: sum, space: sum) aggregation and
	// Gauge metrics require the (time: avg, space: avg) aggregation.
	// Additional time & space combinations are also available:
	//
	// - time: avg, space: avg
	// - time: avg, space: max
	// - time: avg, space: min
	// - time: avg, space: sum
	// - time: count, space: sum
	// - time: max, space: max
	// - time: min, space: min
	// - time: sum, space: avg
	// - time: sum, space: sum
	//
	// Can only be applied to metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
	Aggregations *[]MetricCustomAggregation `json:"aggregations,omitempty"`
	// Toggle to include/exclude percentiles for a distribution metric.
	// Defaults to false. Can only be applied to metrics that have a `metric_type` of `distribution`.
	IncludePercentiles *bool `json:"include_percentiles,omitempty"`
	// A list of tag keys that will be queryable for your metric.
	Tags *[]string `json:"tags,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

MetricTagConfigurationUpdateAttributes Object containing the definition of a metric tag configuration to be updated.

func NewMetricTagConfigurationUpdateAttributes ¶

func NewMetricTagConfigurationUpdateAttributes() *MetricTagConfigurationUpdateAttributes

NewMetricTagConfigurationUpdateAttributes instantiates a new MetricTagConfigurationUpdateAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetricTagConfigurationUpdateAttributesWithDefaults ¶

func NewMetricTagConfigurationUpdateAttributesWithDefaults() *MetricTagConfigurationUpdateAttributes

NewMetricTagConfigurationUpdateAttributesWithDefaults instantiates a new MetricTagConfigurationUpdateAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetricTagConfigurationUpdateAttributes) GetAggregations ¶ added in v1.6.0

GetAggregations returns the Aggregations field value if set, zero value otherwise.

func (*MetricTagConfigurationUpdateAttributes) GetAggregationsOk ¶ added in v1.6.0

GetAggregationsOk returns a tuple with the Aggregations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationUpdateAttributes) GetIncludePercentiles ¶

func (o *MetricTagConfigurationUpdateAttributes) GetIncludePercentiles() bool

GetIncludePercentiles returns the IncludePercentiles field value if set, zero value otherwise.

func (*MetricTagConfigurationUpdateAttributes) GetIncludePercentilesOk ¶

func (o *MetricTagConfigurationUpdateAttributes) GetIncludePercentilesOk() (*bool, bool)

GetIncludePercentilesOk returns a tuple with the IncludePercentiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationUpdateAttributes) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetricTagConfigurationUpdateAttributes) GetTagsOk ¶

func (o *MetricTagConfigurationUpdateAttributes) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetricTagConfigurationUpdateAttributes) HasAggregations ¶ added in v1.6.0

func (o *MetricTagConfigurationUpdateAttributes) HasAggregations() bool

HasAggregations returns a boolean if a field has been set.

func (*MetricTagConfigurationUpdateAttributes) HasIncludePercentiles ¶

func (o *MetricTagConfigurationUpdateAttributes) HasIncludePercentiles() bool

HasIncludePercentiles returns a boolean if a field has been set.

func (*MetricTagConfigurationUpdateAttributes) HasTags ¶

HasTags returns a boolean if a field has been set.

func (MetricTagConfigurationUpdateAttributes) MarshalJSON ¶

func (o MetricTagConfigurationUpdateAttributes) MarshalJSON() ([]byte, error)

func (*MetricTagConfigurationUpdateAttributes) SetAggregations ¶ added in v1.6.0

SetAggregations gets a reference to the given []MetricCustomAggregation and assigns it to the Aggregations field.

func (*MetricTagConfigurationUpdateAttributes) SetIncludePercentiles ¶

func (o *MetricTagConfigurationUpdateAttributes) SetIncludePercentiles(v bool)

SetIncludePercentiles gets a reference to the given bool and assigns it to the IncludePercentiles field.

func (*MetricTagConfigurationUpdateAttributes) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*MetricTagConfigurationUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricTagConfigurationUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

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)

func (*MetricTagConfigurationUpdateRequest) SetData ¶

SetData sets field value

func (*MetricTagConfigurationUpdateRequest) UnmarshalJSON ¶

func (o *MetricTagConfigurationUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

type MetricType ¶

type MetricType string

MetricType The metric resource type.

const (
	METRICTYPE_METRICS MetricType = "metrics"
)

List of MetricType

func NewMetricTypeFromValue ¶

func NewMetricTypeFromValue(v string) (*MetricType, error)

NewMetricTypeFromValue returns a pointer to a valid MetricType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*MetricType) GetAllowedValues ¶ added in v1.1.0

func (w *MetricType) GetAllowedValues() []MetricType

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

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{}

Get the actual instance

func (MetricVolumes) MarshalJSON ¶

func (src MetricVolumes) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*MetricVolumes) UnmarshalJSON ¶

func (dst *MetricVolumes) UnmarshalJSON(data []byte) error

Unmarshal JSON 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)

func (*MetricVolumesResponse) SetData ¶

func (o *MetricVolumesResponse) SetData(v MetricVolumes)

SetData gets a reference to the given MetricVolumes and assigns it to the Data field.

func (*MetricVolumesResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricVolumesResponse) UnmarshalJSON(bytes []byte) (err error)

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{}

Get the actual instance

func (MetricsAndMetricTagConfigurations) MarshalJSON ¶

func (src MetricsAndMetricTagConfigurations) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*MetricsAndMetricTagConfigurations) UnmarshalJSON ¶

func (dst *MetricsAndMetricTagConfigurations) UnmarshalJSON(data []byte) error

Unmarshal JSON 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 ¶

func (*MetricsAndMetricTagConfigurationsResponse) SetData ¶

SetData gets a reference to the given []MetricsAndMetricTagConfigurations and assigns it to the Data field.

func (*MetricsAndMetricTagConfigurationsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *MetricsAndMetricTagConfigurationsResponse) UnmarshalJSON(bytes []byte) (err error)

type MetricsApiService ¶

type MetricsApiService service

MetricsApiService MetricsApi service

func (*MetricsApiService) CreateBulkTagsMetricsConfiguration ¶ added in v1.9.0

* CreateBulkTagsMetricsConfiguration Configure tags for multiple metrics * Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. * Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations. * Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. * If multiple calls include the same metric, the last configuration applied (not by submit order) is used, do not * expect deterministic ordering of concurrent calls. * Can only be used with application keys of users with the `Manage Tags for Metrics` permission.

func (*MetricsApiService) CreateTagConfiguration ¶

* CreateTagConfiguration Create a tag configuration * Create and define a list of queryable tag keys for an existing count/gauge/rate/distribution metric. * Optionally, include percentile aggregations on any distribution metric or configure custom aggregations * on any count, rate, or gauge metric. * Can only be used with application keys of users with the `Manage Tags for Metrics` permission.

func (*MetricsApiService) DeleteBulkTagsMetricsConfiguration ¶ added in v1.9.0

* DeleteBulkTagsMetricsConfiguration Configure tags for multiple metrics * Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. * Metrics are selected by passing a metric name prefix. * Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. * Can only be used with application keys of users with the `Manage Tags for Metrics` permission.

func (*MetricsApiService) DeleteTagConfiguration ¶

func (a *MetricsApiService) DeleteTagConfiguration(ctx _context.Context, metricName string) (*_nethttp.Response, error)

* DeleteTagConfiguration Delete a tag configuration * Deletes a metric's tag configuration. Can only be used with application * keys from users with the `Manage Tags for Metrics` permission.

func (*MetricsApiService) ListTagConfigurationByName ¶

func (a *MetricsApiService) ListTagConfigurationByName(ctx _context.Context, metricName string) (MetricTagConfigurationResponse, *_nethttp.Response, error)

* ListTagConfigurationByName List tag configuration by name * Returns the tag configuration for the given metric name.

func (*MetricsApiService) ListTagConfigurations ¶

* ListTagConfigurations List tag configurations * Returns all configured count/gauge/rate/distribution metric names * (with additional filters if specified).

func (*MetricsApiService) ListTagsByMetricName ¶

func (a *MetricsApiService) ListTagsByMetricName(ctx _context.Context, metricName string) (MetricAllTagsResponse, *_nethttp.Response, error)

* ListTagsByMetricName List tags by metric name * View indexed tag key-value pairs for a given metric name.

func (*MetricsApiService) ListVolumesByMetricName ¶

func (a *MetricsApiService) ListVolumesByMetricName(ctx _context.Context, metricName string) (MetricVolumesResponse, *_nethttp.Response, error)

* ListVolumesByMetricName List distinct metric volumes by metric name * View distinct metrics volumes for the given metric name. * * Custom distribution metrics will return both ingested and indexed custom metric volumes. * For Metrics without Limits&trade; beta customers, all metrics will return both ingested/indexed volumes. * Custom metrics generated in-app from other products will return `null` for ingested volumes.

func (*MetricsApiService) UpdateTagConfiguration ¶

* UpdateTagConfiguration Update a tag configuration * Update the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations * of a count, rate, or gauge metric. * Can only be used with application keys from users with the `Manage Tags for Metrics` permission.

type NullableAPIKeyResponseIncludedItem ¶

type NullableAPIKeyResponseIncludedItem struct {
	// contains filtered or unexported fields
}

func (NullableAPIKeyResponseIncludedItem) Get ¶

func (NullableAPIKeyResponseIncludedItem) IsSet ¶

func (NullableAPIKeyResponseIncludedItem) MarshalJSON ¶

func (v NullableAPIKeyResponseIncludedItem) MarshalJSON() ([]byte, error)

func (*NullableAPIKeyResponseIncludedItem) Set ¶

func (*NullableAPIKeyResponseIncludedItem) UnmarshalJSON ¶

func (v *NullableAPIKeyResponseIncludedItem) UnmarshalJSON(src []byte) error

func (*NullableAPIKeyResponseIncludedItem) Unset ¶

type NullableAPIKeysSort ¶

type NullableAPIKeysSort struct {
	// contains filtered or unexported fields
}

func NewNullableAPIKeysSort ¶

func NewNullableAPIKeysSort(val *APIKeysSort) *NullableAPIKeysSort

func (NullableAPIKeysSort) Get ¶

func (NullableAPIKeysSort) IsSet ¶

func (v NullableAPIKeysSort) IsSet() bool

func (NullableAPIKeysSort) MarshalJSON ¶

func (v NullableAPIKeysSort) MarshalJSON() ([]byte, error)

func (*NullableAPIKeysSort) Set ¶

func (v *NullableAPIKeysSort) Set(val *APIKeysSort)

func (*NullableAPIKeysSort) UnmarshalJSON ¶

func (v *NullableAPIKeysSort) UnmarshalJSON(src []byte) error

func (*NullableAPIKeysSort) Unset ¶

func (v *NullableAPIKeysSort) Unset()

type NullableAPIKeysType ¶

type NullableAPIKeysType struct {
	// contains filtered or unexported fields
}

func NewNullableAPIKeysType ¶

func NewNullableAPIKeysType(val *APIKeysType) *NullableAPIKeysType

func (NullableAPIKeysType) Get ¶

func (NullableAPIKeysType) IsSet ¶

func (v NullableAPIKeysType) IsSet() bool

func (NullableAPIKeysType) MarshalJSON ¶

func (v NullableAPIKeysType) MarshalJSON() ([]byte, error)

func (*NullableAPIKeysType) Set ¶

func (v *NullableAPIKeysType) Set(val *APIKeysType)

func (*NullableAPIKeysType) UnmarshalJSON ¶

func (v *NullableAPIKeysType) UnmarshalJSON(src []byte) error

func (*NullableAPIKeysType) Unset ¶

func (v *NullableAPIKeysType) Unset()

type NullableApplicationKeyResponseIncludedItem ¶

type NullableApplicationKeyResponseIncludedItem struct {
	// contains filtered or unexported fields
}

func (NullableApplicationKeyResponseIncludedItem) Get ¶

func (NullableApplicationKeyResponseIncludedItem) IsSet ¶

func (NullableApplicationKeyResponseIncludedItem) MarshalJSON ¶

func (*NullableApplicationKeyResponseIncludedItem) Set ¶

func (*NullableApplicationKeyResponseIncludedItem) UnmarshalJSON ¶

func (v *NullableApplicationKeyResponseIncludedItem) UnmarshalJSON(src []byte) error

func (*NullableApplicationKeyResponseIncludedItem) Unset ¶

type NullableApplicationKeysSort ¶

type NullableApplicationKeysSort struct {
	// contains filtered or unexported fields
}

func (NullableApplicationKeysSort) Get ¶

func (NullableApplicationKeysSort) IsSet ¶

func (NullableApplicationKeysSort) MarshalJSON ¶

func (v NullableApplicationKeysSort) MarshalJSON() ([]byte, error)

func (*NullableApplicationKeysSort) Set ¶

func (*NullableApplicationKeysSort) UnmarshalJSON ¶

func (v *NullableApplicationKeysSort) UnmarshalJSON(src []byte) error

func (*NullableApplicationKeysSort) Unset ¶

func (v *NullableApplicationKeysSort) Unset()

type NullableApplicationKeysType ¶

type NullableApplicationKeysType struct {
	// contains filtered or unexported fields
}

func (NullableApplicationKeysType) Get ¶

func (NullableApplicationKeysType) IsSet ¶

func (NullableApplicationKeysType) MarshalJSON ¶

func (v NullableApplicationKeysType) MarshalJSON() ([]byte, error)

func (*NullableApplicationKeysType) Set ¶

func (*NullableApplicationKeysType) UnmarshalJSON ¶

func (v *NullableApplicationKeysType) UnmarshalJSON(src []byte) error

func (*NullableApplicationKeysType) Unset ¶

func (v *NullableApplicationKeysType) Unset()

type NullableAuditLogsEventType ¶ added in v1.11.0

type NullableAuditLogsEventType struct {
	// contains filtered or unexported fields
}

func NewNullableAuditLogsEventType ¶ added in v1.11.0

func NewNullableAuditLogsEventType(val *AuditLogsEventType) *NullableAuditLogsEventType

func (NullableAuditLogsEventType) Get ¶ added in v1.11.0

func (NullableAuditLogsEventType) IsSet ¶ added in v1.11.0

func (v NullableAuditLogsEventType) IsSet() bool

func (NullableAuditLogsEventType) MarshalJSON ¶ added in v1.11.0

func (v NullableAuditLogsEventType) MarshalJSON() ([]byte, error)

func (*NullableAuditLogsEventType) Set ¶ added in v1.11.0

func (*NullableAuditLogsEventType) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableAuditLogsEventType) UnmarshalJSON(src []byte) error

func (*NullableAuditLogsEventType) Unset ¶ added in v1.11.0

func (v *NullableAuditLogsEventType) Unset()

type NullableAuditLogsResponseStatus ¶ added in v1.11.0

type NullableAuditLogsResponseStatus struct {
	// contains filtered or unexported fields
}

func NewNullableAuditLogsResponseStatus ¶ added in v1.11.0

func NewNullableAuditLogsResponseStatus(val *AuditLogsResponseStatus) *NullableAuditLogsResponseStatus

func (NullableAuditLogsResponseStatus) Get ¶ added in v1.11.0

func (NullableAuditLogsResponseStatus) IsSet ¶ added in v1.11.0

func (NullableAuditLogsResponseStatus) MarshalJSON ¶ added in v1.11.0

func (v NullableAuditLogsResponseStatus) MarshalJSON() ([]byte, error)

func (*NullableAuditLogsResponseStatus) Set ¶ added in v1.11.0

func (*NullableAuditLogsResponseStatus) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableAuditLogsResponseStatus) UnmarshalJSON(src []byte) error

func (*NullableAuditLogsResponseStatus) Unset ¶ added in v1.11.0

type NullableAuditLogsSort ¶ added in v1.11.0

type NullableAuditLogsSort struct {
	// contains filtered or unexported fields
}

func NewNullableAuditLogsSort ¶ added in v1.11.0

func NewNullableAuditLogsSort(val *AuditLogsSort) *NullableAuditLogsSort

func (NullableAuditLogsSort) Get ¶ added in v1.11.0

func (NullableAuditLogsSort) IsSet ¶ added in v1.11.0

func (v NullableAuditLogsSort) IsSet() bool

func (NullableAuditLogsSort) MarshalJSON ¶ added in v1.11.0

func (v NullableAuditLogsSort) MarshalJSON() ([]byte, error)

func (*NullableAuditLogsSort) Set ¶ added in v1.11.0

func (v *NullableAuditLogsSort) Set(val *AuditLogsSort)

func (*NullableAuditLogsSort) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableAuditLogsSort) UnmarshalJSON(src []byte) error

func (*NullableAuditLogsSort) Unset ¶ added in v1.11.0

func (v *NullableAuditLogsSort) Unset()

type NullableAuthNMappingIncluded ¶ added in v1.9.0

type NullableAuthNMappingIncluded struct {
	// contains filtered or unexported fields
}

func NewNullableAuthNMappingIncluded ¶ added in v1.9.0

func NewNullableAuthNMappingIncluded(val *AuthNMappingIncluded) *NullableAuthNMappingIncluded

func (NullableAuthNMappingIncluded) Get ¶ added in v1.9.0

func (NullableAuthNMappingIncluded) IsSet ¶ added in v1.9.0

func (NullableAuthNMappingIncluded) MarshalJSON ¶ added in v1.9.0

func (v NullableAuthNMappingIncluded) MarshalJSON() ([]byte, error)

func (*NullableAuthNMappingIncluded) Set ¶ added in v1.9.0

func (*NullableAuthNMappingIncluded) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableAuthNMappingIncluded) UnmarshalJSON(src []byte) error

func (*NullableAuthNMappingIncluded) Unset ¶ added in v1.9.0

func (v *NullableAuthNMappingIncluded) Unset()

type NullableAuthNMappingsSort ¶ added in v1.9.0

type NullableAuthNMappingsSort struct {
	// contains filtered or unexported fields
}

func NewNullableAuthNMappingsSort ¶ added in v1.9.0

func NewNullableAuthNMappingsSort(val *AuthNMappingsSort) *NullableAuthNMappingsSort

func (NullableAuthNMappingsSort) Get ¶ added in v1.9.0

func (NullableAuthNMappingsSort) IsSet ¶ added in v1.9.0

func (v NullableAuthNMappingsSort) IsSet() bool

func (NullableAuthNMappingsSort) MarshalJSON ¶ added in v1.9.0

func (v NullableAuthNMappingsSort) MarshalJSON() ([]byte, error)

func (*NullableAuthNMappingsSort) Set ¶ added in v1.9.0

func (*NullableAuthNMappingsSort) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableAuthNMappingsSort) UnmarshalJSON(src []byte) error

func (*NullableAuthNMappingsSort) Unset ¶ added in v1.9.0

func (v *NullableAuthNMappingsSort) Unset()

type NullableAuthNMappingsType ¶ added in v1.9.0

type NullableAuthNMappingsType struct {
	// contains filtered or unexported fields
}

func NewNullableAuthNMappingsType ¶ added in v1.9.0

func NewNullableAuthNMappingsType(val *AuthNMappingsType) *NullableAuthNMappingsType

func (NullableAuthNMappingsType) Get ¶ added in v1.9.0

func (NullableAuthNMappingsType) IsSet ¶ added in v1.9.0

func (v NullableAuthNMappingsType) IsSet() bool

func (NullableAuthNMappingsType) MarshalJSON ¶ added in v1.9.0

func (v NullableAuthNMappingsType) MarshalJSON() ([]byte, error)

func (*NullableAuthNMappingsType) Set ¶ added in v1.9.0

func (*NullableAuthNMappingsType) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableAuthNMappingsType) UnmarshalJSON(src []byte) error

func (*NullableAuthNMappingsType) Unset ¶ added in v1.9.0

func (v *NullableAuthNMappingsType) Unset()

type NullableBool ¶

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool ¶

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get ¶

func (v NullableBool) Get() *bool

func (NullableBool) IsSet ¶

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON ¶

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set ¶

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON ¶

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset ¶

func (v *NullableBool) Unset()

type NullableCloudWorkloadSecurityAgentRuleType ¶ added in v1.8.0

type NullableCloudWorkloadSecurityAgentRuleType struct {
	// contains filtered or unexported fields
}

func NewNullableCloudWorkloadSecurityAgentRuleType ¶ added in v1.8.0

func NewNullableCloudWorkloadSecurityAgentRuleType(val *CloudWorkloadSecurityAgentRuleType) *NullableCloudWorkloadSecurityAgentRuleType

func (NullableCloudWorkloadSecurityAgentRuleType) Get ¶ added in v1.8.0

func (NullableCloudWorkloadSecurityAgentRuleType) IsSet ¶ added in v1.8.0

func (NullableCloudWorkloadSecurityAgentRuleType) MarshalJSON ¶ added in v1.8.0

func (*NullableCloudWorkloadSecurityAgentRuleType) Set ¶ added in v1.8.0

func (*NullableCloudWorkloadSecurityAgentRuleType) UnmarshalJSON ¶ added in v1.8.0

func (v *NullableCloudWorkloadSecurityAgentRuleType) UnmarshalJSON(src []byte) error

func (*NullableCloudWorkloadSecurityAgentRuleType) Unset ¶ added in v1.8.0

type NullableContentEncoding ¶ added in v1.6.0

type NullableContentEncoding struct {
	// contains filtered or unexported fields
}

func NewNullableContentEncoding ¶ added in v1.6.0

func NewNullableContentEncoding(val *ContentEncoding) *NullableContentEncoding

func (NullableContentEncoding) Get ¶ added in v1.6.0

func (NullableContentEncoding) IsSet ¶ added in v1.6.0

func (v NullableContentEncoding) IsSet() bool

func (NullableContentEncoding) MarshalJSON ¶ added in v1.6.0

func (v NullableContentEncoding) MarshalJSON() ([]byte, error)

func (*NullableContentEncoding) Set ¶ added in v1.6.0

func (*NullableContentEncoding) UnmarshalJSON ¶ added in v1.6.0

func (v *NullableContentEncoding) UnmarshalJSON(src []byte) error

func (*NullableContentEncoding) Unset ¶ added in v1.6.0

func (v *NullableContentEncoding) Unset()

type NullableDashboardType ¶

type NullableDashboardType struct {
	// contains filtered or unexported fields
}

func NewNullableDashboardType ¶

func NewNullableDashboardType(val *DashboardType) *NullableDashboardType

func (NullableDashboardType) Get ¶

func (NullableDashboardType) IsSet ¶

func (v NullableDashboardType) IsSet() bool

func (NullableDashboardType) MarshalJSON ¶

func (v NullableDashboardType) MarshalJSON() ([]byte, error)

func (*NullableDashboardType) Set ¶

func (v *NullableDashboardType) Set(val *DashboardType)

func (*NullableDashboardType) UnmarshalJSON ¶

func (v *NullableDashboardType) UnmarshalJSON(src []byte) error

func (*NullableDashboardType) Unset ¶

func (v *NullableDashboardType) Unset()

type NullableFloat32 ¶

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32 ¶

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get ¶

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet ¶

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON ¶

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set ¶

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON ¶

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset ¶

func (v *NullableFloat32) Unset()

type NullableFloat64 ¶

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64 ¶

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get ¶

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet ¶

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON ¶

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set ¶

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON ¶

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset ¶

func (v *NullableFloat64) Unset()

type NullableIncidentFieldAttributes ¶

type NullableIncidentFieldAttributes struct {
	// contains filtered or unexported fields
}

func (NullableIncidentFieldAttributes) Get ¶

func (NullableIncidentFieldAttributes) IsSet ¶

func (NullableIncidentFieldAttributes) MarshalJSON ¶

func (v NullableIncidentFieldAttributes) MarshalJSON() ([]byte, error)

func (*NullableIncidentFieldAttributes) Set ¶

func (*NullableIncidentFieldAttributes) UnmarshalJSON ¶

func (v *NullableIncidentFieldAttributes) UnmarshalJSON(src []byte) error

func (*NullableIncidentFieldAttributes) Unset ¶

type NullableIncidentFieldAttributesSingleValueType ¶

type NullableIncidentFieldAttributesSingleValueType struct {
	// contains filtered or unexported fields
}

func (NullableIncidentFieldAttributesSingleValueType) Get ¶

func (NullableIncidentFieldAttributesSingleValueType) IsSet ¶

func (NullableIncidentFieldAttributesSingleValueType) MarshalJSON ¶

func (*NullableIncidentFieldAttributesSingleValueType) Set ¶

func (*NullableIncidentFieldAttributesSingleValueType) UnmarshalJSON ¶

func (*NullableIncidentFieldAttributesSingleValueType) Unset ¶

type NullableIncidentFieldAttributesValueType ¶

type NullableIncidentFieldAttributesValueType struct {
	// contains filtered or unexported fields
}

func (NullableIncidentFieldAttributesValueType) Get ¶

func (NullableIncidentFieldAttributesValueType) IsSet ¶

func (NullableIncidentFieldAttributesValueType) MarshalJSON ¶

func (*NullableIncidentFieldAttributesValueType) Set ¶

func (*NullableIncidentFieldAttributesValueType) UnmarshalJSON ¶

func (v *NullableIncidentFieldAttributesValueType) UnmarshalJSON(src []byte) error

func (*NullableIncidentFieldAttributesValueType) Unset ¶

type NullableIncidentIntegrationMetadataType ¶

type NullableIncidentIntegrationMetadataType struct {
	// contains filtered or unexported fields
}

func (NullableIncidentIntegrationMetadataType) Get ¶

func (NullableIncidentIntegrationMetadataType) IsSet ¶

func (NullableIncidentIntegrationMetadataType) MarshalJSON ¶

func (v NullableIncidentIntegrationMetadataType) MarshalJSON() ([]byte, error)

func (*NullableIncidentIntegrationMetadataType) Set ¶

func (*NullableIncidentIntegrationMetadataType) UnmarshalJSON ¶

func (v *NullableIncidentIntegrationMetadataType) UnmarshalJSON(src []byte) error

func (*NullableIncidentIntegrationMetadataType) Unset ¶

type NullableIncidentPostmortemType ¶

type NullableIncidentPostmortemType struct {
	// contains filtered or unexported fields
}

func (NullableIncidentPostmortemType) Get ¶

func (NullableIncidentPostmortemType) IsSet ¶

func (NullableIncidentPostmortemType) MarshalJSON ¶

func (v NullableIncidentPostmortemType) MarshalJSON() ([]byte, error)

func (*NullableIncidentPostmortemType) Set ¶

func (*NullableIncidentPostmortemType) UnmarshalJSON ¶

func (v *NullableIncidentPostmortemType) UnmarshalJSON(src []byte) error

func (*NullableIncidentPostmortemType) Unset ¶

func (v *NullableIncidentPostmortemType) Unset()

type NullableIncidentRelatedObject ¶

type NullableIncidentRelatedObject struct {
	// contains filtered or unexported fields
}

func (NullableIncidentRelatedObject) Get ¶

func (NullableIncidentRelatedObject) IsSet ¶

func (NullableIncidentRelatedObject) MarshalJSON ¶

func (v NullableIncidentRelatedObject) MarshalJSON() ([]byte, error)

func (*NullableIncidentRelatedObject) Set ¶

func (*NullableIncidentRelatedObject) UnmarshalJSON ¶

func (v *NullableIncidentRelatedObject) UnmarshalJSON(src []byte) error

func (*NullableIncidentRelatedObject) Unset ¶

func (v *NullableIncidentRelatedObject) Unset()

type NullableIncidentResponseIncludedItem ¶

type NullableIncidentResponseIncludedItem struct {
	// contains filtered or unexported fields
}

func (NullableIncidentResponseIncludedItem) Get ¶

func (NullableIncidentResponseIncludedItem) IsSet ¶

func (NullableIncidentResponseIncludedItem) MarshalJSON ¶

func (v NullableIncidentResponseIncludedItem) MarshalJSON() ([]byte, error)

func (*NullableIncidentResponseIncludedItem) Set ¶

func (*NullableIncidentResponseIncludedItem) UnmarshalJSON ¶

func (v *NullableIncidentResponseIncludedItem) UnmarshalJSON(src []byte) error

func (*NullableIncidentResponseIncludedItem) Unset ¶

type NullableIncidentServiceIncludedItems ¶

type NullableIncidentServiceIncludedItems struct {
	// contains filtered or unexported fields
}

func (NullableIncidentServiceIncludedItems) Get ¶

func (NullableIncidentServiceIncludedItems) IsSet ¶

func (NullableIncidentServiceIncludedItems) MarshalJSON ¶

func (v NullableIncidentServiceIncludedItems) MarshalJSON() ([]byte, error)

func (*NullableIncidentServiceIncludedItems) Set ¶

func (*NullableIncidentServiceIncludedItems) UnmarshalJSON ¶

func (v *NullableIncidentServiceIncludedItems) UnmarshalJSON(src []byte) error

func (*NullableIncidentServiceIncludedItems) Unset ¶

type NullableIncidentServiceType ¶

type NullableIncidentServiceType struct {
	// contains filtered or unexported fields
}

func (NullableIncidentServiceType) Get ¶

func (NullableIncidentServiceType) IsSet ¶

func (NullableIncidentServiceType) MarshalJSON ¶

func (v NullableIncidentServiceType) MarshalJSON() ([]byte, error)

func (*NullableIncidentServiceType) Set ¶

func (*NullableIncidentServiceType) UnmarshalJSON ¶

func (v *NullableIncidentServiceType) UnmarshalJSON(src []byte) error

func (*NullableIncidentServiceType) Unset ¶

func (v *NullableIncidentServiceType) Unset()

type NullableIncidentTeamIncludedItems ¶

type NullableIncidentTeamIncludedItems struct {
	// contains filtered or unexported fields
}

func (NullableIncidentTeamIncludedItems) Get ¶

func (NullableIncidentTeamIncludedItems) IsSet ¶

func (NullableIncidentTeamIncludedItems) MarshalJSON ¶

func (v NullableIncidentTeamIncludedItems) MarshalJSON() ([]byte, error)

func (*NullableIncidentTeamIncludedItems) Set ¶

func (*NullableIncidentTeamIncludedItems) UnmarshalJSON ¶

func (v *NullableIncidentTeamIncludedItems) UnmarshalJSON(src []byte) error

func (*NullableIncidentTeamIncludedItems) Unset ¶

type NullableIncidentTeamType ¶

type NullableIncidentTeamType struct {
	// contains filtered or unexported fields
}

func NewNullableIncidentTeamType ¶

func NewNullableIncidentTeamType(val *IncidentTeamType) *NullableIncidentTeamType

func (NullableIncidentTeamType) Get ¶

func (NullableIncidentTeamType) IsSet ¶

func (v NullableIncidentTeamType) IsSet() bool

func (NullableIncidentTeamType) MarshalJSON ¶

func (v NullableIncidentTeamType) MarshalJSON() ([]byte, error)

func (*NullableIncidentTeamType) Set ¶

func (*NullableIncidentTeamType) UnmarshalJSON ¶

func (v *NullableIncidentTeamType) UnmarshalJSON(src []byte) error

func (*NullableIncidentTeamType) Unset ¶

func (v *NullableIncidentTeamType) Unset()

type NullableIncidentTimelineCellCreateAttributes ¶

type NullableIncidentTimelineCellCreateAttributes struct {
	// contains filtered or unexported fields
}

func (NullableIncidentTimelineCellCreateAttributes) Get ¶

func (NullableIncidentTimelineCellCreateAttributes) IsSet ¶

func (NullableIncidentTimelineCellCreateAttributes) MarshalJSON ¶

func (*NullableIncidentTimelineCellCreateAttributes) Set ¶

func (*NullableIncidentTimelineCellCreateAttributes) UnmarshalJSON ¶

func (*NullableIncidentTimelineCellCreateAttributes) Unset ¶

type NullableIncidentTimelineCellMarkdownContentType ¶

type NullableIncidentTimelineCellMarkdownContentType struct {
	// contains filtered or unexported fields
}

func (NullableIncidentTimelineCellMarkdownContentType) Get ¶

func (NullableIncidentTimelineCellMarkdownContentType) IsSet ¶

func (NullableIncidentTimelineCellMarkdownContentType) MarshalJSON ¶

func (*NullableIncidentTimelineCellMarkdownContentType) Set ¶

func (*NullableIncidentTimelineCellMarkdownContentType) UnmarshalJSON ¶

func (*NullableIncidentTimelineCellMarkdownContentType) Unset ¶

type NullableIncidentType ¶

type NullableIncidentType struct {
	// contains filtered or unexported fields
}

func NewNullableIncidentType ¶

func NewNullableIncidentType(val *IncidentType) *NullableIncidentType

func (NullableIncidentType) Get ¶

func (NullableIncidentType) IsSet ¶

func (v NullableIncidentType) IsSet() bool

func (NullableIncidentType) MarshalJSON ¶

func (v NullableIncidentType) MarshalJSON() ([]byte, error)

func (*NullableIncidentType) Set ¶

func (v *NullableIncidentType) Set(val *IncidentType)

func (*NullableIncidentType) UnmarshalJSON ¶

func (v *NullableIncidentType) UnmarshalJSON(src []byte) error

func (*NullableIncidentType) Unset ¶

func (v *NullableIncidentType) Unset()

type NullableInt ¶

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt ¶

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get ¶

func (v NullableInt) Get() *int

func (NullableInt) IsSet ¶

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON ¶

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set ¶

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON ¶

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset ¶

func (v *NullableInt) Unset()

type NullableInt32 ¶

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32 ¶

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get ¶

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet ¶

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON ¶

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set ¶

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON ¶

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset ¶

func (v *NullableInt32) Unset()

type NullableInt64 ¶

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64 ¶

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get ¶

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet ¶

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON ¶

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set ¶

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON ¶

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset ¶

func (v *NullableInt64) Unset()

type NullableLogType ¶

type NullableLogType struct {
	// contains filtered or unexported fields
}

func NewNullableLogType ¶

func NewNullableLogType(val *LogType) *NullableLogType

func (NullableLogType) Get ¶

func (v NullableLogType) Get() *LogType

func (NullableLogType) IsSet ¶

func (v NullableLogType) IsSet() bool

func (NullableLogType) MarshalJSON ¶

func (v NullableLogType) MarshalJSON() ([]byte, error)

func (*NullableLogType) Set ¶

func (v *NullableLogType) Set(val *LogType)

func (*NullableLogType) UnmarshalJSON ¶

func (v *NullableLogType) UnmarshalJSON(src []byte) error

func (*NullableLogType) Unset ¶

func (v *NullableLogType) Unset()

type NullableLogsAggregateBucketValue ¶

type NullableLogsAggregateBucketValue struct {
	// contains filtered or unexported fields
}

func (NullableLogsAggregateBucketValue) Get ¶

func (NullableLogsAggregateBucketValue) IsSet ¶

func (NullableLogsAggregateBucketValue) MarshalJSON ¶

func (v NullableLogsAggregateBucketValue) MarshalJSON() ([]byte, error)

func (*NullableLogsAggregateBucketValue) Set ¶

func (*NullableLogsAggregateBucketValue) UnmarshalJSON ¶

func (v *NullableLogsAggregateBucketValue) UnmarshalJSON(src []byte) error

func (*NullableLogsAggregateBucketValue) Unset ¶

type NullableLogsAggregateResponseStatus ¶

type NullableLogsAggregateResponseStatus struct {
	// contains filtered or unexported fields
}

func (NullableLogsAggregateResponseStatus) Get ¶

func (NullableLogsAggregateResponseStatus) IsSet ¶

func (NullableLogsAggregateResponseStatus) MarshalJSON ¶

func (v NullableLogsAggregateResponseStatus) MarshalJSON() ([]byte, error)

func (*NullableLogsAggregateResponseStatus) Set ¶

func (*NullableLogsAggregateResponseStatus) UnmarshalJSON ¶

func (v *NullableLogsAggregateResponseStatus) UnmarshalJSON(src []byte) error

func (*NullableLogsAggregateResponseStatus) Unset ¶

type NullableLogsAggregateSortType ¶

type NullableLogsAggregateSortType struct {
	// contains filtered or unexported fields
}

func (NullableLogsAggregateSortType) Get ¶

func (NullableLogsAggregateSortType) IsSet ¶

func (NullableLogsAggregateSortType) MarshalJSON ¶

func (v NullableLogsAggregateSortType) MarshalJSON() ([]byte, error)

func (*NullableLogsAggregateSortType) Set ¶

func (*NullableLogsAggregateSortType) UnmarshalJSON ¶

func (v *NullableLogsAggregateSortType) UnmarshalJSON(src []byte) error

func (*NullableLogsAggregateSortType) Unset ¶

func (v *NullableLogsAggregateSortType) Unset()

type NullableLogsAggregationFunction ¶

type NullableLogsAggregationFunction struct {
	// contains filtered or unexported fields
}

func (NullableLogsAggregationFunction) Get ¶

func (NullableLogsAggregationFunction) IsSet ¶

func (NullableLogsAggregationFunction) MarshalJSON ¶

func (v NullableLogsAggregationFunction) MarshalJSON() ([]byte, error)

func (*NullableLogsAggregationFunction) Set ¶

func (*NullableLogsAggregationFunction) UnmarshalJSON ¶

func (v *NullableLogsAggregationFunction) UnmarshalJSON(src []byte) error

func (*NullableLogsAggregationFunction) Unset ¶

type NullableLogsArchiveCreateRequestDestination ¶

type NullableLogsArchiveCreateRequestDestination struct {
	// contains filtered or unexported fields
}

func (NullableLogsArchiveCreateRequestDestination) Get ¶

func (NullableLogsArchiveCreateRequestDestination) IsSet ¶

func (NullableLogsArchiveCreateRequestDestination) MarshalJSON ¶

func (*NullableLogsArchiveCreateRequestDestination) Set ¶

func (*NullableLogsArchiveCreateRequestDestination) UnmarshalJSON ¶

func (v *NullableLogsArchiveCreateRequestDestination) UnmarshalJSON(src []byte) error

func (*NullableLogsArchiveCreateRequestDestination) Unset ¶

type NullableLogsArchiveDestination ¶

type NullableLogsArchiveDestination struct {
	// contains filtered or unexported fields
}

func (NullableLogsArchiveDestination) Get ¶

func (NullableLogsArchiveDestination) IsSet ¶

func (NullableLogsArchiveDestination) MarshalJSON ¶

func (v NullableLogsArchiveDestination) MarshalJSON() ([]byte, error)

func (*NullableLogsArchiveDestination) Set ¶

func (*NullableLogsArchiveDestination) UnmarshalJSON ¶

func (v *NullableLogsArchiveDestination) UnmarshalJSON(src []byte) error

func (*NullableLogsArchiveDestination) Unset ¶

func (v *NullableLogsArchiveDestination) Unset()

type NullableLogsArchiveDestinationAzureType ¶

type NullableLogsArchiveDestinationAzureType struct {
	// contains filtered or unexported fields
}

func (NullableLogsArchiveDestinationAzureType) Get ¶

func (NullableLogsArchiveDestinationAzureType) IsSet ¶

func (NullableLogsArchiveDestinationAzureType) MarshalJSON ¶

func (v NullableLogsArchiveDestinationAzureType) MarshalJSON() ([]byte, error)

func (*NullableLogsArchiveDestinationAzureType) Set ¶

func (*NullableLogsArchiveDestinationAzureType) UnmarshalJSON ¶

func (v *NullableLogsArchiveDestinationAzureType) UnmarshalJSON(src []byte) error

func (*NullableLogsArchiveDestinationAzureType) Unset ¶

type NullableLogsArchiveDestinationGCSType ¶

type NullableLogsArchiveDestinationGCSType struct {
	// contains filtered or unexported fields
}

func (NullableLogsArchiveDestinationGCSType) Get ¶

func (NullableLogsArchiveDestinationGCSType) IsSet ¶

func (NullableLogsArchiveDestinationGCSType) MarshalJSON ¶

func (v NullableLogsArchiveDestinationGCSType) MarshalJSON() ([]byte, error)

func (*NullableLogsArchiveDestinationGCSType) Set ¶

func (*NullableLogsArchiveDestinationGCSType) UnmarshalJSON ¶

func (v *NullableLogsArchiveDestinationGCSType) UnmarshalJSON(src []byte) error

func (*NullableLogsArchiveDestinationGCSType) Unset ¶

type NullableLogsArchiveDestinationS3Type ¶

type NullableLogsArchiveDestinationS3Type struct {
	// contains filtered or unexported fields
}

func (NullableLogsArchiveDestinationS3Type) Get ¶

func (NullableLogsArchiveDestinationS3Type) IsSet ¶

func (NullableLogsArchiveDestinationS3Type) MarshalJSON ¶

func (v NullableLogsArchiveDestinationS3Type) MarshalJSON() ([]byte, error)

func (*NullableLogsArchiveDestinationS3Type) Set ¶

func (*NullableLogsArchiveDestinationS3Type) UnmarshalJSON ¶

func (v *NullableLogsArchiveDestinationS3Type) UnmarshalJSON(src []byte) error

func (*NullableLogsArchiveDestinationS3Type) Unset ¶

type NullableLogsArchiveOrderDefinitionType ¶

type NullableLogsArchiveOrderDefinitionType struct {
	// contains filtered or unexported fields
}

func (NullableLogsArchiveOrderDefinitionType) Get ¶

func (NullableLogsArchiveOrderDefinitionType) IsSet ¶

func (NullableLogsArchiveOrderDefinitionType) MarshalJSON ¶

func (v NullableLogsArchiveOrderDefinitionType) MarshalJSON() ([]byte, error)

func (*NullableLogsArchiveOrderDefinitionType) Set ¶

func (*NullableLogsArchiveOrderDefinitionType) UnmarshalJSON ¶

func (v *NullableLogsArchiveOrderDefinitionType) UnmarshalJSON(src []byte) error

func (*NullableLogsArchiveOrderDefinitionType) Unset ¶

type NullableLogsArchiveState ¶

type NullableLogsArchiveState struct {
	// contains filtered or unexported fields
}

func NewNullableLogsArchiveState ¶

func NewNullableLogsArchiveState(val *LogsArchiveState) *NullableLogsArchiveState

func (NullableLogsArchiveState) Get ¶

func (NullableLogsArchiveState) IsSet ¶

func (v NullableLogsArchiveState) IsSet() bool

func (NullableLogsArchiveState) MarshalJSON ¶

func (v NullableLogsArchiveState) MarshalJSON() ([]byte, error)

func (*NullableLogsArchiveState) Set ¶

func (*NullableLogsArchiveState) UnmarshalJSON ¶

func (v *NullableLogsArchiveState) UnmarshalJSON(src []byte) error

func (*NullableLogsArchiveState) Unset ¶

func (v *NullableLogsArchiveState) Unset()

type NullableLogsComputeType ¶

type NullableLogsComputeType struct {
	// contains filtered or unexported fields
}

func NewNullableLogsComputeType ¶

func NewNullableLogsComputeType(val *LogsComputeType) *NullableLogsComputeType

func (NullableLogsComputeType) Get ¶

func (NullableLogsComputeType) IsSet ¶

func (v NullableLogsComputeType) IsSet() bool

func (NullableLogsComputeType) MarshalJSON ¶

func (v NullableLogsComputeType) MarshalJSON() ([]byte, error)

func (*NullableLogsComputeType) Set ¶

func (*NullableLogsComputeType) UnmarshalJSON ¶

func (v *NullableLogsComputeType) UnmarshalJSON(src []byte) error

func (*NullableLogsComputeType) Unset ¶

func (v *NullableLogsComputeType) Unset()

type NullableLogsGroupByMissing ¶

type NullableLogsGroupByMissing struct {
	// contains filtered or unexported fields
}

func NewNullableLogsGroupByMissing ¶

func NewNullableLogsGroupByMissing(val *LogsGroupByMissing) *NullableLogsGroupByMissing

func (NullableLogsGroupByMissing) Get ¶

func (NullableLogsGroupByMissing) IsSet ¶

func (v NullableLogsGroupByMissing) IsSet() bool

func (NullableLogsGroupByMissing) MarshalJSON ¶

func (v NullableLogsGroupByMissing) MarshalJSON() ([]byte, error)

func (*NullableLogsGroupByMissing) Set ¶

func (*NullableLogsGroupByMissing) UnmarshalJSON ¶

func (v *NullableLogsGroupByMissing) UnmarshalJSON(src []byte) error

func (*NullableLogsGroupByMissing) Unset ¶

func (v *NullableLogsGroupByMissing) Unset()

type NullableLogsGroupByTotal ¶

type NullableLogsGroupByTotal struct {
	// contains filtered or unexported fields
}

func NewNullableLogsGroupByTotal ¶

func NewNullableLogsGroupByTotal(val *LogsGroupByTotal) *NullableLogsGroupByTotal

func (NullableLogsGroupByTotal) Get ¶

func (NullableLogsGroupByTotal) IsSet ¶

func (v NullableLogsGroupByTotal) IsSet() bool

func (NullableLogsGroupByTotal) MarshalJSON ¶

func (v NullableLogsGroupByTotal) MarshalJSON() ([]byte, error)

func (*NullableLogsGroupByTotal) Set ¶

func (*NullableLogsGroupByTotal) UnmarshalJSON ¶

func (v *NullableLogsGroupByTotal) UnmarshalJSON(src []byte) error

func (*NullableLogsGroupByTotal) Unset ¶

func (v *NullableLogsGroupByTotal) Unset()

type NullableLogsMetricComputeAggregationType ¶

type NullableLogsMetricComputeAggregationType struct {
	// contains filtered or unexported fields
}

func (NullableLogsMetricComputeAggregationType) Get ¶

func (NullableLogsMetricComputeAggregationType) IsSet ¶

func (NullableLogsMetricComputeAggregationType) MarshalJSON ¶

func (*NullableLogsMetricComputeAggregationType) Set ¶

func (*NullableLogsMetricComputeAggregationType) UnmarshalJSON ¶

func (v *NullableLogsMetricComputeAggregationType) UnmarshalJSON(src []byte) error

func (*NullableLogsMetricComputeAggregationType) Unset ¶

type NullableLogsMetricResponseComputeAggregationType ¶

type NullableLogsMetricResponseComputeAggregationType struct {
	// contains filtered or unexported fields
}

func (NullableLogsMetricResponseComputeAggregationType) Get ¶

func (NullableLogsMetricResponseComputeAggregationType) IsSet ¶

func (NullableLogsMetricResponseComputeAggregationType) MarshalJSON ¶

func (*NullableLogsMetricResponseComputeAggregationType) Set ¶

func (*NullableLogsMetricResponseComputeAggregationType) UnmarshalJSON ¶

func (*NullableLogsMetricResponseComputeAggregationType) Unset ¶

type NullableLogsMetricType ¶

type NullableLogsMetricType struct {
	// contains filtered or unexported fields
}

func NewNullableLogsMetricType ¶

func NewNullableLogsMetricType(val *LogsMetricType) *NullableLogsMetricType

func (NullableLogsMetricType) Get ¶

func (NullableLogsMetricType) IsSet ¶

func (v NullableLogsMetricType) IsSet() bool

func (NullableLogsMetricType) MarshalJSON ¶

func (v NullableLogsMetricType) MarshalJSON() ([]byte, error)

func (*NullableLogsMetricType) Set ¶

func (*NullableLogsMetricType) UnmarshalJSON ¶

func (v *NullableLogsMetricType) UnmarshalJSON(src []byte) error

func (*NullableLogsMetricType) Unset ¶

func (v *NullableLogsMetricType) Unset()

type NullableLogsSort ¶

type NullableLogsSort struct {
	// contains filtered or unexported fields
}

func NewNullableLogsSort ¶

func NewNullableLogsSort(val *LogsSort) *NullableLogsSort

func (NullableLogsSort) Get ¶

func (v NullableLogsSort) Get() *LogsSort

func (NullableLogsSort) IsSet ¶

func (v NullableLogsSort) IsSet() bool

func (NullableLogsSort) MarshalJSON ¶

func (v NullableLogsSort) MarshalJSON() ([]byte, error)

func (*NullableLogsSort) Set ¶

func (v *NullableLogsSort) Set(val *LogsSort)

func (*NullableLogsSort) UnmarshalJSON ¶

func (v *NullableLogsSort) UnmarshalJSON(src []byte) error

func (*NullableLogsSort) Unset ¶

func (v *NullableLogsSort) Unset()

type NullableLogsSortOrder ¶

type NullableLogsSortOrder struct {
	// contains filtered or unexported fields
}

func NewNullableLogsSortOrder ¶

func NewNullableLogsSortOrder(val *LogsSortOrder) *NullableLogsSortOrder

func (NullableLogsSortOrder) Get ¶

func (NullableLogsSortOrder) IsSet ¶

func (v NullableLogsSortOrder) IsSet() bool

func (NullableLogsSortOrder) MarshalJSON ¶

func (v NullableLogsSortOrder) MarshalJSON() ([]byte, error)

func (*NullableLogsSortOrder) Set ¶

func (v *NullableLogsSortOrder) Set(val *LogsSortOrder)

func (*NullableLogsSortOrder) UnmarshalJSON ¶

func (v *NullableLogsSortOrder) UnmarshalJSON(src []byte) error

func (*NullableLogsSortOrder) Unset ¶

func (v *NullableLogsSortOrder) Unset()

type NullableMetricBulkConfigureTagsType ¶ added in v1.9.0

type NullableMetricBulkConfigureTagsType struct {
	// contains filtered or unexported fields
}

func NewNullableMetricBulkConfigureTagsType ¶ added in v1.9.0

func NewNullableMetricBulkConfigureTagsType(val *MetricBulkConfigureTagsType) *NullableMetricBulkConfigureTagsType

func (NullableMetricBulkConfigureTagsType) Get ¶ added in v1.9.0

func (NullableMetricBulkConfigureTagsType) IsSet ¶ added in v1.9.0

func (NullableMetricBulkConfigureTagsType) MarshalJSON ¶ added in v1.9.0

func (v NullableMetricBulkConfigureTagsType) MarshalJSON() ([]byte, error)

func (*NullableMetricBulkConfigureTagsType) Set ¶ added in v1.9.0

func (*NullableMetricBulkConfigureTagsType) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableMetricBulkConfigureTagsType) UnmarshalJSON(src []byte) error

func (*NullableMetricBulkConfigureTagsType) Unset ¶ added in v1.9.0

type NullableMetricCustomSpaceAggregation ¶ added in v1.6.0

type NullableMetricCustomSpaceAggregation struct {
	// contains filtered or unexported fields
}

func NewNullableMetricCustomSpaceAggregation ¶ added in v1.6.0

func NewNullableMetricCustomSpaceAggregation(val *MetricCustomSpaceAggregation) *NullableMetricCustomSpaceAggregation

func (NullableMetricCustomSpaceAggregation) Get ¶ added in v1.6.0

func (NullableMetricCustomSpaceAggregation) IsSet ¶ added in v1.6.0

func (NullableMetricCustomSpaceAggregation) MarshalJSON ¶ added in v1.6.0

func (v NullableMetricCustomSpaceAggregation) MarshalJSON() ([]byte, error)

func (*NullableMetricCustomSpaceAggregation) Set ¶ added in v1.6.0

func (*NullableMetricCustomSpaceAggregation) UnmarshalJSON ¶ added in v1.6.0

func (v *NullableMetricCustomSpaceAggregation) UnmarshalJSON(src []byte) error

func (*NullableMetricCustomSpaceAggregation) Unset ¶ added in v1.6.0

type NullableMetricCustomTimeAggregation ¶ added in v1.6.0

type NullableMetricCustomTimeAggregation struct {
	// contains filtered or unexported fields
}

func NewNullableMetricCustomTimeAggregation ¶ added in v1.6.0

func NewNullableMetricCustomTimeAggregation(val *MetricCustomTimeAggregation) *NullableMetricCustomTimeAggregation

func (NullableMetricCustomTimeAggregation) Get ¶ added in v1.6.0

func (NullableMetricCustomTimeAggregation) IsSet ¶ added in v1.6.0

func (NullableMetricCustomTimeAggregation) MarshalJSON ¶ added in v1.6.0

func (v NullableMetricCustomTimeAggregation) MarshalJSON() ([]byte, error)

func (*NullableMetricCustomTimeAggregation) Set ¶ added in v1.6.0

func (*NullableMetricCustomTimeAggregation) UnmarshalJSON ¶ added in v1.6.0

func (v *NullableMetricCustomTimeAggregation) UnmarshalJSON(src []byte) error

func (*NullableMetricCustomTimeAggregation) Unset ¶ added in v1.6.0

type NullableMetricDistinctVolumeType ¶

type NullableMetricDistinctVolumeType struct {
	// contains filtered or unexported fields
}

func (NullableMetricDistinctVolumeType) Get ¶

func (NullableMetricDistinctVolumeType) IsSet ¶

func (NullableMetricDistinctVolumeType) MarshalJSON ¶

func (v NullableMetricDistinctVolumeType) MarshalJSON() ([]byte, error)

func (*NullableMetricDistinctVolumeType) Set ¶

func (*NullableMetricDistinctVolumeType) UnmarshalJSON ¶

func (v *NullableMetricDistinctVolumeType) UnmarshalJSON(src []byte) error

func (*NullableMetricDistinctVolumeType) Unset ¶

type NullableMetricIngestedIndexedVolumeType ¶

type NullableMetricIngestedIndexedVolumeType struct {
	// contains filtered or unexported fields
}

func (NullableMetricIngestedIndexedVolumeType) Get ¶

func (NullableMetricIngestedIndexedVolumeType) IsSet ¶

func (NullableMetricIngestedIndexedVolumeType) MarshalJSON ¶

func (v NullableMetricIngestedIndexedVolumeType) MarshalJSON() ([]byte, error)

func (*NullableMetricIngestedIndexedVolumeType) Set ¶

func (*NullableMetricIngestedIndexedVolumeType) UnmarshalJSON ¶

func (v *NullableMetricIngestedIndexedVolumeType) UnmarshalJSON(src []byte) error

func (*NullableMetricIngestedIndexedVolumeType) Unset ¶

type NullableMetricTagConfigurationMetricTypes ¶

type NullableMetricTagConfigurationMetricTypes struct {
	// contains filtered or unexported fields
}

func (NullableMetricTagConfigurationMetricTypes) Get ¶

func (NullableMetricTagConfigurationMetricTypes) IsSet ¶

func (NullableMetricTagConfigurationMetricTypes) MarshalJSON ¶

func (*NullableMetricTagConfigurationMetricTypes) Set ¶

func (*NullableMetricTagConfigurationMetricTypes) UnmarshalJSON ¶

func (v *NullableMetricTagConfigurationMetricTypes) UnmarshalJSON(src []byte) error

func (*NullableMetricTagConfigurationMetricTypes) Unset ¶

type NullableMetricTagConfigurationType ¶

type NullableMetricTagConfigurationType struct {
	// contains filtered or unexported fields
}

func (NullableMetricTagConfigurationType) Get ¶

func (NullableMetricTagConfigurationType) IsSet ¶

func (NullableMetricTagConfigurationType) MarshalJSON ¶

func (v NullableMetricTagConfigurationType) MarshalJSON() ([]byte, error)

func (*NullableMetricTagConfigurationType) Set ¶

func (*NullableMetricTagConfigurationType) UnmarshalJSON ¶

func (v *NullableMetricTagConfigurationType) UnmarshalJSON(src []byte) error

func (*NullableMetricTagConfigurationType) Unset ¶

type NullableMetricType ¶

type NullableMetricType struct {
	// contains filtered or unexported fields
}

func NewNullableMetricType ¶

func NewNullableMetricType(val *MetricType) *NullableMetricType

func (NullableMetricType) Get ¶

func (v NullableMetricType) Get() *MetricType

func (NullableMetricType) IsSet ¶

func (v NullableMetricType) IsSet() bool

func (NullableMetricType) MarshalJSON ¶

func (v NullableMetricType) MarshalJSON() ([]byte, error)

func (*NullableMetricType) Set ¶

func (v *NullableMetricType) Set(val *MetricType)

func (*NullableMetricType) UnmarshalJSON ¶

func (v *NullableMetricType) UnmarshalJSON(src []byte) error

func (*NullableMetricType) Unset ¶

func (v *NullableMetricType) Unset()

type NullableMetricVolumes ¶

type NullableMetricVolumes struct {
	// contains filtered or unexported fields
}

func NewNullableMetricVolumes ¶

func NewNullableMetricVolumes(val *MetricVolumes) *NullableMetricVolumes

func (NullableMetricVolumes) Get ¶

func (NullableMetricVolumes) IsSet ¶

func (v NullableMetricVolumes) IsSet() bool

func (NullableMetricVolumes) MarshalJSON ¶

func (v NullableMetricVolumes) MarshalJSON() ([]byte, error)

func (*NullableMetricVolumes) Set ¶

func (v *NullableMetricVolumes) Set(val *MetricVolumes)

func (*NullableMetricVolumes) UnmarshalJSON ¶

func (v *NullableMetricVolumes) UnmarshalJSON(src []byte) error

func (*NullableMetricVolumes) Unset ¶

func (v *NullableMetricVolumes) Unset()

type NullableMetricsAndMetricTagConfigurations ¶

type NullableMetricsAndMetricTagConfigurations struct {
	// contains filtered or unexported fields
}

func (NullableMetricsAndMetricTagConfigurations) Get ¶

func (NullableMetricsAndMetricTagConfigurations) IsSet ¶

func (NullableMetricsAndMetricTagConfigurations) MarshalJSON ¶

func (*NullableMetricsAndMetricTagConfigurations) Set ¶

func (*NullableMetricsAndMetricTagConfigurations) UnmarshalJSON ¶

func (v *NullableMetricsAndMetricTagConfigurations) UnmarshalJSON(src []byte) error

func (*NullableMetricsAndMetricTagConfigurations) Unset ¶

type NullableNullableRelationshipToUserData ¶ added in v1.9.0

type NullableNullableRelationshipToUserData struct {
	// contains filtered or unexported fields
}

func NewNullableNullableRelationshipToUserData ¶ added in v1.9.0

func NewNullableNullableRelationshipToUserData(val *NullableRelationshipToUserData) *NullableNullableRelationshipToUserData

func (NullableNullableRelationshipToUserData) Get ¶ added in v1.9.0

func (NullableNullableRelationshipToUserData) IsSet ¶ added in v1.9.0

func (NullableNullableRelationshipToUserData) MarshalJSON ¶ added in v1.9.0

func (v NullableNullableRelationshipToUserData) MarshalJSON() ([]byte, error)

func (*NullableNullableRelationshipToUserData) Set ¶ added in v1.9.0

func (*NullableNullableRelationshipToUserData) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableNullableRelationshipToUserData) UnmarshalJSON(src []byte) error

func (*NullableNullableRelationshipToUserData) Unset ¶ added in v1.9.0

type NullableOrganizationsType ¶

type NullableOrganizationsType struct {
	// contains filtered or unexported fields
}

func NewNullableOrganizationsType ¶

func NewNullableOrganizationsType(val *OrganizationsType) *NullableOrganizationsType

func (NullableOrganizationsType) Get ¶

func (NullableOrganizationsType) IsSet ¶

func (v NullableOrganizationsType) IsSet() bool

func (NullableOrganizationsType) MarshalJSON ¶

func (v NullableOrganizationsType) MarshalJSON() ([]byte, error)

func (*NullableOrganizationsType) Set ¶

func (*NullableOrganizationsType) UnmarshalJSON ¶

func (v *NullableOrganizationsType) UnmarshalJSON(src []byte) error

func (*NullableOrganizationsType) Unset ¶

func (v *NullableOrganizationsType) Unset()

type NullablePermissionsType ¶

type NullablePermissionsType struct {
	// contains filtered or unexported fields
}

func NewNullablePermissionsType ¶

func NewNullablePermissionsType(val *PermissionsType) *NullablePermissionsType

func (NullablePermissionsType) Get ¶

func (NullablePermissionsType) IsSet ¶

func (v NullablePermissionsType) IsSet() bool

func (NullablePermissionsType) MarshalJSON ¶

func (v NullablePermissionsType) MarshalJSON() ([]byte, error)

func (*NullablePermissionsType) Set ¶

func (*NullablePermissionsType) UnmarshalJSON ¶

func (v *NullablePermissionsType) UnmarshalJSON(src []byte) error

func (*NullablePermissionsType) Unset ¶

func (v *NullablePermissionsType) Unset()

type NullableProcessSummaryType ¶

type NullableProcessSummaryType struct {
	// contains filtered or unexported fields
}

func NewNullableProcessSummaryType ¶

func NewNullableProcessSummaryType(val *ProcessSummaryType) *NullableProcessSummaryType

func (NullableProcessSummaryType) Get ¶

func (NullableProcessSummaryType) IsSet ¶

func (v NullableProcessSummaryType) IsSet() bool

func (NullableProcessSummaryType) MarshalJSON ¶

func (v NullableProcessSummaryType) MarshalJSON() ([]byte, error)

func (*NullableProcessSummaryType) Set ¶

func (*NullableProcessSummaryType) UnmarshalJSON ¶

func (v *NullableProcessSummaryType) UnmarshalJSON(src []byte) error

func (*NullableProcessSummaryType) Unset ¶

func (v *NullableProcessSummaryType) Unset()

type NullableQuerySortOrder ¶

type NullableQuerySortOrder struct {
	// contains filtered or unexported fields
}

func NewNullableQuerySortOrder ¶

func NewNullableQuerySortOrder(val *QuerySortOrder) *NullableQuerySortOrder

func (NullableQuerySortOrder) Get ¶

func (NullableQuerySortOrder) IsSet ¶

func (v NullableQuerySortOrder) IsSet() bool

func (NullableQuerySortOrder) MarshalJSON ¶

func (v NullableQuerySortOrder) MarshalJSON() ([]byte, error)

func (*NullableQuerySortOrder) Set ¶

func (*NullableQuerySortOrder) UnmarshalJSON ¶

func (v *NullableQuerySortOrder) UnmarshalJSON(src []byte) error

func (*NullableQuerySortOrder) Unset ¶

func (v *NullableQuerySortOrder) Unset()

type NullableRUMEventType ¶ added in v1.11.0

type NullableRUMEventType struct {
	// contains filtered or unexported fields
}

func NewNullableRUMEventType ¶ added in v1.11.0

func NewNullableRUMEventType(val *RUMEventType) *NullableRUMEventType

func (NullableRUMEventType) Get ¶ added in v1.11.0

func (NullableRUMEventType) IsSet ¶ added in v1.11.0

func (v NullableRUMEventType) IsSet() bool

func (NullableRUMEventType) MarshalJSON ¶ added in v1.11.0

func (v NullableRUMEventType) MarshalJSON() ([]byte, error)

func (*NullableRUMEventType) Set ¶ added in v1.11.0

func (v *NullableRUMEventType) Set(val *RUMEventType)

func (*NullableRUMEventType) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableRUMEventType) UnmarshalJSON(src []byte) error

func (*NullableRUMEventType) Unset ¶ added in v1.11.0

func (v *NullableRUMEventType) Unset()

type NullableRUMResponseStatus ¶ added in v1.11.0

type NullableRUMResponseStatus struct {
	// contains filtered or unexported fields
}

func NewNullableRUMResponseStatus ¶ added in v1.11.0

func NewNullableRUMResponseStatus(val *RUMResponseStatus) *NullableRUMResponseStatus

func (NullableRUMResponseStatus) Get ¶ added in v1.11.0

func (NullableRUMResponseStatus) IsSet ¶ added in v1.11.0

func (v NullableRUMResponseStatus) IsSet() bool

func (NullableRUMResponseStatus) MarshalJSON ¶ added in v1.11.0

func (v NullableRUMResponseStatus) MarshalJSON() ([]byte, error)

func (*NullableRUMResponseStatus) Set ¶ added in v1.11.0

func (*NullableRUMResponseStatus) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableRUMResponseStatus) UnmarshalJSON(src []byte) error

func (*NullableRUMResponseStatus) Unset ¶ added in v1.11.0

func (v *NullableRUMResponseStatus) Unset()

type NullableRUMSort ¶ added in v1.11.0

type NullableRUMSort struct {
	// contains filtered or unexported fields
}

func NewNullableRUMSort ¶ added in v1.11.0

func NewNullableRUMSort(val *RUMSort) *NullableRUMSort

func (NullableRUMSort) Get ¶ added in v1.11.0

func (v NullableRUMSort) Get() *RUMSort

func (NullableRUMSort) IsSet ¶ added in v1.11.0

func (v NullableRUMSort) IsSet() bool

func (NullableRUMSort) MarshalJSON ¶ added in v1.11.0

func (v NullableRUMSort) MarshalJSON() ([]byte, error)

func (*NullableRUMSort) Set ¶ added in v1.11.0

func (v *NullableRUMSort) Set(val *RUMSort)

func (*NullableRUMSort) UnmarshalJSON ¶ added in v1.11.0

func (v *NullableRUMSort) UnmarshalJSON(src []byte) error

func (*NullableRUMSort) Unset ¶ added in v1.11.0

func (v *NullableRUMSort) Unset()

type NullableRelationshipToUser ¶

type NullableRelationshipToUser struct {
	// Relationship to user object.
	Data NullableNullableRelationshipToUserData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

NullableRelationshipToUser Relationship to user.

func NewNullableRelationshipToUser ¶

func NewNullableRelationshipToUser(data NullableNullableRelationshipToUserData) *NullableRelationshipToUser

NewNullableRelationshipToUser instantiates a new NullableRelationshipToUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNullableRelationshipToUserWithDefaults ¶ added in v1.9.0

func NewNullableRelationshipToUserWithDefaults() *NullableRelationshipToUser

NewNullableRelationshipToUserWithDefaults instantiates a new NullableRelationshipToUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NullableRelationshipToUser) GetData ¶ added in v1.9.0

GetData returns the Data field value If the value is explicit nil, the zero value for NullableRelationshipToUserData will be returned

func (*NullableRelationshipToUser) GetDataOk ¶ added in v1.9.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (NullableRelationshipToUser) MarshalJSON ¶

func (o NullableRelationshipToUser) MarshalJSON() ([]byte, error)

func (*NullableRelationshipToUser) SetData ¶ added in v1.9.0

SetData sets field value

func (*NullableRelationshipToUser) UnmarshalJSON ¶

func (o *NullableRelationshipToUser) UnmarshalJSON(bytes []byte) (err error)

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, type_ UsersType) *NullableRelationshipToUserData

NewNullableRelationshipToUserData instantiates a new NullableRelationshipToUserData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNullableRelationshipToUserDataWithDefaults ¶ added in v1.9.0

func NewNullableRelationshipToUserDataWithDefaults() *NullableRelationshipToUserData

NewNullableRelationshipToUserDataWithDefaults instantiates a new NullableRelationshipToUserData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NullableRelationshipToUserData) GetId ¶ added in v1.9.0

GetId returns the Id field value

func (*NullableRelationshipToUserData) GetIdOk ¶ added in v1.9.0

func (o *NullableRelationshipToUserData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*NullableRelationshipToUserData) GetType ¶ added in v1.9.0

GetType returns the Type field value

func (*NullableRelationshipToUserData) GetTypeOk ¶ added in v1.9.0

func (o *NullableRelationshipToUserData) GetTypeOk() (*UsersType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (NullableRelationshipToUserData) MarshalJSON ¶

func (o NullableRelationshipToUserData) MarshalJSON() ([]byte, error)

func (*NullableRelationshipToUserData) SetId ¶ added in v1.9.0

SetId sets field value

func (*NullableRelationshipToUserData) SetType ¶ added in v1.9.0

SetType sets field value

func (*NullableRelationshipToUserData) UnmarshalJSON ¶

func (o *NullableRelationshipToUserData) UnmarshalJSON(bytes []byte) (err error)

type NullableRolesSort ¶

type NullableRolesSort struct {
	// contains filtered or unexported fields
}

func NewNullableRolesSort ¶

func NewNullableRolesSort(val *RolesSort) *NullableRolesSort

func (NullableRolesSort) Get ¶

func (v NullableRolesSort) Get() *RolesSort

func (NullableRolesSort) IsSet ¶

func (v NullableRolesSort) IsSet() bool

func (NullableRolesSort) MarshalJSON ¶

func (v NullableRolesSort) MarshalJSON() ([]byte, error)

func (*NullableRolesSort) Set ¶

func (v *NullableRolesSort) Set(val *RolesSort)

func (*NullableRolesSort) UnmarshalJSON ¶

func (v *NullableRolesSort) UnmarshalJSON(src []byte) error

func (*NullableRolesSort) Unset ¶

func (v *NullableRolesSort) Unset()

type NullableRolesType ¶

type NullableRolesType struct {
	// contains filtered or unexported fields
}

func NewNullableRolesType ¶

func NewNullableRolesType(val *RolesType) *NullableRolesType

func (NullableRolesType) Get ¶

func (v NullableRolesType) Get() *RolesType

func (NullableRolesType) IsSet ¶

func (v NullableRolesType) IsSet() bool

func (NullableRolesType) MarshalJSON ¶

func (v NullableRolesType) MarshalJSON() ([]byte, error)

func (*NullableRolesType) Set ¶

func (v *NullableRolesType) Set(val *RolesType)

func (*NullableRolesType) UnmarshalJSON ¶

func (v *NullableRolesType) UnmarshalJSON(src []byte) error

func (*NullableRolesType) Unset ¶

func (v *NullableRolesType) Unset()

type NullableSAMLAssertionAttributesType ¶ added in v1.9.0

type NullableSAMLAssertionAttributesType struct {
	// contains filtered or unexported fields
}

func NewNullableSAMLAssertionAttributesType ¶ added in v1.9.0

func NewNullableSAMLAssertionAttributesType(val *SAMLAssertionAttributesType) *NullableSAMLAssertionAttributesType

func (NullableSAMLAssertionAttributesType) Get ¶ added in v1.9.0

func (NullableSAMLAssertionAttributesType) IsSet ¶ added in v1.9.0

func (NullableSAMLAssertionAttributesType) MarshalJSON ¶ added in v1.9.0

func (v NullableSAMLAssertionAttributesType) MarshalJSON() ([]byte, error)

func (*NullableSAMLAssertionAttributesType) Set ¶ added in v1.9.0

func (*NullableSAMLAssertionAttributesType) UnmarshalJSON ¶ added in v1.9.0

func (v *NullableSAMLAssertionAttributesType) UnmarshalJSON(src []byte) error

func (*NullableSAMLAssertionAttributesType) Unset ¶ added in v1.9.0

type NullableSecurityFilterFilteredDataType ¶

type NullableSecurityFilterFilteredDataType struct {
	// contains filtered or unexported fields
}

func (NullableSecurityFilterFilteredDataType) Get ¶

func (NullableSecurityFilterFilteredDataType) IsSet ¶

func (NullableSecurityFilterFilteredDataType) MarshalJSON ¶

func (v NullableSecurityFilterFilteredDataType) MarshalJSON() ([]byte, error)

func (*NullableSecurityFilterFilteredDataType) Set ¶

func (*NullableSecurityFilterFilteredDataType) UnmarshalJSON ¶

func (v *NullableSecurityFilterFilteredDataType) UnmarshalJSON(src []byte) error

func (*NullableSecurityFilterFilteredDataType) Unset ¶

type NullableSecurityFilterType ¶

type NullableSecurityFilterType struct {
	// contains filtered or unexported fields
}

func NewNullableSecurityFilterType ¶

func NewNullableSecurityFilterType(val *SecurityFilterType) *NullableSecurityFilterType

func (NullableSecurityFilterType) Get ¶

func (NullableSecurityFilterType) IsSet ¶

func (v NullableSecurityFilterType) IsSet() bool

func (NullableSecurityFilterType) MarshalJSON ¶

func (v NullableSecurityFilterType) MarshalJSON() ([]byte, error)

func (*NullableSecurityFilterType) Set ¶

func (*NullableSecurityFilterType) UnmarshalJSON ¶

func (v *NullableSecurityFilterType) UnmarshalJSON(src []byte) error

func (*NullableSecurityFilterType) Unset ¶

func (v *NullableSecurityFilterType) Unset()

type NullableSecurityMonitoringFilterAction ¶

type NullableSecurityMonitoringFilterAction struct {
	// contains filtered or unexported fields
}

func (NullableSecurityMonitoringFilterAction) Get ¶

func (NullableSecurityMonitoringFilterAction) IsSet ¶

func (NullableSecurityMonitoringFilterAction) MarshalJSON ¶

func (v NullableSecurityMonitoringFilterAction) MarshalJSON() ([]byte, error)

func (*NullableSecurityMonitoringFilterAction) Set ¶

func (*NullableSecurityMonitoringFilterAction) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringFilterAction) UnmarshalJSON(src []byte) error

func (*NullableSecurityMonitoringFilterAction) Unset ¶

type NullableSecurityMonitoringRuleDetectionMethod ¶

type NullableSecurityMonitoringRuleDetectionMethod struct {
	// contains filtered or unexported fields
}

func (NullableSecurityMonitoringRuleDetectionMethod) Get ¶

func (NullableSecurityMonitoringRuleDetectionMethod) IsSet ¶

func (NullableSecurityMonitoringRuleDetectionMethod) MarshalJSON ¶

func (*NullableSecurityMonitoringRuleDetectionMethod) Set ¶

func (*NullableSecurityMonitoringRuleDetectionMethod) UnmarshalJSON ¶

func (*NullableSecurityMonitoringRuleDetectionMethod) Unset ¶

type NullableSecurityMonitoringRuleEvaluationWindow ¶

type NullableSecurityMonitoringRuleEvaluationWindow struct {
	// contains filtered or unexported fields
}

func (NullableSecurityMonitoringRuleEvaluationWindow) Get ¶

func (NullableSecurityMonitoringRuleEvaluationWindow) IsSet ¶

func (NullableSecurityMonitoringRuleEvaluationWindow) MarshalJSON ¶

func (*NullableSecurityMonitoringRuleEvaluationWindow) Set ¶

func (*NullableSecurityMonitoringRuleEvaluationWindow) UnmarshalJSON ¶

func (*NullableSecurityMonitoringRuleEvaluationWindow) Unset ¶

type NullableSecurityMonitoringRuleKeepAlive ¶

type NullableSecurityMonitoringRuleKeepAlive struct {
	// contains filtered or unexported fields
}

func (NullableSecurityMonitoringRuleKeepAlive) Get ¶

func (NullableSecurityMonitoringRuleKeepAlive) IsSet ¶

func (NullableSecurityMonitoringRuleKeepAlive) MarshalJSON ¶

func (v NullableSecurityMonitoringRuleKeepAlive) MarshalJSON() ([]byte, error)

func (*NullableSecurityMonitoringRuleKeepAlive) Set ¶

func (*NullableSecurityMonitoringRuleKeepAlive) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringRuleKeepAlive) UnmarshalJSON(src []byte) error

func (*NullableSecurityMonitoringRuleKeepAlive) Unset ¶

type NullableSecurityMonitoringRuleMaxSignalDuration ¶

type NullableSecurityMonitoringRuleMaxSignalDuration struct {
	// contains filtered or unexported fields
}

func (NullableSecurityMonitoringRuleMaxSignalDuration) Get ¶

func (NullableSecurityMonitoringRuleMaxSignalDuration) IsSet ¶

func (NullableSecurityMonitoringRuleMaxSignalDuration) MarshalJSON ¶

func (*NullableSecurityMonitoringRuleMaxSignalDuration) Set ¶

func (*NullableSecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON ¶

func (*NullableSecurityMonitoringRuleMaxSignalDuration) Unset ¶

type NullableSecurityMonitoringRuleNewValueOptionsForgetAfter ¶

type NullableSecurityMonitoringRuleNewValueOptionsForgetAfter struct {
	// contains filtered or unexported fields
}

func (NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Get ¶

func (NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) IsSet ¶

func (NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) MarshalJSON ¶

func (*NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Set ¶

func (*NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) UnmarshalJSON ¶

func (*NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Unset ¶

type NullableSecurityMonitoringRuleNewValueOptionsLearningDuration ¶

type NullableSecurityMonitoringRuleNewValueOptionsLearningDuration struct {
	// contains filtered or unexported fields
}

func (NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Get ¶

func (NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) IsSet ¶

func (NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) MarshalJSON ¶

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Set ¶

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) UnmarshalJSON ¶

func (*NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Unset ¶

type NullableSecurityMonitoringRuleQueryAggregation ¶

type NullableSecurityMonitoringRuleQueryAggregation struct {
	// contains filtered or unexported fields
}

func (NullableSecurityMonitoringRuleQueryAggregation) Get ¶

func (NullableSecurityMonitoringRuleQueryAggregation) IsSet ¶

func (NullableSecurityMonitoringRuleQueryAggregation) MarshalJSON ¶

func (*NullableSecurityMonitoringRuleQueryAggregation) Set ¶

func (*NullableSecurityMonitoringRuleQueryAggregation) UnmarshalJSON ¶

func (*NullableSecurityMonitoringRuleQueryAggregation) Unset ¶

type NullableSecurityMonitoringRuleSeverity ¶

type NullableSecurityMonitoringRuleSeverity struct {
	// contains filtered or unexported fields
}

func (NullableSecurityMonitoringRuleSeverity) Get ¶

func (NullableSecurityMonitoringRuleSeverity) IsSet ¶

func (NullableSecurityMonitoringRuleSeverity) MarshalJSON ¶

func (v NullableSecurityMonitoringRuleSeverity) MarshalJSON() ([]byte, error)

func (*NullableSecurityMonitoringRuleSeverity) Set ¶

func (*NullableSecurityMonitoringRuleSeverity) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringRuleSeverity) UnmarshalJSON(src []byte) error

func (*NullableSecurityMonitoringRuleSeverity) Unset ¶

type NullableSecurityMonitoringRuleTypeCreate ¶ added in v1.3.0

type NullableSecurityMonitoringRuleTypeCreate struct {
	// contains filtered or unexported fields
}

func NewNullableSecurityMonitoringRuleTypeCreate ¶ added in v1.3.0

func NewNullableSecurityMonitoringRuleTypeCreate(val *SecurityMonitoringRuleTypeCreate) *NullableSecurityMonitoringRuleTypeCreate

func (NullableSecurityMonitoringRuleTypeCreate) Get ¶ added in v1.3.0

func (NullableSecurityMonitoringRuleTypeCreate) IsSet ¶ added in v1.3.0

func (NullableSecurityMonitoringRuleTypeCreate) MarshalJSON ¶ added in v1.3.0

func (*NullableSecurityMonitoringRuleTypeCreate) Set ¶ added in v1.3.0

func (*NullableSecurityMonitoringRuleTypeCreate) UnmarshalJSON ¶ added in v1.3.0

func (v *NullableSecurityMonitoringRuleTypeCreate) UnmarshalJSON(src []byte) error

func (*NullableSecurityMonitoringRuleTypeCreate) Unset ¶ added in v1.3.0

type NullableSecurityMonitoringRuleTypeRead ¶ added in v1.3.0

type NullableSecurityMonitoringRuleTypeRead struct {
	// contains filtered or unexported fields
}

func NewNullableSecurityMonitoringRuleTypeRead ¶ added in v1.3.0

func NewNullableSecurityMonitoringRuleTypeRead(val *SecurityMonitoringRuleTypeRead) *NullableSecurityMonitoringRuleTypeRead

func (NullableSecurityMonitoringRuleTypeRead) Get ¶ added in v1.3.0

func (NullableSecurityMonitoringRuleTypeRead) IsSet ¶ added in v1.3.0

func (NullableSecurityMonitoringRuleTypeRead) MarshalJSON ¶ added in v1.3.0

func (v NullableSecurityMonitoringRuleTypeRead) MarshalJSON() ([]byte, error)

func (*NullableSecurityMonitoringRuleTypeRead) Set ¶ added in v1.3.0

func (*NullableSecurityMonitoringRuleTypeRead) UnmarshalJSON ¶ added in v1.3.0

func (v *NullableSecurityMonitoringRuleTypeRead) UnmarshalJSON(src []byte) error

func (*NullableSecurityMonitoringRuleTypeRead) Unset ¶ added in v1.3.0

type NullableSecurityMonitoringSignalType ¶

type NullableSecurityMonitoringSignalType struct {
	// contains filtered or unexported fields
}

func (NullableSecurityMonitoringSignalType) Get ¶

func (NullableSecurityMonitoringSignalType) IsSet ¶

func (NullableSecurityMonitoringSignalType) MarshalJSON ¶

func (v NullableSecurityMonitoringSignalType) MarshalJSON() ([]byte, error)

func (*NullableSecurityMonitoringSignalType) Set ¶

func (*NullableSecurityMonitoringSignalType) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringSignalType) UnmarshalJSON(src []byte) error

func (*NullableSecurityMonitoringSignalType) Unset ¶

type NullableSecurityMonitoringSignalsSort ¶

type NullableSecurityMonitoringSignalsSort struct {
	// contains filtered or unexported fields
}

func (NullableSecurityMonitoringSignalsSort) Get ¶

func (NullableSecurityMonitoringSignalsSort) IsSet ¶

func (NullableSecurityMonitoringSignalsSort) MarshalJSON ¶

func (v NullableSecurityMonitoringSignalsSort) MarshalJSON() ([]byte, error)

func (*NullableSecurityMonitoringSignalsSort) Set ¶

func (*NullableSecurityMonitoringSignalsSort) UnmarshalJSON ¶

func (v *NullableSecurityMonitoringSignalsSort) UnmarshalJSON(src []byte) error

func (*NullableSecurityMonitoringSignalsSort) Unset ¶

type NullableString ¶

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString ¶

func NewNullableString(val *string) *NullableString

func (NullableString) Get ¶

func (v NullableString) Get() *string

func (NullableString) IsSet ¶

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON ¶

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set ¶

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON ¶

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset ¶

func (v *NullableString) Unset()

type NullableTime ¶

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime ¶

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get ¶

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet ¶

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON ¶

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set ¶

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON ¶

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset ¶

func (v *NullableTime) Unset()

type NullableUserInvitationsType ¶

type NullableUserInvitationsType struct {
	// contains filtered or unexported fields
}

func (NullableUserInvitationsType) Get ¶

func (NullableUserInvitationsType) IsSet ¶

func (NullableUserInvitationsType) MarshalJSON ¶

func (v NullableUserInvitationsType) MarshalJSON() ([]byte, error)

func (*NullableUserInvitationsType) Set ¶

func (*NullableUserInvitationsType) UnmarshalJSON ¶

func (v *NullableUserInvitationsType) UnmarshalJSON(src []byte) error

func (*NullableUserInvitationsType) Unset ¶

func (v *NullableUserInvitationsType) Unset()

type NullableUserResponseIncludedItem ¶

type NullableUserResponseIncludedItem struct {
	// contains filtered or unexported fields
}

func (NullableUserResponseIncludedItem) Get ¶

func (NullableUserResponseIncludedItem) IsSet ¶

func (NullableUserResponseIncludedItem) MarshalJSON ¶

func (v NullableUserResponseIncludedItem) MarshalJSON() ([]byte, error)

func (*NullableUserResponseIncludedItem) Set ¶

func (*NullableUserResponseIncludedItem) UnmarshalJSON ¶

func (v *NullableUserResponseIncludedItem) UnmarshalJSON(src []byte) error

func (*NullableUserResponseIncludedItem) Unset ¶

type NullableUsersType ¶

type NullableUsersType struct {
	// contains filtered or unexported fields
}

func NewNullableUsersType ¶

func NewNullableUsersType(val *UsersType) *NullableUsersType

func (NullableUsersType) Get ¶

func (v NullableUsersType) Get() *UsersType

func (NullableUsersType) IsSet ¶

func (v NullableUsersType) IsSet() bool

func (NullableUsersType) MarshalJSON ¶

func (v NullableUsersType) MarshalJSON() ([]byte, error)

func (*NullableUsersType) Set ¶

func (v *NullableUsersType) Set(val *UsersType)

func (*NullableUsersType) UnmarshalJSON ¶

func (v *NullableUsersType) UnmarshalJSON(src []byte) error

func (*NullableUsersType) Unset ¶

func (v *NullableUsersType) Unset()

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(type_ 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)

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)

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)

func (*OrganizationAttributes) SetCreatedAt ¶

func (o *OrganizationAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*OrganizationAttributes) SetDescription ¶

func (o *OrganizationAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*OrganizationAttributes) SetDisabled ¶

func (o *OrganizationAttributes) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*OrganizationAttributes) SetModifiedAt ¶

func (o *OrganizationAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*OrganizationAttributes) SetName ¶

func (o *OrganizationAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*OrganizationAttributes) SetPublicId ¶

func (o *OrganizationAttributes) SetPublicId(v string)

SetPublicId gets a reference to the given string and assigns it to the PublicId field.

func (*OrganizationAttributes) SetSharing ¶

func (o *OrganizationAttributes) SetSharing(v string)

SetSharing gets a reference to the given string and assigns it to the Sharing field.

func (*OrganizationAttributes) SetUrl ¶

func (o *OrganizationAttributes) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*OrganizationAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *OrganizationAttributes) UnmarshalJSON(bytes []byte) (err error)

type OrganizationsType ¶

type OrganizationsType string

OrganizationsType Organizations resource type.

const (
	ORGANIZATIONSTYPE_ORGS OrganizationsType = "orgs"
)

List of OrganizationsType

func NewOrganizationsTypeFromValue ¶

func NewOrganizationsTypeFromValue(v string) (*OrganizationsType, error)

NewOrganizationsTypeFromValue returns a pointer to a valid OrganizationsType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*OrganizationsType) GetAllowedValues ¶ added in v1.1.0

func (w *OrganizationsType) GetAllowedValues() []OrganizationsType

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

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)

func (*Pagination) SetTotalCount ¶

func (o *Pagination) SetTotalCount(v int64)

SetTotalCount gets a reference to the given int64 and assigns it to the TotalCount field.

func (*Pagination) SetTotalFilteredCount ¶

func (o *Pagination) SetTotalFilteredCount(v int64)

SetTotalFilteredCount gets a reference to the given int64 and assigns it to the TotalFilteredCount field.

func (*Pagination) UnmarshalJSON ¶ added in v1.3.0

func (o *Pagination) UnmarshalJSON(bytes []byte) (err error)

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)

func (*PartialAPIKey) SetAttributes ¶

func (o *PartialAPIKey) SetAttributes(v PartialAPIKeyAttributes)

SetAttributes gets a reference to the given PartialAPIKeyAttributes and assigns it to the Attributes field.

func (*PartialAPIKey) SetId ¶

func (o *PartialAPIKey) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PartialAPIKey) SetRelationships ¶

func (o *PartialAPIKey) SetRelationships(v APIKeyRelationships)

SetRelationships gets a reference to the given APIKeyRelationships and assigns it to the Relationships field.

func (*PartialAPIKey) SetType ¶

func (o *PartialAPIKey) SetType(v APIKeysType)

SetType gets a reference to the given APIKeysType and assigns it to the Type field.

func (*PartialAPIKey) UnmarshalJSON ¶ added in v1.3.0

func (o *PartialAPIKey) UnmarshalJSON(bytes []byte) (err error)

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)

func (*PartialAPIKeyAttributes) SetCreatedAt ¶

func (o *PartialAPIKeyAttributes) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*PartialAPIKeyAttributes) SetLast4 ¶

func (o *PartialAPIKeyAttributes) SetLast4(v string)

SetLast4 gets a reference to the given string and assigns it to the Last4 field.

func (*PartialAPIKeyAttributes) SetModifiedAt ¶

func (o *PartialAPIKeyAttributes) SetModifiedAt(v string)

SetModifiedAt gets a reference to the given string and assigns it to the ModifiedAt field.

func (*PartialAPIKeyAttributes) SetName ¶

func (o *PartialAPIKeyAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PartialAPIKeyAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *PartialAPIKeyAttributes) UnmarshalJSON(bytes []byte) (err error)

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)

func (*PartialApplicationKey) SetAttributes ¶

SetAttributes gets a reference to the given PartialApplicationKeyAttributes and assigns it to the Attributes field.

func (*PartialApplicationKey) SetId ¶

func (o *PartialApplicationKey) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PartialApplicationKey) SetRelationships ¶

func (o *PartialApplicationKey) SetRelationships(v ApplicationKeyRelationships)

SetRelationships gets a reference to the given ApplicationKeyRelationships and assigns it to the Relationships field.

func (*PartialApplicationKey) SetType ¶

SetType gets a reference to the given ApplicationKeysType and assigns it to the Type field.

func (*PartialApplicationKey) UnmarshalJSON ¶ added in v1.3.0

func (o *PartialApplicationKey) UnmarshalJSON(bytes []byte) (err error)

type PartialApplicationKeyAttributes ¶

type PartialApplicationKeyAttributes struct {
	// Creation date of the application key.
	CreatedAt *string `json:"created_at,omitempty"`
	// The last four characters of the application key.
	Last4 *string `json:"last4,omitempty"`
	// Name of the application key.
	Name *string `json:"name,omitempty"`
	// Array of scopes to grant the application key. This feature is in private beta, please contact Datadog support to enable scopes for your application keys.
	Scopes []string `json:"scopes,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PartialApplicationKeyAttributes Attributes of a partial application key.

func NewPartialApplicationKeyAttributes ¶

func NewPartialApplicationKeyAttributes() *PartialApplicationKeyAttributes

NewPartialApplicationKeyAttributes instantiates a new PartialApplicationKeyAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartialApplicationKeyAttributesWithDefaults ¶

func NewPartialApplicationKeyAttributesWithDefaults() *PartialApplicationKeyAttributes

NewPartialApplicationKeyAttributesWithDefaults instantiates a new PartialApplicationKeyAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PartialApplicationKeyAttributes) GetCreatedAt ¶

func (o *PartialApplicationKeyAttributes) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PartialApplicationKeyAttributes) GetCreatedAtOk ¶

func (o *PartialApplicationKeyAttributes) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKeyAttributes) GetLast4 ¶

GetLast4 returns the Last4 field value if set, zero value otherwise.

func (*PartialApplicationKeyAttributes) GetLast4Ok ¶

func (o *PartialApplicationKeyAttributes) GetLast4Ok() (*string, bool)

GetLast4Ok returns a tuple with the Last4 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKeyAttributes) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PartialApplicationKeyAttributes) GetNameOk ¶

func (o *PartialApplicationKeyAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKeyAttributes) GetScopes ¶ added in v1.8.0

func (o *PartialApplicationKeyAttributes) GetScopes() []string

GetScopes returns the Scopes field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PartialApplicationKeyAttributes) GetScopesOk ¶ added in v1.8.0

func (o *PartialApplicationKeyAttributes) GetScopesOk() (*[]string, bool)

GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PartialApplicationKeyAttributes) HasCreatedAt ¶

func (o *PartialApplicationKeyAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PartialApplicationKeyAttributes) HasLast4 ¶

func (o *PartialApplicationKeyAttributes) HasLast4() bool

HasLast4 returns a boolean if a field has been set.

func (*PartialApplicationKeyAttributes) HasName ¶

HasName returns a boolean if a field has been set.

func (*PartialApplicationKeyAttributes) HasScopes ¶ added in v1.8.0

func (o *PartialApplicationKeyAttributes) HasScopes() bool

HasScopes returns a boolean if a field has been set.

func (PartialApplicationKeyAttributes) MarshalJSON ¶

func (o PartialApplicationKeyAttributes) MarshalJSON() ([]byte, error)

func (*PartialApplicationKeyAttributes) SetCreatedAt ¶

func (o *PartialApplicationKeyAttributes) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*PartialApplicationKeyAttributes) SetLast4 ¶

func (o *PartialApplicationKeyAttributes) SetLast4(v string)

SetLast4 gets a reference to the given string and assigns it to the Last4 field.

func (*PartialApplicationKeyAttributes) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PartialApplicationKeyAttributes) SetScopes ¶ added in v1.8.0

func (o *PartialApplicationKeyAttributes) SetScopes(v []string)

SetScopes gets a reference to the given []string and assigns it to the Scopes field.

func (*PartialApplicationKeyAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *PartialApplicationKeyAttributes) UnmarshalJSON(bytes []byte) (err error)

type PartialApplicationKeyResponse ¶ added in v1.3.0

type PartialApplicationKeyResponse struct {
	// Partial Datadog application key.
	Data *PartialApplicationKey `json:"data,omitempty"`
	// Array of objects related to the application key.
	Included *[]ApplicationKeyResponseIncludedItem `json:"included,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

PartialApplicationKeyResponse Response for retrieving a partial application key.

func NewPartialApplicationKeyResponse ¶ added in v1.3.0

func NewPartialApplicationKeyResponse() *PartialApplicationKeyResponse

NewPartialApplicationKeyResponse instantiates a new PartialApplicationKeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartialApplicationKeyResponseWithDefaults ¶ added in v1.3.0

func NewPartialApplicationKeyResponseWithDefaults() *PartialApplicationKeyResponse

NewPartialApplicationKeyResponseWithDefaults instantiates a new PartialApplicationKeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PartialApplicationKeyResponse) GetData ¶ added in v1.3.0

GetData returns the Data field value if set, zero value otherwise.

func (*PartialApplicationKeyResponse) GetDataOk ¶ added in v1.3.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKeyResponse) GetIncluded ¶ added in v1.3.0

GetIncluded returns the Included field value if set, zero value otherwise.

func (*PartialApplicationKeyResponse) GetIncludedOk ¶ added in v1.3.0

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialApplicationKeyResponse) HasData ¶ added in v1.3.0

func (o *PartialApplicationKeyResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*PartialApplicationKeyResponse) HasIncluded ¶ added in v1.3.0

func (o *PartialApplicationKeyResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (PartialApplicationKeyResponse) MarshalJSON ¶ added in v1.3.0

func (o PartialApplicationKeyResponse) MarshalJSON() ([]byte, error)

func (*PartialApplicationKeyResponse) SetData ¶ added in v1.3.0

SetData gets a reference to the given PartialApplicationKey and assigns it to the Data field.

func (*PartialApplicationKeyResponse) SetIncluded ¶ added in v1.3.0

SetIncluded gets a reference to the given []ApplicationKeyResponseIncludedItem and assigns it to the Included field.

func (*PartialApplicationKeyResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *PartialApplicationKeyResponse) UnmarshalJSON(bytes []byte) (err error)

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(type_ 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)

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)

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)

func (*PermissionAttributes) SetCreated ¶

func (o *PermissionAttributes) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*PermissionAttributes) SetDescription ¶

func (o *PermissionAttributes) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*PermissionAttributes) SetDisplayName ¶

func (o *PermissionAttributes) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*PermissionAttributes) SetDisplayType ¶

func (o *PermissionAttributes) SetDisplayType(v string)

SetDisplayType gets a reference to the given string and assigns it to the DisplayType field.

func (*PermissionAttributes) SetGroupName ¶

func (o *PermissionAttributes) SetGroupName(v string)

SetGroupName gets a reference to the given string and assigns it to the GroupName field.

func (*PermissionAttributes) SetName ¶

func (o *PermissionAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PermissionAttributes) SetRestricted ¶

func (o *PermissionAttributes) SetRestricted(v bool)

SetRestricted gets a reference to the given bool and assigns it to the Restricted field.

func (*PermissionAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *PermissionAttributes) UnmarshalJSON(bytes []byte) (err error)

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)

func (*PermissionsResponse) SetData ¶

func (o *PermissionsResponse) SetData(v []Permission)

SetData gets a reference to the given []Permission and assigns it to the Data field.

func (*PermissionsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *PermissionsResponse) UnmarshalJSON(bytes []byte) (err error)

type PermissionsType ¶

type PermissionsType string

PermissionsType Permissions resource type.

const (
	PERMISSIONSTYPE_PERMISSIONS PermissionsType = "permissions"
)

List of PermissionsType

func NewPermissionsTypeFromValue ¶

func NewPermissionsTypeFromValue(v string) (*PermissionsType, error)

NewPermissionsTypeFromValue returns a pointer to a valid PermissionsType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*PermissionsType) GetAllowedValues ¶ added in v1.1.0

func (w *PermissionsType) GetAllowedValues() []PermissionsType

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

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)

func (*ProcessSummariesMeta) SetPage ¶

SetPage gets a reference to the given ProcessSummariesMetaPage and assigns it to the Page field.

func (*ProcessSummariesMeta) UnmarshalJSON ¶ added in v1.3.0

func (o *ProcessSummariesMeta) UnmarshalJSON(bytes []byte) (err error)

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)

func (*ProcessSummariesMetaPage) SetAfter ¶

func (o *ProcessSummariesMetaPage) SetAfter(v string)

SetAfter gets a reference to the given string and assigns it to the After field.

func (*ProcessSummariesMetaPage) SetSize ¶

func (o *ProcessSummariesMetaPage) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*ProcessSummariesMetaPage) UnmarshalJSON ¶ added in v1.3.0

func (o *ProcessSummariesMetaPage) UnmarshalJSON(bytes []byte) (err error)

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)

func (*ProcessSummariesResponse) SetData ¶

func (o *ProcessSummariesResponse) SetData(v []ProcessSummary)

SetData gets a reference to the given []ProcessSummary and assigns it to the Data field.

func (*ProcessSummariesResponse) SetMeta ¶

SetMeta gets a reference to the given ProcessSummariesMeta and assigns it to the Meta field.

func (*ProcessSummariesResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *ProcessSummariesResponse) UnmarshalJSON(bytes []byte) (err error)

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)

func (*ProcessSummary) SetAttributes ¶

func (o *ProcessSummary) SetAttributes(v ProcessSummaryAttributes)

SetAttributes gets a reference to the given ProcessSummaryAttributes and assigns it to the Attributes field.

func (*ProcessSummary) SetId ¶

func (o *ProcessSummary) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ProcessSummary) SetType ¶

func (o *ProcessSummary) SetType(v ProcessSummaryType)

SetType gets a reference to the given ProcessSummaryType and assigns it to the Type field.

func (*ProcessSummary) UnmarshalJSON ¶ added in v1.3.0

func (o *ProcessSummary) UnmarshalJSON(bytes []byte) (err error)

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)

func (*ProcessSummaryAttributes) SetCmdline ¶

func (o *ProcessSummaryAttributes) SetCmdline(v string)

SetCmdline gets a reference to the given string and assigns it to the Cmdline field.

func (*ProcessSummaryAttributes) SetHost ¶

func (o *ProcessSummaryAttributes) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*ProcessSummaryAttributes) SetPid ¶

func (o *ProcessSummaryAttributes) SetPid(v int64)

SetPid gets a reference to the given int64 and assigns it to the Pid field.

func (*ProcessSummaryAttributes) SetPpid ¶

func (o *ProcessSummaryAttributes) SetPpid(v int64)

SetPpid gets a reference to the given int64 and assigns it to the Ppid field.

func (*ProcessSummaryAttributes) SetStart ¶

func (o *ProcessSummaryAttributes) SetStart(v string)

SetStart gets a reference to the given string and assigns it to the Start field.

func (*ProcessSummaryAttributes) SetTags ¶

func (o *ProcessSummaryAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*ProcessSummaryAttributes) SetTimestamp ¶

func (o *ProcessSummaryAttributes) SetTimestamp(v string)

SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.

func (*ProcessSummaryAttributes) SetUser ¶

func (o *ProcessSummaryAttributes) SetUser(v string)

SetUser gets a reference to the given string and assigns it to the User field.

func (*ProcessSummaryAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *ProcessSummaryAttributes) UnmarshalJSON(bytes []byte) (err error)

type ProcessSummaryType ¶

type ProcessSummaryType string

ProcessSummaryType Type of process summary.

const (
	PROCESSSUMMARYTYPE_PROCESS ProcessSummaryType = "process"
)

List of ProcessSummaryType

func NewProcessSummaryTypeFromValue ¶

func NewProcessSummaryTypeFromValue(v string) (*ProcessSummaryType, error)

NewProcessSummaryTypeFromValue returns a pointer to a valid ProcessSummaryType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*ProcessSummaryType) GetAllowedValues ¶ added in v1.1.0

func (w *ProcessSummaryType) GetAllowedValues() []ProcessSummaryType

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

type ProcessesApiService ¶

type ProcessesApiService service

ProcessesApiService ProcessesApi service

func (*ProcessesApiService) ListProcesses ¶

* ListProcesses Get all processes * Get all processes for your organization.

type QuerySortOrder ¶

type QuerySortOrder string

QuerySortOrder Direction of sort.

const (
	QUERYSORTORDER_ASC  QuerySortOrder = "asc"
	QUERYSORTORDER_DESC QuerySortOrder = "desc"
)

List of QuerySortOrder

func NewQuerySortOrderFromValue ¶

func NewQuerySortOrderFromValue(v string) (*QuerySortOrder, error)

NewQuerySortOrderFromValue returns a pointer to a valid QuerySortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*QuerySortOrder) GetAllowedValues ¶ added in v1.1.0

func (w *QuerySortOrder) GetAllowedValues() []QuerySortOrder

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

type RUMApiService ¶ added in v1.11.0

type RUMApiService service

RUMApiService RUMApi service

func (*RUMApiService) ListRUMEvents ¶ added in v1.11.0

* ListRUMEvents Get a list of RUM events * List endpoint returns events that match a RUM search query. * [Results are paginated][1]. * * Use this endpoint to see your latest RUM events. * * [1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination

func (*RUMApiService) SearchRUMEvents ¶ added in v1.11.0

* SearchRUMEvents Search RUM events * List endpoint returns RUM events that match a RUM search query. * [Results are paginated][1]. * * Use this endpoint to build complex RUM events filtering and search. * * [1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination

type RUMEvent ¶ added in v1.11.0

type RUMEvent struct {
	// JSON object containing all event attributes and their associated values.
	Attributes *RUMEventAttributes `json:"attributes,omitempty"`
	// Unique ID of the event.
	Id *string `json:"id,omitempty"`
	// Type of the event.
	Type *RUMEventType `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMEvent Object description of a RUM event after being processed and stored by Datadog.

func NewRUMEvent ¶ added in v1.11.0

func NewRUMEvent() *RUMEvent

NewRUMEvent instantiates a new RUMEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUMEventWithDefaults ¶ added in v1.11.0

func NewRUMEventWithDefaults() *RUMEvent

NewRUMEventWithDefaults instantiates a new RUMEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUMEvent) GetAttributes ¶ added in v1.11.0

func (o *RUMEvent) GetAttributes() RUMEventAttributes

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RUMEvent) GetAttributesOk ¶ added in v1.11.0

func (o *RUMEvent) GetAttributesOk() (*RUMEventAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEvent) GetId ¶ added in v1.11.0

func (o *RUMEvent) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RUMEvent) GetIdOk ¶ added in v1.11.0

func (o *RUMEvent) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEvent) GetType ¶ added in v1.11.0

func (o *RUMEvent) GetType() RUMEventType

GetType returns the Type field value if set, zero value otherwise.

func (*RUMEvent) GetTypeOk ¶ added in v1.11.0

func (o *RUMEvent) GetTypeOk() (*RUMEventType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEvent) HasAttributes ¶ added in v1.11.0

func (o *RUMEvent) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RUMEvent) HasId ¶ added in v1.11.0

func (o *RUMEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*RUMEvent) HasType ¶ added in v1.11.0

func (o *RUMEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (RUMEvent) MarshalJSON ¶ added in v1.11.0

func (o RUMEvent) MarshalJSON() ([]byte, error)

func (*RUMEvent) SetAttributes ¶ added in v1.11.0

func (o *RUMEvent) SetAttributes(v RUMEventAttributes)

SetAttributes gets a reference to the given RUMEventAttributes and assigns it to the Attributes field.

func (*RUMEvent) SetId ¶ added in v1.11.0

func (o *RUMEvent) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RUMEvent) SetType ¶ added in v1.11.0

func (o *RUMEvent) SetType(v RUMEventType)

SetType gets a reference to the given RUMEventType and assigns it to the Type field.

func (*RUMEvent) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMEvent) UnmarshalJSON(bytes []byte) (err error)

type RUMEventAttributes ¶ added in v1.11.0

type RUMEventAttributes struct {
	// JSON object of attributes from RUM events.
	Attributes map[string]interface{} `json:"attributes,omitempty"`
	// The name of the application or service generating RUM events.
	// It is used to switch from RUM to APM, so make sure you define the same
	// value when you use both products.
	Service *string `json:"service,omitempty"`
	// Array of tags associated with your event.
	Tags *[]string `json:"tags,omitempty"`
	// Timestamp of your event.
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMEventAttributes JSON object containing all event attributes and their associated values.

func NewRUMEventAttributes ¶ added in v1.11.0

func NewRUMEventAttributes() *RUMEventAttributes

NewRUMEventAttributes instantiates a new RUMEventAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUMEventAttributesWithDefaults ¶ added in v1.11.0

func NewRUMEventAttributesWithDefaults() *RUMEventAttributes

NewRUMEventAttributesWithDefaults instantiates a new RUMEventAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUMEventAttributes) GetAttributes ¶ added in v1.11.0

func (o *RUMEventAttributes) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*RUMEventAttributes) GetAttributesOk ¶ added in v1.11.0

func (o *RUMEventAttributes) GetAttributesOk() (*map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEventAttributes) GetService ¶ added in v1.11.0

func (o *RUMEventAttributes) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*RUMEventAttributes) GetServiceOk ¶ added in v1.11.0

func (o *RUMEventAttributes) GetServiceOk() (*string, bool)

GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEventAttributes) GetTags ¶ added in v1.11.0

func (o *RUMEventAttributes) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*RUMEventAttributes) GetTagsOk ¶ added in v1.11.0

func (o *RUMEventAttributes) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEventAttributes) GetTimestamp ¶ added in v1.11.0

func (o *RUMEventAttributes) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*RUMEventAttributes) GetTimestampOk ¶ added in v1.11.0

func (o *RUMEventAttributes) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEventAttributes) HasAttributes ¶ added in v1.11.0

func (o *RUMEventAttributes) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*RUMEventAttributes) HasService ¶ added in v1.11.0

func (o *RUMEventAttributes) HasService() bool

HasService returns a boolean if a field has been set.

func (*RUMEventAttributes) HasTags ¶ added in v1.11.0

func (o *RUMEventAttributes) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*RUMEventAttributes) HasTimestamp ¶ added in v1.11.0

func (o *RUMEventAttributes) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (RUMEventAttributes) MarshalJSON ¶ added in v1.11.0

func (o RUMEventAttributes) MarshalJSON() ([]byte, error)

func (*RUMEventAttributes) SetAttributes ¶ added in v1.11.0

func (o *RUMEventAttributes) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*RUMEventAttributes) SetService ¶ added in v1.11.0

func (o *RUMEventAttributes) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*RUMEventAttributes) SetTags ¶ added in v1.11.0

func (o *RUMEventAttributes) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*RUMEventAttributes) SetTimestamp ¶ added in v1.11.0

func (o *RUMEventAttributes) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*RUMEventAttributes) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMEventAttributes) UnmarshalJSON(bytes []byte) (err error)

type RUMEventType ¶ added in v1.11.0

type RUMEventType string

RUMEventType Type of the event.

const (
	RUMEVENTTYPE_RUM RUMEventType = "rum"
)

List of RUMEventType

func NewRUMEventTypeFromValue ¶ added in v1.11.0

func NewRUMEventTypeFromValue(v string) (*RUMEventType, error)

NewRUMEventTypeFromValue returns a pointer to a valid RUMEventType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*RUMEventType) GetAllowedValues ¶ added in v1.11.0

func (w *RUMEventType) GetAllowedValues() []RUMEventType

func (RUMEventType) IsValid ¶ added in v1.11.0

func (v RUMEventType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RUMEventType) Ptr ¶ added in v1.11.0

func (v RUMEventType) Ptr() *RUMEventType

Ptr returns reference to RUMEventType value

func (*RUMEventType) UnmarshalJSON ¶ added in v1.11.0

func (v *RUMEventType) UnmarshalJSON(src []byte) error

type RUMEventsResponse ¶ added in v1.11.0

type RUMEventsResponse struct {
	// Array of events matching the request.
	Data *[]RUMEvent `json:"data,omitempty"`
	// Links attributes.
	Links *RUMResponseLinks `json:"links,omitempty"`
	// The metadata associated with a request.
	Meta *RUMResponseMetadata `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMEventsResponse Response object with all events matching the request and pagination information.

func NewRUMEventsResponse ¶ added in v1.11.0

func NewRUMEventsResponse() *RUMEventsResponse

NewRUMEventsResponse instantiates a new RUMEventsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUMEventsResponseWithDefaults ¶ added in v1.11.0

func NewRUMEventsResponseWithDefaults() *RUMEventsResponse

NewRUMEventsResponseWithDefaults instantiates a new RUMEventsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUMEventsResponse) GetData ¶ added in v1.11.0

func (o *RUMEventsResponse) GetData() []RUMEvent

GetData returns the Data field value if set, zero value otherwise.

func (*RUMEventsResponse) GetDataOk ¶ added in v1.11.0

func (o *RUMEventsResponse) GetDataOk() (*[]RUMEvent, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *RUMEventsResponse) GetLinks() RUMResponseLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*RUMEventsResponse) GetLinksOk ¶ added in v1.11.0

func (o *RUMEventsResponse) GetLinksOk() (*RUMResponseLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEventsResponse) GetMeta ¶ added in v1.11.0

GetMeta returns the Meta field value if set, zero value otherwise.

func (*RUMEventsResponse) GetMetaOk ¶ added in v1.11.0

func (o *RUMEventsResponse) GetMetaOk() (*RUMResponseMetadata, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMEventsResponse) HasData ¶ added in v1.11.0

func (o *RUMEventsResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (o *RUMEventsResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RUMEventsResponse) HasMeta ¶ added in v1.11.0

func (o *RUMEventsResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (RUMEventsResponse) MarshalJSON ¶ added in v1.11.0

func (o RUMEventsResponse) MarshalJSON() ([]byte, error)

func (*RUMEventsResponse) SetData ¶ added in v1.11.0

func (o *RUMEventsResponse) SetData(v []RUMEvent)

SetData gets a reference to the given []RUMEvent and assigns it to the Data field.

func (o *RUMEventsResponse) SetLinks(v RUMResponseLinks)

SetLinks gets a reference to the given RUMResponseLinks and assigns it to the Links field.

func (*RUMEventsResponse) SetMeta ¶ added in v1.11.0

func (o *RUMEventsResponse) SetMeta(v RUMResponseMetadata)

SetMeta gets a reference to the given RUMResponseMetadata and assigns it to the Meta field.

func (*RUMEventsResponse) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMEventsResponse) UnmarshalJSON(bytes []byte) (err error)

type RUMQueryFilter ¶ added in v1.11.0

type RUMQueryFilter struct {
	// The minimum time for the requested events; supports date, math, and regular timestamps (in milliseconds).
	From *string `json:"from,omitempty"`
	// The search query following the RUM search syntax.
	Query *string `json:"query,omitempty"`
	// The maximum time for the requested events; supports date, math, and regular timestamps (in milliseconds).
	To *string `json:"to,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMQueryFilter The search and filter query settings.

func NewRUMQueryFilter ¶ added in v1.11.0

func NewRUMQueryFilter() *RUMQueryFilter

NewRUMQueryFilter instantiates a new RUMQueryFilter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUMQueryFilterWithDefaults ¶ added in v1.11.0

func NewRUMQueryFilterWithDefaults() *RUMQueryFilter

NewRUMQueryFilterWithDefaults instantiates a new RUMQueryFilter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUMQueryFilter) GetFrom ¶ added in v1.11.0

func (o *RUMQueryFilter) GetFrom() string

GetFrom returns the From field value if set, zero value otherwise.

func (*RUMQueryFilter) GetFromOk ¶ added in v1.11.0

func (o *RUMQueryFilter) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryFilter) GetQuery ¶ added in v1.11.0

func (o *RUMQueryFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*RUMQueryFilter) GetQueryOk ¶ added in v1.11.0

func (o *RUMQueryFilter) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryFilter) GetTo ¶ added in v1.11.0

func (o *RUMQueryFilter) GetTo() string

GetTo returns the To field value if set, zero value otherwise.

func (*RUMQueryFilter) GetToOk ¶ added in v1.11.0

func (o *RUMQueryFilter) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryFilter) HasFrom ¶ added in v1.11.0

func (o *RUMQueryFilter) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*RUMQueryFilter) HasQuery ¶ added in v1.11.0

func (o *RUMQueryFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*RUMQueryFilter) HasTo ¶ added in v1.11.0

func (o *RUMQueryFilter) HasTo() bool

HasTo returns a boolean if a field has been set.

func (RUMQueryFilter) MarshalJSON ¶ added in v1.11.0

func (o RUMQueryFilter) MarshalJSON() ([]byte, error)

func (*RUMQueryFilter) SetFrom ¶ added in v1.11.0

func (o *RUMQueryFilter) SetFrom(v string)

SetFrom gets a reference to the given string and assigns it to the From field.

func (*RUMQueryFilter) SetQuery ¶ added in v1.11.0

func (o *RUMQueryFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*RUMQueryFilter) SetTo ¶ added in v1.11.0

func (o *RUMQueryFilter) SetTo(v string)

SetTo gets a reference to the given string and assigns it to the To field.

func (*RUMQueryFilter) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMQueryFilter) UnmarshalJSON(bytes []byte) (err error)

type RUMQueryOptions ¶ added in v1.11.0

type RUMQueryOptions struct {
	// The time offset (in seconds) to apply to the query.
	TimeOffset *int64 `json:"time_offset,omitempty"`
	// The timezone can be specified both as an offset, for example: "UTC+03:00".
	Timezone *string `json:"timezone,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMQueryOptions Global query options that are used during the query. Note: Only supply timezone or time offset, not both. Otherwise, the query fails.

func NewRUMQueryOptions ¶ added in v1.11.0

func NewRUMQueryOptions() *RUMQueryOptions

NewRUMQueryOptions instantiates a new RUMQueryOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUMQueryOptionsWithDefaults ¶ added in v1.11.0

func NewRUMQueryOptionsWithDefaults() *RUMQueryOptions

NewRUMQueryOptionsWithDefaults instantiates a new RUMQueryOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUMQueryOptions) GetTimeOffset ¶ added in v1.11.0

func (o *RUMQueryOptions) GetTimeOffset() int64

GetTimeOffset returns the TimeOffset field value if set, zero value otherwise.

func (*RUMQueryOptions) GetTimeOffsetOk ¶ added in v1.11.0

func (o *RUMQueryOptions) GetTimeOffsetOk() (*int64, bool)

GetTimeOffsetOk returns a tuple with the TimeOffset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryOptions) GetTimezone ¶ added in v1.11.0

func (o *RUMQueryOptions) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*RUMQueryOptions) GetTimezoneOk ¶ added in v1.11.0

func (o *RUMQueryOptions) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryOptions) HasTimeOffset ¶ added in v1.11.0

func (o *RUMQueryOptions) HasTimeOffset() bool

HasTimeOffset returns a boolean if a field has been set.

func (*RUMQueryOptions) HasTimezone ¶ added in v1.11.0

func (o *RUMQueryOptions) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (RUMQueryOptions) MarshalJSON ¶ added in v1.11.0

func (o RUMQueryOptions) MarshalJSON() ([]byte, error)

func (*RUMQueryOptions) SetTimeOffset ¶ added in v1.11.0

func (o *RUMQueryOptions) SetTimeOffset(v int64)

SetTimeOffset gets a reference to the given int64 and assigns it to the TimeOffset field.

func (*RUMQueryOptions) SetTimezone ¶ added in v1.11.0

func (o *RUMQueryOptions) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*RUMQueryOptions) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMQueryOptions) UnmarshalJSON(bytes []byte) (err error)

type RUMQueryPageOptions ¶ added in v1.11.0

type RUMQueryPageOptions struct {
	// List following results with a cursor provided in the previous query.
	Cursor *string `json:"cursor,omitempty"`
	// Maximum number of events in the response.
	Limit *int32 `json:"limit,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMQueryPageOptions Paging attributes for listing events.

func NewRUMQueryPageOptions ¶ added in v1.11.0

func NewRUMQueryPageOptions() *RUMQueryPageOptions

NewRUMQueryPageOptions instantiates a new RUMQueryPageOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUMQueryPageOptionsWithDefaults ¶ added in v1.11.0

func NewRUMQueryPageOptionsWithDefaults() *RUMQueryPageOptions

NewRUMQueryPageOptionsWithDefaults instantiates a new RUMQueryPageOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUMQueryPageOptions) GetCursor ¶ added in v1.11.0

func (o *RUMQueryPageOptions) GetCursor() string

GetCursor returns the Cursor field value if set, zero value otherwise.

func (*RUMQueryPageOptions) GetCursorOk ¶ added in v1.11.0

func (o *RUMQueryPageOptions) GetCursorOk() (*string, bool)

GetCursorOk returns a tuple with the Cursor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryPageOptions) GetLimit ¶ added in v1.11.0

func (o *RUMQueryPageOptions) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*RUMQueryPageOptions) GetLimitOk ¶ added in v1.11.0

func (o *RUMQueryPageOptions) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMQueryPageOptions) HasCursor ¶ added in v1.11.0

func (o *RUMQueryPageOptions) HasCursor() bool

HasCursor returns a boolean if a field has been set.

func (*RUMQueryPageOptions) HasLimit ¶ added in v1.11.0

func (o *RUMQueryPageOptions) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (RUMQueryPageOptions) MarshalJSON ¶ added in v1.11.0

func (o RUMQueryPageOptions) MarshalJSON() ([]byte, error)

func (*RUMQueryPageOptions) SetCursor ¶ added in v1.11.0

func (o *RUMQueryPageOptions) SetCursor(v string)

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*RUMQueryPageOptions) SetLimit ¶ added in v1.11.0

func (o *RUMQueryPageOptions) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*RUMQueryPageOptions) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMQueryPageOptions) UnmarshalJSON(bytes []byte) (err error)
type RUMResponseLinks struct {
	// Link for the next set of results. Note that the request can also be made using the
	// POST endpoint.
	Next *string `json:"next,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMResponseLinks Links attributes.

func NewRUMResponseLinks() *RUMResponseLinks

NewRUMResponseLinks instantiates a new RUMResponseLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUMResponseLinksWithDefaults ¶ added in v1.11.0

func NewRUMResponseLinksWithDefaults() *RUMResponseLinks

NewRUMResponseLinksWithDefaults instantiates a new RUMResponseLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUMResponseLinks) GetNext ¶ added in v1.11.0

func (o *RUMResponseLinks) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*RUMResponseLinks) GetNextOk ¶ added in v1.11.0

func (o *RUMResponseLinks) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseLinks) HasNext ¶ added in v1.11.0

func (o *RUMResponseLinks) HasNext() bool

HasNext returns a boolean if a field has been set.

func (RUMResponseLinks) MarshalJSON ¶ added in v1.11.0

func (o RUMResponseLinks) MarshalJSON() ([]byte, error)

func (*RUMResponseLinks) SetNext ¶ added in v1.11.0

func (o *RUMResponseLinks) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*RUMResponseLinks) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMResponseLinks) UnmarshalJSON(bytes []byte) (err error)

type RUMResponseMetadata ¶ added in v1.11.0

type RUMResponseMetadata struct {
	// The time elapsed in milliseconds.
	Elapsed *int64 `json:"elapsed,omitempty"`
	// Paging attributes.
	Page *RUMResponsePage `json:"page,omitempty"`
	// The identifier of the request.
	RequestId *string `json:"request_id,omitempty"`
	// The status of the response.
	Status *RUMResponseStatus `json:"status,omitempty"`
	// A list of warnings (non-fatal errors) encountered. Partial results may return if
	// warnings are present in the response.
	Warnings *[]RUMWarning `json:"warnings,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMResponseMetadata The metadata associated with a request.

func NewRUMResponseMetadata ¶ added in v1.11.0

func NewRUMResponseMetadata() *RUMResponseMetadata

NewRUMResponseMetadata instantiates a new RUMResponseMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUMResponseMetadataWithDefaults ¶ added in v1.11.0

func NewRUMResponseMetadataWithDefaults() *RUMResponseMetadata

NewRUMResponseMetadataWithDefaults instantiates a new RUMResponseMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUMResponseMetadata) GetElapsed ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetElapsed() int64

GetElapsed returns the Elapsed field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetElapsedOk ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetElapsedOk() (*int64, bool)

GetElapsedOk returns a tuple with the Elapsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseMetadata) GetPage ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetPage() RUMResponsePage

GetPage returns the Page field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetPageOk ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetPageOk() (*RUMResponsePage, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseMetadata) GetRequestId ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetRequestIdOk ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseMetadata) GetStatus ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetStatus() RUMResponseStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetStatusOk ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetStatusOk() (*RUMResponseStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseMetadata) GetWarnings ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetWarnings() []RUMWarning

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*RUMResponseMetadata) GetWarningsOk ¶ added in v1.11.0

func (o *RUMResponseMetadata) GetWarningsOk() (*[]RUMWarning, bool)

GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponseMetadata) HasElapsed ¶ added in v1.11.0

func (o *RUMResponseMetadata) HasElapsed() bool

HasElapsed returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasPage ¶ added in v1.11.0

func (o *RUMResponseMetadata) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasRequestId ¶ added in v1.11.0

func (o *RUMResponseMetadata) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasStatus ¶ added in v1.11.0

func (o *RUMResponseMetadata) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*RUMResponseMetadata) HasWarnings ¶ added in v1.11.0

func (o *RUMResponseMetadata) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (RUMResponseMetadata) MarshalJSON ¶ added in v1.11.0

func (o RUMResponseMetadata) MarshalJSON() ([]byte, error)

func (*RUMResponseMetadata) SetElapsed ¶ added in v1.11.0

func (o *RUMResponseMetadata) SetElapsed(v int64)

SetElapsed gets a reference to the given int64 and assigns it to the Elapsed field.

func (*RUMResponseMetadata) SetPage ¶ added in v1.11.0

func (o *RUMResponseMetadata) SetPage(v RUMResponsePage)

SetPage gets a reference to the given RUMResponsePage and assigns it to the Page field.

func (*RUMResponseMetadata) SetRequestId ¶ added in v1.11.0

func (o *RUMResponseMetadata) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*RUMResponseMetadata) SetStatus ¶ added in v1.11.0

func (o *RUMResponseMetadata) SetStatus(v RUMResponseStatus)

SetStatus gets a reference to the given RUMResponseStatus and assigns it to the Status field.

func (*RUMResponseMetadata) SetWarnings ¶ added in v1.11.0

func (o *RUMResponseMetadata) SetWarnings(v []RUMWarning)

SetWarnings gets a reference to the given []RUMWarning and assigns it to the Warnings field.

func (*RUMResponseMetadata) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMResponseMetadata) UnmarshalJSON(bytes []byte) (err error)

type RUMResponsePage ¶ added in v1.11.0

type RUMResponsePage struct {
	// The cursor to use to get the next results, if any. To make the next request, use the same parameters with the addition of `page[cursor]`.
	After *string `json:"after,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMResponsePage Paging attributes.

func NewRUMResponsePage ¶ added in v1.11.0

func NewRUMResponsePage() *RUMResponsePage

NewRUMResponsePage instantiates a new RUMResponsePage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUMResponsePageWithDefaults ¶ added in v1.11.0

func NewRUMResponsePageWithDefaults() *RUMResponsePage

NewRUMResponsePageWithDefaults instantiates a new RUMResponsePage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUMResponsePage) GetAfter ¶ added in v1.11.0

func (o *RUMResponsePage) GetAfter() string

GetAfter returns the After field value if set, zero value otherwise.

func (*RUMResponsePage) GetAfterOk ¶ added in v1.11.0

func (o *RUMResponsePage) GetAfterOk() (*string, bool)

GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMResponsePage) HasAfter ¶ added in v1.11.0

func (o *RUMResponsePage) HasAfter() bool

HasAfter returns a boolean if a field has been set.

func (RUMResponsePage) MarshalJSON ¶ added in v1.11.0

func (o RUMResponsePage) MarshalJSON() ([]byte, error)

func (*RUMResponsePage) SetAfter ¶ added in v1.11.0

func (o *RUMResponsePage) SetAfter(v string)

SetAfter gets a reference to the given string and assigns it to the After field.

func (*RUMResponsePage) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMResponsePage) UnmarshalJSON(bytes []byte) (err error)

type RUMResponseStatus ¶ added in v1.11.0

type RUMResponseStatus string

RUMResponseStatus The status of the response.

const (
	RUMRESPONSESTATUS_DONE    RUMResponseStatus = "done"
	RUMRESPONSESTATUS_TIMEOUT RUMResponseStatus = "timeout"
)

List of RUMResponseStatus

func NewRUMResponseStatusFromValue ¶ added in v1.11.0

func NewRUMResponseStatusFromValue(v string) (*RUMResponseStatus, error)

NewRUMResponseStatusFromValue returns a pointer to a valid RUMResponseStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*RUMResponseStatus) GetAllowedValues ¶ added in v1.11.0

func (w *RUMResponseStatus) GetAllowedValues() []RUMResponseStatus

func (RUMResponseStatus) IsValid ¶ added in v1.11.0

func (v RUMResponseStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RUMResponseStatus) Ptr ¶ added in v1.11.0

Ptr returns reference to RUMResponseStatus value

func (*RUMResponseStatus) UnmarshalJSON ¶ added in v1.11.0

func (v *RUMResponseStatus) UnmarshalJSON(src []byte) error

type RUMSearchEventsRequest ¶ added in v1.11.0

type RUMSearchEventsRequest struct {
	// The search and filter query settings.
	Filter *RUMQueryFilter `json:"filter,omitempty"`
	// Global query options that are used during the query.
	// Note: Only supply timezone or time offset, not both. Otherwise, the query fails.
	Options *RUMQueryOptions `json:"options,omitempty"`
	// Paging attributes for listing events.
	Page *RUMQueryPageOptions `json:"page,omitempty"`
	// Sort parameters when querying events.
	Sort *RUMSort `json:"sort,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMSearchEventsRequest The request for a RUM events list.

func NewRUMSearchEventsRequest ¶ added in v1.11.0

func NewRUMSearchEventsRequest() *RUMSearchEventsRequest

NewRUMSearchEventsRequest instantiates a new RUMSearchEventsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUMSearchEventsRequestWithDefaults ¶ added in v1.11.0

func NewRUMSearchEventsRequestWithDefaults() *RUMSearchEventsRequest

NewRUMSearchEventsRequestWithDefaults instantiates a new RUMSearchEventsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUMSearchEventsRequest) GetFilter ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetFilter() RUMQueryFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetFilterOk ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetFilterOk() (*RUMQueryFilter, bool)

GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMSearchEventsRequest) GetOptions ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetOptions() RUMQueryOptions

GetOptions returns the Options field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetOptionsOk ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetOptionsOk() (*RUMQueryOptions, bool)

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMSearchEventsRequest) GetPage ¶ added in v1.11.0

GetPage returns the Page field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetPageOk ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetPageOk() (*RUMQueryPageOptions, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMSearchEventsRequest) GetSort ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetSort() RUMSort

GetSort returns the Sort field value if set, zero value otherwise.

func (*RUMSearchEventsRequest) GetSortOk ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) GetSortOk() (*RUMSort, bool)

GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMSearchEventsRequest) HasFilter ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (*RUMSearchEventsRequest) HasOptions ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*RUMSearchEventsRequest) HasPage ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*RUMSearchEventsRequest) HasSort ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) HasSort() bool

HasSort returns a boolean if a field has been set.

func (RUMSearchEventsRequest) MarshalJSON ¶ added in v1.11.0

func (o RUMSearchEventsRequest) MarshalJSON() ([]byte, error)

func (*RUMSearchEventsRequest) SetFilter ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) SetFilter(v RUMQueryFilter)

SetFilter gets a reference to the given RUMQueryFilter and assigns it to the Filter field.

func (*RUMSearchEventsRequest) SetOptions ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) SetOptions(v RUMQueryOptions)

SetOptions gets a reference to the given RUMQueryOptions and assigns it to the Options field.

func (*RUMSearchEventsRequest) SetPage ¶ added in v1.11.0

SetPage gets a reference to the given RUMQueryPageOptions and assigns it to the Page field.

func (*RUMSearchEventsRequest) SetSort ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) SetSort(v RUMSort)

SetSort gets a reference to the given RUMSort and assigns it to the Sort field.

func (*RUMSearchEventsRequest) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMSearchEventsRequest) UnmarshalJSON(bytes []byte) (err error)

type RUMSort ¶ added in v1.11.0

type RUMSort string

RUMSort Sort parameters when querying events.

const (
	RUMSORT_TIMESTAMP_ASCENDING  RUMSort = "timestamp"
	RUMSORT_TIMESTAMP_DESCENDING RUMSort = "-timestamp"
)

List of RUMSort

func NewRUMSortFromValue ¶ added in v1.11.0

func NewRUMSortFromValue(v string) (*RUMSort, error)

NewRUMSortFromValue returns a pointer to a valid RUMSort for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*RUMSort) GetAllowedValues ¶ added in v1.11.0

func (w *RUMSort) GetAllowedValues() []RUMSort

func (RUMSort) IsValid ¶ added in v1.11.0

func (v RUMSort) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RUMSort) Ptr ¶ added in v1.11.0

func (v RUMSort) Ptr() *RUMSort

Ptr returns reference to RUMSort value

func (*RUMSort) UnmarshalJSON ¶ added in v1.11.0

func (v *RUMSort) UnmarshalJSON(src []byte) error

type RUMWarning ¶ added in v1.11.0

type RUMWarning struct {
	// A unique code for this type of warning.
	Code *string `json:"code,omitempty"`
	// A detailed explanation of this specific warning.
	Detail *string `json:"detail,omitempty"`
	// A short human-readable summary of the warning.
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RUMWarning A warning message indicating something that went wrong with the query.

func NewRUMWarning ¶ added in v1.11.0

func NewRUMWarning() *RUMWarning

NewRUMWarning instantiates a new RUMWarning object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRUMWarningWithDefaults ¶ added in v1.11.0

func NewRUMWarningWithDefaults() *RUMWarning

NewRUMWarningWithDefaults instantiates a new RUMWarning object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RUMWarning) GetCode ¶ added in v1.11.0

func (o *RUMWarning) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*RUMWarning) GetCodeOk ¶ added in v1.11.0

func (o *RUMWarning) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMWarning) GetDetail ¶ added in v1.11.0

func (o *RUMWarning) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*RUMWarning) GetDetailOk ¶ added in v1.11.0

func (o *RUMWarning) GetDetailOk() (*string, bool)

GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMWarning) GetTitle ¶ added in v1.11.0

func (o *RUMWarning) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*RUMWarning) GetTitleOk ¶ added in v1.11.0

func (o *RUMWarning) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RUMWarning) HasCode ¶ added in v1.11.0

func (o *RUMWarning) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*RUMWarning) HasDetail ¶ added in v1.11.0

func (o *RUMWarning) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*RUMWarning) HasTitle ¶ added in v1.11.0

func (o *RUMWarning) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (RUMWarning) MarshalJSON ¶ added in v1.11.0

func (o RUMWarning) MarshalJSON() ([]byte, error)

func (*RUMWarning) SetCode ¶ added in v1.11.0

func (o *RUMWarning) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*RUMWarning) SetDetail ¶ added in v1.11.0

func (o *RUMWarning) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*RUMWarning) SetTitle ¶ added in v1.11.0

func (o *RUMWarning) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*RUMWarning) UnmarshalJSON ¶ added in v1.11.0

func (o *RUMWarning) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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 ¶

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)

type RelationshipToIncidentIntegrationMetadatas ¶

type RelationshipToIncidentIntegrationMetadatas struct {
	// The integration metadata relationship array
	Data []RelationshipToIncidentIntegrationMetadataData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToIncidentIntegrationMetadatas A relationship reference for multiple integration metadata objects.

func NewRelationshipToIncidentIntegrationMetadatas ¶

func NewRelationshipToIncidentIntegrationMetadatas(data []RelationshipToIncidentIntegrationMetadataData) *RelationshipToIncidentIntegrationMetadatas

NewRelationshipToIncidentIntegrationMetadatas instantiates a new RelationshipToIncidentIntegrationMetadatas object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRelationshipToIncidentIntegrationMetadatasWithDefaults ¶

func NewRelationshipToIncidentIntegrationMetadatasWithDefaults() *RelationshipToIncidentIntegrationMetadatas

NewRelationshipToIncidentIntegrationMetadatasWithDefaults instantiates a new RelationshipToIncidentIntegrationMetadatas object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RelationshipToIncidentIntegrationMetadatas) GetData ¶

GetData returns the Data field value

func (*RelationshipToIncidentIntegrationMetadatas) GetDataOk ¶

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RelationshipToIncidentIntegrationMetadatas) MarshalJSON ¶

func (*RelationshipToIncidentIntegrationMetadatas) SetData ¶

SetData sets field value

func (*RelationshipToIncidentIntegrationMetadatas) UnmarshalJSON ¶

func (o *RelationshipToIncidentIntegrationMetadatas) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RelationshipToIncidentPostmortem) SetData ¶

SetData sets field value

func (*RelationshipToIncidentPostmortem) UnmarshalJSON ¶

func (o *RelationshipToIncidentPostmortem) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

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)

func (*RelationshipToOrganization) SetData ¶

SetData sets field value

func (*RelationshipToOrganization) UnmarshalJSON ¶

func (o *RelationshipToOrganization) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

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)

func (*RelationshipToOrganizations) SetData ¶

SetData sets field value

func (*RelationshipToOrganizations) UnmarshalJSON ¶

func (o *RelationshipToOrganizations) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RelationshipToPermission) SetData ¶

SetData gets a reference to the given RelationshipToPermissionData and assigns it to the Data field.

func (*RelationshipToPermission) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToPermission) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RelationshipToPermissionData) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*RelationshipToPermissionData) SetType ¶

SetType gets a reference to the given PermissionsType and assigns it to the Type field.

func (*RelationshipToPermissionData) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToPermissionData) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RelationshipToPermissions) SetData ¶

SetData gets a reference to the given []RelationshipToPermissionData and assigns it to the Data field.

func (*RelationshipToPermissions) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToPermissions) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RelationshipToRole) SetData ¶

SetData gets a reference to the given RelationshipToRoleData and assigns it to the Data field.

func (*RelationshipToRole) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToRole) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RelationshipToRoleData) SetId ¶

func (o *RelationshipToRoleData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RelationshipToRoleData) SetType ¶

func (o *RelationshipToRoleData) SetType(v RolesType)

SetType gets a reference to the given RolesType and assigns it to the Type field.

func (*RelationshipToRoleData) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToRoleData) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RelationshipToRoles) SetData ¶

SetData gets a reference to the given []RelationshipToRoleData and assigns it to the Data field.

func (*RelationshipToRoles) UnmarshalJSON ¶ added in v1.3.0

func (o *RelationshipToRoles) UnmarshalJSON(bytes []byte) (err error)

type RelationshipToSAMLAssertionAttribute ¶ added in v1.9.0

type RelationshipToSAMLAssertionAttribute struct {
	// Data of AuthN Mapping relationship to SAML Assertion Attribute.
	Data RelationshipToSAMLAssertionAttributeData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToSAMLAssertionAttribute AuthN Mapping relationship to SAML Assertion Attribute.

func NewRelationshipToSAMLAssertionAttribute ¶ added in v1.9.0

func NewRelationshipToSAMLAssertionAttribute(data RelationshipToSAMLAssertionAttributeData) *RelationshipToSAMLAssertionAttribute

NewRelationshipToSAMLAssertionAttribute instantiates a new RelationshipToSAMLAssertionAttribute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRelationshipToSAMLAssertionAttributeWithDefaults ¶ added in v1.9.0

func NewRelationshipToSAMLAssertionAttributeWithDefaults() *RelationshipToSAMLAssertionAttribute

NewRelationshipToSAMLAssertionAttributeWithDefaults instantiates a new RelationshipToSAMLAssertionAttribute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RelationshipToSAMLAssertionAttribute) GetData ¶ added in v1.9.0

GetData returns the Data field value

func (*RelationshipToSAMLAssertionAttribute) GetDataOk ¶ added in v1.9.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RelationshipToSAMLAssertionAttribute) MarshalJSON ¶ added in v1.9.0

func (o RelationshipToSAMLAssertionAttribute) MarshalJSON() ([]byte, error)

func (*RelationshipToSAMLAssertionAttribute) SetData ¶ added in v1.9.0

SetData sets field value

func (*RelationshipToSAMLAssertionAttribute) UnmarshalJSON ¶ added in v1.9.0

func (o *RelationshipToSAMLAssertionAttribute) UnmarshalJSON(bytes []byte) (err error)

type RelationshipToSAMLAssertionAttributeData ¶ added in v1.9.0

type RelationshipToSAMLAssertionAttributeData struct {
	// The ID of the SAML assertion attribute.
	Id int32 `json:"id"`
	// SAML assertion attributes resource type.
	Type SAMLAssertionAttributesType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RelationshipToSAMLAssertionAttributeData Data of AuthN Mapping relationship to SAML Assertion Attribute.

func NewRelationshipToSAMLAssertionAttributeData ¶ added in v1.9.0

func NewRelationshipToSAMLAssertionAttributeData(id int32, type_ SAMLAssertionAttributesType) *RelationshipToSAMLAssertionAttributeData

NewRelationshipToSAMLAssertionAttributeData instantiates a new RelationshipToSAMLAssertionAttributeData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRelationshipToSAMLAssertionAttributeDataWithDefaults ¶ added in v1.9.0

func NewRelationshipToSAMLAssertionAttributeDataWithDefaults() *RelationshipToSAMLAssertionAttributeData

NewRelationshipToSAMLAssertionAttributeDataWithDefaults instantiates a new RelationshipToSAMLAssertionAttributeData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RelationshipToSAMLAssertionAttributeData) GetId ¶ added in v1.9.0

GetId returns the Id field value

func (*RelationshipToSAMLAssertionAttributeData) GetIdOk ¶ added in v1.9.0

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RelationshipToSAMLAssertionAttributeData) GetType ¶ added in v1.9.0

GetType returns the Type field value

func (*RelationshipToSAMLAssertionAttributeData) GetTypeOk ¶ added in v1.9.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RelationshipToSAMLAssertionAttributeData) MarshalJSON ¶ added in v1.9.0

func (*RelationshipToSAMLAssertionAttributeData) SetId ¶ added in v1.9.0

SetId sets field value

func (*RelationshipToSAMLAssertionAttributeData) SetType ¶ added in v1.9.0

SetType sets field value

func (*RelationshipToSAMLAssertionAttributeData) UnmarshalJSON ¶ added in v1.9.0

func (o *RelationshipToSAMLAssertionAttributeData) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RelationshipToUser) SetData ¶

SetData sets field value

func (*RelationshipToUser) UnmarshalJSON ¶

func (o *RelationshipToUser) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

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)

func (*RelationshipToUsers) SetData ¶

SetData sets field value

func (*RelationshipToUsers) UnmarshalJSON ¶

func (o *RelationshipToUsers) UnmarshalJSON(bytes []byte) (err error)

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)

func (*ResponseMetaAttributes) SetPage ¶

func (o *ResponseMetaAttributes) SetPage(v Pagination)

SetPage gets a reference to the given Pagination and assigns it to the Page field.

func (*ResponseMetaAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *ResponseMetaAttributes) UnmarshalJSON(bytes []byte) (err error)

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(type_ 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)

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)

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)

func (*RoleAttributes) SetCreatedAt ¶

func (o *RoleAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*RoleAttributes) SetModifiedAt ¶

func (o *RoleAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*RoleAttributes) SetName ¶

func (o *RoleAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*RoleAttributes) SetUserCount ¶

func (o *RoleAttributes) SetUserCount(v int64)

SetUserCount gets a reference to the given int64 and assigns it to the UserCount field.

func (*RoleAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleAttributes) UnmarshalJSON(bytes []byte) (err error)

type RoleClone ¶ added in v1.8.0

type RoleClone struct {
	// Attributes required to create a new role by cloning an existing one.
	Attributes RoleCloneAttributes `json:"attributes"`
	// Roles type.
	Type RolesType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleClone Data for the clone role request.

func NewRoleClone ¶ added in v1.8.0

func NewRoleClone(attributes RoleCloneAttributes, type_ RolesType) *RoleClone

NewRoleClone instantiates a new RoleClone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleCloneWithDefaults ¶ added in v1.8.0

func NewRoleCloneWithDefaults() *RoleClone

NewRoleCloneWithDefaults instantiates a new RoleClone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoleClone) GetAttributes ¶ added in v1.8.0

func (o *RoleClone) GetAttributes() RoleCloneAttributes

GetAttributes returns the Attributes field value

func (*RoleClone) GetAttributesOk ¶ added in v1.8.0

func (o *RoleClone) GetAttributesOk() (*RoleCloneAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*RoleClone) GetType ¶ added in v1.8.0

func (o *RoleClone) GetType() RolesType

GetType returns the Type field value

func (*RoleClone) GetTypeOk ¶ added in v1.8.0

func (o *RoleClone) GetTypeOk() (*RolesType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RoleClone) MarshalJSON ¶ added in v1.8.0

func (o RoleClone) MarshalJSON() ([]byte, error)

func (*RoleClone) SetAttributes ¶ added in v1.8.0

func (o *RoleClone) SetAttributes(v RoleCloneAttributes)

SetAttributes sets field value

func (*RoleClone) SetType ¶ added in v1.8.0

func (o *RoleClone) SetType(v RolesType)

SetType sets field value

func (*RoleClone) UnmarshalJSON ¶ added in v1.8.0

func (o *RoleClone) UnmarshalJSON(bytes []byte) (err error)

type RoleCloneAttributes ¶ added in v1.8.0

type RoleCloneAttributes struct {
	// Name of the new role that is cloned.
	Name string `json:"name"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleCloneAttributes Attributes required to create a new role by cloning an existing one.

func NewRoleCloneAttributes ¶ added in v1.8.0

func NewRoleCloneAttributes(name string) *RoleCloneAttributes

NewRoleCloneAttributes instantiates a new RoleCloneAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleCloneAttributesWithDefaults ¶ added in v1.8.0

func NewRoleCloneAttributesWithDefaults() *RoleCloneAttributes

NewRoleCloneAttributesWithDefaults instantiates a new RoleCloneAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoleCloneAttributes) GetName ¶ added in v1.8.0

func (o *RoleCloneAttributes) GetName() string

GetName returns the Name field value

func (*RoleCloneAttributes) GetNameOk ¶ added in v1.8.0

func (o *RoleCloneAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (RoleCloneAttributes) MarshalJSON ¶ added in v1.8.0

func (o RoleCloneAttributes) MarshalJSON() ([]byte, error)

func (*RoleCloneAttributes) SetName ¶ added in v1.8.0

func (o *RoleCloneAttributes) SetName(v string)

SetName sets field value

func (*RoleCloneAttributes) UnmarshalJSON ¶ added in v1.8.0

func (o *RoleCloneAttributes) UnmarshalJSON(bytes []byte) (err error)

type RoleCloneRequest ¶ added in v1.8.0

type RoleCloneRequest struct {
	// Data for the clone role request.
	Data RoleClone `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleCloneRequest Request to create a role by cloning an existing role.

func NewRoleCloneRequest ¶ added in v1.8.0

func NewRoleCloneRequest(data RoleClone) *RoleCloneRequest

NewRoleCloneRequest instantiates a new RoleCloneRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleCloneRequestWithDefaults ¶ added in v1.8.0

func NewRoleCloneRequestWithDefaults() *RoleCloneRequest

NewRoleCloneRequestWithDefaults instantiates a new RoleCloneRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoleCloneRequest) GetData ¶ added in v1.8.0

func (o *RoleCloneRequest) GetData() RoleClone

GetData returns the Data field value

func (*RoleCloneRequest) GetDataOk ¶ added in v1.8.0

func (o *RoleCloneRequest) GetDataOk() (*RoleClone, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (RoleCloneRequest) MarshalJSON ¶ added in v1.8.0

func (o RoleCloneRequest) MarshalJSON() ([]byte, error)

func (*RoleCloneRequest) SetData ¶ added in v1.8.0

func (o *RoleCloneRequest) SetData(v RoleClone)

SetData sets field value

func (*RoleCloneRequest) UnmarshalJSON ¶ added in v1.8.0

func (o *RoleCloneRequest) UnmarshalJSON(bytes []byte) (err error)

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)

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)

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)

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)

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)

func (*RoleCreateRequest) SetData ¶

func (o *RoleCreateRequest) SetData(v RoleCreateData)

SetData sets field value

func (*RoleCreateRequest) UnmarshalJSON ¶

func (o *RoleCreateRequest) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RoleCreateResponse) SetData ¶

SetData gets a reference to the given RoleCreateResponseData and assigns it to the Data field.

func (*RoleCreateResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleCreateResponse) UnmarshalJSON(bytes []byte) (err error)

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(type_ 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)

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)

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)

func (*RoleRelationships) SetPermissions ¶

func (o *RoleRelationships) SetPermissions(v RelationshipToPermissions)

SetPermissions gets a reference to the given RelationshipToPermissions and assigns it to the Permissions field.

func (*RoleRelationships) SetUsers ¶

func (o *RoleRelationships) SetUsers(v RelationshipToUsers)

SetUsers gets a reference to the given RelationshipToUsers and assigns it to the Users field.

func (*RoleRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleRelationships) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RoleResponse) SetData ¶

func (o *RoleResponse) SetData(v Role)

SetData gets a reference to the given Role and assigns it to the Data field.

func (*RoleResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleResponse) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RoleResponseRelationships) SetPermissions ¶

SetPermissions gets a reference to the given RelationshipToPermissions and assigns it to the Permissions field.

func (*RoleResponseRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleResponseRelationships) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RoleUpdateAttributes) SetCreatedAt ¶

func (o *RoleUpdateAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*RoleUpdateAttributes) SetModifiedAt ¶

func (o *RoleUpdateAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*RoleUpdateAttributes) SetName ¶

func (o *RoleUpdateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*RoleUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

type RoleUpdateData ¶

type RoleUpdateData struct {
	// Attributes of the role.
	Attributes RoleUpdateAttributes `json:"attributes"`
	// The unique identifier of the role.
	Id string `json:"id"`
	// Roles type.
	Type RolesType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RoleUpdateData Data related to the update of a role.

func NewRoleUpdateData ¶

func NewRoleUpdateData(attributes RoleUpdateAttributes, id string, type_ RolesType) *RoleUpdateData

NewRoleUpdateData instantiates a new RoleUpdateData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleUpdateDataWithDefaults ¶

func NewRoleUpdateDataWithDefaults() *RoleUpdateData

NewRoleUpdateDataWithDefaults instantiates a new RoleUpdateData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RoleUpdateData) GetAttributes ¶

func (o *RoleUpdateData) GetAttributes() RoleUpdateAttributes

GetAttributes returns the Attributes field value

func (*RoleUpdateData) GetAttributesOk ¶

func (o *RoleUpdateData) GetAttributesOk() (*RoleUpdateAttributes, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*RoleUpdateData) GetId ¶

func (o *RoleUpdateData) GetId() string

GetId returns the Id field value

func (*RoleUpdateData) GetIdOk ¶

func (o *RoleUpdateData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RoleUpdateData) GetType ¶

func (o *RoleUpdateData) GetType() RolesType

GetType returns the Type field value

func (*RoleUpdateData) GetTypeOk ¶

func (o *RoleUpdateData) GetTypeOk() (*RolesType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (RoleUpdateData) MarshalJSON ¶

func (o RoleUpdateData) MarshalJSON() ([]byte, error)

func (*RoleUpdateData) SetAttributes ¶

func (o *RoleUpdateData) SetAttributes(v RoleUpdateAttributes)

SetAttributes sets field value

func (*RoleUpdateData) SetId ¶

func (o *RoleUpdateData) SetId(v string)

SetId sets field value

func (*RoleUpdateData) SetType ¶

func (o *RoleUpdateData) SetType(v RolesType)

SetType sets field value

func (*RoleUpdateData) UnmarshalJSON ¶

func (o *RoleUpdateData) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RoleUpdateRequest) SetData ¶

func (o *RoleUpdateRequest) SetData(v RoleUpdateData)

SetData sets field value

func (*RoleUpdateRequest) UnmarshalJSON ¶

func (o *RoleUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

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)

func (*RoleUpdateResponse) SetData ¶

SetData gets a reference to the given RoleUpdateResponseData and assigns it to the Data field.

func (*RoleUpdateResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *RoleUpdateResponse) UnmarshalJSON(bytes []byte) (err error)

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(type_ 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)

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)

type RolesApiService ¶

type RolesApiService service

RolesApiService RolesApi service

func (*RolesApiService) AddPermissionToRole ¶

* AddPermissionToRole Grant permission to a role * Adds a permission to a role.

func (*RolesApiService) AddUserToRole ¶

* AddUserToRole Add a user to a role * Adds a user to a role.

func (*RolesApiService) CloneRole ¶ added in v1.8.0

* CloneRole Create a new role by cloning an existing role * Clone an existing role

func (*RolesApiService) CreateRole ¶

* CreateRole Create role * Create a new role for your organization.

func (*RolesApiService) DeleteRole ¶

func (a *RolesApiService) DeleteRole(ctx _context.Context, roleId string) (*_nethttp.Response, error)

* DeleteRole Delete role * Disables a role.

func (*RolesApiService) GetRole ¶

* GetRole Get a role * Get a role in the organization specified by the role’s `role_id`.

func (*RolesApiService) ListPermissions ¶

* ListPermissions List permissions * Returns a list of all permissions, including name, description, and ID.

func (*RolesApiService) ListRolePermissions ¶

func (a *RolesApiService) ListRolePermissions(ctx _context.Context, roleId string) (PermissionsResponse, *_nethttp.Response, error)

* ListRolePermissions List permissions for a role * Returns a list of all permissions for a single role.

func (*RolesApiService) ListRoleUsers ¶

* ListRoleUsers Get all users of a role * Gets all users of a role.

func (*RolesApiService) ListRoles ¶

* ListRoles List roles * Returns all roles, including their names and their unique identifiers.

func (*RolesApiService) RemovePermissionFromRole ¶

func (a *RolesApiService) RemovePermissionFromRole(ctx _context.Context, roleId string, body RelationshipToPermission) (PermissionsResponse, *_nethttp.Response, error)

* RemovePermissionFromRole Revoke permission * Removes a permission from a role.

func (*RolesApiService) RemoveUserFromRole ¶

func (a *RolesApiService) RemoveUserFromRole(ctx _context.Context, roleId string, body RelationshipToUser) (UsersResponse, *_nethttp.Response, error)

* RemoveUserFromRole Remove a user from a role * Removes a user from a role.

func (*RolesApiService) UpdateRole ¶

* UpdateRole Update a role * Edit a role. Can only be used with application keys belonging to administrators.

type RolesResponse ¶

type RolesResponse struct {
	// Array of returned roles.
	Data *[]Role `json:"data,omitempty"`
	// Object describing meta attributes of response.
	Meta *ResponseMetaAttributes `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

RolesResponse Response containing information about multiple roles.

func NewRolesResponse ¶

func NewRolesResponse() *RolesResponse

NewRolesResponse instantiates a new RolesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRolesResponseWithDefaults ¶

func NewRolesResponseWithDefaults() *RolesResponse

NewRolesResponseWithDefaults instantiates a new RolesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RolesResponse) GetData ¶

func (o *RolesResponse) GetData() []Role

GetData returns the Data field value if set, zero value otherwise.

func (*RolesResponse) GetDataOk ¶

func (o *RolesResponse) GetDataOk() (*[]Role, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RolesResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*RolesResponse) GetMetaOk ¶

func (o *RolesResponse) GetMetaOk() (*ResponseMetaAttributes, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RolesResponse) HasData ¶

func (o *RolesResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*RolesResponse) HasMeta ¶

func (o *RolesResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (RolesResponse) MarshalJSON ¶

func (o RolesResponse) MarshalJSON() ([]byte, error)

func (*RolesResponse) SetData ¶

func (o *RolesResponse) SetData(v []Role)

SetData gets a reference to the given []Role and assigns it to the Data field.

func (*RolesResponse) SetMeta ¶

func (o *RolesResponse) SetMeta(v ResponseMetaAttributes)

SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.

func (*RolesResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *RolesResponse) UnmarshalJSON(bytes []byte) (err error)

type RolesSort ¶

type RolesSort string

RolesSort Sorting options for roles.

const (
	ROLESSORT_NAME_ASCENDING         RolesSort = "name"
	ROLESSORT_NAME_DESCENDING        RolesSort = "-name"
	ROLESSORT_MODIFIED_AT_ASCENDING  RolesSort = "modified_at"
	ROLESSORT_MODIFIED_AT_DESCENDING RolesSort = "-modified_at"
	ROLESSORT_USER_COUNT_ASCENDING   RolesSort = "user_count"
	ROLESSORT_USER_COUNT_DESCENDING  RolesSort = "-user_count"
)

List of RolesSort

func NewRolesSortFromValue ¶

func NewRolesSortFromValue(v string) (*RolesSort, error)

NewRolesSortFromValue returns a pointer to a valid RolesSort for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*RolesSort) GetAllowedValues ¶ added in v1.1.0

func (w *RolesSort) GetAllowedValues() []RolesSort

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

type RolesType ¶

type RolesType string

RolesType Roles type.

const (
	ROLESTYPE_ROLES RolesType = "roles"
)

List of RolesType

func NewRolesTypeFromValue ¶

func NewRolesTypeFromValue(v string) (*RolesType, error)

NewRolesTypeFromValue returns a pointer to a valid RolesType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*RolesType) GetAllowedValues ¶ added in v1.1.0

func (w *RolesType) GetAllowedValues() []RolesType

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

type SAMLAssertionAttribute ¶ added in v1.9.0

type SAMLAssertionAttribute struct {
	// Key/Value pair of attributes used in SAML assertion attributes.
	Attributes *SAMLAssertionAttributeAttributes `json:"attributes,omitempty"`
	// The ID of the SAML assertion attribute.
	Id int32 `json:"id"`
	// SAML assertion attributes resource type.
	Type SAMLAssertionAttributesType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SAMLAssertionAttribute SAML assertion attribute.

func NewSAMLAssertionAttribute ¶ added in v1.9.0

func NewSAMLAssertionAttribute(id int32, type_ SAMLAssertionAttributesType) *SAMLAssertionAttribute

NewSAMLAssertionAttribute instantiates a new SAMLAssertionAttribute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSAMLAssertionAttributeWithDefaults ¶ added in v1.9.0

func NewSAMLAssertionAttributeWithDefaults() *SAMLAssertionAttribute

NewSAMLAssertionAttributeWithDefaults instantiates a new SAMLAssertionAttribute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SAMLAssertionAttribute) GetAttributes ¶ added in v1.9.0

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*SAMLAssertionAttribute) GetAttributesOk ¶ added in v1.9.0

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SAMLAssertionAttribute) GetId ¶ added in v1.9.0

func (o *SAMLAssertionAttribute) GetId() int32

GetId returns the Id field value

func (*SAMLAssertionAttribute) GetIdOk ¶ added in v1.9.0

func (o *SAMLAssertionAttribute) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SAMLAssertionAttribute) GetType ¶ added in v1.9.0

GetType returns the Type field value

func (*SAMLAssertionAttribute) GetTypeOk ¶ added in v1.9.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SAMLAssertionAttribute) HasAttributes ¶ added in v1.9.0

func (o *SAMLAssertionAttribute) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (SAMLAssertionAttribute) MarshalJSON ¶ added in v1.9.0

func (o SAMLAssertionAttribute) MarshalJSON() ([]byte, error)

func (*SAMLAssertionAttribute) SetAttributes ¶ added in v1.9.0

SetAttributes gets a reference to the given SAMLAssertionAttributeAttributes and assigns it to the Attributes field.

func (*SAMLAssertionAttribute) SetId ¶ added in v1.9.0

func (o *SAMLAssertionAttribute) SetId(v int32)

SetId sets field value

func (*SAMLAssertionAttribute) SetType ¶ added in v1.9.0

SetType sets field value

func (*SAMLAssertionAttribute) UnmarshalJSON ¶ added in v1.9.0

func (o *SAMLAssertionAttribute) UnmarshalJSON(bytes []byte) (err error)

type SAMLAssertionAttributeAttributes ¶ added in v1.9.0

type SAMLAssertionAttributeAttributes struct {
	// Key portion of a key/value pair of the attribute sent from the Identity Provider.
	AttributeKey *string `json:"attribute_key,omitempty"`
	// Value portion of a key/value pair of the attribute sent from the Identity Provider.
	AttributeValue *string `json:"attribute_value,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SAMLAssertionAttributeAttributes Key/Value pair of attributes used in SAML assertion attributes.

func NewSAMLAssertionAttributeAttributes ¶ added in v1.9.0

func NewSAMLAssertionAttributeAttributes() *SAMLAssertionAttributeAttributes

NewSAMLAssertionAttributeAttributes instantiates a new SAMLAssertionAttributeAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSAMLAssertionAttributeAttributesWithDefaults ¶ added in v1.9.0

func NewSAMLAssertionAttributeAttributesWithDefaults() *SAMLAssertionAttributeAttributes

NewSAMLAssertionAttributeAttributesWithDefaults instantiates a new SAMLAssertionAttributeAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SAMLAssertionAttributeAttributes) GetAttributeKey ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) GetAttributeKey() string

GetAttributeKey returns the AttributeKey field value if set, zero value otherwise.

func (*SAMLAssertionAttributeAttributes) GetAttributeKeyOk ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) GetAttributeKeyOk() (*string, bool)

GetAttributeKeyOk returns a tuple with the AttributeKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SAMLAssertionAttributeAttributes) GetAttributeValue ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) GetAttributeValue() string

GetAttributeValue returns the AttributeValue field value if set, zero value otherwise.

func (*SAMLAssertionAttributeAttributes) GetAttributeValueOk ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) GetAttributeValueOk() (*string, bool)

GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SAMLAssertionAttributeAttributes) HasAttributeKey ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) HasAttributeKey() bool

HasAttributeKey returns a boolean if a field has been set.

func (*SAMLAssertionAttributeAttributes) HasAttributeValue ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) HasAttributeValue() bool

HasAttributeValue returns a boolean if a field has been set.

func (SAMLAssertionAttributeAttributes) MarshalJSON ¶ added in v1.9.0

func (o SAMLAssertionAttributeAttributes) MarshalJSON() ([]byte, error)

func (*SAMLAssertionAttributeAttributes) SetAttributeKey ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) SetAttributeKey(v string)

SetAttributeKey gets a reference to the given string and assigns it to the AttributeKey field.

func (*SAMLAssertionAttributeAttributes) SetAttributeValue ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) SetAttributeValue(v string)

SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field.

func (*SAMLAssertionAttributeAttributes) UnmarshalJSON ¶ added in v1.9.0

func (o *SAMLAssertionAttributeAttributes) UnmarshalJSON(bytes []byte) (err error)

type SAMLAssertionAttributesType ¶ added in v1.9.0

type SAMLAssertionAttributesType string

SAMLAssertionAttributesType SAML assertion attributes resource type.

const (
	SAMLASSERTIONATTRIBUTESTYPE_SAML_ASSERTION_ATTRIBUTES SAMLAssertionAttributesType = "saml_assertion_attributes"
)

List of SAMLAssertionAttributesType

func NewSAMLAssertionAttributesTypeFromValue ¶ added in v1.9.0

func NewSAMLAssertionAttributesTypeFromValue(v string) (*SAMLAssertionAttributesType, error)

NewSAMLAssertionAttributesTypeFromValue returns a pointer to a valid SAMLAssertionAttributesType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SAMLAssertionAttributesType) GetAllowedValues ¶ added in v1.9.0

func (SAMLAssertionAttributesType) IsValid ¶ added in v1.9.0

func (v SAMLAssertionAttributesType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SAMLAssertionAttributesType) Ptr ¶ added in v1.9.0

Ptr returns reference to SAMLAssertionAttributesType value

func (*SAMLAssertionAttributesType) UnmarshalJSON ¶ added in v1.9.0

func (v *SAMLAssertionAttributesType) UnmarshalJSON(src []byte) error

type SearchAuditLogsOptionalParameters ¶ added in v1.11.0

type SearchAuditLogsOptionalParameters struct {
	Body *AuditLogsSearchEventsRequest
}

func NewSearchAuditLogsOptionalParameters ¶ added in v1.11.0

func NewSearchAuditLogsOptionalParameters() *SearchAuditLogsOptionalParameters

func (*SearchAuditLogsOptionalParameters) WithBody ¶ added in v1.11.0

type SearchRUMEventsOptionalParameters ¶ added in v1.11.0

type SearchRUMEventsOptionalParameters struct {
	Body *RUMSearchEventsRequest
}

func NewSearchRUMEventsOptionalParameters ¶ added in v1.11.0

func NewSearchRUMEventsOptionalParameters() *SearchRUMEventsOptionalParameters

func (*SearchRUMEventsOptionalParameters) WithBody ¶ added in v1.11.0

type SearchSecurityMonitoringSignalsOptionalParameters ¶

type SearchSecurityMonitoringSignalsOptionalParameters struct {
	Body *SecurityMonitoringSignalListRequest
}

func NewSearchSecurityMonitoringSignalsOptionalParameters ¶

func NewSearchSecurityMonitoringSignalsOptionalParameters() *SearchSecurityMonitoringSignalsOptionalParameters

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)

func (*SecurityFilter) SetAttributes ¶

func (o *SecurityFilter) SetAttributes(v SecurityFilterAttributes)

SetAttributes gets a reference to the given SecurityFilterAttributes and assigns it to the Attributes field.

func (*SecurityFilter) SetId ¶

func (o *SecurityFilter) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityFilter) SetType ¶

func (o *SecurityFilter) SetType(v SecurityFilterType)

SetType gets a reference to the given SecurityFilterType and assigns it to the Type field.

func (*SecurityFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilter) UnmarshalJSON(bytes []byte) (err error)

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)

func (*SecurityFilterAttributes) SetExclusionFilters ¶

SetExclusionFilters gets a reference to the given []SecurityFilterExclusionFilterResponse and assigns it to the ExclusionFilters field.

func (*SecurityFilterAttributes) SetFilteredDataType ¶

func (o *SecurityFilterAttributes) SetFilteredDataType(v SecurityFilterFilteredDataType)

SetFilteredDataType gets a reference to the given SecurityFilterFilteredDataType and assigns it to the FilteredDataType field.

func (*SecurityFilterAttributes) SetIsBuiltin ¶

func (o *SecurityFilterAttributes) SetIsBuiltin(v bool)

SetIsBuiltin gets a reference to the given bool and assigns it to the IsBuiltin field.

func (*SecurityFilterAttributes) SetIsEnabled ¶

func (o *SecurityFilterAttributes) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SecurityFilterAttributes) SetName ¶

func (o *SecurityFilterAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityFilterAttributes) SetQuery ¶

func (o *SecurityFilterAttributes) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityFilterAttributes) SetVersion ¶

func (o *SecurityFilterAttributes) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

func (*SecurityFilterAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilterAttributes) UnmarshalJSON(bytes []byte) (err error)

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)

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)

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, type_ 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)

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)

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)

func (*SecurityFilterCreateRequest) SetData ¶

SetData sets field value

func (*SecurityFilterCreateRequest) UnmarshalJSON ¶

func (o *SecurityFilterCreateRequest) UnmarshalJSON(bytes []byte) (err error)

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)

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)

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)

func (*SecurityFilterExclusionFilterResponse) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityFilterExclusionFilterResponse) SetQuery ¶

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityFilterExclusionFilterResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilterExclusionFilterResponse) UnmarshalJSON(bytes []byte) (err error)

type SecurityFilterFilteredDataType ¶

type SecurityFilterFilteredDataType string

SecurityFilterFilteredDataType The filtered data type.

const (
	SECURITYFILTERFILTEREDDATATYPE_LOGS SecurityFilterFilteredDataType = "logs"
)

List of SecurityFilterFilteredDataType

func NewSecurityFilterFilteredDataTypeFromValue ¶

func NewSecurityFilterFilteredDataTypeFromValue(v string) (*SecurityFilterFilteredDataType, error)

NewSecurityFilterFilteredDataTypeFromValue returns a pointer to a valid SecurityFilterFilteredDataType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityFilterFilteredDataType) GetAllowedValues ¶ added in v1.1.0

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

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)

func (*SecurityFilterMeta) SetWarning ¶

func (o *SecurityFilterMeta) SetWarning(v string)

SetWarning gets a reference to the given string and assigns it to the Warning field.

func (*SecurityFilterMeta) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilterMeta) UnmarshalJSON(bytes []byte) (err error)

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)

func (*SecurityFilterResponse) SetData ¶

func (o *SecurityFilterResponse) SetData(v SecurityFilter)

SetData gets a reference to the given SecurityFilter and assigns it to the Data field.

func (*SecurityFilterResponse) SetMeta ¶

SetMeta gets a reference to the given SecurityFilterMeta and assigns it to the Meta field.

func (*SecurityFilterResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilterResponse) UnmarshalJSON(bytes []byte) (err error)

type SecurityFilterType ¶

type SecurityFilterType string

SecurityFilterType The type of the resource. The value should always be `security_filters`.

const (
	SECURITYFILTERTYPE_SECURITY_FILTERS SecurityFilterType = "security_filters"
)

List of SecurityFilterType

func NewSecurityFilterTypeFromValue ¶

func NewSecurityFilterTypeFromValue(v string) (*SecurityFilterType, error)

NewSecurityFilterTypeFromValue returns a pointer to a valid SecurityFilterType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityFilterType) GetAllowedValues ¶ added in v1.1.0

func (w *SecurityFilterType) GetAllowedValues() []SecurityFilterType

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

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)

func (*SecurityFilterUpdateAttributes) SetExclusionFilters ¶

SetExclusionFilters gets a reference to the given []SecurityFilterExclusionFilter and assigns it to the ExclusionFilters field.

func (*SecurityFilterUpdateAttributes) SetFilteredDataType ¶

SetFilteredDataType gets a reference to the given SecurityFilterFilteredDataType and assigns it to the FilteredDataType field.

func (*SecurityFilterUpdateAttributes) SetIsEnabled ¶

func (o *SecurityFilterUpdateAttributes) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SecurityFilterUpdateAttributes) SetName ¶

func (o *SecurityFilterUpdateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityFilterUpdateAttributes) SetQuery ¶

func (o *SecurityFilterUpdateAttributes) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityFilterUpdateAttributes) SetVersion ¶

func (o *SecurityFilterUpdateAttributes) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

func (*SecurityFilterUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFilterUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

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)

func (*SecurityFilterUpdateRequest) SetData ¶

SetData sets field value

func (*SecurityFilterUpdateRequest) UnmarshalJSON ¶

func (o *SecurityFilterUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

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)

func (*SecurityFiltersResponse) SetData ¶

func (o *SecurityFiltersResponse) SetData(v []SecurityFilter)

SetData gets a reference to the given []SecurityFilter and assigns it to the Data field.

func (*SecurityFiltersResponse) SetMeta ¶

SetMeta gets a reference to the given SecurityFilterMeta and assigns it to the Meta field.

func (*SecurityFiltersResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityFiltersResponse) UnmarshalJSON(bytes []byte) (err error)

type SecurityMonitoringApiService ¶

type SecurityMonitoringApiService service

SecurityMonitoringApiService SecurityMonitoringApi service

func (*SecurityMonitoringApiService) CreateSecurityFilter ¶

* CreateSecurityFilter Create a security filter * Create a security filter. * * See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) * for more examples.

func (*SecurityMonitoringApiService) CreateSecurityMonitoringRule ¶

* CreateSecurityMonitoringRule Create a detection rule * Create a detection rule.

func (*SecurityMonitoringApiService) DeleteSecurityFilter ¶

func (a *SecurityMonitoringApiService) DeleteSecurityFilter(ctx _context.Context, securityFilterId string) (*_nethttp.Response, error)

* DeleteSecurityFilter Delete a security filter * Delete a specific security filter.

func (*SecurityMonitoringApiService) DeleteSecurityMonitoringRule ¶

func (a *SecurityMonitoringApiService) DeleteSecurityMonitoringRule(ctx _context.Context, ruleId string) (*_nethttp.Response, error)

* DeleteSecurityMonitoringRule Delete an existing rule * Delete an existing rule. Default rules cannot be deleted.

func (*SecurityMonitoringApiService) GetSecurityFilter ¶

func (a *SecurityMonitoringApiService) GetSecurityFilter(ctx _context.Context, securityFilterId string) (SecurityFilterResponse, *_nethttp.Response, error)

* GetSecurityFilter Get a security filter * Get the details of a specific security filter. * * See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) * for more examples.

func (*SecurityMonitoringApiService) GetSecurityMonitoringRule ¶

* GetSecurityMonitoringRule Get a rule's details * Get a rule's details.

func (*SecurityMonitoringApiService) ListSecurityFilters ¶

* ListSecurityFilters Get all security filters * Get the list of configured security filters with their definitions.

func (*SecurityMonitoringApiService) ListSecurityMonitoringRules ¶

* ListSecurityMonitoringRules List rules * List rules.

func (*SecurityMonitoringApiService) ListSecurityMonitoringSignals ¶

* ListSecurityMonitoringSignals Get a quick list of security signals * The list endpoint returns security signals that match a search query. * Both this endpoint and the POST endpoint can be used interchangeably when listing * security signals.

func (*SecurityMonitoringApiService) SearchSecurityMonitoringSignals ¶

* SearchSecurityMonitoringSignals Get a list of security signals * Returns security signals that match a search query. * Both this endpoint and the GET endpoint can be used interchangeably for listing * security signals.

func (*SecurityMonitoringApiService) UpdateSecurityFilter ¶

* UpdateSecurityFilter Update a security filter * Update a specific security filter. * Returns the security filter object when the request is successful.

func (*SecurityMonitoringApiService) UpdateSecurityMonitoringRule ¶

* UpdateSecurityMonitoringRule Update an existing rule * Update an existing rule. When updating `cases`, `queries` or `options`, the whole field * must be included. For example, when modifying a query all queries must be included. * Default rules can only be updated to be enabled and to change notifications.

type SecurityMonitoringFilter ¶

type SecurityMonitoringFilter struct {
	// The type of filtering action.
	Action *SecurityMonitoringFilterAction `json:"action,omitempty"`
	// Query for selecting logs to apply the filtering action.
	Query *string `json:"query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringFilter The rule's suppression filter.

func NewSecurityMonitoringFilter ¶

func NewSecurityMonitoringFilter() *SecurityMonitoringFilter

NewSecurityMonitoringFilter instantiates a new SecurityMonitoringFilter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityMonitoringFilterWithDefaults ¶

func NewSecurityMonitoringFilterWithDefaults() *SecurityMonitoringFilter

NewSecurityMonitoringFilterWithDefaults instantiates a new SecurityMonitoringFilter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityMonitoringFilter) GetAction ¶

GetAction returns the Action field value if set, zero value otherwise.

func (*SecurityMonitoringFilter) GetActionOk ¶

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringFilter) GetQuery ¶

func (o *SecurityMonitoringFilter) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*SecurityMonitoringFilter) GetQueryOk ¶

func (o *SecurityMonitoringFilter) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringFilter) HasAction ¶

func (o *SecurityMonitoringFilter) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*SecurityMonitoringFilter) HasQuery ¶

func (o *SecurityMonitoringFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (SecurityMonitoringFilter) MarshalJSON ¶

func (o SecurityMonitoringFilter) MarshalJSON() ([]byte, error)

func (*SecurityMonitoringFilter) SetAction ¶

SetAction gets a reference to the given SecurityMonitoringFilterAction and assigns it to the Action field.

func (*SecurityMonitoringFilter) SetQuery ¶

func (o *SecurityMonitoringFilter) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityMonitoringFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringFilter) UnmarshalJSON(bytes []byte) (err error)

type SecurityMonitoringFilterAction ¶

type SecurityMonitoringFilterAction string

SecurityMonitoringFilterAction The type of filtering action.

const (
	SECURITYMONITORINGFILTERACTION_REQUIRE  SecurityMonitoringFilterAction = "require"
	SECURITYMONITORINGFILTERACTION_SUPPRESS SecurityMonitoringFilterAction = "suppress"
)

List of SecurityMonitoringFilterAction

func NewSecurityMonitoringFilterActionFromValue ¶

func NewSecurityMonitoringFilterActionFromValue(v string) (*SecurityMonitoringFilterAction, error)

NewSecurityMonitoringFilterActionFromValue returns a pointer to a valid SecurityMonitoringFilterAction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringFilterAction) GetAllowedValues ¶ added in v1.1.0

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

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)

func (*SecurityMonitoringListRulesResponse) SetData ¶

SetData gets a reference to the given []SecurityMonitoringRuleResponse and assigns it to the Data field.

func (*SecurityMonitoringListRulesResponse) SetMeta ¶

SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.

func (*SecurityMonitoringListRulesResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringListRulesResponse) UnmarshalJSON(bytes []byte) (err error)

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)

func (*SecurityMonitoringRuleCase) SetCondition ¶

func (o *SecurityMonitoringRuleCase) SetCondition(v string)

SetCondition gets a reference to the given string and assigns it to the Condition field.

func (*SecurityMonitoringRuleCase) SetName ¶

func (o *SecurityMonitoringRuleCase) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleCase) SetNotifications ¶

func (o *SecurityMonitoringRuleCase) SetNotifications(v []string)

SetNotifications gets a reference to the given []string and assigns it to the Notifications field.

func (*SecurityMonitoringRuleCase) SetStatus ¶

SetStatus gets a reference to the given SecurityMonitoringRuleSeverity and assigns it to the Status field.

func (*SecurityMonitoringRuleCase) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleCase) UnmarshalJSON(bytes []byte) (err error)

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)

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)

type SecurityMonitoringRuleCreatePayload ¶

type SecurityMonitoringRuleCreatePayload struct {
	// Cases for generating signals.
	Cases []SecurityMonitoringRuleCaseCreate `json:"cases"`
	// Additional queries to filter matched events before they are processed.
	Filters *[]SecurityMonitoringFilter `json:"filters,omitempty"`
	// Whether the notifications include the triggering group-by values in their title.
	HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty"`
	// Whether the rule is enabled.
	IsEnabled bool `json:"isEnabled"`
	// Message for generated signals.
	Message string `json:"message"`
	// The name of the rule.
	Name string `json:"name"`
	// Options on rules.
	Options SecurityMonitoringRuleOptions `json:"options"`
	// Queries for selecting logs which are part of the rule.
	Queries []SecurityMonitoringRuleQueryCreate `json:"queries"`
	// Tags for generated signals.
	Tags *[]string `json:"tags,omitempty"`
	// The rule type.
	Type *SecurityMonitoringRuleTypeCreate `json:"type,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleCreatePayload Create a new rule.

func NewSecurityMonitoringRuleCreatePayload ¶

func NewSecurityMonitoringRuleCreatePayload(cases []SecurityMonitoringRuleCaseCreate, isEnabled bool, message string, name string, options SecurityMonitoringRuleOptions, queries []SecurityMonitoringRuleQueryCreate) *SecurityMonitoringRuleCreatePayload

NewSecurityMonitoringRuleCreatePayload instantiates a new SecurityMonitoringRuleCreatePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityMonitoringRuleCreatePayloadWithDefaults ¶

func NewSecurityMonitoringRuleCreatePayloadWithDefaults() *SecurityMonitoringRuleCreatePayload

NewSecurityMonitoringRuleCreatePayloadWithDefaults instantiates a new SecurityMonitoringRuleCreatePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityMonitoringRuleCreatePayload) GetCases ¶

GetCases returns the Cases field value

func (*SecurityMonitoringRuleCreatePayload) GetCasesOk ¶

GetCasesOk returns a tuple with the Cases field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetFilters ¶

GetFilters returns the Filters field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCreatePayload) GetFiltersOk ¶

GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleCreatePayload) GetHasExtendedTitle() bool

GetHasExtendedTitle returns the HasExtendedTitle field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCreatePayload) GetHasExtendedTitleOk ¶ added in v1.1.0

func (o *SecurityMonitoringRuleCreatePayload) GetHasExtendedTitleOk() (*bool, bool)

GetHasExtendedTitleOk returns a tuple with the HasExtendedTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetIsEnabled ¶

func (o *SecurityMonitoringRuleCreatePayload) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value

func (*SecurityMonitoringRuleCreatePayload) GetIsEnabledOk ¶

func (o *SecurityMonitoringRuleCreatePayload) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetMessage ¶

GetMessage returns the Message field value

func (*SecurityMonitoringRuleCreatePayload) GetMessageOk ¶

func (o *SecurityMonitoringRuleCreatePayload) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetName ¶

GetName returns the Name field value

func (*SecurityMonitoringRuleCreatePayload) GetNameOk ¶

func (o *SecurityMonitoringRuleCreatePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetOptions ¶

GetOptions returns the Options field value

func (*SecurityMonitoringRuleCreatePayload) GetOptionsOk ¶

GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetQueries ¶

GetQueries returns the Queries field value

func (*SecurityMonitoringRuleCreatePayload) GetQueriesOk ¶

GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCreatePayload) GetTagsOk ¶

func (o *SecurityMonitoringRuleCreatePayload) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) GetType ¶ added in v1.3.0

GetType returns the Type field value if set, zero value otherwise.

func (*SecurityMonitoringRuleCreatePayload) GetTypeOk ¶ added in v1.3.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleCreatePayload) HasFilters ¶

func (o *SecurityMonitoringRuleCreatePayload) HasFilters() bool

HasFilters returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCreatePayload) HasHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleCreatePayload) HasHasExtendedTitle() bool

HasHasExtendedTitle returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCreatePayload) HasTags ¶

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringRuleCreatePayload) HasType ¶ added in v1.3.0

HasType returns a boolean if a field has been set.

func (SecurityMonitoringRuleCreatePayload) MarshalJSON ¶

func (o SecurityMonitoringRuleCreatePayload) MarshalJSON() ([]byte, error)

func (*SecurityMonitoringRuleCreatePayload) SetCases ¶

SetCases sets field value

func (*SecurityMonitoringRuleCreatePayload) SetFilters ¶

SetFilters gets a reference to the given []SecurityMonitoringFilter and assigns it to the Filters field.

func (*SecurityMonitoringRuleCreatePayload) SetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleCreatePayload) SetHasExtendedTitle(v bool)

SetHasExtendedTitle gets a reference to the given bool and assigns it to the HasExtendedTitle field.

func (*SecurityMonitoringRuleCreatePayload) SetIsEnabled ¶

func (o *SecurityMonitoringRuleCreatePayload) SetIsEnabled(v bool)

SetIsEnabled sets field value

func (*SecurityMonitoringRuleCreatePayload) SetMessage ¶

SetMessage sets field value

func (*SecurityMonitoringRuleCreatePayload) SetName ¶

SetName sets field value

func (*SecurityMonitoringRuleCreatePayload) SetOptions ¶

SetOptions sets field value

func (*SecurityMonitoringRuleCreatePayload) SetQueries ¶

SetQueries sets field value

func (*SecurityMonitoringRuleCreatePayload) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringRuleCreatePayload) SetType ¶ added in v1.3.0

SetType gets a reference to the given SecurityMonitoringRuleTypeCreate and assigns it to the Type field.

func (*SecurityMonitoringRuleCreatePayload) UnmarshalJSON ¶

func (o *SecurityMonitoringRuleCreatePayload) UnmarshalJSON(bytes []byte) (err error)

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"
)

List of SecurityMonitoringRuleDetectionMethod

func NewSecurityMonitoringRuleDetectionMethodFromValue ¶

func NewSecurityMonitoringRuleDetectionMethodFromValue(v string) (*SecurityMonitoringRuleDetectionMethod, error)

NewSecurityMonitoringRuleDetectionMethodFromValue returns a pointer to a valid SecurityMonitoringRuleDetectionMethod for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringRuleDetectionMethod) GetAllowedValues ¶ added in v1.1.0

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

type SecurityMonitoringRuleEvaluationWindow ¶

type SecurityMonitoringRuleEvaluationWindow int32

SecurityMonitoringRuleEvaluationWindow A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time.

const (
	SECURITYMONITORINGRULEEVALUATIONWINDOW_ZERO_MINUTES    SecurityMonitoringRuleEvaluationWindow = 0
	SECURITYMONITORINGRULEEVALUATIONWINDOW_ONE_MINUTE      SecurityMonitoringRuleEvaluationWindow = 60
	SECURITYMONITORINGRULEEVALUATIONWINDOW_FIVE_MINUTES    SecurityMonitoringRuleEvaluationWindow = 300
	SECURITYMONITORINGRULEEVALUATIONWINDOW_TEN_MINUTES     SecurityMonitoringRuleEvaluationWindow = 600
	SECURITYMONITORINGRULEEVALUATIONWINDOW_FIFTEEN_MINUTES SecurityMonitoringRuleEvaluationWindow = 900
	SECURITYMONITORINGRULEEVALUATIONWINDOW_THIRTY_MINUTES  SecurityMonitoringRuleEvaluationWindow = 1800
	SECURITYMONITORINGRULEEVALUATIONWINDOW_ONE_HOUR        SecurityMonitoringRuleEvaluationWindow = 3600
	SECURITYMONITORINGRULEEVALUATIONWINDOW_TWO_HOURS       SecurityMonitoringRuleEvaluationWindow = 7200
)

List of SecurityMonitoringRuleEvaluationWindow

func NewSecurityMonitoringRuleEvaluationWindowFromValue ¶

func NewSecurityMonitoringRuleEvaluationWindowFromValue(v int32) (*SecurityMonitoringRuleEvaluationWindow, error)

NewSecurityMonitoringRuleEvaluationWindowFromValue returns a pointer to a valid SecurityMonitoringRuleEvaluationWindow for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringRuleEvaluationWindow) GetAllowedValues ¶ added in v1.1.0

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

type SecurityMonitoringRuleImpossibleTravelOptions ¶ added in v1.10.0

type SecurityMonitoringRuleImpossibleTravelOptions struct {
	// If true, signals are suppressed for the first 24 hours. In that time, Datadog learns the user's regular
	// access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access.
	BaselineUserLocations *bool `json:"baselineUserLocations,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleImpossibleTravelOptions Options on impossible travel rules.

func NewSecurityMonitoringRuleImpossibleTravelOptions ¶ added in v1.10.0

func NewSecurityMonitoringRuleImpossibleTravelOptions() *SecurityMonitoringRuleImpossibleTravelOptions

NewSecurityMonitoringRuleImpossibleTravelOptions instantiates a new SecurityMonitoringRuleImpossibleTravelOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityMonitoringRuleImpossibleTravelOptionsWithDefaults ¶ added in v1.10.0

func NewSecurityMonitoringRuleImpossibleTravelOptionsWithDefaults() *SecurityMonitoringRuleImpossibleTravelOptions

NewSecurityMonitoringRuleImpossibleTravelOptionsWithDefaults instantiates a new SecurityMonitoringRuleImpossibleTravelOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocations ¶ added in v1.10.0

func (o *SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocations() bool

GetBaselineUserLocations returns the BaselineUserLocations field value if set, zero value otherwise.

func (*SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocationsOk ¶ added in v1.10.0

func (o *SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocationsOk() (*bool, bool)

GetBaselineUserLocationsOk returns a tuple with the BaselineUserLocations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleImpossibleTravelOptions) HasBaselineUserLocations ¶ added in v1.10.0

func (o *SecurityMonitoringRuleImpossibleTravelOptions) HasBaselineUserLocations() bool

HasBaselineUserLocations returns a boolean if a field has been set.

func (SecurityMonitoringRuleImpossibleTravelOptions) MarshalJSON ¶ added in v1.10.0

func (*SecurityMonitoringRuleImpossibleTravelOptions) SetBaselineUserLocations ¶ added in v1.10.0

func (o *SecurityMonitoringRuleImpossibleTravelOptions) SetBaselineUserLocations(v bool)

SetBaselineUserLocations gets a reference to the given bool and assigns it to the BaselineUserLocations field.

func (*SecurityMonitoringRuleImpossibleTravelOptions) UnmarshalJSON ¶ added in v1.10.0

func (o *SecurityMonitoringRuleImpossibleTravelOptions) UnmarshalJSON(bytes []byte) (err error)

type SecurityMonitoringRuleKeepAlive ¶

type SecurityMonitoringRuleKeepAlive int32

SecurityMonitoringRuleKeepAlive Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window.

const (
	SECURITYMONITORINGRULEKEEPALIVE_ZERO_MINUTES    SecurityMonitoringRuleKeepAlive = 0
	SECURITYMONITORINGRULEKEEPALIVE_ONE_MINUTE      SecurityMonitoringRuleKeepAlive = 60
	SECURITYMONITORINGRULEKEEPALIVE_FIVE_MINUTES    SecurityMonitoringRuleKeepAlive = 300
	SECURITYMONITORINGRULEKEEPALIVE_TEN_MINUTES     SecurityMonitoringRuleKeepAlive = 600
	SECURITYMONITORINGRULEKEEPALIVE_FIFTEEN_MINUTES SecurityMonitoringRuleKeepAlive = 900
	SECURITYMONITORINGRULEKEEPALIVE_THIRTY_MINUTES  SecurityMonitoringRuleKeepAlive = 1800
	SECURITYMONITORINGRULEKEEPALIVE_ONE_HOUR        SecurityMonitoringRuleKeepAlive = 3600
	SECURITYMONITORINGRULEKEEPALIVE_TWO_HOURS       SecurityMonitoringRuleKeepAlive = 7200
	SECURITYMONITORINGRULEKEEPALIVE_THREE_HOURS     SecurityMonitoringRuleKeepAlive = 10800
	SECURITYMONITORINGRULEKEEPALIVE_SIX_HOURS       SecurityMonitoringRuleKeepAlive = 21600
)

List of SecurityMonitoringRuleKeepAlive

func NewSecurityMonitoringRuleKeepAliveFromValue ¶

func NewSecurityMonitoringRuleKeepAliveFromValue(v int32) (*SecurityMonitoringRuleKeepAlive, error)

NewSecurityMonitoringRuleKeepAliveFromValue returns a pointer to a valid SecurityMonitoringRuleKeepAlive for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringRuleKeepAlive) GetAllowedValues ¶ added in v1.1.0

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

type SecurityMonitoringRuleMaxSignalDuration ¶

type SecurityMonitoringRuleMaxSignalDuration int32

SecurityMonitoringRuleMaxSignalDuration A signal will “close” regardless of the query being matched once the time exceeds the maximum duration. This time is calculated from the first seen timestamp.

const (
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ZERO_MINUTES    SecurityMonitoringRuleMaxSignalDuration = 0
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_MINUTE      SecurityMonitoringRuleMaxSignalDuration = 60
	SECURITYMONITORINGRULEMAXSIGNALDURATION_FIVE_MINUTES    SecurityMonitoringRuleMaxSignalDuration = 300
	SECURITYMONITORINGRULEMAXSIGNALDURATION_TEN_MINUTES     SecurityMonitoringRuleMaxSignalDuration = 600
	SECURITYMONITORINGRULEMAXSIGNALDURATION_FIFTEEN_MINUTES SecurityMonitoringRuleMaxSignalDuration = 900
	SECURITYMONITORINGRULEMAXSIGNALDURATION_THIRTY_MINUTES  SecurityMonitoringRuleMaxSignalDuration = 1800
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_HOUR        SecurityMonitoringRuleMaxSignalDuration = 3600
	SECURITYMONITORINGRULEMAXSIGNALDURATION_TWO_HOURS       SecurityMonitoringRuleMaxSignalDuration = 7200
	SECURITYMONITORINGRULEMAXSIGNALDURATION_THREE_HOURS     SecurityMonitoringRuleMaxSignalDuration = 10800
	SECURITYMONITORINGRULEMAXSIGNALDURATION_SIX_HOURS       SecurityMonitoringRuleMaxSignalDuration = 21600
	SECURITYMONITORINGRULEMAXSIGNALDURATION_TWELVE_HOURS    SecurityMonitoringRuleMaxSignalDuration = 43200
	SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_DAY         SecurityMonitoringRuleMaxSignalDuration = 86400
)

List of SecurityMonitoringRuleMaxSignalDuration

func NewSecurityMonitoringRuleMaxSignalDurationFromValue ¶

func NewSecurityMonitoringRuleMaxSignalDurationFromValue(v int32) (*SecurityMonitoringRuleMaxSignalDuration, error)

NewSecurityMonitoringRuleMaxSignalDurationFromValue returns a pointer to a valid SecurityMonitoringRuleMaxSignalDuration for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringRuleMaxSignalDuration) GetAllowedValues ¶ added in v1.1.0

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

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"`
	// UnparsedObject contains the 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) 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) MarshalJSON ¶

func (o SecurityMonitoringRuleNewValueOptions) MarshalJSON() ([]byte, error)

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) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleNewValueOptions) UnmarshalJSON(bytes []byte) (err error)

type SecurityMonitoringRuleNewValueOptionsForgetAfter ¶

type SecurityMonitoringRuleNewValueOptionsForgetAfter int32

SecurityMonitoringRuleNewValueOptionsForgetAfter The duration in days after which a learned value is forgotten.

const (
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_ONE_DAY     SecurityMonitoringRuleNewValueOptionsForgetAfter = 1
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_TWO_DAYS    SecurityMonitoringRuleNewValueOptionsForgetAfter = 2
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_ONE_WEEK    SecurityMonitoringRuleNewValueOptionsForgetAfter = 7
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_TWO_WEEKS   SecurityMonitoringRuleNewValueOptionsForgetAfter = 14
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_THREE_WEEKS SecurityMonitoringRuleNewValueOptionsForgetAfter = 21
	SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_FOUR_WEEKS  SecurityMonitoringRuleNewValueOptionsForgetAfter = 28
)

List of SecurityMonitoringRuleNewValueOptionsForgetAfter

func NewSecurityMonitoringRuleNewValueOptionsForgetAfterFromValue ¶

func NewSecurityMonitoringRuleNewValueOptionsForgetAfterFromValue(v int32) (*SecurityMonitoringRuleNewValueOptionsForgetAfter, error)

NewSecurityMonitoringRuleNewValueOptionsForgetAfterFromValue returns a pointer to a valid SecurityMonitoringRuleNewValueOptionsForgetAfter for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringRuleNewValueOptionsForgetAfter) GetAllowedValues ¶ added in v1.1.0

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 ¶

type SecurityMonitoringRuleNewValueOptionsLearningDuration ¶

type SecurityMonitoringRuleNewValueOptionsLearningDuration int32

SecurityMonitoringRuleNewValueOptionsLearningDuration The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned.

const (
	SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGDURATION_ZERO_DAYS  SecurityMonitoringRuleNewValueOptionsLearningDuration = 0
	SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGDURATION_ONE_DAY    SecurityMonitoringRuleNewValueOptionsLearningDuration = 1
	SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGDURATION_SEVEN_DAYS SecurityMonitoringRuleNewValueOptionsLearningDuration = 7
)

List of SecurityMonitoringRuleNewValueOptionsLearningDuration

func NewSecurityMonitoringRuleNewValueOptionsLearningDurationFromValue ¶

func NewSecurityMonitoringRuleNewValueOptionsLearningDurationFromValue(v int32) (*SecurityMonitoringRuleNewValueOptionsLearningDuration, error)

NewSecurityMonitoringRuleNewValueOptionsLearningDurationFromValue returns a pointer to a valid SecurityMonitoringRuleNewValueOptionsLearningDuration for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringRuleNewValueOptionsLearningDuration) GetAllowedValues ¶ added in v1.1.0

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 ¶

type SecurityMonitoringRuleOptions ¶

type SecurityMonitoringRuleOptions struct {
	// 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"`
	// 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) 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) GetImpossibleTravelOptions ¶ added in v1.10.0

GetImpossibleTravelOptions returns the ImpossibleTravelOptions field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetImpossibleTravelOptionsOk ¶ added in v1.10.0

GetImpossibleTravelOptionsOk returns a tuple with the ImpossibleTravelOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) GetKeepAlive ¶

GetKeepAlive returns the KeepAlive field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetKeepAliveOk ¶

GetKeepAliveOk returns a tuple with the KeepAlive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) GetMaxSignalDuration ¶

GetMaxSignalDuration returns the MaxSignalDuration field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetMaxSignalDurationOk ¶

GetMaxSignalDurationOk returns a tuple with the MaxSignalDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) GetNewValueOptions ¶

GetNewValueOptions returns the NewValueOptions field value if set, zero value otherwise.

func (*SecurityMonitoringRuleOptions) GetNewValueOptionsOk ¶

GetNewValueOptionsOk returns a tuple with the NewValueOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleOptions) 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) HasImpossibleTravelOptions ¶ added in v1.10.0

func (o *SecurityMonitoringRuleOptions) HasImpossibleTravelOptions() bool

HasImpossibleTravelOptions returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasKeepAlive ¶

func (o *SecurityMonitoringRuleOptions) HasKeepAlive() bool

HasKeepAlive returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasMaxSignalDuration ¶

func (o *SecurityMonitoringRuleOptions) HasMaxSignalDuration() bool

HasMaxSignalDuration returns a boolean if a field has been set.

func (*SecurityMonitoringRuleOptions) HasNewValueOptions ¶

func (o *SecurityMonitoringRuleOptions) HasNewValueOptions() bool

HasNewValueOptions returns a boolean if a field has been set.

func (SecurityMonitoringRuleOptions) MarshalJSON ¶

func (o SecurityMonitoringRuleOptions) MarshalJSON() ([]byte, error)

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) SetImpossibleTravelOptions ¶ added in v1.10.0

SetImpossibleTravelOptions gets a reference to the given SecurityMonitoringRuleImpossibleTravelOptions and assigns it to the ImpossibleTravelOptions field.

func (*SecurityMonitoringRuleOptions) SetKeepAlive ¶

SetKeepAlive gets a reference to the given SecurityMonitoringRuleKeepAlive and assigns it to the KeepAlive field.

func (*SecurityMonitoringRuleOptions) SetMaxSignalDuration ¶

SetMaxSignalDuration gets a reference to the given SecurityMonitoringRuleMaxSignalDuration and assigns it to the MaxSignalDuration field.

func (*SecurityMonitoringRuleOptions) SetNewValueOptions ¶

SetNewValueOptions gets a reference to the given SecurityMonitoringRuleNewValueOptions and assigns it to the NewValueOptions field.

func (*SecurityMonitoringRuleOptions) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleOptions) UnmarshalJSON(bytes []byte) (err error)

type SecurityMonitoringRuleQuery ¶

type SecurityMonitoringRuleQuery struct {
	// The aggregation type.
	Aggregation *SecurityMonitoringRuleQueryAggregation `json:"aggregation,omitempty"`
	// Field for which the cardinality is measured. Sent as an array.
	DistinctFields *[]string `json:"distinctFields,omitempty"`
	// Fields to group by.
	GroupByFields *[]string `json:"groupByFields,omitempty"`
	// The target field to aggregate over when using the sum or max
	// aggregations.
	Metric *string `json:"metric,omitempty"`
	// Name of the query.
	Name *string `json:"name,omitempty"`
	// Query to run on logs.
	Query *string `json:"query,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleQuery Query for matching rule.

func NewSecurityMonitoringRuleQuery ¶

func NewSecurityMonitoringRuleQuery() *SecurityMonitoringRuleQuery

NewSecurityMonitoringRuleQuery instantiates a new SecurityMonitoringRuleQuery object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityMonitoringRuleQueryWithDefaults ¶

func NewSecurityMonitoringRuleQueryWithDefaults() *SecurityMonitoringRuleQuery

NewSecurityMonitoringRuleQueryWithDefaults instantiates a new SecurityMonitoringRuleQuery object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityMonitoringRuleQuery) GetAggregation ¶

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetAggregationOk ¶

GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) GetDistinctFields ¶

func (o *SecurityMonitoringRuleQuery) GetDistinctFields() []string

GetDistinctFields returns the DistinctFields field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetDistinctFieldsOk ¶

func (o *SecurityMonitoringRuleQuery) GetDistinctFieldsOk() (*[]string, bool)

GetDistinctFieldsOk returns a tuple with the DistinctFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) GetGroupByFields ¶

func (o *SecurityMonitoringRuleQuery) GetGroupByFields() []string

GetGroupByFields returns the GroupByFields field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetGroupByFieldsOk ¶

func (o *SecurityMonitoringRuleQuery) GetGroupByFieldsOk() (*[]string, bool)

GetGroupByFieldsOk returns a tuple with the GroupByFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) GetMetric ¶

func (o *SecurityMonitoringRuleQuery) GetMetric() string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetMetricOk ¶

func (o *SecurityMonitoringRuleQuery) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) GetName ¶

func (o *SecurityMonitoringRuleQuery) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetNameOk ¶

func (o *SecurityMonitoringRuleQuery) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) GetQuery ¶

func (o *SecurityMonitoringRuleQuery) GetQuery() string

GetQuery returns the Query field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQuery) GetQueryOk ¶

func (o *SecurityMonitoringRuleQuery) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQuery) HasAggregation ¶

func (o *SecurityMonitoringRuleQuery) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasDistinctFields ¶

func (o *SecurityMonitoringRuleQuery) HasDistinctFields() bool

HasDistinctFields returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasGroupByFields ¶

func (o *SecurityMonitoringRuleQuery) HasGroupByFields() bool

HasGroupByFields returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasMetric ¶

func (o *SecurityMonitoringRuleQuery) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasName ¶

func (o *SecurityMonitoringRuleQuery) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQuery) HasQuery ¶

func (o *SecurityMonitoringRuleQuery) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (SecurityMonitoringRuleQuery) MarshalJSON ¶

func (o SecurityMonitoringRuleQuery) MarshalJSON() ([]byte, error)

func (*SecurityMonitoringRuleQuery) SetAggregation ¶

SetAggregation gets a reference to the given SecurityMonitoringRuleQueryAggregation and assigns it to the Aggregation field.

func (*SecurityMonitoringRuleQuery) SetDistinctFields ¶

func (o *SecurityMonitoringRuleQuery) SetDistinctFields(v []string)

SetDistinctFields gets a reference to the given []string and assigns it to the DistinctFields field.

func (*SecurityMonitoringRuleQuery) SetGroupByFields ¶

func (o *SecurityMonitoringRuleQuery) SetGroupByFields(v []string)

SetGroupByFields gets a reference to the given []string and assigns it to the GroupByFields field.

func (*SecurityMonitoringRuleQuery) SetMetric ¶

func (o *SecurityMonitoringRuleQuery) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*SecurityMonitoringRuleQuery) SetName ¶

func (o *SecurityMonitoringRuleQuery) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleQuery) SetQuery ¶

func (o *SecurityMonitoringRuleQuery) SetQuery(v string)

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityMonitoringRuleQuery) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleQuery) UnmarshalJSON(bytes []byte) (err error)

type SecurityMonitoringRuleQueryAggregation ¶

type SecurityMonitoringRuleQueryAggregation string

SecurityMonitoringRuleQueryAggregation The aggregation type.

const (
	SECURITYMONITORINGRULEQUERYAGGREGATION_COUNT       SecurityMonitoringRuleQueryAggregation = "count"
	SECURITYMONITORINGRULEQUERYAGGREGATION_CARDINALITY SecurityMonitoringRuleQueryAggregation = "cardinality"
	SECURITYMONITORINGRULEQUERYAGGREGATION_SUM         SecurityMonitoringRuleQueryAggregation = "sum"
	SECURITYMONITORINGRULEQUERYAGGREGATION_MAX         SecurityMonitoringRuleQueryAggregation = "max"
	SECURITYMONITORINGRULEQUERYAGGREGATION_NEW_VALUE   SecurityMonitoringRuleQueryAggregation = "new_value"
	SECURITYMONITORINGRULEQUERYAGGREGATION_GEO_DATA    SecurityMonitoringRuleQueryAggregation = "geo_data"
)

List of SecurityMonitoringRuleQueryAggregation

func NewSecurityMonitoringRuleQueryAggregationFromValue ¶

func NewSecurityMonitoringRuleQueryAggregationFromValue(v string) (*SecurityMonitoringRuleQueryAggregation, error)

NewSecurityMonitoringRuleQueryAggregationFromValue returns a pointer to a valid SecurityMonitoringRuleQueryAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringRuleQueryAggregation) GetAllowedValues ¶ added in v1.1.0

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

type SecurityMonitoringRuleQueryCreate ¶

type SecurityMonitoringRuleQueryCreate struct {
	// The aggregation type.
	Aggregation *SecurityMonitoringRuleQueryAggregation `json:"aggregation,omitempty"`
	// Field for which the cardinality is measured. Sent as an array.
	DistinctFields *[]string `json:"distinctFields,omitempty"`
	// Fields to group by.
	GroupByFields *[]string `json:"groupByFields,omitempty"`
	// The target field to aggregate over when using the sum or max
	// aggregations.
	Metric *string `json:"metric,omitempty"`
	// Name of the query.
	Name *string `json:"name,omitempty"`
	// Query to run on logs.
	Query string `json:"query"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleQueryCreate Query for matching rule.

func NewSecurityMonitoringRuleQueryCreate ¶

func NewSecurityMonitoringRuleQueryCreate(query string) *SecurityMonitoringRuleQueryCreate

NewSecurityMonitoringRuleQueryCreate instantiates a new SecurityMonitoringRuleQueryCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityMonitoringRuleQueryCreateWithDefaults ¶

func NewSecurityMonitoringRuleQueryCreateWithDefaults() *SecurityMonitoringRuleQueryCreate

NewSecurityMonitoringRuleQueryCreateWithDefaults instantiates a new SecurityMonitoringRuleQueryCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityMonitoringRuleQueryCreate) GetAggregation ¶

GetAggregation returns the Aggregation field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQueryCreate) GetAggregationOk ¶

GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) GetDistinctFields ¶

func (o *SecurityMonitoringRuleQueryCreate) GetDistinctFields() []string

GetDistinctFields returns the DistinctFields field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQueryCreate) GetDistinctFieldsOk ¶

func (o *SecurityMonitoringRuleQueryCreate) GetDistinctFieldsOk() (*[]string, bool)

GetDistinctFieldsOk returns a tuple with the DistinctFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) GetGroupByFields ¶

func (o *SecurityMonitoringRuleQueryCreate) GetGroupByFields() []string

GetGroupByFields returns the GroupByFields field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQueryCreate) GetGroupByFieldsOk ¶

func (o *SecurityMonitoringRuleQueryCreate) GetGroupByFieldsOk() (*[]string, bool)

GetGroupByFieldsOk returns a tuple with the GroupByFields field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) GetMetric ¶

GetMetric returns the Metric field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQueryCreate) GetMetricOk ¶

func (o *SecurityMonitoringRuleQueryCreate) GetMetricOk() (*string, bool)

GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringRuleQueryCreate) GetNameOk ¶

func (o *SecurityMonitoringRuleQueryCreate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) GetQuery ¶

GetQuery returns the Query field value

func (*SecurityMonitoringRuleQueryCreate) GetQueryOk ¶

func (o *SecurityMonitoringRuleQueryCreate) GetQueryOk() (*string, bool)

GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleQueryCreate) HasAggregation ¶

func (o *SecurityMonitoringRuleQueryCreate) HasAggregation() bool

HasAggregation returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQueryCreate) HasDistinctFields ¶

func (o *SecurityMonitoringRuleQueryCreate) HasDistinctFields() bool

HasDistinctFields returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQueryCreate) HasGroupByFields ¶

func (o *SecurityMonitoringRuleQueryCreate) HasGroupByFields() bool

HasGroupByFields returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQueryCreate) HasMetric ¶

func (o *SecurityMonitoringRuleQueryCreate) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*SecurityMonitoringRuleQueryCreate) HasName ¶

HasName returns a boolean if a field has been set.

func (SecurityMonitoringRuleQueryCreate) MarshalJSON ¶

func (o SecurityMonitoringRuleQueryCreate) MarshalJSON() ([]byte, error)

func (*SecurityMonitoringRuleQueryCreate) SetAggregation ¶

SetAggregation gets a reference to the given SecurityMonitoringRuleQueryAggregation and assigns it to the Aggregation field.

func (*SecurityMonitoringRuleQueryCreate) SetDistinctFields ¶

func (o *SecurityMonitoringRuleQueryCreate) SetDistinctFields(v []string)

SetDistinctFields gets a reference to the given []string and assigns it to the DistinctFields field.

func (*SecurityMonitoringRuleQueryCreate) SetGroupByFields ¶

func (o *SecurityMonitoringRuleQueryCreate) SetGroupByFields(v []string)

SetGroupByFields gets a reference to the given []string and assigns it to the GroupByFields field.

func (*SecurityMonitoringRuleQueryCreate) SetMetric ¶

func (o *SecurityMonitoringRuleQueryCreate) SetMetric(v string)

SetMetric gets a reference to the given string and assigns it to the Metric field.

func (*SecurityMonitoringRuleQueryCreate) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleQueryCreate) SetQuery ¶

SetQuery sets field value

func (*SecurityMonitoringRuleQueryCreate) UnmarshalJSON ¶

func (o *SecurityMonitoringRuleQueryCreate) UnmarshalJSON(bytes []byte) (err error)

type SecurityMonitoringRuleResponse ¶

type SecurityMonitoringRuleResponse struct {
	// Cases for generating signals.
	Cases *[]SecurityMonitoringRuleCase `json:"cases,omitempty"`
	// When the rule was created, timestamp in milliseconds.
	CreatedAt *int64 `json:"createdAt,omitempty"`
	// User ID of the user who created the rule.
	CreationAuthorId *int64 `json:"creationAuthorId,omitempty"`
	// Additional queries to filter matched events before they are processed.
	Filters *[]SecurityMonitoringFilter `json:"filters,omitempty"`
	// Whether the notifications include the triggering group-by values in their title.
	HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty"`
	// The ID of the rule.
	Id *string `json:"id,omitempty"`
	// Whether the rule is included by default.
	IsDefault *bool `json:"isDefault,omitempty"`
	// Whether the rule has been deleted.
	IsDeleted *bool `json:"isDeleted,omitempty"`
	// Whether the rule is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// Message for generated signals.
	Message *string `json:"message,omitempty"`
	// The name of the rule.
	Name *string `json:"name,omitempty"`
	// Options on rules.
	Options *SecurityMonitoringRuleOptions `json:"options,omitempty"`
	// Queries for selecting logs which are part of the rule.
	Queries *[]SecurityMonitoringRuleQuery `json:"queries,omitempty"`
	// Tags for generated signals.
	Tags *[]string `json:"tags,omitempty"`
	// The rule type.
	Type *SecurityMonitoringRuleTypeRead `json:"type,omitempty"`
	// User ID of the user who updated the rule.
	UpdateAuthorId *int64 `json:"updateAuthorId,omitempty"`
	// The version of the rule.
	Version *int64 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleResponse Rule.

func NewSecurityMonitoringRuleResponse ¶

func NewSecurityMonitoringRuleResponse() *SecurityMonitoringRuleResponse

NewSecurityMonitoringRuleResponse instantiates a new SecurityMonitoringRuleResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityMonitoringRuleResponseWithDefaults ¶

func NewSecurityMonitoringRuleResponseWithDefaults() *SecurityMonitoringRuleResponse

NewSecurityMonitoringRuleResponseWithDefaults instantiates a new SecurityMonitoringRuleResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityMonitoringRuleResponse) GetCases ¶

GetCases returns the Cases field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetCasesOk ¶

GetCasesOk returns a tuple with the Cases field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetCreatedAt ¶

func (o *SecurityMonitoringRuleResponse) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetCreatedAtOk ¶

func (o *SecurityMonitoringRuleResponse) GetCreatedAtOk() (*int64, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetCreationAuthorId ¶

func (o *SecurityMonitoringRuleResponse) GetCreationAuthorId() int64

GetCreationAuthorId returns the CreationAuthorId field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetCreationAuthorIdOk ¶

func (o *SecurityMonitoringRuleResponse) GetCreationAuthorIdOk() (*int64, bool)

GetCreationAuthorIdOk returns a tuple with the CreationAuthorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetFilters ¶

GetFilters returns the Filters field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetFiltersOk ¶

GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) GetHasExtendedTitle() bool

GetHasExtendedTitle returns the HasExtendedTitle field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetHasExtendedTitleOk ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) GetHasExtendedTitleOk() (*bool, bool)

GetHasExtendedTitleOk returns a tuple with the HasExtendedTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetIdOk ¶

func (o *SecurityMonitoringRuleResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetIsDefault ¶

func (o *SecurityMonitoringRuleResponse) GetIsDefault() bool

GetIsDefault returns the IsDefault field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetIsDefaultOk ¶

func (o *SecurityMonitoringRuleResponse) GetIsDefaultOk() (*bool, bool)

GetIsDefaultOk returns a tuple with the IsDefault field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetIsDeleted ¶

func (o *SecurityMonitoringRuleResponse) GetIsDeleted() bool

GetIsDeleted returns the IsDeleted field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetIsDeletedOk ¶

func (o *SecurityMonitoringRuleResponse) GetIsDeletedOk() (*bool, bool)

GetIsDeletedOk returns a tuple with the IsDeleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetIsEnabled ¶

func (o *SecurityMonitoringRuleResponse) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetIsEnabledOk ¶

func (o *SecurityMonitoringRuleResponse) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetMessage ¶

func (o *SecurityMonitoringRuleResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetMessageOk ¶

func (o *SecurityMonitoringRuleResponse) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetNameOk ¶

func (o *SecurityMonitoringRuleResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetOptions ¶

GetOptions returns the Options field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetOptionsOk ¶

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetQueries ¶

GetQueries returns the Queries field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetQueriesOk ¶

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetTags ¶

func (o *SecurityMonitoringRuleResponse) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetTagsOk ¶

func (o *SecurityMonitoringRuleResponse) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetType ¶ added in v1.3.0

GetType returns the Type field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetTypeOk ¶ added in v1.3.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetUpdateAuthorId ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) GetUpdateAuthorId() int64

GetUpdateAuthorId returns the UpdateAuthorId field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetUpdateAuthorIdOk ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) GetUpdateAuthorIdOk() (*int64, bool)

GetUpdateAuthorIdOk returns a tuple with the UpdateAuthorId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) GetVersion ¶

func (o *SecurityMonitoringRuleResponse) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringRuleResponse) GetVersionOk ¶

func (o *SecurityMonitoringRuleResponse) GetVersionOk() (*int64, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleResponse) HasCases ¶

func (o *SecurityMonitoringRuleResponse) HasCases() bool

HasCases returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasCreatedAt ¶

func (o *SecurityMonitoringRuleResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasCreationAuthorId ¶

func (o *SecurityMonitoringRuleResponse) HasCreationAuthorId() bool

HasCreationAuthorId returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasFilters ¶

func (o *SecurityMonitoringRuleResponse) HasFilters() bool

HasFilters returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) HasHasExtendedTitle() bool

HasHasExtendedTitle returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasId ¶

HasId returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasIsDefault ¶

func (o *SecurityMonitoringRuleResponse) HasIsDefault() bool

HasIsDefault returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasIsDeleted ¶

func (o *SecurityMonitoringRuleResponse) HasIsDeleted() bool

HasIsDeleted returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasIsEnabled ¶

func (o *SecurityMonitoringRuleResponse) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasMessage ¶

func (o *SecurityMonitoringRuleResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasName ¶

func (o *SecurityMonitoringRuleResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasOptions ¶

func (o *SecurityMonitoringRuleResponse) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasQueries ¶

func (o *SecurityMonitoringRuleResponse) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasTags ¶

func (o *SecurityMonitoringRuleResponse) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasType ¶ added in v1.3.0

func (o *SecurityMonitoringRuleResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasUpdateAuthorId ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) HasUpdateAuthorId() bool

HasUpdateAuthorId returns a boolean if a field has been set.

func (*SecurityMonitoringRuleResponse) HasVersion ¶

func (o *SecurityMonitoringRuleResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringRuleResponse) MarshalJSON ¶

func (o SecurityMonitoringRuleResponse) MarshalJSON() ([]byte, error)

func (*SecurityMonitoringRuleResponse) SetCases ¶

SetCases gets a reference to the given []SecurityMonitoringRuleCase and assigns it to the Cases field.

func (*SecurityMonitoringRuleResponse) SetCreatedAt ¶

func (o *SecurityMonitoringRuleResponse) SetCreatedAt(v int64)

SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.

func (*SecurityMonitoringRuleResponse) SetCreationAuthorId ¶

func (o *SecurityMonitoringRuleResponse) SetCreationAuthorId(v int64)

SetCreationAuthorId gets a reference to the given int64 and assigns it to the CreationAuthorId field.

func (*SecurityMonitoringRuleResponse) SetFilters ¶

SetFilters gets a reference to the given []SecurityMonitoringFilter and assigns it to the Filters field.

func (*SecurityMonitoringRuleResponse) SetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) SetHasExtendedTitle(v bool)

SetHasExtendedTitle gets a reference to the given bool and assigns it to the HasExtendedTitle field.

func (*SecurityMonitoringRuleResponse) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityMonitoringRuleResponse) SetIsDefault ¶

func (o *SecurityMonitoringRuleResponse) SetIsDefault(v bool)

SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.

func (*SecurityMonitoringRuleResponse) SetIsDeleted ¶

func (o *SecurityMonitoringRuleResponse) SetIsDeleted(v bool)

SetIsDeleted gets a reference to the given bool and assigns it to the IsDeleted field.

func (*SecurityMonitoringRuleResponse) SetIsEnabled ¶

func (o *SecurityMonitoringRuleResponse) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SecurityMonitoringRuleResponse) SetMessage ¶

func (o *SecurityMonitoringRuleResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SecurityMonitoringRuleResponse) SetName ¶

func (o *SecurityMonitoringRuleResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleResponse) SetOptions ¶

SetOptions gets a reference to the given SecurityMonitoringRuleOptions and assigns it to the Options field.

func (*SecurityMonitoringRuleResponse) SetQueries ¶

SetQueries gets a reference to the given []SecurityMonitoringRuleQuery and assigns it to the Queries field.

func (*SecurityMonitoringRuleResponse) SetTags ¶

func (o *SecurityMonitoringRuleResponse) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringRuleResponse) SetType ¶ added in v1.3.0

SetType gets a reference to the given SecurityMonitoringRuleTypeRead and assigns it to the Type field.

func (*SecurityMonitoringRuleResponse) SetUpdateAuthorId ¶ added in v1.1.0

func (o *SecurityMonitoringRuleResponse) SetUpdateAuthorId(v int64)

SetUpdateAuthorId gets a reference to the given int64 and assigns it to the UpdateAuthorId field.

func (*SecurityMonitoringRuleResponse) SetVersion ¶

func (o *SecurityMonitoringRuleResponse) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (*SecurityMonitoringRuleResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleResponse) UnmarshalJSON(bytes []byte) (err error)

type SecurityMonitoringRuleSeverity ¶

type SecurityMonitoringRuleSeverity string

SecurityMonitoringRuleSeverity Severity of the Security Signal.

const (
	SECURITYMONITORINGRULESEVERITY_INFO     SecurityMonitoringRuleSeverity = "info"
	SECURITYMONITORINGRULESEVERITY_LOW      SecurityMonitoringRuleSeverity = "low"
	SECURITYMONITORINGRULESEVERITY_MEDIUM   SecurityMonitoringRuleSeverity = "medium"
	SECURITYMONITORINGRULESEVERITY_HIGH     SecurityMonitoringRuleSeverity = "high"
	SECURITYMONITORINGRULESEVERITY_CRITICAL SecurityMonitoringRuleSeverity = "critical"
)

List of SecurityMonitoringRuleSeverity

func NewSecurityMonitoringRuleSeverityFromValue ¶

func NewSecurityMonitoringRuleSeverityFromValue(v string) (*SecurityMonitoringRuleSeverity, error)

NewSecurityMonitoringRuleSeverityFromValue returns a pointer to a valid SecurityMonitoringRuleSeverity for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringRuleSeverity) GetAllowedValues ¶ added in v1.1.0

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

type SecurityMonitoringRuleTypeCreate ¶ added in v1.3.0

type SecurityMonitoringRuleTypeCreate string

SecurityMonitoringRuleTypeCreate The rule type.

const (
	SECURITYMONITORINGRULETYPECREATE_LOG_DETECTION     SecurityMonitoringRuleTypeCreate = "log_detection"
	SECURITYMONITORINGRULETYPECREATE_WORKLOAD_SECURITY SecurityMonitoringRuleTypeCreate = "workload_security"
)

List of SecurityMonitoringRuleTypeCreate

func NewSecurityMonitoringRuleTypeCreateFromValue ¶ added in v1.3.0

func NewSecurityMonitoringRuleTypeCreateFromValue(v string) (*SecurityMonitoringRuleTypeCreate, error)

NewSecurityMonitoringRuleTypeCreateFromValue returns a pointer to a valid SecurityMonitoringRuleTypeCreate for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringRuleTypeCreate) GetAllowedValues ¶ added in v1.3.0

func (SecurityMonitoringRuleTypeCreate) IsValid ¶ added in v1.3.0

IsValid return true if the value is valid for the enum, false otherwise

func (SecurityMonitoringRuleTypeCreate) Ptr ¶ added in v1.3.0

Ptr returns reference to SecurityMonitoringRuleTypeCreate value

func (*SecurityMonitoringRuleTypeCreate) UnmarshalJSON ¶ added in v1.3.0

func (v *SecurityMonitoringRuleTypeCreate) UnmarshalJSON(src []byte) error

type SecurityMonitoringRuleTypeRead ¶ added in v1.3.0

type SecurityMonitoringRuleTypeRead string

SecurityMonitoringRuleTypeRead The rule type.

const (
	SECURITYMONITORINGRULETYPEREAD_LOG_DETECTION                SecurityMonitoringRuleTypeRead = "log_detection"
	SECURITYMONITORINGRULETYPEREAD_INFRASTRUCTURE_CONFIGURATION SecurityMonitoringRuleTypeRead = "infrastructure_configuration"
	SECURITYMONITORINGRULETYPEREAD_WORKLOAD_SECURITY            SecurityMonitoringRuleTypeRead = "workload_security"
	SECURITYMONITORINGRULETYPEREAD_CLOUD_CONFIGURATION          SecurityMonitoringRuleTypeRead = "cloud_configuration"
)

List of SecurityMonitoringRuleTypeRead

func NewSecurityMonitoringRuleTypeReadFromValue ¶ added in v1.3.0

func NewSecurityMonitoringRuleTypeReadFromValue(v string) (*SecurityMonitoringRuleTypeRead, error)

NewSecurityMonitoringRuleTypeReadFromValue returns a pointer to a valid SecurityMonitoringRuleTypeRead for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringRuleTypeRead) GetAllowedValues ¶ added in v1.3.0

func (SecurityMonitoringRuleTypeRead) IsValid ¶ added in v1.3.0

IsValid return true if the value is valid for the enum, false otherwise

func (SecurityMonitoringRuleTypeRead) Ptr ¶ added in v1.3.0

Ptr returns reference to SecurityMonitoringRuleTypeRead value

func (*SecurityMonitoringRuleTypeRead) UnmarshalJSON ¶ added in v1.3.0

func (v *SecurityMonitoringRuleTypeRead) UnmarshalJSON(src []byte) error

type SecurityMonitoringRuleUpdatePayload ¶

type SecurityMonitoringRuleUpdatePayload struct {
	// Cases for generating signals.
	Cases *[]SecurityMonitoringRuleCase `json:"cases,omitempty"`
	// Additional queries to filter matched events before they are processed.
	Filters *[]SecurityMonitoringFilter `json:"filters,omitempty"`
	// Whether the notifications include the triggering group-by values in their title.
	HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty"`
	// Whether the rule is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// Message for generated signals.
	Message *string `json:"message,omitempty"`
	// Name of the rule.
	Name *string `json:"name,omitempty"`
	// Options on rules.
	Options *SecurityMonitoringRuleOptions `json:"options,omitempty"`
	// Queries for selecting logs which are part of the rule.
	Queries *[]SecurityMonitoringRuleQuery `json:"queries,omitempty"`
	// Tags for generated signals.
	Tags *[]string `json:"tags,omitempty"`
	// The version of the rule being updated.
	Version *int32 `json:"version,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

SecurityMonitoringRuleUpdatePayload Update an existing rule.

func NewSecurityMonitoringRuleUpdatePayload ¶

func NewSecurityMonitoringRuleUpdatePayload() *SecurityMonitoringRuleUpdatePayload

NewSecurityMonitoringRuleUpdatePayload instantiates a new SecurityMonitoringRuleUpdatePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityMonitoringRuleUpdatePayloadWithDefaults ¶

func NewSecurityMonitoringRuleUpdatePayloadWithDefaults() *SecurityMonitoringRuleUpdatePayload

NewSecurityMonitoringRuleUpdatePayloadWithDefaults instantiates a new SecurityMonitoringRuleUpdatePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityMonitoringRuleUpdatePayload) GetCases ¶

GetCases returns the Cases field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetCasesOk ¶

GetCasesOk returns a tuple with the Cases field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetFilters ¶

GetFilters returns the Filters field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetFiltersOk ¶

GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitle() bool

GetHasExtendedTitle returns the HasExtendedTitle field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitleOk ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitleOk() (*bool, bool)

GetHasExtendedTitleOk returns a tuple with the HasExtendedTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetIsEnabled ¶

func (o *SecurityMonitoringRuleUpdatePayload) GetIsEnabled() bool

GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetIsEnabledOk ¶

func (o *SecurityMonitoringRuleUpdatePayload) GetIsEnabledOk() (*bool, bool)

GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetMessage ¶

GetMessage returns the Message field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetMessageOk ¶

func (o *SecurityMonitoringRuleUpdatePayload) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetNameOk ¶

func (o *SecurityMonitoringRuleUpdatePayload) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetOptions ¶

GetOptions returns the Options field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetOptionsOk ¶

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetQueries ¶

GetQueries returns the Queries field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetQueriesOk ¶

GetQueriesOk returns a tuple with the Queries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetTagsOk ¶

func (o *SecurityMonitoringRuleUpdatePayload) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) GetVersion ¶ added in v1.1.0

GetVersion returns the Version field value if set, zero value otherwise.

func (*SecurityMonitoringRuleUpdatePayload) GetVersionOk ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasCases ¶

HasCases returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasFilters ¶

func (o *SecurityMonitoringRuleUpdatePayload) HasFilters() bool

HasFilters returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) HasHasExtendedTitle() bool

HasHasExtendedTitle returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasIsEnabled ¶

func (o *SecurityMonitoringRuleUpdatePayload) HasIsEnabled() bool

HasIsEnabled returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasMessage ¶

func (o *SecurityMonitoringRuleUpdatePayload) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasName ¶

HasName returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasOptions ¶

func (o *SecurityMonitoringRuleUpdatePayload) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasQueries ¶

func (o *SecurityMonitoringRuleUpdatePayload) HasQueries() bool

HasQueries returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasTags ¶

HasTags returns a boolean if a field has been set.

func (*SecurityMonitoringRuleUpdatePayload) HasVersion ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SecurityMonitoringRuleUpdatePayload) MarshalJSON ¶

func (o SecurityMonitoringRuleUpdatePayload) MarshalJSON() ([]byte, error)

func (*SecurityMonitoringRuleUpdatePayload) SetCases ¶

SetCases gets a reference to the given []SecurityMonitoringRuleCase and assigns it to the Cases field.

func (*SecurityMonitoringRuleUpdatePayload) SetFilters ¶

SetFilters gets a reference to the given []SecurityMonitoringFilter and assigns it to the Filters field.

func (*SecurityMonitoringRuleUpdatePayload) SetHasExtendedTitle ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) SetHasExtendedTitle(v bool)

SetHasExtendedTitle gets a reference to the given bool and assigns it to the HasExtendedTitle field.

func (*SecurityMonitoringRuleUpdatePayload) SetIsEnabled ¶

func (o *SecurityMonitoringRuleUpdatePayload) SetIsEnabled(v bool)

SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.

func (*SecurityMonitoringRuleUpdatePayload) SetMessage ¶

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SecurityMonitoringRuleUpdatePayload) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecurityMonitoringRuleUpdatePayload) SetOptions ¶

SetOptions gets a reference to the given SecurityMonitoringRuleOptions and assigns it to the Options field.

func (*SecurityMonitoringRuleUpdatePayload) SetQueries ¶

SetQueries gets a reference to the given []SecurityMonitoringRuleQuery and assigns it to the Queries field.

func (*SecurityMonitoringRuleUpdatePayload) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringRuleUpdatePayload) SetVersion ¶ added in v1.1.0

func (o *SecurityMonitoringRuleUpdatePayload) SetVersion(v int32)

SetVersion gets a reference to the given int32 and assigns it to the Version field.

func (*SecurityMonitoringRuleUpdatePayload) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringRuleUpdatePayload) UnmarshalJSON(bytes []byte) (err error)

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)

func (*SecurityMonitoringSignal) SetAttributes ¶

SetAttributes gets a reference to the given SecurityMonitoringSignalAttributes and assigns it to the Attributes field.

func (*SecurityMonitoringSignal) SetId ¶

func (o *SecurityMonitoringSignal) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SecurityMonitoringSignal) SetType ¶

SetType gets a reference to the given SecurityMonitoringSignalType and assigns it to the Type field.

func (*SecurityMonitoringSignal) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignal) UnmarshalJSON(bytes []byte) (err error)

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)

func (*SecurityMonitoringSignalAttributes) SetAttributes ¶

func (o *SecurityMonitoringSignalAttributes) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*SecurityMonitoringSignalAttributes) SetMessage ¶

func (o *SecurityMonitoringSignalAttributes) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*SecurityMonitoringSignalAttributes) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SecurityMonitoringSignalAttributes) SetTimestamp ¶

func (o *SecurityMonitoringSignalAttributes) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*SecurityMonitoringSignalAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalAttributes) UnmarshalJSON(bytes []byte) (err error)

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)

func (*SecurityMonitoringSignalListRequest) SetFilter ¶

SetFilter gets a reference to the given SecurityMonitoringSignalListRequestFilter and assigns it to the Filter field.

func (*SecurityMonitoringSignalListRequest) SetPage ¶

SetPage gets a reference to the given SecurityMonitoringSignalListRequestPage and assigns it to the Page field.

func (*SecurityMonitoringSignalListRequest) SetSort ¶

SetSort gets a reference to the given SecurityMonitoringSignalsSort and assigns it to the Sort field.

func (*SecurityMonitoringSignalListRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalListRequest) UnmarshalJSON(bytes []byte) (err error)

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 ¶

func (*SecurityMonitoringSignalListRequestFilter) SetFrom ¶

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*SecurityMonitoringSignalListRequestFilter) SetQuery ¶

SetQuery gets a reference to the given string and assigns it to the Query field.

func (*SecurityMonitoringSignalListRequestFilter) SetTo ¶

SetTo gets a reference to the given time.Time and assigns it to the To field.

func (*SecurityMonitoringSignalListRequestFilter) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalListRequestFilter) UnmarshalJSON(bytes []byte) (err error)

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)

func (*SecurityMonitoringSignalListRequestPage) SetCursor ¶

SetCursor gets a reference to the given string and assigns it to the Cursor field.

func (*SecurityMonitoringSignalListRequestPage) SetLimit ¶

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*SecurityMonitoringSignalListRequestPage) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalListRequestPage) UnmarshalJSON(bytes []byte) (err error)

type SecurityMonitoringSignalType ¶

type SecurityMonitoringSignalType string

SecurityMonitoringSignalType The type of event.

const (
	SECURITYMONITORINGSIGNALTYPE_SIGNAL SecurityMonitoringSignalType = "signal"
)

List of SecurityMonitoringSignalType

func NewSecurityMonitoringSignalTypeFromValue ¶

func NewSecurityMonitoringSignalTypeFromValue(v string) (*SecurityMonitoringSignalType, error)

NewSecurityMonitoringSignalTypeFromValue returns a pointer to a valid SecurityMonitoringSignalType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringSignalType) GetAllowedValues ¶ added in v1.1.0

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

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)

func (*SecurityMonitoringSignalsListResponse) SetData ¶

SetData gets a reference to the given []SecurityMonitoringSignal and assigns it to the Data field.

SetLinks gets a reference to the given SecurityMonitoringSignalsListResponseLinks and assigns it to the Links field.

func (*SecurityMonitoringSignalsListResponse) SetMeta ¶

SetMeta gets a reference to the given SecurityMonitoringSignalsListResponseMeta and assigns it to the Meta field.

func (*SecurityMonitoringSignalsListResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalsListResponse) UnmarshalJSON(bytes []byte) (err error)
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 ¶

func (*SecurityMonitoringSignalsListResponseLinks) SetNext ¶

SetNext gets a reference to the given string and assigns it to the Next field.

func (*SecurityMonitoringSignalsListResponseLinks) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalsListResponseLinks) UnmarshalJSON(bytes []byte) (err error)

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 ¶

func (*SecurityMonitoringSignalsListResponseMeta) SetPage ¶

SetPage gets a reference to the given SecurityMonitoringSignalsListResponseMetaPage and assigns it to the Page field.

func (*SecurityMonitoringSignalsListResponseMeta) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalsListResponseMeta) UnmarshalJSON(bytes []byte) (err error)

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 ¶

func (*SecurityMonitoringSignalsListResponseMetaPage) SetAfter ¶

SetAfter gets a reference to the given string and assigns it to the After field.

func (*SecurityMonitoringSignalsListResponseMetaPage) UnmarshalJSON ¶ added in v1.3.0

func (o *SecurityMonitoringSignalsListResponseMetaPage) UnmarshalJSON(bytes []byte) (err error)

type SecurityMonitoringSignalsSort ¶

type SecurityMonitoringSignalsSort string

SecurityMonitoringSignalsSort The sort parameters used for querying security signals.

const (
	SECURITYMONITORINGSIGNALSSORT_TIMESTAMP_ASCENDING  SecurityMonitoringSignalsSort = "timestamp"
	SECURITYMONITORINGSIGNALSSORT_TIMESTAMP_DESCENDING SecurityMonitoringSignalsSort = "-timestamp"
)

List of SecurityMonitoringSignalsSort

func NewSecurityMonitoringSignalsSortFromValue ¶

func NewSecurityMonitoringSignalsSortFromValue(v string) (*SecurityMonitoringSignalsSort, error)

NewSecurityMonitoringSignalsSortFromValue returns a pointer to a valid SecurityMonitoringSignalsSort for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*SecurityMonitoringSignalsSort) GetAllowedValues ¶ added in v1.1.0

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

type ServerConfiguration ¶

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations ¶

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL ¶

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable ¶

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type ServiceAccountCreateAttributes ¶ added in v1.3.0

type ServiceAccountCreateAttributes struct {
	// The email of the user.
	Email string `json:"email"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// Whether the user is a service account. Must be true.
	ServiceAccount bool `json:"service_account"`
	// The title of the user.
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceAccountCreateAttributes Attributes of the created user.

func NewServiceAccountCreateAttributes ¶ added in v1.3.0

func NewServiceAccountCreateAttributes(email string, serviceAccount bool) *ServiceAccountCreateAttributes

NewServiceAccountCreateAttributes instantiates a new ServiceAccountCreateAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceAccountCreateAttributesWithDefaults ¶ added in v1.3.0

func NewServiceAccountCreateAttributesWithDefaults() *ServiceAccountCreateAttributes

NewServiceAccountCreateAttributesWithDefaults instantiates a new ServiceAccountCreateAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceAccountCreateAttributes) GetEmail ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetEmail() string

GetEmail returns the Email field value

func (*ServiceAccountCreateAttributes) GetEmailOk ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*ServiceAccountCreateAttributes) GetName ¶ added in v1.3.0

GetName returns the Name field value if set, zero value otherwise.

func (*ServiceAccountCreateAttributes) GetNameOk ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceAccountCreateAttributes) GetServiceAccount ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetServiceAccount() bool

GetServiceAccount returns the ServiceAccount field value

func (*ServiceAccountCreateAttributes) GetServiceAccountOk ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetServiceAccountOk() (*bool, bool)

GetServiceAccountOk returns a tuple with the ServiceAccount field value and a boolean to check if the value has been set.

func (*ServiceAccountCreateAttributes) GetTitle ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ServiceAccountCreateAttributes) GetTitleOk ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceAccountCreateAttributes) HasName ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*ServiceAccountCreateAttributes) HasTitle ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (ServiceAccountCreateAttributes) MarshalJSON ¶ added in v1.3.0

func (o ServiceAccountCreateAttributes) MarshalJSON() ([]byte, error)

func (*ServiceAccountCreateAttributes) SetEmail ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) SetEmail(v string)

SetEmail sets field value

func (*ServiceAccountCreateAttributes) SetName ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ServiceAccountCreateAttributes) SetServiceAccount ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) SetServiceAccount(v bool)

SetServiceAccount sets field value

func (*ServiceAccountCreateAttributes) SetTitle ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ServiceAccountCreateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *ServiceAccountCreateAttributes) UnmarshalJSON(bytes []byte) (err error)

type ServiceAccountCreateData ¶ added in v1.3.0

type ServiceAccountCreateData struct {
	// Attributes of the created user.
	Attributes ServiceAccountCreateAttributes `json:"attributes"`
	// Relationships of the user object.
	Relationships *UserRelationships `json:"relationships,omitempty"`
	// Users resource type.
	Type UsersType `json:"type"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceAccountCreateData Object to create a service account User.

func NewServiceAccountCreateData ¶ added in v1.3.0

func NewServiceAccountCreateData(attributes ServiceAccountCreateAttributes, type_ UsersType) *ServiceAccountCreateData

NewServiceAccountCreateData instantiates a new ServiceAccountCreateData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceAccountCreateDataWithDefaults ¶ added in v1.3.0

func NewServiceAccountCreateDataWithDefaults() *ServiceAccountCreateData

NewServiceAccountCreateDataWithDefaults instantiates a new ServiceAccountCreateData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceAccountCreateData) GetAttributes ¶ added in v1.3.0

GetAttributes returns the Attributes field value

func (*ServiceAccountCreateData) GetAttributesOk ¶ added in v1.3.0

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*ServiceAccountCreateData) GetRelationships ¶ added in v1.3.0

func (o *ServiceAccountCreateData) GetRelationships() UserRelationships

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*ServiceAccountCreateData) GetRelationshipsOk ¶ added in v1.3.0

func (o *ServiceAccountCreateData) GetRelationshipsOk() (*UserRelationships, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceAccountCreateData) GetType ¶ added in v1.3.0

func (o *ServiceAccountCreateData) GetType() UsersType

GetType returns the Type field value

func (*ServiceAccountCreateData) GetTypeOk ¶ added in v1.3.0

func (o *ServiceAccountCreateData) GetTypeOk() (*UsersType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ServiceAccountCreateData) HasRelationships ¶ added in v1.3.0

func (o *ServiceAccountCreateData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (ServiceAccountCreateData) MarshalJSON ¶ added in v1.3.0

func (o ServiceAccountCreateData) MarshalJSON() ([]byte, error)

func (*ServiceAccountCreateData) SetAttributes ¶ added in v1.3.0

SetAttributes sets field value

func (*ServiceAccountCreateData) SetRelationships ¶ added in v1.3.0

func (o *ServiceAccountCreateData) SetRelationships(v UserRelationships)

SetRelationships gets a reference to the given UserRelationships and assigns it to the Relationships field.

func (*ServiceAccountCreateData) SetType ¶ added in v1.3.0

func (o *ServiceAccountCreateData) SetType(v UsersType)

SetType sets field value

func (*ServiceAccountCreateData) UnmarshalJSON ¶ added in v1.3.0

func (o *ServiceAccountCreateData) UnmarshalJSON(bytes []byte) (err error)

type ServiceAccountCreateRequest ¶ added in v1.3.0

type ServiceAccountCreateRequest struct {
	// Object to create a service account User.
	Data ServiceAccountCreateData `json:"data"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

ServiceAccountCreateRequest Create a service account.

func NewServiceAccountCreateRequest ¶ added in v1.3.0

func NewServiceAccountCreateRequest(data ServiceAccountCreateData) *ServiceAccountCreateRequest

NewServiceAccountCreateRequest instantiates a new ServiceAccountCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceAccountCreateRequestWithDefaults ¶ added in v1.3.0

func NewServiceAccountCreateRequestWithDefaults() *ServiceAccountCreateRequest

NewServiceAccountCreateRequestWithDefaults instantiates a new ServiceAccountCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceAccountCreateRequest) GetData ¶ added in v1.3.0

GetData returns the Data field value

func (*ServiceAccountCreateRequest) GetDataOk ¶ added in v1.3.0

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (ServiceAccountCreateRequest) MarshalJSON ¶ added in v1.3.0

func (o ServiceAccountCreateRequest) MarshalJSON() ([]byte, error)

func (*ServiceAccountCreateRequest) SetData ¶ added in v1.3.0

SetData sets field value

func (*ServiceAccountCreateRequest) UnmarshalJSON ¶ added in v1.3.0

func (o *ServiceAccountCreateRequest) UnmarshalJSON(bytes []byte) (err error)

type ServiceAccountsApiService ¶ added in v1.3.0

type ServiceAccountsApiService service

ServiceAccountsApiService ServiceAccountsApi service

func (*ServiceAccountsApiService) CreateServiceAccountApplicationKey ¶ added in v1.3.0

func (a *ServiceAccountsApiService) CreateServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, body ApplicationKeyCreateRequest) (ApplicationKeyResponse, *_nethttp.Response, error)

* CreateServiceAccountApplicationKey Create an application key for this service account * Create an application key for this service account.

func (*ServiceAccountsApiService) DeleteServiceAccountApplicationKey ¶ added in v1.3.0

func (a *ServiceAccountsApiService) DeleteServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, appKeyId string) (*_nethttp.Response, error)

* DeleteServiceAccountApplicationKey Delete an application key for this service account * Delete an application key owned by this service account.

func (*ServiceAccountsApiService) GetServiceAccountApplicationKey ¶ added in v1.3.0

func (a *ServiceAccountsApiService) GetServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, appKeyId string) (PartialApplicationKeyResponse, *_nethttp.Response, error)

* GetServiceAccountApplicationKey Get one application key for this service account * Get an application key owned by this service account.

func (*ServiceAccountsApiService) ListServiceAccountApplicationKeys ¶ added in v1.3.0

* ListServiceAccountApplicationKeys List application keys for this service account * List all application keys available for this service account.

func (*ServiceAccountsApiService) UpdateServiceAccountApplicationKey ¶ added in v1.3.0

func (a *ServiceAccountsApiService) UpdateServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, appKeyId string, body ApplicationKeyUpdateRequest) (PartialApplicationKeyResponse, *_nethttp.Response, error)

* UpdateServiceAccountApplicationKey Edit an application key for this service account * Edit an application key owned by this service account.

type SubmitLogOptionalParameters ¶ added in v1.6.0

type SubmitLogOptionalParameters struct {
	ContentEncoding *ContentEncoding
	Ddtags          *string
}

func NewSubmitLogOptionalParameters ¶ added in v1.6.0

func NewSubmitLogOptionalParameters() *SubmitLogOptionalParameters

func (*SubmitLogOptionalParameters) WithContentEncoding ¶ added in v1.6.0

func (r *SubmitLogOptionalParameters) WithContentEncoding(contentEncoding ContentEncoding) *SubmitLogOptionalParameters

func (*SubmitLogOptionalParameters) WithDdtags ¶ added in v1.6.0

type UpdateIncidentOptionalParameters ¶ added in v1.9.0

type UpdateIncidentOptionalParameters struct {
	Include *[]IncidentRelatedObject
}

func NewUpdateIncidentOptionalParameters ¶ added in v1.9.0

func NewUpdateIncidentOptionalParameters() *UpdateIncidentOptionalParameters

func (*UpdateIncidentOptionalParameters) WithInclude ¶ added in v1.9.0

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)

func (*User) SetAttributes ¶

func (o *User) SetAttributes(v UserAttributes)

SetAttributes gets a reference to the given UserAttributes and assigns it to the Attributes field.

func (*User) SetId ¶

func (o *User) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*User) SetRelationships ¶

func (o *User) SetRelationships(v UserResponseRelationships)

SetRelationships gets a reference to the given UserResponseRelationships and assigns it to the Relationships field.

func (*User) SetType ¶

func (o *User) SetType(v UsersType)

SetType gets a reference to the given UsersType and assigns it to the Type field.

func (*User) UnmarshalJSON ¶ added in v1.3.0

func (o *User) UnmarshalJSON(bytes []byte) (err error)

type UserAttributes ¶

type UserAttributes struct {
	// Creation time of the user.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Whether the user is disabled.
	Disabled *bool `json:"disabled,omitempty"`
	// Email of the user.
	Email *string `json:"email,omitempty"`
	// Handle of the user.
	Handle *string `json:"handle,omitempty"`
	// URL of the user's icon.
	Icon *string `json:"icon,omitempty"`
	// Time that the user was last modified.
	ModifiedAt *time.Time `json:"modified_at,omitempty"`
	// Name of the user.
	Name NullableString `json:"name,omitempty"`
	// Whether the user is a service account.
	ServiceAccount *bool `json:"service_account,omitempty"`
	// Status of the user.
	Status *string `json:"status,omitempty"`
	// Title of the user.
	Title NullableString `json:"title,omitempty"`
	// Whether the user is verified.
	Verified *bool `json:"verified,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserAttributes Attributes of user object returned by the API.

func NewUserAttributes ¶

func NewUserAttributes() *UserAttributes

NewUserAttributes instantiates a new UserAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserAttributesWithDefaults ¶

func NewUserAttributesWithDefaults() *UserAttributes

NewUserAttributesWithDefaults instantiates a new UserAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserAttributes) GetCreatedAt ¶

func (o *UserAttributes) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*UserAttributes) GetCreatedAtOk ¶

func (o *UserAttributes) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetDisabled ¶

func (o *UserAttributes) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*UserAttributes) GetDisabledOk ¶

func (o *UserAttributes) GetDisabledOk() (*bool, bool)

GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetEmail ¶

func (o *UserAttributes) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserAttributes) GetEmailOk ¶

func (o *UserAttributes) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetHandle ¶

func (o *UserAttributes) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*UserAttributes) GetHandleOk ¶

func (o *UserAttributes) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetIcon ¶

func (o *UserAttributes) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*UserAttributes) GetIconOk ¶

func (o *UserAttributes) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetModifiedAt ¶

func (o *UserAttributes) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*UserAttributes) GetModifiedAtOk ¶

func (o *UserAttributes) GetModifiedAtOk() (*time.Time, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetName ¶

func (o *UserAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UserAttributes) GetNameOk ¶

func (o *UserAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UserAttributes) GetServiceAccount ¶ added in v1.3.0

func (o *UserAttributes) GetServiceAccount() bool

GetServiceAccount returns the ServiceAccount field value if set, zero value otherwise.

func (*UserAttributes) GetServiceAccountOk ¶ added in v1.3.0

func (o *UserAttributes) GetServiceAccountOk() (*bool, bool)

GetServiceAccountOk returns a tuple with the ServiceAccount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetStatus ¶

func (o *UserAttributes) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*UserAttributes) GetStatusOk ¶

func (o *UserAttributes) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) GetTitle ¶

func (o *UserAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UserAttributes) GetTitleOk ¶

func (o *UserAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UserAttributes) GetVerified ¶

func (o *UserAttributes) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*UserAttributes) GetVerifiedOk ¶

func (o *UserAttributes) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAttributes) HasCreatedAt ¶

func (o *UserAttributes) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*UserAttributes) HasDisabled ¶

func (o *UserAttributes) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*UserAttributes) HasEmail ¶

func (o *UserAttributes) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserAttributes) HasHandle ¶

func (o *UserAttributes) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*UserAttributes) HasIcon ¶

func (o *UserAttributes) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*UserAttributes) HasModifiedAt ¶

func (o *UserAttributes) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*UserAttributes) HasName ¶

func (o *UserAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserAttributes) HasServiceAccount ¶ added in v1.3.0

func (o *UserAttributes) HasServiceAccount() bool

HasServiceAccount returns a boolean if a field has been set.

func (*UserAttributes) HasStatus ¶

func (o *UserAttributes) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UserAttributes) HasTitle ¶

func (o *UserAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*UserAttributes) HasVerified ¶

func (o *UserAttributes) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (UserAttributes) MarshalJSON ¶

func (o UserAttributes) MarshalJSON() ([]byte, error)

func (*UserAttributes) SetCreatedAt ¶

func (o *UserAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*UserAttributes) SetDisabled ¶

func (o *UserAttributes) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*UserAttributes) SetEmail ¶

func (o *UserAttributes) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserAttributes) SetHandle ¶

func (o *UserAttributes) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*UserAttributes) SetIcon ¶

func (o *UserAttributes) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (*UserAttributes) SetModifiedAt ¶

func (o *UserAttributes) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*UserAttributes) SetName ¶

func (o *UserAttributes) SetName(v string)

SetName gets a reference to the given NullableString and assigns it to the Name field.

func (*UserAttributes) SetNameNil ¶ added in v1.5.0

func (o *UserAttributes) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (*UserAttributes) SetServiceAccount ¶ added in v1.3.0

func (o *UserAttributes) SetServiceAccount(v bool)

SetServiceAccount gets a reference to the given bool and assigns it to the ServiceAccount field.

func (*UserAttributes) SetStatus ¶

func (o *UserAttributes) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*UserAttributes) SetTitle ¶

func (o *UserAttributes) SetTitle(v string)

SetTitle gets a reference to the given NullableString and assigns it to the Title field.

func (*UserAttributes) SetTitleNil ¶ added in v1.5.0

func (o *UserAttributes) SetTitleNil()

SetTitleNil sets the value for Title to be an explicit nil

func (*UserAttributes) SetVerified ¶

func (o *UserAttributes) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

func (*UserAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *UserAttributes) UnmarshalJSON(bytes []byte) (err error)

func (*UserAttributes) UnsetName ¶ added in v1.5.0

func (o *UserAttributes) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

func (*UserAttributes) UnsetTitle ¶ added in v1.5.0

func (o *UserAttributes) UnsetTitle()

UnsetTitle ensures that no value is present for Title, not even an explicit nil

type UserCreateAttributes ¶

type UserCreateAttributes struct {
	// The email of the user.
	Email string `json:"email"`
	// The name of the user.
	Name *string `json:"name,omitempty"`
	// The title of the user.
	Title *string `json:"title,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UserCreateAttributes Attributes of the created user.

func NewUserCreateAttributes ¶

func NewUserCreateAttributes(email string) *UserCreateAttributes

NewUserCreateAttributes instantiates a new UserCreateAttributes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserCreateAttributesWithDefaults ¶

func NewUserCreateAttributesWithDefaults() *UserCreateAttributes

NewUserCreateAttributesWithDefaults instantiates a new UserCreateAttributes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserCreateAttributes) GetEmail ¶

func (o *UserCreateAttributes) GetEmail() string

GetEmail returns the Email field value

func (*UserCreateAttributes) GetEmailOk ¶

func (o *UserCreateAttributes) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*UserCreateAttributes) GetName ¶

func (o *UserCreateAttributes) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserCreateAttributes) GetNameOk ¶

func (o *UserCreateAttributes) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateAttributes) GetTitle ¶

func (o *UserCreateAttributes) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*UserCreateAttributes) GetTitleOk ¶

func (o *UserCreateAttributes) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateAttributes) HasName ¶

func (o *UserCreateAttributes) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserCreateAttributes) HasTitle ¶

func (o *UserCreateAttributes) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (UserCreateAttributes) MarshalJSON ¶

func (o UserCreateAttributes) MarshalJSON() ([]byte, error)

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)

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, type_ 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)

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)

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)

func (*UserCreateRequest) SetData ¶

func (o *UserCreateRequest) SetData(v UserCreateData)

SetData sets field value

func (*UserCreateRequest) UnmarshalJSON ¶

func (o *UserCreateRequest) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

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)

func (*UserInvitationDataAttributes) SetCreatedAt ¶

func (o *UserInvitationDataAttributes) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*UserInvitationDataAttributes) SetExpiresAt ¶

func (o *UserInvitationDataAttributes) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*UserInvitationDataAttributes) SetInviteType ¶

func (o *UserInvitationDataAttributes) SetInviteType(v string)

SetInviteType gets a reference to the given string and assigns it to the InviteType field.

func (*UserInvitationDataAttributes) SetUuid ¶

func (o *UserInvitationDataAttributes) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*UserInvitationDataAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *UserInvitationDataAttributes) UnmarshalJSON(bytes []byte) (err error)

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)

func (*UserInvitationRelationships) SetUser ¶

SetUser sets field value

func (*UserInvitationRelationships) UnmarshalJSON ¶

func (o *UserInvitationRelationships) UnmarshalJSON(bytes []byte) (err error)

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)

func (*UserInvitationResponse) SetData ¶

SetData gets a reference to the given UserInvitationResponseData and assigns it to the Data field.

func (*UserInvitationResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UserInvitationResponse) UnmarshalJSON(bytes []byte) (err error)

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)

func (*UserInvitationResponseData) SetAttributes ¶

SetAttributes gets a reference to the given UserInvitationDataAttributes and assigns it to the Attributes field.

func (*UserInvitationResponseData) SetId ¶

func (o *UserInvitationResponseData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UserInvitationResponseData) SetType ¶

SetType gets a reference to the given UserInvitationsType and assigns it to the Type field.

func (*UserInvitationResponseData) UnmarshalJSON ¶ added in v1.3.0

func (o *UserInvitationResponseData) UnmarshalJSON(bytes []byte) (err error)

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)

func (*UserInvitationsRequest) SetData ¶

SetData sets field value

func (*UserInvitationsRequest) UnmarshalJSON ¶

func (o *UserInvitationsRequest) UnmarshalJSON(bytes []byte) (err error)

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)

func (*UserInvitationsResponse) SetData ¶

SetData gets a reference to the given []UserInvitationResponseData and assigns it to the Data field.

func (*UserInvitationsResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UserInvitationsResponse) UnmarshalJSON(bytes []byte) (err error)

type UserInvitationsType ¶

type UserInvitationsType string

UserInvitationsType User invitations type.

const (
	USERINVITATIONSTYPE_USER_INVITATIONS UserInvitationsType = "user_invitations"
)

List of UserInvitationsType

func NewUserInvitationsTypeFromValue ¶

func NewUserInvitationsTypeFromValue(v string) (*UserInvitationsType, error)

NewUserInvitationsTypeFromValue returns a pointer to a valid UserInvitationsType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*UserInvitationsType) GetAllowedValues ¶ added in v1.1.0

func (w *UserInvitationsType) GetAllowedValues() []UserInvitationsType

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

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)

func (*UserRelationships) SetRoles ¶

func (o *UserRelationships) SetRoles(v RelationshipToRoles)

SetRoles gets a reference to the given RelationshipToRoles and assigns it to the Roles field.

func (*UserRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *UserRelationships) UnmarshalJSON(bytes []byte) (err error)

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)

func (*UserResponse) SetData ¶

func (o *UserResponse) SetData(v User)

SetData gets a reference to the given User and assigns it to the Data field.

func (*UserResponse) SetIncluded ¶

func (o *UserResponse) SetIncluded(v []UserResponseIncludedItem)

SetIncluded gets a reference to the given []UserResponseIncludedItem and assigns it to the Included field.

func (*UserResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UserResponse) UnmarshalJSON(bytes []byte) (err error)

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{}

Get the actual instance

func (UserResponseIncludedItem) MarshalJSON ¶

func (src UserResponseIncludedItem) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UserResponseIncludedItem) UnmarshalJSON ¶

func (dst *UserResponseIncludedItem) UnmarshalJSON(data []byte) error

Unmarshal JSON 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)

func (*UserResponseRelationships) SetOrg ¶

SetOrg gets a reference to the given RelationshipToOrganization and assigns it to the Org field.

func (*UserResponseRelationships) SetOtherOrgs ¶

SetOtherOrgs gets a reference to the given RelationshipToOrganizations and assigns it to the OtherOrgs field.

func (*UserResponseRelationships) SetOtherUsers ¶

func (o *UserResponseRelationships) SetOtherUsers(v RelationshipToUsers)

SetOtherUsers gets a reference to the given RelationshipToUsers and assigns it to the OtherUsers field.

func (*UserResponseRelationships) SetRoles ¶

SetRoles gets a reference to the given RelationshipToRoles and assigns it to the Roles field.

func (*UserResponseRelationships) UnmarshalJSON ¶ added in v1.3.0

func (o *UserResponseRelationships) UnmarshalJSON(bytes []byte) (err error)

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)

func (*UserUpdateAttributes) SetDisabled ¶

func (o *UserUpdateAttributes) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*UserUpdateAttributes) SetEmail ¶

func (o *UserUpdateAttributes) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserUpdateAttributes) SetName ¶

func (o *UserUpdateAttributes) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0

func (o *UserUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)

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, type_ 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)

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)

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)

func (*UserUpdateRequest) SetData ¶

func (o *UserUpdateRequest) SetData(v UserUpdateData)

SetData sets field value

func (*UserUpdateRequest) UnmarshalJSON ¶

func (o *UserUpdateRequest) UnmarshalJSON(bytes []byte) (err error)

type UsersApiService ¶

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) CreateServiceAccount ¶ added in v1.3.0

* CreateServiceAccount Create a service account * Create a service account for your organization.

func (*UsersApiService) CreateUser ¶

* CreateUser Create a user * Create a user for your organization.

func (*UsersApiService) DisableUser ¶

func (a *UsersApiService) DisableUser(ctx _context.Context, userId string) (*_nethttp.Response, error)

* DisableUser Disable a user * Disable a user. Can only be used with an application key belonging * to an administrator user.

func (*UsersApiService) GetInvitation ¶

func (a *UsersApiService) GetInvitation(ctx _context.Context, userInvitationUuid string) (UserInvitationResponse, *_nethttp.Response, error)

* GetInvitation Get a user invitation * Returns a single user invitation by its UUID.

func (*UsersApiService) GetUser ¶

* GetUser Get user details * Get a user in the organization specified by the user’s `user_id`.

func (*UsersApiService) ListUserOrganizations ¶

func (a *UsersApiService) ListUserOrganizations(ctx _context.Context, userId string) (UserResponse, *_nethttp.Response, error)

* ListUserOrganizations Get a user organization * Get a user organization. Returns the user information and all organizations * joined by this user.

func (*UsersApiService) ListUserPermissions ¶

func (a *UsersApiService) ListUserPermissions(ctx _context.Context, userId string) (PermissionsResponse, *_nethttp.Response, error)

* ListUserPermissions Get a user permissions * Get a user permission set. Returns a list of the user’s permissions * granted by the associated user's roles.

func (*UsersApiService) ListUsers ¶

* ListUsers List all users * Get the list of all users in the organization. This list includes * all users even if they are deactivated or unverified.

func (*UsersApiService) SendInvitations ¶

* SendInvitations Send invitation emails * Sends emails to one or more users inviting them to join the organization.

func (*UsersApiService) UpdateUser ¶

* UpdateUser Update a user * Edit a user. Can only be used with an application key belonging * to an administrator user.

type UsersResponse ¶

type UsersResponse struct {
	// Array of returned users.
	Data *[]User `json:"data,omitempty"`
	// Array of objects related to the users.
	Included *[]UserResponseIncludedItem `json:"included,omitempty"`
	// Object describing meta attributes of response.
	Meta *ResponseMetaAttributes `json:"meta,omitempty"`
	// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
	UnparsedObject       map[string]interface{} `json:-`
	AdditionalProperties map[string]interface{}
}

UsersResponse Response containing information about multiple users.

func NewUsersResponse ¶

func NewUsersResponse() *UsersResponse

NewUsersResponse instantiates a new UsersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUsersResponseWithDefaults ¶

func NewUsersResponseWithDefaults() *UsersResponse

NewUsersResponseWithDefaults instantiates a new UsersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UsersResponse) GetData ¶

func (o *UsersResponse) GetData() []User

GetData returns the Data field value if set, zero value otherwise.

func (*UsersResponse) GetDataOk ¶

func (o *UsersResponse) GetDataOk() (*[]User, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsersResponse) GetIncluded ¶

func (o *UsersResponse) GetIncluded() []UserResponseIncludedItem

GetIncluded returns the Included field value if set, zero value otherwise.

func (*UsersResponse) GetIncludedOk ¶

func (o *UsersResponse) GetIncludedOk() (*[]UserResponseIncludedItem, bool)

GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsersResponse) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*UsersResponse) GetMetaOk ¶

func (o *UsersResponse) GetMetaOk() (*ResponseMetaAttributes, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsersResponse) HasData ¶

func (o *UsersResponse) HasData() bool

HasData returns a boolean if a field has been set.

func (*UsersResponse) HasIncluded ¶

func (o *UsersResponse) HasIncluded() bool

HasIncluded returns a boolean if a field has been set.

func (*UsersResponse) HasMeta ¶

func (o *UsersResponse) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (UsersResponse) MarshalJSON ¶

func (o UsersResponse) MarshalJSON() ([]byte, error)

func (*UsersResponse) SetData ¶

func (o *UsersResponse) SetData(v []User)

SetData gets a reference to the given []User and assigns it to the Data field.

func (*UsersResponse) SetIncluded ¶

func (o *UsersResponse) SetIncluded(v []UserResponseIncludedItem)

SetIncluded gets a reference to the given []UserResponseIncludedItem and assigns it to the Included field.

func (*UsersResponse) SetMeta ¶

func (o *UsersResponse) SetMeta(v ResponseMetaAttributes)

SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.

func (*UsersResponse) UnmarshalJSON ¶ added in v1.3.0

func (o *UsersResponse) UnmarshalJSON(bytes []byte) (err error)

type UsersType ¶

type UsersType string

UsersType Users resource type.

const (
	USERSTYPE_USERS UsersType = "users"
)

List of UsersType

func NewUsersTypeFromValue ¶

func NewUsersTypeFromValue(v string) (*UsersType, error)

NewUsersTypeFromValue returns a pointer to a valid UsersType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (*UsersType) GetAllowedValues ¶ added in v1.1.0

func (w *UsersType) GetAllowedValues() []UsersType

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

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL