Documentation
¶
Index ¶
- Variables
- func ContainsUnparsedObject(i interface{}) (bool, interface{})
- func NewDefaultContext(ctx context.Context) context.Context
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIErrorResponse
- type APIKey
- type APIKeyCreateAttributes
- type APIKeyCreateData
- func (o *APIKeyCreateData) GetAttributes() APIKeyCreateAttributes
- func (o *APIKeyCreateData) GetAttributesOk() (*APIKeyCreateAttributes, bool)
- func (o *APIKeyCreateData) GetType() APIKeysType
- func (o *APIKeyCreateData) GetTypeOk() (*APIKeysType, bool)
- func (o APIKeyCreateData) MarshalJSON() ([]byte, error)
- func (o *APIKeyCreateData) SetAttributes(v APIKeyCreateAttributes)
- func (o *APIKeyCreateData) SetType(v APIKeysType)
- func (o *APIKeyCreateData) UnmarshalJSON(bytes []byte) (err error)
- type APIKeyCreateRequest
- func (o *APIKeyCreateRequest) GetData() APIKeyCreateData
- func (o *APIKeyCreateRequest) GetDataOk() (*APIKeyCreateData, bool)
- func (o APIKeyCreateRequest) MarshalJSON() ([]byte, error)
- func (o *APIKeyCreateRequest) SetData(v APIKeyCreateData)
- func (o *APIKeyCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type APIKeyRelationships
- func (o *APIKeyRelationships) GetCreatedBy() RelationshipToUser
- func (o *APIKeyRelationships) GetCreatedByOk() (*RelationshipToUser, bool)
- func (o *APIKeyRelationships) GetModifiedBy() RelationshipToUser
- func (o *APIKeyRelationships) GetModifiedByOk() (*RelationshipToUser, bool)
- func (o *APIKeyRelationships) HasCreatedBy() bool
- func (o *APIKeyRelationships) HasModifiedBy() bool
- func (o APIKeyRelationships) MarshalJSON() ([]byte, error)
- func (o *APIKeyRelationships) SetCreatedBy(v RelationshipToUser)
- func (o *APIKeyRelationships) SetModifiedBy(v RelationshipToUser)
- func (o *APIKeyRelationships) UnmarshalJSON(bytes []byte) (err error)
- type APIKeyResponse
- func (o *APIKeyResponse) GetData() FullAPIKey
- func (o *APIKeyResponse) GetDataOk() (*FullAPIKey, bool)
- func (o *APIKeyResponse) GetIncluded() []APIKeyResponseIncludedItem
- func (o *APIKeyResponse) GetIncludedOk() (*[]APIKeyResponseIncludedItem, bool)
- func (o *APIKeyResponse) HasData() bool
- func (o *APIKeyResponse) HasIncluded() bool
- func (o APIKeyResponse) MarshalJSON() ([]byte, error)
- func (o *APIKeyResponse) SetData(v FullAPIKey)
- func (o *APIKeyResponse) SetIncluded(v []APIKeyResponseIncludedItem)
- func (o *APIKeyResponse) UnmarshalJSON(bytes []byte) (err error)
- type APIKeyResponseIncludedItem
- type APIKeyUpdateAttributes
- type APIKeyUpdateData
- func (o *APIKeyUpdateData) GetAttributes() APIKeyUpdateAttributes
- func (o *APIKeyUpdateData) GetAttributesOk() (*APIKeyUpdateAttributes, bool)
- func (o *APIKeyUpdateData) GetId() string
- func (o *APIKeyUpdateData) GetIdOk() (*string, bool)
- func (o *APIKeyUpdateData) GetType() APIKeysType
- func (o *APIKeyUpdateData) GetTypeOk() (*APIKeysType, bool)
- func (o APIKeyUpdateData) MarshalJSON() ([]byte, error)
- func (o *APIKeyUpdateData) SetAttributes(v APIKeyUpdateAttributes)
- func (o *APIKeyUpdateData) SetId(v string)
- func (o *APIKeyUpdateData) SetType(v APIKeysType)
- func (o *APIKeyUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type APIKeyUpdateRequest
- func (o *APIKeyUpdateRequest) GetData() APIKeyUpdateData
- func (o *APIKeyUpdateRequest) GetDataOk() (*APIKeyUpdateData, bool)
- func (o APIKeyUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *APIKeyUpdateRequest) SetData(v APIKeyUpdateData)
- func (o *APIKeyUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type APIKeysResponse
- func (o *APIKeysResponse) GetData() []PartialAPIKey
- func (o *APIKeysResponse) GetDataOk() (*[]PartialAPIKey, bool)
- func (o *APIKeysResponse) GetIncluded() []APIKeyResponseIncludedItem
- func (o *APIKeysResponse) GetIncludedOk() (*[]APIKeyResponseIncludedItem, bool)
- func (o *APIKeysResponse) HasData() bool
- func (o *APIKeysResponse) HasIncluded() bool
- func (o APIKeysResponse) MarshalJSON() ([]byte, error)
- func (o *APIKeysResponse) SetData(v []PartialAPIKey)
- func (o *APIKeysResponse) SetIncluded(v []APIKeyResponseIncludedItem)
- func (o *APIKeysResponse) UnmarshalJSON(bytes []byte) (err error)
- type APIKeysSort
- type APIKeysType
- type ApplicationKeyCreateAttributes
- func (o *ApplicationKeyCreateAttributes) GetName() string
- func (o *ApplicationKeyCreateAttributes) GetNameOk() (*string, bool)
- func (o *ApplicationKeyCreateAttributes) GetScopes() []string
- func (o *ApplicationKeyCreateAttributes) GetScopesOk() (*[]string, bool)
- func (o *ApplicationKeyCreateAttributes) HasScopes() bool
- func (o ApplicationKeyCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *ApplicationKeyCreateAttributes) SetName(v string)
- func (o *ApplicationKeyCreateAttributes) SetScopes(v []string)
- func (o *ApplicationKeyCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type ApplicationKeyCreateData
- func (o *ApplicationKeyCreateData) GetAttributes() ApplicationKeyCreateAttributes
- func (o *ApplicationKeyCreateData) GetAttributesOk() (*ApplicationKeyCreateAttributes, bool)
- func (o *ApplicationKeyCreateData) GetType() ApplicationKeysType
- func (o *ApplicationKeyCreateData) GetTypeOk() (*ApplicationKeysType, bool)
- func (o ApplicationKeyCreateData) MarshalJSON() ([]byte, error)
- func (o *ApplicationKeyCreateData) SetAttributes(v ApplicationKeyCreateAttributes)
- func (o *ApplicationKeyCreateData) SetType(v ApplicationKeysType)
- func (o *ApplicationKeyCreateData) UnmarshalJSON(bytes []byte) (err error)
- type ApplicationKeyCreateRequest
- func (o *ApplicationKeyCreateRequest) GetData() ApplicationKeyCreateData
- func (o *ApplicationKeyCreateRequest) GetDataOk() (*ApplicationKeyCreateData, bool)
- func (o ApplicationKeyCreateRequest) MarshalJSON() ([]byte, error)
- func (o *ApplicationKeyCreateRequest) SetData(v ApplicationKeyCreateData)
- func (o *ApplicationKeyCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type ApplicationKeyRelationships
- func (o *ApplicationKeyRelationships) GetOwnedBy() RelationshipToUser
- func (o *ApplicationKeyRelationships) GetOwnedByOk() (*RelationshipToUser, bool)
- func (o *ApplicationKeyRelationships) HasOwnedBy() bool
- func (o ApplicationKeyRelationships) MarshalJSON() ([]byte, error)
- func (o *ApplicationKeyRelationships) SetOwnedBy(v RelationshipToUser)
- func (o *ApplicationKeyRelationships) UnmarshalJSON(bytes []byte) (err error)
- type ApplicationKeyResponse
- func (o *ApplicationKeyResponse) GetData() FullApplicationKey
- func (o *ApplicationKeyResponse) GetDataOk() (*FullApplicationKey, bool)
- func (o *ApplicationKeyResponse) GetIncluded() []ApplicationKeyResponseIncludedItem
- func (o *ApplicationKeyResponse) GetIncludedOk() (*[]ApplicationKeyResponseIncludedItem, bool)
- func (o *ApplicationKeyResponse) HasData() bool
- func (o *ApplicationKeyResponse) HasIncluded() bool
- func (o ApplicationKeyResponse) MarshalJSON() ([]byte, error)
- func (o *ApplicationKeyResponse) SetData(v FullApplicationKey)
- func (o *ApplicationKeyResponse) SetIncluded(v []ApplicationKeyResponseIncludedItem)
- func (o *ApplicationKeyResponse) UnmarshalJSON(bytes []byte) (err error)
- type ApplicationKeyResponseIncludedItem
- type ApplicationKeyUpdateAttributes
- func (o *ApplicationKeyUpdateAttributes) GetName() string
- func (o *ApplicationKeyUpdateAttributes) GetNameOk() (*string, bool)
- func (o *ApplicationKeyUpdateAttributes) GetScopes() []string
- func (o *ApplicationKeyUpdateAttributes) GetScopesOk() (*[]string, bool)
- func (o *ApplicationKeyUpdateAttributes) HasName() bool
- func (o *ApplicationKeyUpdateAttributes) HasScopes() bool
- func (o ApplicationKeyUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *ApplicationKeyUpdateAttributes) SetName(v string)
- func (o *ApplicationKeyUpdateAttributes) SetScopes(v []string)
- func (o *ApplicationKeyUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type ApplicationKeyUpdateData
- func (o *ApplicationKeyUpdateData) GetAttributes() ApplicationKeyUpdateAttributes
- func (o *ApplicationKeyUpdateData) GetAttributesOk() (*ApplicationKeyUpdateAttributes, bool)
- func (o *ApplicationKeyUpdateData) GetId() string
- func (o *ApplicationKeyUpdateData) GetIdOk() (*string, bool)
- func (o *ApplicationKeyUpdateData) GetType() ApplicationKeysType
- func (o *ApplicationKeyUpdateData) GetTypeOk() (*ApplicationKeysType, bool)
- func (o ApplicationKeyUpdateData) MarshalJSON() ([]byte, error)
- func (o *ApplicationKeyUpdateData) SetAttributes(v ApplicationKeyUpdateAttributes)
- func (o *ApplicationKeyUpdateData) SetId(v string)
- func (o *ApplicationKeyUpdateData) SetType(v ApplicationKeysType)
- func (o *ApplicationKeyUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type ApplicationKeyUpdateRequest
- func (o *ApplicationKeyUpdateRequest) GetData() ApplicationKeyUpdateData
- func (o *ApplicationKeyUpdateRequest) GetDataOk() (*ApplicationKeyUpdateData, bool)
- func (o ApplicationKeyUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ApplicationKeyUpdateRequest) SetData(v ApplicationKeyUpdateData)
- func (o *ApplicationKeyUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type ApplicationKeysSort
- type ApplicationKeysType
- type AuditApiService
- func (a *AuditApiService) ListAuditLogs(ctx _context.Context, o ...ListAuditLogsOptionalParameters) (AuditLogsEventsResponse, *_nethttp.Response, error)
- func (a *AuditApiService) ListAuditLogsWithPagination(ctx _context.Context, o ...ListAuditLogsOptionalParameters) (<-chan AuditLogsEvent, func(), error)
- func (a *AuditApiService) SearchAuditLogs(ctx _context.Context, o ...SearchAuditLogsOptionalParameters) (AuditLogsEventsResponse, *_nethttp.Response, error)
- func (a *AuditApiService) SearchAuditLogsWithPagination(ctx _context.Context, o ...SearchAuditLogsOptionalParameters) (<-chan AuditLogsEvent, func(), error)
- type AuditLogsEvent
- func (o *AuditLogsEvent) GetAttributes() AuditLogsEventAttributes
- func (o *AuditLogsEvent) GetAttributesOk() (*AuditLogsEventAttributes, bool)
- func (o *AuditLogsEvent) GetId() string
- func (o *AuditLogsEvent) GetIdOk() (*string, bool)
- func (o *AuditLogsEvent) GetType() AuditLogsEventType
- func (o *AuditLogsEvent) GetTypeOk() (*AuditLogsEventType, bool)
- func (o *AuditLogsEvent) HasAttributes() bool
- func (o *AuditLogsEvent) HasId() bool
- func (o *AuditLogsEvent) HasType() bool
- func (o AuditLogsEvent) MarshalJSON() ([]byte, error)
- func (o *AuditLogsEvent) SetAttributes(v AuditLogsEventAttributes)
- func (o *AuditLogsEvent) SetId(v string)
- func (o *AuditLogsEvent) SetType(v AuditLogsEventType)
- func (o *AuditLogsEvent) UnmarshalJSON(bytes []byte) (err error)
- type AuditLogsEventAttributes
- func (o *AuditLogsEventAttributes) GetAttributes() map[string]interface{}
- func (o *AuditLogsEventAttributes) GetAttributesOk() (*map[string]interface{}, bool)
- func (o *AuditLogsEventAttributes) GetService() string
- func (o *AuditLogsEventAttributes) GetServiceOk() (*string, bool)
- func (o *AuditLogsEventAttributes) GetTags() []string
- func (o *AuditLogsEventAttributes) GetTagsOk() (*[]string, bool)
- func (o *AuditLogsEventAttributes) GetTimestamp() time.Time
- func (o *AuditLogsEventAttributes) GetTimestampOk() (*time.Time, bool)
- func (o *AuditLogsEventAttributes) HasAttributes() bool
- func (o *AuditLogsEventAttributes) HasService() bool
- func (o *AuditLogsEventAttributes) HasTags() bool
- func (o *AuditLogsEventAttributes) HasTimestamp() bool
- func (o AuditLogsEventAttributes) MarshalJSON() ([]byte, error)
- func (o *AuditLogsEventAttributes) SetAttributes(v map[string]interface{})
- func (o *AuditLogsEventAttributes) SetService(v string)
- func (o *AuditLogsEventAttributes) SetTags(v []string)
- func (o *AuditLogsEventAttributes) SetTimestamp(v time.Time)
- func (o *AuditLogsEventAttributes) UnmarshalJSON(bytes []byte) (err error)
- type AuditLogsEventType
- type AuditLogsEventsResponse
- func (o *AuditLogsEventsResponse) GetData() []AuditLogsEvent
- func (o *AuditLogsEventsResponse) GetDataOk() (*[]AuditLogsEvent, bool)
- func (o *AuditLogsEventsResponse) GetLinks() AuditLogsResponseLinks
- func (o *AuditLogsEventsResponse) GetLinksOk() (*AuditLogsResponseLinks, bool)
- func (o *AuditLogsEventsResponse) GetMeta() AuditLogsResponseMetadata
- func (o *AuditLogsEventsResponse) GetMetaOk() (*AuditLogsResponseMetadata, bool)
- func (o *AuditLogsEventsResponse) HasData() bool
- func (o *AuditLogsEventsResponse) HasLinks() bool
- func (o *AuditLogsEventsResponse) HasMeta() bool
- func (o AuditLogsEventsResponse) MarshalJSON() ([]byte, error)
- func (o *AuditLogsEventsResponse) SetData(v []AuditLogsEvent)
- func (o *AuditLogsEventsResponse) SetLinks(v AuditLogsResponseLinks)
- func (o *AuditLogsEventsResponse) SetMeta(v AuditLogsResponseMetadata)
- func (o *AuditLogsEventsResponse) UnmarshalJSON(bytes []byte) (err error)
- type AuditLogsQueryFilter
- func (o *AuditLogsQueryFilter) GetFrom() string
- func (o *AuditLogsQueryFilter) GetFromOk() (*string, bool)
- func (o *AuditLogsQueryFilter) GetQuery() string
- func (o *AuditLogsQueryFilter) GetQueryOk() (*string, bool)
- func (o *AuditLogsQueryFilter) GetTo() string
- func (o *AuditLogsQueryFilter) GetToOk() (*string, bool)
- func (o *AuditLogsQueryFilter) HasFrom() bool
- func (o *AuditLogsQueryFilter) HasQuery() bool
- func (o *AuditLogsQueryFilter) HasTo() bool
- func (o AuditLogsQueryFilter) MarshalJSON() ([]byte, error)
- func (o *AuditLogsQueryFilter) SetFrom(v string)
- func (o *AuditLogsQueryFilter) SetQuery(v string)
- func (o *AuditLogsQueryFilter) SetTo(v string)
- func (o *AuditLogsQueryFilter) UnmarshalJSON(bytes []byte) (err error)
- type AuditLogsQueryOptions
- func (o *AuditLogsQueryOptions) GetTimeOffset() int64
- func (o *AuditLogsQueryOptions) GetTimeOffsetOk() (*int64, bool)
- func (o *AuditLogsQueryOptions) GetTimezone() string
- func (o *AuditLogsQueryOptions) GetTimezoneOk() (*string, bool)
- func (o *AuditLogsQueryOptions) HasTimeOffset() bool
- func (o *AuditLogsQueryOptions) HasTimezone() bool
- func (o AuditLogsQueryOptions) MarshalJSON() ([]byte, error)
- func (o *AuditLogsQueryOptions) SetTimeOffset(v int64)
- func (o *AuditLogsQueryOptions) SetTimezone(v string)
- func (o *AuditLogsQueryOptions) UnmarshalJSON(bytes []byte) (err error)
- type AuditLogsQueryPageOptions
- func (o *AuditLogsQueryPageOptions) GetCursor() string
- func (o *AuditLogsQueryPageOptions) GetCursorOk() (*string, bool)
- func (o *AuditLogsQueryPageOptions) GetLimit() int32
- func (o *AuditLogsQueryPageOptions) GetLimitOk() (*int32, bool)
- func (o *AuditLogsQueryPageOptions) HasCursor() bool
- func (o *AuditLogsQueryPageOptions) HasLimit() bool
- func (o AuditLogsQueryPageOptions) MarshalJSON() ([]byte, error)
- func (o *AuditLogsQueryPageOptions) SetCursor(v string)
- func (o *AuditLogsQueryPageOptions) SetLimit(v int32)
- func (o *AuditLogsQueryPageOptions) UnmarshalJSON(bytes []byte) (err error)
- type AuditLogsResponseLinks
- func (o *AuditLogsResponseLinks) GetNext() string
- func (o *AuditLogsResponseLinks) GetNextOk() (*string, bool)
- func (o *AuditLogsResponseLinks) HasNext() bool
- func (o AuditLogsResponseLinks) MarshalJSON() ([]byte, error)
- func (o *AuditLogsResponseLinks) SetNext(v string)
- func (o *AuditLogsResponseLinks) UnmarshalJSON(bytes []byte) (err error)
- type AuditLogsResponseMetadata
- func (o *AuditLogsResponseMetadata) GetElapsed() int64
- func (o *AuditLogsResponseMetadata) GetElapsedOk() (*int64, bool)
- func (o *AuditLogsResponseMetadata) GetPage() AuditLogsResponsePage
- func (o *AuditLogsResponseMetadata) GetPageOk() (*AuditLogsResponsePage, bool)
- func (o *AuditLogsResponseMetadata) GetRequestId() string
- func (o *AuditLogsResponseMetadata) GetRequestIdOk() (*string, bool)
- func (o *AuditLogsResponseMetadata) GetStatus() AuditLogsResponseStatus
- func (o *AuditLogsResponseMetadata) GetStatusOk() (*AuditLogsResponseStatus, bool)
- func (o *AuditLogsResponseMetadata) GetWarnings() []AuditLogsWarning
- func (o *AuditLogsResponseMetadata) GetWarningsOk() (*[]AuditLogsWarning, bool)
- func (o *AuditLogsResponseMetadata) HasElapsed() bool
- func (o *AuditLogsResponseMetadata) HasPage() bool
- func (o *AuditLogsResponseMetadata) HasRequestId() bool
- func (o *AuditLogsResponseMetadata) HasStatus() bool
- func (o *AuditLogsResponseMetadata) HasWarnings() bool
- func (o AuditLogsResponseMetadata) MarshalJSON() ([]byte, error)
- func (o *AuditLogsResponseMetadata) SetElapsed(v int64)
- func (o *AuditLogsResponseMetadata) SetPage(v AuditLogsResponsePage)
- func (o *AuditLogsResponseMetadata) SetRequestId(v string)
- func (o *AuditLogsResponseMetadata) SetStatus(v AuditLogsResponseStatus)
- func (o *AuditLogsResponseMetadata) SetWarnings(v []AuditLogsWarning)
- func (o *AuditLogsResponseMetadata) UnmarshalJSON(bytes []byte) (err error)
- type AuditLogsResponsePage
- func (o *AuditLogsResponsePage) GetAfter() string
- func (o *AuditLogsResponsePage) GetAfterOk() (*string, bool)
- func (o *AuditLogsResponsePage) HasAfter() bool
- func (o AuditLogsResponsePage) MarshalJSON() ([]byte, error)
- func (o *AuditLogsResponsePage) SetAfter(v string)
- func (o *AuditLogsResponsePage) UnmarshalJSON(bytes []byte) (err error)
- type AuditLogsResponseStatus
- type AuditLogsSearchEventsRequest
- func (o *AuditLogsSearchEventsRequest) GetFilter() AuditLogsQueryFilter
- func (o *AuditLogsSearchEventsRequest) GetFilterOk() (*AuditLogsQueryFilter, bool)
- func (o *AuditLogsSearchEventsRequest) GetOptions() AuditLogsQueryOptions
- func (o *AuditLogsSearchEventsRequest) GetOptionsOk() (*AuditLogsQueryOptions, bool)
- func (o *AuditLogsSearchEventsRequest) GetPage() AuditLogsQueryPageOptions
- func (o *AuditLogsSearchEventsRequest) GetPageOk() (*AuditLogsQueryPageOptions, bool)
- func (o *AuditLogsSearchEventsRequest) GetSort() AuditLogsSort
- func (o *AuditLogsSearchEventsRequest) GetSortOk() (*AuditLogsSort, bool)
- func (o *AuditLogsSearchEventsRequest) HasFilter() bool
- func (o *AuditLogsSearchEventsRequest) HasOptions() bool
- func (o *AuditLogsSearchEventsRequest) HasPage() bool
- func (o *AuditLogsSearchEventsRequest) HasSort() bool
- func (o AuditLogsSearchEventsRequest) MarshalJSON() ([]byte, error)
- func (o *AuditLogsSearchEventsRequest) SetFilter(v AuditLogsQueryFilter)
- func (o *AuditLogsSearchEventsRequest) SetOptions(v AuditLogsQueryOptions)
- func (o *AuditLogsSearchEventsRequest) SetPage(v AuditLogsQueryPageOptions)
- func (o *AuditLogsSearchEventsRequest) SetSort(v AuditLogsSort)
- func (o *AuditLogsSearchEventsRequest) UnmarshalJSON(bytes []byte) (err error)
- type AuditLogsSort
- type AuditLogsWarning
- func (o *AuditLogsWarning) GetCode() string
- func (o *AuditLogsWarning) GetCodeOk() (*string, bool)
- func (o *AuditLogsWarning) GetDetail() string
- func (o *AuditLogsWarning) GetDetailOk() (*string, bool)
- func (o *AuditLogsWarning) GetTitle() string
- func (o *AuditLogsWarning) GetTitleOk() (*string, bool)
- func (o *AuditLogsWarning) HasCode() bool
- func (o *AuditLogsWarning) HasDetail() bool
- func (o *AuditLogsWarning) HasTitle() bool
- func (o AuditLogsWarning) MarshalJSON() ([]byte, error)
- func (o *AuditLogsWarning) SetCode(v string)
- func (o *AuditLogsWarning) SetDetail(v string)
- func (o *AuditLogsWarning) SetTitle(v string)
- func (o *AuditLogsWarning) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMapping
- func (o *AuthNMapping) GetAttributes() AuthNMappingAttributes
- func (o *AuthNMapping) GetAttributesOk() (*AuthNMappingAttributes, bool)
- func (o *AuthNMapping) GetId() string
- func (o *AuthNMapping) GetIdOk() (*string, bool)
- func (o *AuthNMapping) GetRelationships() AuthNMappingRelationships
- func (o *AuthNMapping) GetRelationshipsOk() (*AuthNMappingRelationships, bool)
- func (o *AuthNMapping) GetType() AuthNMappingsType
- func (o *AuthNMapping) GetTypeOk() (*AuthNMappingsType, bool)
- func (o *AuthNMapping) HasAttributes() bool
- func (o *AuthNMapping) HasRelationships() bool
- func (o AuthNMapping) MarshalJSON() ([]byte, error)
- func (o *AuthNMapping) SetAttributes(v AuthNMappingAttributes)
- func (o *AuthNMapping) SetId(v string)
- func (o *AuthNMapping) SetRelationships(v AuthNMappingRelationships)
- func (o *AuthNMapping) SetType(v AuthNMappingsType)
- func (o *AuthNMapping) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingAttributes
- func (o *AuthNMappingAttributes) GetAttributeKey() string
- func (o *AuthNMappingAttributes) GetAttributeKeyOk() (*string, bool)
- func (o *AuthNMappingAttributes) GetAttributeValue() string
- func (o *AuthNMappingAttributes) GetAttributeValueOk() (*string, bool)
- func (o *AuthNMappingAttributes) GetCreatedAt() time.Time
- func (o *AuthNMappingAttributes) GetCreatedAtOk() (*time.Time, bool)
- func (o *AuthNMappingAttributes) GetModifiedAt() time.Time
- func (o *AuthNMappingAttributes) GetModifiedAtOk() (*time.Time, bool)
- func (o *AuthNMappingAttributes) GetSamlAssertionAttributeId() string
- func (o *AuthNMappingAttributes) GetSamlAssertionAttributeIdOk() (*string, bool)
- func (o *AuthNMappingAttributes) HasAttributeKey() bool
- func (o *AuthNMappingAttributes) HasAttributeValue() bool
- func (o *AuthNMappingAttributes) HasCreatedAt() bool
- func (o *AuthNMappingAttributes) HasModifiedAt() bool
- func (o *AuthNMappingAttributes) HasSamlAssertionAttributeId() bool
- func (o AuthNMappingAttributes) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingAttributes) SetAttributeKey(v string)
- func (o *AuthNMappingAttributes) SetAttributeValue(v string)
- func (o *AuthNMappingAttributes) SetCreatedAt(v time.Time)
- func (o *AuthNMappingAttributes) SetModifiedAt(v time.Time)
- func (o *AuthNMappingAttributes) SetSamlAssertionAttributeId(v string)
- func (o *AuthNMappingAttributes) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingCreateAttributes
- func (o *AuthNMappingCreateAttributes) GetAttributeKey() string
- func (o *AuthNMappingCreateAttributes) GetAttributeKeyOk() (*string, bool)
- func (o *AuthNMappingCreateAttributes) GetAttributeValue() string
- func (o *AuthNMappingCreateAttributes) GetAttributeValueOk() (*string, bool)
- func (o *AuthNMappingCreateAttributes) HasAttributeKey() bool
- func (o *AuthNMappingCreateAttributes) HasAttributeValue() bool
- func (o AuthNMappingCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingCreateAttributes) SetAttributeKey(v string)
- func (o *AuthNMappingCreateAttributes) SetAttributeValue(v string)
- func (o *AuthNMappingCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingCreateData
- func (o *AuthNMappingCreateData) GetAttributes() AuthNMappingCreateAttributes
- func (o *AuthNMappingCreateData) GetAttributesOk() (*AuthNMappingCreateAttributes, bool)
- func (o *AuthNMappingCreateData) GetRelationships() AuthNMappingCreateRelationships
- func (o *AuthNMappingCreateData) GetRelationshipsOk() (*AuthNMappingCreateRelationships, bool)
- func (o *AuthNMappingCreateData) GetType() AuthNMappingsType
- func (o *AuthNMappingCreateData) GetTypeOk() (*AuthNMappingsType, bool)
- func (o *AuthNMappingCreateData) HasAttributes() bool
- func (o *AuthNMappingCreateData) HasRelationships() bool
- func (o AuthNMappingCreateData) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingCreateData) SetAttributes(v AuthNMappingCreateAttributes)
- func (o *AuthNMappingCreateData) SetRelationships(v AuthNMappingCreateRelationships)
- func (o *AuthNMappingCreateData) SetType(v AuthNMappingsType)
- func (o *AuthNMappingCreateData) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingCreateRelationships
- func (o *AuthNMappingCreateRelationships) GetRole() RelationshipToRole
- func (o *AuthNMappingCreateRelationships) GetRoleOk() (*RelationshipToRole, bool)
- func (o *AuthNMappingCreateRelationships) HasRole() bool
- func (o AuthNMappingCreateRelationships) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingCreateRelationships) SetRole(v RelationshipToRole)
- func (o *AuthNMappingCreateRelationships) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingCreateRequest
- func (o *AuthNMappingCreateRequest) GetData() AuthNMappingCreateData
- func (o *AuthNMappingCreateRequest) GetDataOk() (*AuthNMappingCreateData, bool)
- func (o AuthNMappingCreateRequest) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingCreateRequest) SetData(v AuthNMappingCreateData)
- func (o *AuthNMappingCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingIncluded
- type AuthNMappingRelationships
- func (o *AuthNMappingRelationships) GetRole() RelationshipToRole
- func (o *AuthNMappingRelationships) GetRoleOk() (*RelationshipToRole, bool)
- func (o *AuthNMappingRelationships) GetSamlAssertionAttribute() RelationshipToSAMLAssertionAttribute
- func (o *AuthNMappingRelationships) GetSamlAssertionAttributeOk() (*RelationshipToSAMLAssertionAttribute, bool)
- func (o *AuthNMappingRelationships) HasRole() bool
- func (o *AuthNMappingRelationships) HasSamlAssertionAttribute() bool
- func (o AuthNMappingRelationships) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingRelationships) SetRole(v RelationshipToRole)
- func (o *AuthNMappingRelationships) SetSamlAssertionAttribute(v RelationshipToSAMLAssertionAttribute)
- func (o *AuthNMappingRelationships) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingResponse
- func (o *AuthNMappingResponse) GetData() AuthNMapping
- func (o *AuthNMappingResponse) GetDataOk() (*AuthNMapping, bool)
- func (o *AuthNMappingResponse) GetIncluded() []AuthNMappingIncluded
- func (o *AuthNMappingResponse) GetIncludedOk() (*[]AuthNMappingIncluded, bool)
- func (o *AuthNMappingResponse) HasData() bool
- func (o *AuthNMappingResponse) HasIncluded() bool
- func (o AuthNMappingResponse) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingResponse) SetData(v AuthNMapping)
- func (o *AuthNMappingResponse) SetIncluded(v []AuthNMappingIncluded)
- func (o *AuthNMappingResponse) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingUpdateAttributes
- func (o *AuthNMappingUpdateAttributes) GetAttributeKey() string
- func (o *AuthNMappingUpdateAttributes) GetAttributeKeyOk() (*string, bool)
- func (o *AuthNMappingUpdateAttributes) GetAttributeValue() string
- func (o *AuthNMappingUpdateAttributes) GetAttributeValueOk() (*string, bool)
- func (o *AuthNMappingUpdateAttributes) HasAttributeKey() bool
- func (o *AuthNMappingUpdateAttributes) HasAttributeValue() bool
- func (o AuthNMappingUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingUpdateAttributes) SetAttributeKey(v string)
- func (o *AuthNMappingUpdateAttributes) SetAttributeValue(v string)
- func (o *AuthNMappingUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingUpdateData
- func (o *AuthNMappingUpdateData) GetAttributes() AuthNMappingUpdateAttributes
- func (o *AuthNMappingUpdateData) GetAttributesOk() (*AuthNMappingUpdateAttributes, bool)
- func (o *AuthNMappingUpdateData) GetId() string
- func (o *AuthNMappingUpdateData) GetIdOk() (*string, bool)
- func (o *AuthNMappingUpdateData) GetRelationships() AuthNMappingUpdateRelationships
- func (o *AuthNMappingUpdateData) GetRelationshipsOk() (*AuthNMappingUpdateRelationships, bool)
- func (o *AuthNMappingUpdateData) GetType() AuthNMappingsType
- func (o *AuthNMappingUpdateData) GetTypeOk() (*AuthNMappingsType, bool)
- func (o *AuthNMappingUpdateData) HasAttributes() bool
- func (o *AuthNMappingUpdateData) HasRelationships() bool
- func (o AuthNMappingUpdateData) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingUpdateData) SetAttributes(v AuthNMappingUpdateAttributes)
- func (o *AuthNMappingUpdateData) SetId(v string)
- func (o *AuthNMappingUpdateData) SetRelationships(v AuthNMappingUpdateRelationships)
- func (o *AuthNMappingUpdateData) SetType(v AuthNMappingsType)
- func (o *AuthNMappingUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingUpdateRelationships
- func (o *AuthNMappingUpdateRelationships) GetRole() RelationshipToRole
- func (o *AuthNMappingUpdateRelationships) GetRoleOk() (*RelationshipToRole, bool)
- func (o *AuthNMappingUpdateRelationships) HasRole() bool
- func (o AuthNMappingUpdateRelationships) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingUpdateRelationships) SetRole(v RelationshipToRole)
- func (o *AuthNMappingUpdateRelationships) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingUpdateRequest
- func (o *AuthNMappingUpdateRequest) GetData() AuthNMappingUpdateData
- func (o *AuthNMappingUpdateRequest) GetDataOk() (*AuthNMappingUpdateData, bool)
- func (o AuthNMappingUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingUpdateRequest) SetData(v AuthNMappingUpdateData)
- func (o *AuthNMappingUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingsApiService
- func (a *AuthNMappingsApiService) CreateAuthNMapping(ctx _context.Context, body AuthNMappingCreateRequest) (AuthNMappingResponse, *_nethttp.Response, error)
- func (a *AuthNMappingsApiService) DeleteAuthNMapping(ctx _context.Context, authnMappingId string) (*_nethttp.Response, error)
- func (a *AuthNMappingsApiService) GetAuthNMapping(ctx _context.Context, authnMappingId string) (AuthNMappingResponse, *_nethttp.Response, error)
- func (a *AuthNMappingsApiService) ListAuthNMappings(ctx _context.Context, o ...ListAuthNMappingsOptionalParameters) (AuthNMappingsResponse, *_nethttp.Response, error)
- func (a *AuthNMappingsApiService) UpdateAuthNMapping(ctx _context.Context, authnMappingId string, body AuthNMappingUpdateRequest) (AuthNMappingResponse, *_nethttp.Response, error)
- type AuthNMappingsResponse
- func (o *AuthNMappingsResponse) GetData() []AuthNMapping
- func (o *AuthNMappingsResponse) GetDataOk() (*[]AuthNMapping, bool)
- func (o *AuthNMappingsResponse) GetIncluded() []AuthNMappingIncluded
- func (o *AuthNMappingsResponse) GetIncludedOk() (*[]AuthNMappingIncluded, bool)
- func (o *AuthNMappingsResponse) GetMeta() ResponseMetaAttributes
- func (o *AuthNMappingsResponse) GetMetaOk() (*ResponseMetaAttributes, bool)
- func (o *AuthNMappingsResponse) HasData() bool
- func (o *AuthNMappingsResponse) HasIncluded() bool
- func (o *AuthNMappingsResponse) HasMeta() bool
- func (o AuthNMappingsResponse) MarshalJSON() ([]byte, error)
- func (o *AuthNMappingsResponse) SetData(v []AuthNMapping)
- func (o *AuthNMappingsResponse) SetIncluded(v []AuthNMappingIncluded)
- func (o *AuthNMappingsResponse) SetMeta(v ResponseMetaAttributes)
- func (o *AuthNMappingsResponse) UnmarshalJSON(bytes []byte) (err error)
- type AuthNMappingsSort
- type AuthNMappingsType
- type BasicAuth
- type ChargebackBreakdown
- func (o *ChargebackBreakdown) GetChargeType() string
- func (o *ChargebackBreakdown) GetChargeTypeOk() (*string, bool)
- func (o *ChargebackBreakdown) GetCost() float64
- func (o *ChargebackBreakdown) GetCostOk() (*float64, bool)
- func (o *ChargebackBreakdown) GetProductName() string
- func (o *ChargebackBreakdown) GetProductNameOk() (*string, bool)
- func (o *ChargebackBreakdown) HasChargeType() bool
- func (o *ChargebackBreakdown) HasCost() bool
- func (o *ChargebackBreakdown) HasProductName() bool
- func (o ChargebackBreakdown) MarshalJSON() ([]byte, error)
- func (o *ChargebackBreakdown) SetChargeType(v string)
- func (o *ChargebackBreakdown) SetCost(v float64)
- func (o *ChargebackBreakdown) SetProductName(v string)
- func (o *ChargebackBreakdown) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRuleAttributes
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCategory() string
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCategoryOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCreationDate() int64
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCreationDateOk() (*int64, bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCreator() CloudWorkloadSecurityAgentRuleCreatorAttributes
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCreatorOk() (*CloudWorkloadSecurityAgentRuleCreatorAttributes, bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRule() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetDefaultRuleOk() (*bool, bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetDescription() string
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetDescriptionOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetEnabled() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetEnabledOk() (*bool, bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetExpression() string
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetExpressionOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetName() string
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetNameOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAt() int64
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAtOk() (*int64, bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetUpdater() CloudWorkloadSecurityAgentRuleUpdaterAttributes
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetUpdaterOk() (*CloudWorkloadSecurityAgentRuleUpdaterAttributes, bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetVersion() int64
- func (o *CloudWorkloadSecurityAgentRuleAttributes) GetVersionOk() (*int64, bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) HasCategory() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) HasCreationDate() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) HasCreator() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) HasDefaultRule() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) HasDescription() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) HasEnabled() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) HasExpression() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) HasName() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) HasUpdatedAt() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) HasUpdater() bool
- func (o *CloudWorkloadSecurityAgentRuleAttributes) HasVersion() bool
- func (o CloudWorkloadSecurityAgentRuleAttributes) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) SetCategory(v string)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) SetCreationDate(v int64)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) SetCreator(v CloudWorkloadSecurityAgentRuleCreatorAttributes)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) SetDefaultRule(v bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) SetDescription(v string)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) SetEnabled(v bool)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) SetExpression(v string)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) SetName(v string)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) SetUpdatedAt(v int64)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) SetUpdater(v CloudWorkloadSecurityAgentRuleUpdaterAttributes)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) SetVersion(v int64)
- func (o *CloudWorkloadSecurityAgentRuleAttributes) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRuleCreateAttributes
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetDescription() string
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetDescriptionOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetEnabled() bool
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetEnabledOk() (*bool, bool)
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetExpression() string
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetExpressionOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetName() string
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetNameOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) HasDescription() bool
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) HasEnabled() bool
- func (o CloudWorkloadSecurityAgentRuleCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) SetDescription(v string)
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) SetEnabled(v bool)
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) SetExpression(v string)
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) SetName(v string)
- func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRuleCreateData
- func (o *CloudWorkloadSecurityAgentRuleCreateData) GetAttributes() CloudWorkloadSecurityAgentRuleCreateAttributes
- func (o *CloudWorkloadSecurityAgentRuleCreateData) GetAttributesOk() (*CloudWorkloadSecurityAgentRuleCreateAttributes, bool)
- func (o *CloudWorkloadSecurityAgentRuleCreateData) GetType() CloudWorkloadSecurityAgentRuleType
- func (o *CloudWorkloadSecurityAgentRuleCreateData) GetTypeOk() (*CloudWorkloadSecurityAgentRuleType, bool)
- func (o CloudWorkloadSecurityAgentRuleCreateData) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRuleCreateData) SetAttributes(v CloudWorkloadSecurityAgentRuleCreateAttributes)
- func (o *CloudWorkloadSecurityAgentRuleCreateData) SetType(v CloudWorkloadSecurityAgentRuleType)
- func (o *CloudWorkloadSecurityAgentRuleCreateData) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRuleCreateRequest
- func (o *CloudWorkloadSecurityAgentRuleCreateRequest) GetData() CloudWorkloadSecurityAgentRuleCreateData
- func (o *CloudWorkloadSecurityAgentRuleCreateRequest) GetDataOk() (*CloudWorkloadSecurityAgentRuleCreateData, bool)
- func (o CloudWorkloadSecurityAgentRuleCreateRequest) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRuleCreateRequest) SetData(v CloudWorkloadSecurityAgentRuleCreateData)
- func (o *CloudWorkloadSecurityAgentRuleCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRuleCreatorAttributes
- func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) GetHandle() string
- func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) GetHandleOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) GetName() string
- func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) GetNameOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) HasHandle() bool
- func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) HasName() bool
- func (o CloudWorkloadSecurityAgentRuleCreatorAttributes) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) SetHandle(v string)
- func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) SetName(v string)
- func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRuleData
- func (o *CloudWorkloadSecurityAgentRuleData) GetAttributes() CloudWorkloadSecurityAgentRuleAttributes
- func (o *CloudWorkloadSecurityAgentRuleData) GetAttributesOk() (*CloudWorkloadSecurityAgentRuleAttributes, bool)
- func (o *CloudWorkloadSecurityAgentRuleData) GetId() string
- func (o *CloudWorkloadSecurityAgentRuleData) GetIdOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleData) GetType() CloudWorkloadSecurityAgentRuleType
- func (o *CloudWorkloadSecurityAgentRuleData) GetTypeOk() (*CloudWorkloadSecurityAgentRuleType, bool)
- func (o *CloudWorkloadSecurityAgentRuleData) HasAttributes() bool
- func (o *CloudWorkloadSecurityAgentRuleData) HasId() bool
- func (o *CloudWorkloadSecurityAgentRuleData) HasType() bool
- func (o CloudWorkloadSecurityAgentRuleData) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRuleData) SetAttributes(v CloudWorkloadSecurityAgentRuleAttributes)
- func (o *CloudWorkloadSecurityAgentRuleData) SetId(v string)
- func (o *CloudWorkloadSecurityAgentRuleData) SetType(v CloudWorkloadSecurityAgentRuleType)
- func (o *CloudWorkloadSecurityAgentRuleData) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRuleResponse
- func (o *CloudWorkloadSecurityAgentRuleResponse) GetData() CloudWorkloadSecurityAgentRuleData
- func (o *CloudWorkloadSecurityAgentRuleResponse) GetDataOk() (*CloudWorkloadSecurityAgentRuleData, bool)
- func (o *CloudWorkloadSecurityAgentRuleResponse) HasData() bool
- func (o CloudWorkloadSecurityAgentRuleResponse) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRuleResponse) SetData(v CloudWorkloadSecurityAgentRuleData)
- func (o *CloudWorkloadSecurityAgentRuleResponse) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRuleType
- func (v *CloudWorkloadSecurityAgentRuleType) GetAllowedValues() []CloudWorkloadSecurityAgentRuleType
- func (v CloudWorkloadSecurityAgentRuleType) IsValid() bool
- func (v CloudWorkloadSecurityAgentRuleType) Ptr() *CloudWorkloadSecurityAgentRuleType
- func (v *CloudWorkloadSecurityAgentRuleType) UnmarshalJSON(src []byte) error
- type CloudWorkloadSecurityAgentRuleUpdateAttributes
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) GetDescription() string
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) GetDescriptionOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) GetEnabled() bool
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) GetEnabledOk() (*bool, bool)
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) GetExpression() string
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) GetExpressionOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) HasDescription() bool
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) HasEnabled() bool
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) HasExpression() bool
- func (o CloudWorkloadSecurityAgentRuleUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) SetDescription(v string)
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) SetEnabled(v bool)
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) SetExpression(v string)
- func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRuleUpdateData
- func (o *CloudWorkloadSecurityAgentRuleUpdateData) GetAttributes() CloudWorkloadSecurityAgentRuleUpdateAttributes
- func (o *CloudWorkloadSecurityAgentRuleUpdateData) GetAttributesOk() (*CloudWorkloadSecurityAgentRuleUpdateAttributes, bool)
- func (o *CloudWorkloadSecurityAgentRuleUpdateData) GetType() CloudWorkloadSecurityAgentRuleType
- func (o *CloudWorkloadSecurityAgentRuleUpdateData) GetTypeOk() (*CloudWorkloadSecurityAgentRuleType, bool)
- func (o CloudWorkloadSecurityAgentRuleUpdateData) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRuleUpdateData) SetAttributes(v CloudWorkloadSecurityAgentRuleUpdateAttributes)
- func (o *CloudWorkloadSecurityAgentRuleUpdateData) SetType(v CloudWorkloadSecurityAgentRuleType)
- func (o *CloudWorkloadSecurityAgentRuleUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRuleUpdateRequest
- func (o *CloudWorkloadSecurityAgentRuleUpdateRequest) GetData() CloudWorkloadSecurityAgentRuleUpdateData
- func (o *CloudWorkloadSecurityAgentRuleUpdateRequest) GetDataOk() (*CloudWorkloadSecurityAgentRuleUpdateData, bool)
- func (o CloudWorkloadSecurityAgentRuleUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRuleUpdateRequest) SetData(v CloudWorkloadSecurityAgentRuleUpdateData)
- func (o *CloudWorkloadSecurityAgentRuleUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRuleUpdaterAttributes
- func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetHandle() string
- func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetHandleOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetName() string
- func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetNameOk() (*string, bool)
- func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasHandle() bool
- func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasName() bool
- func (o CloudWorkloadSecurityAgentRuleUpdaterAttributes) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetHandle(v string)
- func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetName(v string)
- func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityAgentRulesListResponse
- func (o *CloudWorkloadSecurityAgentRulesListResponse) GetData() []CloudWorkloadSecurityAgentRuleData
- func (o *CloudWorkloadSecurityAgentRulesListResponse) GetDataOk() (*[]CloudWorkloadSecurityAgentRuleData, bool)
- func (o *CloudWorkloadSecurityAgentRulesListResponse) HasData() bool
- func (o CloudWorkloadSecurityAgentRulesListResponse) MarshalJSON() ([]byte, error)
- func (o *CloudWorkloadSecurityAgentRulesListResponse) SetData(v []CloudWorkloadSecurityAgentRuleData)
- func (o *CloudWorkloadSecurityAgentRulesListResponse) UnmarshalJSON(bytes []byte) (err error)
- type CloudWorkloadSecurityApiService
- func (a *CloudWorkloadSecurityApiService) CreateCloudWorkloadSecurityAgentRule(ctx _context.Context, body CloudWorkloadSecurityAgentRuleCreateRequest) (CloudWorkloadSecurityAgentRuleResponse, *_nethttp.Response, error)
- func (a *CloudWorkloadSecurityApiService) DeleteCloudWorkloadSecurityAgentRule(ctx _context.Context, agentRuleId string) (*_nethttp.Response, error)
- func (a *CloudWorkloadSecurityApiService) DownloadCloudWorkloadPolicyFile(ctx _context.Context) (*os.File, *_nethttp.Response, error)
- func (a *CloudWorkloadSecurityApiService) GetCloudWorkloadSecurityAgentRule(ctx _context.Context, agentRuleId string) (CloudWorkloadSecurityAgentRuleResponse, *_nethttp.Response, error)
- func (a *CloudWorkloadSecurityApiService) ListCloudWorkloadSecurityAgentRules(ctx _context.Context) (CloudWorkloadSecurityAgentRulesListResponse, *_nethttp.Response, error)
- func (a *CloudWorkloadSecurityApiService) UpdateCloudWorkloadSecurityAgentRule(ctx _context.Context, agentRuleId string, ...) (CloudWorkloadSecurityAgentRuleResponse, *_nethttp.Response, error)
- type Configuration
- func (c *Configuration) AddDefaultHeader(key string, value string)
- func (c *Configuration) GetUnstableOperations() []string
- func (c *Configuration) IsUnstableOperation(operation string) bool
- func (c *Configuration) IsUnstableOperationEnabled(operation string) bool
- func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)
- func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)
- func (c *Configuration) SetUnstableOperationEnabled(operation string, enabled bool) bool
- type ContentEncoding
- type CostByOrg
- func (o *CostByOrg) GetAttributes() CostByOrgAttributes
- func (o *CostByOrg) GetAttributesOk() (*CostByOrgAttributes, bool)
- func (o *CostByOrg) GetId() string
- func (o *CostByOrg) GetIdOk() (*string, bool)
- func (o *CostByOrg) GetType() CostByOrgType
- func (o *CostByOrg) GetTypeOk() (*CostByOrgType, bool)
- func (o *CostByOrg) HasAttributes() bool
- func (o *CostByOrg) HasId() bool
- func (o *CostByOrg) HasType() bool
- func (o CostByOrg) MarshalJSON() ([]byte, error)
- func (o *CostByOrg) SetAttributes(v CostByOrgAttributes)
- func (o *CostByOrg) SetId(v string)
- func (o *CostByOrg) SetType(v CostByOrgType)
- func (o *CostByOrg) UnmarshalJSON(bytes []byte) (err error)
- type CostByOrgAttributes
- func (o *CostByOrgAttributes) GetCharges() []ChargebackBreakdown
- func (o *CostByOrgAttributes) GetChargesOk() (*[]ChargebackBreakdown, bool)
- func (o *CostByOrgAttributes) GetDate() time.Time
- func (o *CostByOrgAttributes) GetDateOk() (*time.Time, bool)
- func (o *CostByOrgAttributes) GetOrgName() string
- func (o *CostByOrgAttributes) GetOrgNameOk() (*string, bool)
- func (o *CostByOrgAttributes) GetPublicId() string
- func (o *CostByOrgAttributes) GetPublicIdOk() (*string, bool)
- func (o *CostByOrgAttributes) GetTotalCost() float64
- func (o *CostByOrgAttributes) GetTotalCostOk() (*float64, bool)
- func (o *CostByOrgAttributes) HasCharges() bool
- func (o *CostByOrgAttributes) HasDate() bool
- func (o *CostByOrgAttributes) HasOrgName() bool
- func (o *CostByOrgAttributes) HasPublicId() bool
- func (o *CostByOrgAttributes) HasTotalCost() bool
- func (o CostByOrgAttributes) MarshalJSON() ([]byte, error)
- func (o *CostByOrgAttributes) SetCharges(v []ChargebackBreakdown)
- func (o *CostByOrgAttributes) SetDate(v time.Time)
- func (o *CostByOrgAttributes) SetOrgName(v string)
- func (o *CostByOrgAttributes) SetPublicId(v string)
- func (o *CostByOrgAttributes) SetTotalCost(v float64)
- func (o *CostByOrgAttributes) UnmarshalJSON(bytes []byte) (err error)
- type CostByOrgResponse
- func (o *CostByOrgResponse) GetData() []CostByOrg
- func (o *CostByOrgResponse) GetDataOk() (*[]CostByOrg, bool)
- func (o *CostByOrgResponse) HasData() bool
- func (o CostByOrgResponse) MarshalJSON() ([]byte, error)
- func (o *CostByOrgResponse) SetData(v []CostByOrg)
- func (o *CostByOrgResponse) UnmarshalJSON(bytes []byte) (err error)
- type CostByOrgType
- type Creator
- func (o *Creator) GetEmail() string
- func (o *Creator) GetEmailOk() (*string, bool)
- func (o *Creator) GetHandle() string
- func (o *Creator) GetHandleOk() (*string, bool)
- func (o *Creator) GetName() string
- func (o *Creator) GetNameOk() (*string, bool)
- func (o *Creator) HasEmail() bool
- func (o *Creator) HasHandle() bool
- func (o *Creator) HasName() bool
- func (o Creator) MarshalJSON() ([]byte, error)
- func (o *Creator) SetEmail(v string)
- func (o *Creator) SetHandle(v string)
- func (o *Creator) SetName(v string)
- func (o *Creator) UnmarshalJSON(bytes []byte) (err error)
- type DashboardListAddItemsRequest
- func (o *DashboardListAddItemsRequest) GetDashboards() []DashboardListItemRequest
- func (o *DashboardListAddItemsRequest) GetDashboardsOk() (*[]DashboardListItemRequest, bool)
- func (o *DashboardListAddItemsRequest) HasDashboards() bool
- func (o DashboardListAddItemsRequest) MarshalJSON() ([]byte, error)
- func (o *DashboardListAddItemsRequest) SetDashboards(v []DashboardListItemRequest)
- func (o *DashboardListAddItemsRequest) UnmarshalJSON(bytes []byte) (err error)
- type DashboardListAddItemsResponse
- func (o *DashboardListAddItemsResponse) GetAddedDashboardsToList() []DashboardListItemResponse
- func (o *DashboardListAddItemsResponse) GetAddedDashboardsToListOk() (*[]DashboardListItemResponse, bool)
- func (o *DashboardListAddItemsResponse) HasAddedDashboardsToList() bool
- func (o DashboardListAddItemsResponse) MarshalJSON() ([]byte, error)
- func (o *DashboardListAddItemsResponse) SetAddedDashboardsToList(v []DashboardListItemResponse)
- func (o *DashboardListAddItemsResponse) UnmarshalJSON(bytes []byte) (err error)
- type DashboardListDeleteItemsRequest
- func (o *DashboardListDeleteItemsRequest) GetDashboards() []DashboardListItemRequest
- func (o *DashboardListDeleteItemsRequest) GetDashboardsOk() (*[]DashboardListItemRequest, bool)
- func (o *DashboardListDeleteItemsRequest) HasDashboards() bool
- func (o DashboardListDeleteItemsRequest) MarshalJSON() ([]byte, error)
- func (o *DashboardListDeleteItemsRequest) SetDashboards(v []DashboardListItemRequest)
- func (o *DashboardListDeleteItemsRequest) UnmarshalJSON(bytes []byte) (err error)
- type DashboardListDeleteItemsResponse
- func (o *DashboardListDeleteItemsResponse) GetDeletedDashboardsFromList() []DashboardListItemResponse
- func (o *DashboardListDeleteItemsResponse) GetDeletedDashboardsFromListOk() (*[]DashboardListItemResponse, bool)
- func (o *DashboardListDeleteItemsResponse) HasDeletedDashboardsFromList() bool
- func (o DashboardListDeleteItemsResponse) MarshalJSON() ([]byte, error)
- func (o *DashboardListDeleteItemsResponse) SetDeletedDashboardsFromList(v []DashboardListItemResponse)
- func (o *DashboardListDeleteItemsResponse) UnmarshalJSON(bytes []byte) (err error)
- type DashboardListItem
- func (o *DashboardListItem) GetAuthor() Creator
- func (o *DashboardListItem) GetAuthorOk() (*Creator, bool)
- func (o *DashboardListItem) GetCreated() time.Time
- func (o *DashboardListItem) GetCreatedOk() (*time.Time, bool)
- func (o *DashboardListItem) GetIcon() string
- func (o *DashboardListItem) GetIconOk() (*string, bool)
- func (o *DashboardListItem) GetId() string
- func (o *DashboardListItem) GetIdOk() (*string, bool)
- func (o *DashboardListItem) GetIsFavorite() bool
- func (o *DashboardListItem) GetIsFavoriteOk() (*bool, bool)
- func (o *DashboardListItem) GetIsReadOnly() bool
- func (o *DashboardListItem) GetIsReadOnlyOk() (*bool, bool)
- func (o *DashboardListItem) GetIsShared() bool
- func (o *DashboardListItem) GetIsSharedOk() (*bool, bool)
- func (o *DashboardListItem) GetModified() time.Time
- func (o *DashboardListItem) GetModifiedOk() (*time.Time, bool)
- func (o *DashboardListItem) GetPopularity() int32
- func (o *DashboardListItem) GetPopularityOk() (*int32, bool)
- func (o *DashboardListItem) GetTitle() string
- func (o *DashboardListItem) GetTitleOk() (*string, bool)
- func (o *DashboardListItem) GetType() DashboardType
- func (o *DashboardListItem) GetTypeOk() (*DashboardType, bool)
- func (o *DashboardListItem) GetUrl() string
- func (o *DashboardListItem) GetUrlOk() (*string, bool)
- func (o *DashboardListItem) HasAuthor() bool
- func (o *DashboardListItem) HasCreated() bool
- func (o *DashboardListItem) HasIcon() bool
- func (o *DashboardListItem) HasIsFavorite() bool
- func (o *DashboardListItem) HasIsReadOnly() bool
- func (o *DashboardListItem) HasIsShared() bool
- func (o *DashboardListItem) HasModified() bool
- func (o *DashboardListItem) HasPopularity() bool
- func (o *DashboardListItem) HasTitle() bool
- func (o *DashboardListItem) HasUrl() bool
- func (o DashboardListItem) MarshalJSON() ([]byte, error)
- func (o *DashboardListItem) SetAuthor(v Creator)
- func (o *DashboardListItem) SetCreated(v time.Time)
- func (o *DashboardListItem) SetIcon(v string)
- func (o *DashboardListItem) SetId(v string)
- func (o *DashboardListItem) SetIsFavorite(v bool)
- func (o *DashboardListItem) SetIsReadOnly(v bool)
- func (o *DashboardListItem) SetIsShared(v bool)
- func (o *DashboardListItem) SetModified(v time.Time)
- func (o *DashboardListItem) SetPopularity(v int32)
- func (o *DashboardListItem) SetTitle(v string)
- func (o *DashboardListItem) SetType(v DashboardType)
- func (o *DashboardListItem) SetUrl(v string)
- func (o *DashboardListItem) UnmarshalJSON(bytes []byte) (err error)
- type DashboardListItemRequest
- func (o *DashboardListItemRequest) GetId() string
- func (o *DashboardListItemRequest) GetIdOk() (*string, bool)
- func (o *DashboardListItemRequest) GetType() DashboardType
- func (o *DashboardListItemRequest) GetTypeOk() (*DashboardType, bool)
- func (o DashboardListItemRequest) MarshalJSON() ([]byte, error)
- func (o *DashboardListItemRequest) SetId(v string)
- func (o *DashboardListItemRequest) SetType(v DashboardType)
- func (o *DashboardListItemRequest) UnmarshalJSON(bytes []byte) (err error)
- type DashboardListItemResponse
- func (o *DashboardListItemResponse) GetId() string
- func (o *DashboardListItemResponse) GetIdOk() (*string, bool)
- func (o *DashboardListItemResponse) GetType() DashboardType
- func (o *DashboardListItemResponse) GetTypeOk() (*DashboardType, bool)
- func (o DashboardListItemResponse) MarshalJSON() ([]byte, error)
- func (o *DashboardListItemResponse) SetId(v string)
- func (o *DashboardListItemResponse) SetType(v DashboardType)
- func (o *DashboardListItemResponse) UnmarshalJSON(bytes []byte) (err error)
- type DashboardListItems
- func (o *DashboardListItems) GetDashboards() []DashboardListItem
- func (o *DashboardListItems) GetDashboardsOk() (*[]DashboardListItem, bool)
- func (o *DashboardListItems) GetTotal() int64
- func (o *DashboardListItems) GetTotalOk() (*int64, bool)
- func (o *DashboardListItems) HasTotal() bool
- func (o DashboardListItems) MarshalJSON() ([]byte, error)
- func (o *DashboardListItems) SetDashboards(v []DashboardListItem)
- func (o *DashboardListItems) SetTotal(v int64)
- func (o *DashboardListItems) UnmarshalJSON(bytes []byte) (err error)
- type DashboardListUpdateItemsRequest
- func (o *DashboardListUpdateItemsRequest) GetDashboards() []DashboardListItemRequest
- func (o *DashboardListUpdateItemsRequest) GetDashboardsOk() (*[]DashboardListItemRequest, bool)
- func (o *DashboardListUpdateItemsRequest) HasDashboards() bool
- func (o DashboardListUpdateItemsRequest) MarshalJSON() ([]byte, error)
- func (o *DashboardListUpdateItemsRequest) SetDashboards(v []DashboardListItemRequest)
- func (o *DashboardListUpdateItemsRequest) UnmarshalJSON(bytes []byte) (err error)
- type DashboardListUpdateItemsResponse
- func (o *DashboardListUpdateItemsResponse) GetDashboards() []DashboardListItemResponse
- func (o *DashboardListUpdateItemsResponse) GetDashboardsOk() (*[]DashboardListItemResponse, bool)
- func (o *DashboardListUpdateItemsResponse) HasDashboards() bool
- func (o DashboardListUpdateItemsResponse) MarshalJSON() ([]byte, error)
- func (o *DashboardListUpdateItemsResponse) SetDashboards(v []DashboardListItemResponse)
- func (o *DashboardListUpdateItemsResponse) UnmarshalJSON(bytes []byte) (err error)
- type DashboardListsApiService
- func (a *DashboardListsApiService) CreateDashboardListItems(ctx _context.Context, dashboardListId int64, body DashboardListAddItemsRequest) (DashboardListAddItemsResponse, *_nethttp.Response, error)
- func (a *DashboardListsApiService) DeleteDashboardListItems(ctx _context.Context, dashboardListId int64, ...) (DashboardListDeleteItemsResponse, *_nethttp.Response, error)
- func (a *DashboardListsApiService) GetDashboardListItems(ctx _context.Context, dashboardListId int64) (DashboardListItems, *_nethttp.Response, error)
- func (a *DashboardListsApiService) UpdateDashboardListItems(ctx _context.Context, dashboardListId int64, ...) (DashboardListUpdateItemsResponse, *_nethttp.Response, error)
- type DashboardType
- type EstimateMetricsOutputSeriesOptionalParameters
- func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterGroups(filterGroups string) *EstimateMetricsOutputSeriesOptionalParameters
- func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterHoursAgo(filterHoursAgo int32) *EstimateMetricsOutputSeriesOptionalParameters
- func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterNumAggregations(filterNumAggregations int32) *EstimateMetricsOutputSeriesOptionalParameters
- func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterPct(filterPct bool) *EstimateMetricsOutputSeriesOptionalParameters
- func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterTimespanH(filterTimespanH int32) *EstimateMetricsOutputSeriesOptionalParameters
- type FormFile
- type FullAPIKey
- func (o *FullAPIKey) GetAttributes() FullAPIKeyAttributes
- func (o *FullAPIKey) GetAttributesOk() (*FullAPIKeyAttributes, bool)
- func (o *FullAPIKey) GetId() string
- func (o *FullAPIKey) GetIdOk() (*string, bool)
- func (o *FullAPIKey) GetRelationships() APIKeyRelationships
- func (o *FullAPIKey) GetRelationshipsOk() (*APIKeyRelationships, bool)
- func (o *FullAPIKey) GetType() APIKeysType
- func (o *FullAPIKey) GetTypeOk() (*APIKeysType, bool)
- func (o *FullAPIKey) HasAttributes() bool
- func (o *FullAPIKey) HasId() bool
- func (o *FullAPIKey) HasRelationships() bool
- func (o *FullAPIKey) HasType() bool
- func (o FullAPIKey) MarshalJSON() ([]byte, error)
- func (o *FullAPIKey) SetAttributes(v FullAPIKeyAttributes)
- func (o *FullAPIKey) SetId(v string)
- func (o *FullAPIKey) SetRelationships(v APIKeyRelationships)
- func (o *FullAPIKey) SetType(v APIKeysType)
- func (o *FullAPIKey) UnmarshalJSON(bytes []byte) (err error)
- type FullAPIKeyAttributes
- func (o *FullAPIKeyAttributes) GetCreatedAt() string
- func (o *FullAPIKeyAttributes) GetCreatedAtOk() (*string, bool)
- func (o *FullAPIKeyAttributes) GetKey() string
- func (o *FullAPIKeyAttributes) GetKeyOk() (*string, bool)
- func (o *FullAPIKeyAttributes) GetLast4() string
- func (o *FullAPIKeyAttributes) GetLast4Ok() (*string, bool)
- func (o *FullAPIKeyAttributes) GetModifiedAt() string
- func (o *FullAPIKeyAttributes) GetModifiedAtOk() (*string, bool)
- func (o *FullAPIKeyAttributes) GetName() string
- func (o *FullAPIKeyAttributes) GetNameOk() (*string, bool)
- func (o *FullAPIKeyAttributes) HasCreatedAt() bool
- func (o *FullAPIKeyAttributes) HasKey() bool
- func (o *FullAPIKeyAttributes) HasLast4() bool
- func (o *FullAPIKeyAttributes) HasModifiedAt() bool
- func (o *FullAPIKeyAttributes) HasName() bool
- func (o FullAPIKeyAttributes) MarshalJSON() ([]byte, error)
- func (o *FullAPIKeyAttributes) SetCreatedAt(v string)
- func (o *FullAPIKeyAttributes) SetKey(v string)
- func (o *FullAPIKeyAttributes) SetLast4(v string)
- func (o *FullAPIKeyAttributes) SetModifiedAt(v string)
- func (o *FullAPIKeyAttributes) SetName(v string)
- func (o *FullAPIKeyAttributes) UnmarshalJSON(bytes []byte) (err error)
- type FullApplicationKey
- func (o *FullApplicationKey) GetAttributes() FullApplicationKeyAttributes
- func (o *FullApplicationKey) GetAttributesOk() (*FullApplicationKeyAttributes, bool)
- func (o *FullApplicationKey) GetId() string
- func (o *FullApplicationKey) GetIdOk() (*string, bool)
- func (o *FullApplicationKey) GetRelationships() ApplicationKeyRelationships
- func (o *FullApplicationKey) GetRelationshipsOk() (*ApplicationKeyRelationships, bool)
- func (o *FullApplicationKey) GetType() ApplicationKeysType
- func (o *FullApplicationKey) GetTypeOk() (*ApplicationKeysType, bool)
- func (o *FullApplicationKey) HasAttributes() bool
- func (o *FullApplicationKey) HasId() bool
- func (o *FullApplicationKey) HasRelationships() bool
- func (o *FullApplicationKey) HasType() bool
- func (o FullApplicationKey) MarshalJSON() ([]byte, error)
- func (o *FullApplicationKey) SetAttributes(v FullApplicationKeyAttributes)
- func (o *FullApplicationKey) SetId(v string)
- func (o *FullApplicationKey) SetRelationships(v ApplicationKeyRelationships)
- func (o *FullApplicationKey) SetType(v ApplicationKeysType)
- func (o *FullApplicationKey) UnmarshalJSON(bytes []byte) (err error)
- type FullApplicationKeyAttributes
- func (o *FullApplicationKeyAttributes) GetCreatedAt() string
- func (o *FullApplicationKeyAttributes) GetCreatedAtOk() (*string, bool)
- func (o *FullApplicationKeyAttributes) GetKey() string
- func (o *FullApplicationKeyAttributes) GetKeyOk() (*string, bool)
- func (o *FullApplicationKeyAttributes) GetLast4() string
- func (o *FullApplicationKeyAttributes) GetLast4Ok() (*string, bool)
- func (o *FullApplicationKeyAttributes) GetName() string
- func (o *FullApplicationKeyAttributes) GetNameOk() (*string, bool)
- func (o *FullApplicationKeyAttributes) GetScopes() []string
- func (o *FullApplicationKeyAttributes) GetScopesOk() (*[]string, bool)
- func (o *FullApplicationKeyAttributes) HasCreatedAt() bool
- func (o *FullApplicationKeyAttributes) HasKey() bool
- func (o *FullApplicationKeyAttributes) HasLast4() bool
- func (o *FullApplicationKeyAttributes) HasName() bool
- func (o *FullApplicationKeyAttributes) HasScopes() bool
- func (o FullApplicationKeyAttributes) MarshalJSON() ([]byte, error)
- func (o *FullApplicationKeyAttributes) SetCreatedAt(v string)
- func (o *FullApplicationKeyAttributes) SetKey(v string)
- func (o *FullApplicationKeyAttributes) SetLast4(v string)
- func (o *FullApplicationKeyAttributes) SetName(v string)
- func (o *FullApplicationKeyAttributes) SetScopes(v []string)
- func (o *FullApplicationKeyAttributes) UnmarshalJSON(bytes []byte) (err error)
- type GenericOpenAPIError
- type GetAPIKeyOptionalParameters
- type GetApplicationKeyOptionalParameters
- type GetCostByOrgOptionalParameters
- type GetEstimatedCostByOrgOptionalParameters
- func (r *GetEstimatedCostByOrgOptionalParameters) WithEndDate(endDate time.Time) *GetEstimatedCostByOrgOptionalParameters
- func (r *GetEstimatedCostByOrgOptionalParameters) WithEndMonth(endMonth time.Time) *GetEstimatedCostByOrgOptionalParameters
- func (r *GetEstimatedCostByOrgOptionalParameters) WithStartDate(startDate time.Time) *GetEstimatedCostByOrgOptionalParameters
- func (r *GetEstimatedCostByOrgOptionalParameters) WithStartMonth(startMonth time.Time) *GetEstimatedCostByOrgOptionalParameters
- type GetHourlyUsageOptionalParameters
- func (r *GetHourlyUsageOptionalParameters) WithFilterIncludeDescendants(filterIncludeDescendants bool) *GetHourlyUsageOptionalParameters
- func (r *GetHourlyUsageOptionalParameters) WithFilterTimestampEnd(filterTimestampEnd time.Time) *GetHourlyUsageOptionalParameters
- func (r *GetHourlyUsageOptionalParameters) WithFilterVersions(filterVersions string) *GetHourlyUsageOptionalParameters
- func (r *GetHourlyUsageOptionalParameters) WithPageLimit(pageLimit int32) *GetHourlyUsageOptionalParameters
- func (r *GetHourlyUsageOptionalParameters) WithPageNextRecordId(pageNextRecordId string) *GetHourlyUsageOptionalParameters
- type GetIncidentOptionalParameters
- type GetIncidentServiceOptionalParameters
- type GetIncidentTeamOptionalParameters
- type GetUsageApplicationSecurityMonitoringOptionalParameters
- type GetUsageLambdaTracedInvocationsOptionalParameters
- type GetUsageObservabilityPipelinesOptionalParameters
- type HTTPLogError
- func (o *HTTPLogError) GetDetail() string
- func (o *HTTPLogError) GetDetailOk() (*string, bool)
- func (o *HTTPLogError) GetStatus() string
- func (o *HTTPLogError) GetStatusOk() (*string, bool)
- func (o *HTTPLogError) GetTitle() string
- func (o *HTTPLogError) GetTitleOk() (*string, bool)
- func (o *HTTPLogError) HasDetail() bool
- func (o *HTTPLogError) HasStatus() bool
- func (o *HTTPLogError) HasTitle() bool
- func (o HTTPLogError) MarshalJSON() ([]byte, error)
- func (o *HTTPLogError) SetDetail(v string)
- func (o *HTTPLogError) SetStatus(v string)
- func (o *HTTPLogError) SetTitle(v string)
- func (o *HTTPLogError) UnmarshalJSON(bytes []byte) (err error)
- type HTTPLogErrors
- func (o *HTTPLogErrors) GetErrors() []HTTPLogError
- func (o *HTTPLogErrors) GetErrorsOk() (*[]HTTPLogError, bool)
- func (o *HTTPLogErrors) HasErrors() bool
- func (o HTTPLogErrors) MarshalJSON() ([]byte, error)
- func (o *HTTPLogErrors) SetErrors(v []HTTPLogError)
- func (o *HTTPLogErrors) UnmarshalJSON(bytes []byte) (err error)
- type HTTPLogItem
- func (o *HTTPLogItem) GetDdsource() string
- func (o *HTTPLogItem) GetDdsourceOk() (*string, bool)
- func (o *HTTPLogItem) GetDdtags() string
- func (o *HTTPLogItem) GetDdtagsOk() (*string, bool)
- func (o *HTTPLogItem) GetHostname() string
- func (o *HTTPLogItem) GetHostnameOk() (*string, bool)
- func (o *HTTPLogItem) GetMessage() string
- func (o *HTTPLogItem) GetMessageOk() (*string, bool)
- func (o *HTTPLogItem) GetService() string
- func (o *HTTPLogItem) GetServiceOk() (*string, bool)
- func (o *HTTPLogItem) HasDdsource() bool
- func (o *HTTPLogItem) HasDdtags() bool
- func (o *HTTPLogItem) HasHostname() bool
- func (o *HTTPLogItem) HasService() bool
- func (o HTTPLogItem) MarshalJSON() ([]byte, error)
- func (o *HTTPLogItem) SetDdsource(v string)
- func (o *HTTPLogItem) SetDdtags(v string)
- func (o *HTTPLogItem) SetHostname(v string)
- func (o *HTTPLogItem) SetMessage(v string)
- func (o *HTTPLogItem) SetService(v string)
- func (o *HTTPLogItem) UnmarshalJSON(bytes []byte) (err error)
- type HourlyUsage
- func (o *HourlyUsage) GetAttributes() HourlyUsageAttributes
- func (o *HourlyUsage) GetAttributesOk() (*HourlyUsageAttributes, bool)
- func (o *HourlyUsage) GetId() string
- func (o *HourlyUsage) GetIdOk() (*string, bool)
- func (o *HourlyUsage) GetType() UsageTimeSeriesType
- func (o *HourlyUsage) GetTypeOk() (*UsageTimeSeriesType, bool)
- func (o *HourlyUsage) HasAttributes() bool
- func (o *HourlyUsage) HasId() bool
- func (o *HourlyUsage) HasType() bool
- func (o HourlyUsage) MarshalJSON() ([]byte, error)
- func (o *HourlyUsage) SetAttributes(v HourlyUsageAttributes)
- func (o *HourlyUsage) SetId(v string)
- func (o *HourlyUsage) SetType(v UsageTimeSeriesType)
- func (o *HourlyUsage) UnmarshalJSON(bytes []byte) (err error)
- type HourlyUsageAttributes
- func (o *HourlyUsageAttributes) GetMeasurements() []HourlyUsageMeasurement
- func (o *HourlyUsageAttributes) GetMeasurementsOk() (*[]HourlyUsageMeasurement, bool)
- func (o *HourlyUsageAttributes) GetOrgName() string
- func (o *HourlyUsageAttributes) GetOrgNameOk() (*string, bool)
- func (o *HourlyUsageAttributes) GetProductFamily() string
- func (o *HourlyUsageAttributes) GetProductFamilyOk() (*string, bool)
- func (o *HourlyUsageAttributes) GetPublicId() string
- func (o *HourlyUsageAttributes) GetPublicIdOk() (*string, bool)
- func (o *HourlyUsageAttributes) GetRegion() string
- func (o *HourlyUsageAttributes) GetRegionOk() (*string, bool)
- func (o *HourlyUsageAttributes) GetTimestamp() time.Time
- func (o *HourlyUsageAttributes) GetTimestampOk() (*time.Time, bool)
- func (o *HourlyUsageAttributes) HasMeasurements() bool
- func (o *HourlyUsageAttributes) HasOrgName() bool
- func (o *HourlyUsageAttributes) HasProductFamily() bool
- func (o *HourlyUsageAttributes) HasPublicId() bool
- func (o *HourlyUsageAttributes) HasRegion() bool
- func (o *HourlyUsageAttributes) HasTimestamp() bool
- func (o HourlyUsageAttributes) MarshalJSON() ([]byte, error)
- func (o *HourlyUsageAttributes) SetMeasurements(v []HourlyUsageMeasurement)
- func (o *HourlyUsageAttributes) SetOrgName(v string)
- func (o *HourlyUsageAttributes) SetProductFamily(v string)
- func (o *HourlyUsageAttributes) SetPublicId(v string)
- func (o *HourlyUsageAttributes) SetRegion(v string)
- func (o *HourlyUsageAttributes) SetTimestamp(v time.Time)
- func (o *HourlyUsageAttributes) UnmarshalJSON(bytes []byte) (err error)
- type HourlyUsageMeasurement
- func (o *HourlyUsageMeasurement) GetUsageType() string
- func (o *HourlyUsageMeasurement) GetUsageTypeOk() (*string, bool)
- func (o *HourlyUsageMeasurement) GetValue() int64
- func (o *HourlyUsageMeasurement) GetValueOk() (*int64, bool)
- func (o *HourlyUsageMeasurement) HasUsageType() bool
- func (o *HourlyUsageMeasurement) HasValue() bool
- func (o HourlyUsageMeasurement) MarshalJSON() ([]byte, error)
- func (o *HourlyUsageMeasurement) SetUsageType(v string)
- func (o *HourlyUsageMeasurement) SetValue(v int64)
- func (o *HourlyUsageMeasurement) SetValueNil()
- func (o *HourlyUsageMeasurement) UnmarshalJSON(bytes []byte) (err error)
- func (o *HourlyUsageMeasurement) UnsetValue()
- type HourlyUsageMetadata
- func (o *HourlyUsageMetadata) GetPagination() HourlyUsagePagination
- func (o *HourlyUsageMetadata) GetPaginationOk() (*HourlyUsagePagination, bool)
- func (o *HourlyUsageMetadata) HasPagination() bool
- func (o HourlyUsageMetadata) MarshalJSON() ([]byte, error)
- func (o *HourlyUsageMetadata) SetPagination(v HourlyUsagePagination)
- func (o *HourlyUsageMetadata) UnmarshalJSON(bytes []byte) (err error)
- type HourlyUsagePagination
- func (o *HourlyUsagePagination) GetNextRecordId() string
- func (o *HourlyUsagePagination) GetNextRecordIdOk() (*string, bool)
- func (o *HourlyUsagePagination) HasNextRecordId() bool
- func (o HourlyUsagePagination) MarshalJSON() ([]byte, error)
- func (o *HourlyUsagePagination) SetNextRecordId(v string)
- func (o *HourlyUsagePagination) SetNextRecordIdNil()
- func (o *HourlyUsagePagination) UnmarshalJSON(bytes []byte) (err error)
- func (o *HourlyUsagePagination) UnsetNextRecordId()
- type HourlyUsageResponse
- func (o *HourlyUsageResponse) GetData() []HourlyUsage
- func (o *HourlyUsageResponse) GetDataOk() (*[]HourlyUsage, bool)
- func (o *HourlyUsageResponse) GetMeta() HourlyUsageMetadata
- func (o *HourlyUsageResponse) GetMetaOk() (*HourlyUsageMetadata, bool)
- func (o *HourlyUsageResponse) HasData() bool
- func (o *HourlyUsageResponse) HasMeta() bool
- func (o HourlyUsageResponse) MarshalJSON() ([]byte, error)
- func (o *HourlyUsageResponse) SetData(v []HourlyUsage)
- func (o *HourlyUsageResponse) SetMeta(v HourlyUsageMetadata)
- func (o *HourlyUsageResponse) UnmarshalJSON(bytes []byte) (err error)
- type HourlyUsageType
- type IdPMetadataFormData
- func (o *IdPMetadataFormData) GetIdpFile() *os.File
- func (o *IdPMetadataFormData) GetIdpFileOk() (**os.File, bool)
- func (o *IdPMetadataFormData) HasIdpFile() bool
- func (o IdPMetadataFormData) MarshalJSON() ([]byte, error)
- func (o *IdPMetadataFormData) SetIdpFile(v *os.File)
- func (o *IdPMetadataFormData) UnmarshalJSON(bytes []byte) (err error)
- type IncidentCreateAttributes
- func (o *IncidentCreateAttributes) GetCustomerImpacted() bool
- func (o *IncidentCreateAttributes) GetCustomerImpactedOk() (*bool, bool)
- func (o *IncidentCreateAttributes) GetFields() map[string]IncidentFieldAttributes
- func (o *IncidentCreateAttributes) GetFieldsOk() (*map[string]IncidentFieldAttributes, bool)
- func (o *IncidentCreateAttributes) GetInitialCells() []IncidentTimelineCellCreateAttributes
- func (o *IncidentCreateAttributes) GetInitialCellsOk() (*[]IncidentTimelineCellCreateAttributes, bool)
- func (o *IncidentCreateAttributes) GetNotificationHandles() []IncidentNotificationHandle
- func (o *IncidentCreateAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)
- func (o *IncidentCreateAttributes) GetTitle() string
- func (o *IncidentCreateAttributes) GetTitleOk() (*string, bool)
- func (o *IncidentCreateAttributes) HasFields() bool
- func (o *IncidentCreateAttributes) HasInitialCells() bool
- func (o *IncidentCreateAttributes) HasNotificationHandles() bool
- func (o IncidentCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *IncidentCreateAttributes) SetCustomerImpacted(v bool)
- func (o *IncidentCreateAttributes) SetFields(v map[string]IncidentFieldAttributes)
- func (o *IncidentCreateAttributes) SetInitialCells(v []IncidentTimelineCellCreateAttributes)
- func (o *IncidentCreateAttributes) SetNotificationHandles(v []IncidentNotificationHandle)
- func (o *IncidentCreateAttributes) SetTitle(v string)
- func (o *IncidentCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type IncidentCreateData
- func (o *IncidentCreateData) GetAttributes() IncidentCreateAttributes
- func (o *IncidentCreateData) GetAttributesOk() (*IncidentCreateAttributes, bool)
- func (o *IncidentCreateData) GetRelationships() IncidentCreateRelationships
- func (o *IncidentCreateData) GetRelationshipsOk() (*IncidentCreateRelationships, bool)
- func (o *IncidentCreateData) GetType() IncidentType
- func (o *IncidentCreateData) GetTypeOk() (*IncidentType, bool)
- func (o *IncidentCreateData) HasRelationships() bool
- func (o IncidentCreateData) MarshalJSON() ([]byte, error)
- func (o *IncidentCreateData) SetAttributes(v IncidentCreateAttributes)
- func (o *IncidentCreateData) SetRelationships(v IncidentCreateRelationships)
- func (o *IncidentCreateData) SetType(v IncidentType)
- func (o *IncidentCreateData) UnmarshalJSON(bytes []byte) (err error)
- type IncidentCreateRelationships
- func (o *IncidentCreateRelationships) GetCommanderUser() NullableRelationshipToUser
- func (o *IncidentCreateRelationships) GetCommanderUserOk() (*NullableRelationshipToUser, bool)
- func (o IncidentCreateRelationships) MarshalJSON() ([]byte, error)
- func (o *IncidentCreateRelationships) SetCommanderUser(v NullableRelationshipToUser)
- func (o *IncidentCreateRelationships) UnmarshalJSON(bytes []byte) (err error)
- type IncidentCreateRequest
- func (o *IncidentCreateRequest) GetData() IncidentCreateData
- func (o *IncidentCreateRequest) GetDataOk() (*IncidentCreateData, bool)
- func (o IncidentCreateRequest) MarshalJSON() ([]byte, error)
- func (o *IncidentCreateRequest) SetData(v IncidentCreateData)
- func (o *IncidentCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type IncidentFieldAttributes
- type IncidentFieldAttributesMultipleValue
- func (o *IncidentFieldAttributesMultipleValue) GetType() IncidentFieldAttributesValueType
- func (o *IncidentFieldAttributesMultipleValue) GetTypeOk() (*IncidentFieldAttributesValueType, bool)
- func (o *IncidentFieldAttributesMultipleValue) GetValue() []string
- func (o *IncidentFieldAttributesMultipleValue) GetValueOk() (*[]string, bool)
- func (o *IncidentFieldAttributesMultipleValue) HasType() bool
- func (o *IncidentFieldAttributesMultipleValue) HasValue() bool
- func (o IncidentFieldAttributesMultipleValue) MarshalJSON() ([]byte, error)
- func (o *IncidentFieldAttributesMultipleValue) SetType(v IncidentFieldAttributesValueType)
- func (o *IncidentFieldAttributesMultipleValue) SetValue(v []string)
- func (o *IncidentFieldAttributesMultipleValue) UnmarshalJSON(bytes []byte) (err error)
- type IncidentFieldAttributesSingleValue
- func (o *IncidentFieldAttributesSingleValue) GetType() IncidentFieldAttributesSingleValueType
- func (o *IncidentFieldAttributesSingleValue) GetTypeOk() (*IncidentFieldAttributesSingleValueType, bool)
- func (o *IncidentFieldAttributesSingleValue) GetValue() string
- func (o *IncidentFieldAttributesSingleValue) GetValueOk() (*string, bool)
- func (o *IncidentFieldAttributesSingleValue) HasType() bool
- func (o *IncidentFieldAttributesSingleValue) HasValue() bool
- func (o IncidentFieldAttributesSingleValue) MarshalJSON() ([]byte, error)
- func (o *IncidentFieldAttributesSingleValue) SetType(v IncidentFieldAttributesSingleValueType)
- func (o *IncidentFieldAttributesSingleValue) SetValue(v string)
- func (o *IncidentFieldAttributesSingleValue) SetValueNil()
- func (o *IncidentFieldAttributesSingleValue) UnmarshalJSON(bytes []byte) (err error)
- func (o *IncidentFieldAttributesSingleValue) UnsetValue()
- type IncidentFieldAttributesSingleValueType
- func (v *IncidentFieldAttributesSingleValueType) GetAllowedValues() []IncidentFieldAttributesSingleValueType
- func (v IncidentFieldAttributesSingleValueType) IsValid() bool
- func (v IncidentFieldAttributesSingleValueType) Ptr() *IncidentFieldAttributesSingleValueType
- func (v *IncidentFieldAttributesSingleValueType) UnmarshalJSON(src []byte) error
- type IncidentFieldAttributesValueType
- func (v *IncidentFieldAttributesValueType) GetAllowedValues() []IncidentFieldAttributesValueType
- func (v IncidentFieldAttributesValueType) IsValid() bool
- func (v IncidentFieldAttributesValueType) Ptr() *IncidentFieldAttributesValueType
- func (v *IncidentFieldAttributesValueType) UnmarshalJSON(src []byte) error
- type IncidentIntegrationMetadataType
- func (v *IncidentIntegrationMetadataType) GetAllowedValues() []IncidentIntegrationMetadataType
- func (v IncidentIntegrationMetadataType) IsValid() bool
- func (v IncidentIntegrationMetadataType) Ptr() *IncidentIntegrationMetadataType
- func (v *IncidentIntegrationMetadataType) UnmarshalJSON(src []byte) error
- type IncidentNotificationHandle
- func (o *IncidentNotificationHandle) GetDisplayName() string
- func (o *IncidentNotificationHandle) GetDisplayNameOk() (*string, bool)
- func (o *IncidentNotificationHandle) GetHandle() string
- func (o *IncidentNotificationHandle) GetHandleOk() (*string, bool)
- func (o *IncidentNotificationHandle) HasDisplayName() bool
- func (o *IncidentNotificationHandle) HasHandle() bool
- func (o IncidentNotificationHandle) MarshalJSON() ([]byte, error)
- func (o *IncidentNotificationHandle) SetDisplayName(v string)
- func (o *IncidentNotificationHandle) SetHandle(v string)
- func (o *IncidentNotificationHandle) UnmarshalJSON(bytes []byte) (err error)
- type IncidentPostmortemType
- type IncidentRelatedObject
- type IncidentResponse
- func (o *IncidentResponse) GetData() IncidentResponseData
- func (o *IncidentResponse) GetDataOk() (*IncidentResponseData, bool)
- func (o *IncidentResponse) GetIncluded() []IncidentResponseIncludedItem
- func (o *IncidentResponse) GetIncludedOk() (*[]IncidentResponseIncludedItem, bool)
- func (o *IncidentResponse) HasIncluded() bool
- func (o IncidentResponse) MarshalJSON() ([]byte, error)
- func (o *IncidentResponse) SetData(v IncidentResponseData)
- func (o *IncidentResponse) SetIncluded(v []IncidentResponseIncludedItem)
- func (o *IncidentResponse) UnmarshalJSON(bytes []byte) (err error)
- type IncidentResponseAttributes
- func (o *IncidentResponseAttributes) GetCreated() time.Time
- func (o *IncidentResponseAttributes) GetCreatedOk() (*time.Time, bool)
- func (o *IncidentResponseAttributes) GetCustomerImpactDuration() int64
- func (o *IncidentResponseAttributes) GetCustomerImpactDurationOk() (*int64, bool)
- func (o *IncidentResponseAttributes) GetCustomerImpactEnd() time.Time
- func (o *IncidentResponseAttributes) GetCustomerImpactEndOk() (*time.Time, bool)
- func (o *IncidentResponseAttributes) GetCustomerImpactScope() string
- func (o *IncidentResponseAttributes) GetCustomerImpactScopeOk() (*string, bool)
- func (o *IncidentResponseAttributes) GetCustomerImpactStart() time.Time
- func (o *IncidentResponseAttributes) GetCustomerImpactStartOk() (*time.Time, bool)
- func (o *IncidentResponseAttributes) GetCustomerImpacted() bool
- func (o *IncidentResponseAttributes) GetCustomerImpactedOk() (*bool, bool)
- func (o *IncidentResponseAttributes) GetDetected() time.Time
- func (o *IncidentResponseAttributes) GetDetectedOk() (*time.Time, bool)
- func (o *IncidentResponseAttributes) GetFields() map[string]IncidentFieldAttributes
- func (o *IncidentResponseAttributes) GetFieldsOk() (*map[string]IncidentFieldAttributes, bool)
- func (o *IncidentResponseAttributes) GetModified() time.Time
- func (o *IncidentResponseAttributes) GetModifiedOk() (*time.Time, bool)
- func (o *IncidentResponseAttributes) GetNotificationHandles() []IncidentNotificationHandle
- func (o *IncidentResponseAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)
- func (o *IncidentResponseAttributes) GetPostmortemId() string
- func (o *IncidentResponseAttributes) GetPostmortemIdOk() (*string, bool)
- func (o *IncidentResponseAttributes) GetPublicId() int64
- func (o *IncidentResponseAttributes) GetPublicIdOk() (*int64, bool)
- func (o *IncidentResponseAttributes) GetResolved() time.Time
- func (o *IncidentResponseAttributes) GetResolvedOk() (*time.Time, bool)
- func (o *IncidentResponseAttributes) GetTimeToDetect() int64
- func (o *IncidentResponseAttributes) GetTimeToDetectOk() (*int64, bool)
- func (o *IncidentResponseAttributes) GetTimeToInternalResponse() int64
- func (o *IncidentResponseAttributes) GetTimeToInternalResponseOk() (*int64, bool)
- func (o *IncidentResponseAttributes) GetTimeToRepair() int64
- func (o *IncidentResponseAttributes) GetTimeToRepairOk() (*int64, bool)
- func (o *IncidentResponseAttributes) GetTimeToResolve() int64
- func (o *IncidentResponseAttributes) GetTimeToResolveOk() (*int64, bool)
- func (o *IncidentResponseAttributes) GetTitle() string
- func (o *IncidentResponseAttributes) GetTitleOk() (*string, bool)
- func (o *IncidentResponseAttributes) HasCreated() bool
- func (o *IncidentResponseAttributes) HasCustomerImpactDuration() bool
- func (o *IncidentResponseAttributes) HasCustomerImpactEnd() bool
- func (o *IncidentResponseAttributes) HasCustomerImpactScope() bool
- func (o *IncidentResponseAttributes) HasCustomerImpactStart() bool
- func (o *IncidentResponseAttributes) HasCustomerImpacted() bool
- func (o *IncidentResponseAttributes) HasDetected() bool
- func (o *IncidentResponseAttributes) HasFields() bool
- func (o *IncidentResponseAttributes) HasModified() bool
- func (o *IncidentResponseAttributes) HasNotificationHandles() bool
- func (o *IncidentResponseAttributes) HasPostmortemId() bool
- func (o *IncidentResponseAttributes) HasPublicId() bool
- func (o *IncidentResponseAttributes) HasResolved() bool
- func (o *IncidentResponseAttributes) HasTimeToDetect() bool
- func (o *IncidentResponseAttributes) HasTimeToInternalResponse() bool
- func (o *IncidentResponseAttributes) HasTimeToRepair() bool
- func (o *IncidentResponseAttributes) HasTimeToResolve() bool
- func (o IncidentResponseAttributes) MarshalJSON() ([]byte, error)
- func (o *IncidentResponseAttributes) SetCreated(v time.Time)
- func (o *IncidentResponseAttributes) SetCustomerImpactDuration(v int64)
- func (o *IncidentResponseAttributes) SetCustomerImpactEnd(v time.Time)
- func (o *IncidentResponseAttributes) SetCustomerImpactEndNil()
- func (o *IncidentResponseAttributes) SetCustomerImpactScope(v string)
- func (o *IncidentResponseAttributes) SetCustomerImpactScopeNil()
- func (o *IncidentResponseAttributes) SetCustomerImpactStart(v time.Time)
- func (o *IncidentResponseAttributes) SetCustomerImpactStartNil()
- func (o *IncidentResponseAttributes) SetCustomerImpacted(v bool)
- func (o *IncidentResponseAttributes) SetDetected(v time.Time)
- func (o *IncidentResponseAttributes) SetDetectedNil()
- func (o *IncidentResponseAttributes) SetFields(v map[string]IncidentFieldAttributes)
- func (o *IncidentResponseAttributes) SetModified(v time.Time)
- func (o *IncidentResponseAttributes) SetNotificationHandles(v []IncidentNotificationHandle)
- func (o *IncidentResponseAttributes) SetPostmortemId(v string)
- func (o *IncidentResponseAttributes) SetPublicId(v int64)
- func (o *IncidentResponseAttributes) SetResolved(v time.Time)
- func (o *IncidentResponseAttributes) SetResolvedNil()
- func (o *IncidentResponseAttributes) SetTimeToDetect(v int64)
- func (o *IncidentResponseAttributes) SetTimeToInternalResponse(v int64)
- func (o *IncidentResponseAttributes) SetTimeToRepair(v int64)
- func (o *IncidentResponseAttributes) SetTimeToResolve(v int64)
- func (o *IncidentResponseAttributes) SetTitle(v string)
- func (o *IncidentResponseAttributes) UnmarshalJSON(bytes []byte) (err error)
- func (o *IncidentResponseAttributes) UnsetCustomerImpactEnd()
- func (o *IncidentResponseAttributes) UnsetCustomerImpactScope()
- func (o *IncidentResponseAttributes) UnsetCustomerImpactStart()
- func (o *IncidentResponseAttributes) UnsetDetected()
- func (o *IncidentResponseAttributes) UnsetResolved()
- type IncidentResponseData
- func (o *IncidentResponseData) GetAttributes() IncidentResponseAttributes
- func (o *IncidentResponseData) GetAttributesOk() (*IncidentResponseAttributes, bool)
- func (o *IncidentResponseData) GetId() string
- func (o *IncidentResponseData) GetIdOk() (*string, bool)
- func (o *IncidentResponseData) GetRelationships() IncidentResponseRelationships
- func (o *IncidentResponseData) GetRelationshipsOk() (*IncidentResponseRelationships, bool)
- func (o *IncidentResponseData) GetType() IncidentType
- func (o *IncidentResponseData) GetTypeOk() (*IncidentType, bool)
- func (o *IncidentResponseData) HasAttributes() bool
- func (o *IncidentResponseData) HasRelationships() bool
- func (o IncidentResponseData) MarshalJSON() ([]byte, error)
- func (o *IncidentResponseData) SetAttributes(v IncidentResponseAttributes)
- func (o *IncidentResponseData) SetId(v string)
- func (o *IncidentResponseData) SetRelationships(v IncidentResponseRelationships)
- func (o *IncidentResponseData) SetType(v IncidentType)
- func (o *IncidentResponseData) UnmarshalJSON(bytes []byte) (err error)
- type IncidentResponseIncludedItem
- type IncidentResponseMeta
- func (o *IncidentResponseMeta) GetPagination() IncidentResponseMetaPagination
- func (o *IncidentResponseMeta) GetPaginationOk() (*IncidentResponseMetaPagination, bool)
- func (o *IncidentResponseMeta) HasPagination() bool
- func (o IncidentResponseMeta) MarshalJSON() ([]byte, error)
- func (o *IncidentResponseMeta) SetPagination(v IncidentResponseMetaPagination)
- func (o *IncidentResponseMeta) UnmarshalJSON(bytes []byte) (err error)
- type IncidentResponseMetaPagination
- func (o *IncidentResponseMetaPagination) GetNextOffset() int64
- func (o *IncidentResponseMetaPagination) GetNextOffsetOk() (*int64, bool)
- func (o *IncidentResponseMetaPagination) GetOffset() int64
- func (o *IncidentResponseMetaPagination) GetOffsetOk() (*int64, bool)
- func (o *IncidentResponseMetaPagination) GetSize() int64
- func (o *IncidentResponseMetaPagination) GetSizeOk() (*int64, bool)
- func (o *IncidentResponseMetaPagination) HasNextOffset() bool
- func (o *IncidentResponseMetaPagination) HasOffset() bool
- func (o *IncidentResponseMetaPagination) HasSize() bool
- func (o IncidentResponseMetaPagination) MarshalJSON() ([]byte, error)
- func (o *IncidentResponseMetaPagination) SetNextOffset(v int64)
- func (o *IncidentResponseMetaPagination) SetOffset(v int64)
- func (o *IncidentResponseMetaPagination) SetSize(v int64)
- func (o *IncidentResponseMetaPagination) UnmarshalJSON(bytes []byte) (err error)
- type IncidentResponseRelationships
- func (o *IncidentResponseRelationships) GetCommanderUser() NullableRelationshipToUser
- func (o *IncidentResponseRelationships) GetCommanderUserOk() (*NullableRelationshipToUser, bool)
- func (o *IncidentResponseRelationships) GetCreatedByUser() RelationshipToUser
- func (o *IncidentResponseRelationships) GetCreatedByUserOk() (*RelationshipToUser, bool)
- func (o *IncidentResponseRelationships) GetIntegrations() RelationshipToIncidentIntegrationMetadatas
- func (o *IncidentResponseRelationships) GetIntegrationsOk() (*RelationshipToIncidentIntegrationMetadatas, bool)
- func (o *IncidentResponseRelationships) GetLastModifiedByUser() RelationshipToUser
- func (o *IncidentResponseRelationships) GetLastModifiedByUserOk() (*RelationshipToUser, bool)
- func (o *IncidentResponseRelationships) GetPostmortem() RelationshipToIncidentPostmortem
- func (o *IncidentResponseRelationships) GetPostmortemOk() (*RelationshipToIncidentPostmortem, bool)
- func (o *IncidentResponseRelationships) HasCommanderUser() bool
- func (o *IncidentResponseRelationships) HasCreatedByUser() bool
- func (o *IncidentResponseRelationships) HasIntegrations() bool
- func (o *IncidentResponseRelationships) HasLastModifiedByUser() bool
- func (o *IncidentResponseRelationships) HasPostmortem() bool
- func (o IncidentResponseRelationships) MarshalJSON() ([]byte, error)
- func (o *IncidentResponseRelationships) SetCommanderUser(v NullableRelationshipToUser)
- func (o *IncidentResponseRelationships) SetCreatedByUser(v RelationshipToUser)
- func (o *IncidentResponseRelationships) SetIntegrations(v RelationshipToIncidentIntegrationMetadatas)
- func (o *IncidentResponseRelationships) SetLastModifiedByUser(v RelationshipToUser)
- func (o *IncidentResponseRelationships) SetPostmortem(v RelationshipToIncidentPostmortem)
- func (o *IncidentResponseRelationships) UnmarshalJSON(bytes []byte) (err error)
- type IncidentServiceCreateAttributes
- func (o *IncidentServiceCreateAttributes) GetName() string
- func (o *IncidentServiceCreateAttributes) GetNameOk() (*string, bool)
- func (o IncidentServiceCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *IncidentServiceCreateAttributes) SetName(v string)
- func (o *IncidentServiceCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type IncidentServiceCreateData
- func (o *IncidentServiceCreateData) GetAttributes() IncidentServiceCreateAttributes
- func (o *IncidentServiceCreateData) GetAttributesOk() (*IncidentServiceCreateAttributes, bool)
- func (o *IncidentServiceCreateData) GetRelationships() IncidentServiceRelationships
- func (o *IncidentServiceCreateData) GetRelationshipsOk() (*IncidentServiceRelationships, bool)
- func (o *IncidentServiceCreateData) GetType() IncidentServiceType
- func (o *IncidentServiceCreateData) GetTypeOk() (*IncidentServiceType, bool)
- func (o *IncidentServiceCreateData) HasAttributes() bool
- func (o *IncidentServiceCreateData) HasRelationships() bool
- func (o IncidentServiceCreateData) MarshalJSON() ([]byte, error)
- func (o *IncidentServiceCreateData) SetAttributes(v IncidentServiceCreateAttributes)
- func (o *IncidentServiceCreateData) SetRelationships(v IncidentServiceRelationships)
- func (o *IncidentServiceCreateData) SetType(v IncidentServiceType)
- func (o *IncidentServiceCreateData) UnmarshalJSON(bytes []byte) (err error)
- type IncidentServiceCreateRequest
- func (o *IncidentServiceCreateRequest) GetData() IncidentServiceCreateData
- func (o *IncidentServiceCreateRequest) GetDataOk() (*IncidentServiceCreateData, bool)
- func (o IncidentServiceCreateRequest) MarshalJSON() ([]byte, error)
- func (o *IncidentServiceCreateRequest) SetData(v IncidentServiceCreateData)
- func (o *IncidentServiceCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type IncidentServiceIncludedItems
- type IncidentServiceRelationships
- func (o *IncidentServiceRelationships) GetCreatedBy() RelationshipToUser
- func (o *IncidentServiceRelationships) GetCreatedByOk() (*RelationshipToUser, bool)
- func (o *IncidentServiceRelationships) GetLastModifiedBy() RelationshipToUser
- func (o *IncidentServiceRelationships) GetLastModifiedByOk() (*RelationshipToUser, bool)
- func (o *IncidentServiceRelationships) HasCreatedBy() bool
- func (o *IncidentServiceRelationships) HasLastModifiedBy() bool
- func (o IncidentServiceRelationships) MarshalJSON() ([]byte, error)
- func (o *IncidentServiceRelationships) SetCreatedBy(v RelationshipToUser)
- func (o *IncidentServiceRelationships) SetLastModifiedBy(v RelationshipToUser)
- func (o *IncidentServiceRelationships) UnmarshalJSON(bytes []byte) (err error)
- type IncidentServiceResponse
- func (o *IncidentServiceResponse) GetData() IncidentServiceResponseData
- func (o *IncidentServiceResponse) GetDataOk() (*IncidentServiceResponseData, bool)
- func (o *IncidentServiceResponse) GetIncluded() []IncidentServiceIncludedItems
- func (o *IncidentServiceResponse) GetIncludedOk() (*[]IncidentServiceIncludedItems, bool)
- func (o *IncidentServiceResponse) HasIncluded() bool
- func (o IncidentServiceResponse) MarshalJSON() ([]byte, error)
- func (o *IncidentServiceResponse) SetData(v IncidentServiceResponseData)
- func (o *IncidentServiceResponse) SetIncluded(v []IncidentServiceIncludedItems)
- func (o *IncidentServiceResponse) UnmarshalJSON(bytes []byte) (err error)
- type IncidentServiceResponseAttributes
- func (o *IncidentServiceResponseAttributes) GetCreated() time.Time
- func (o *IncidentServiceResponseAttributes) GetCreatedOk() (*time.Time, bool)
- func (o *IncidentServiceResponseAttributes) GetModified() time.Time
- func (o *IncidentServiceResponseAttributes) GetModifiedOk() (*time.Time, bool)
- func (o *IncidentServiceResponseAttributes) GetName() string
- func (o *IncidentServiceResponseAttributes) GetNameOk() (*string, bool)
- func (o *IncidentServiceResponseAttributes) HasCreated() bool
- func (o *IncidentServiceResponseAttributes) HasModified() bool
- func (o *IncidentServiceResponseAttributes) HasName() bool
- func (o IncidentServiceResponseAttributes) MarshalJSON() ([]byte, error)
- func (o *IncidentServiceResponseAttributes) SetCreated(v time.Time)
- func (o *IncidentServiceResponseAttributes) SetModified(v time.Time)
- func (o *IncidentServiceResponseAttributes) SetName(v string)
- func (o *IncidentServiceResponseAttributes) UnmarshalJSON(bytes []byte) (err error)
- type IncidentServiceResponseData
- func (o *IncidentServiceResponseData) GetAttributes() IncidentServiceResponseAttributes
- func (o *IncidentServiceResponseData) GetAttributesOk() (*IncidentServiceResponseAttributes, bool)
- func (o *IncidentServiceResponseData) GetId() string
- func (o *IncidentServiceResponseData) GetIdOk() (*string, bool)
- func (o *IncidentServiceResponseData) GetRelationships() IncidentServiceRelationships
- func (o *IncidentServiceResponseData) GetRelationshipsOk() (*IncidentServiceRelationships, bool)
- func (o *IncidentServiceResponseData) GetType() IncidentServiceType
- func (o *IncidentServiceResponseData) GetTypeOk() (*IncidentServiceType, bool)
- func (o *IncidentServiceResponseData) HasAttributes() bool
- func (o *IncidentServiceResponseData) HasRelationships() bool
- func (o IncidentServiceResponseData) MarshalJSON() ([]byte, error)
- func (o *IncidentServiceResponseData) SetAttributes(v IncidentServiceResponseAttributes)
- func (o *IncidentServiceResponseData) SetId(v string)
- func (o *IncidentServiceResponseData) SetRelationships(v IncidentServiceRelationships)
- func (o *IncidentServiceResponseData) SetType(v IncidentServiceType)
- func (o *IncidentServiceResponseData) UnmarshalJSON(bytes []byte) (err error)
- type IncidentServiceType
- type IncidentServiceUpdateAttributes
- func (o *IncidentServiceUpdateAttributes) GetName() string
- func (o *IncidentServiceUpdateAttributes) GetNameOk() (*string, bool)
- func (o IncidentServiceUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *IncidentServiceUpdateAttributes) SetName(v string)
- func (o *IncidentServiceUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type IncidentServiceUpdateData
- func (o *IncidentServiceUpdateData) GetAttributes() IncidentServiceUpdateAttributes
- func (o *IncidentServiceUpdateData) GetAttributesOk() (*IncidentServiceUpdateAttributes, bool)
- func (o *IncidentServiceUpdateData) GetId() string
- func (o *IncidentServiceUpdateData) GetIdOk() (*string, bool)
- func (o *IncidentServiceUpdateData) GetRelationships() IncidentServiceRelationships
- func (o *IncidentServiceUpdateData) GetRelationshipsOk() (*IncidentServiceRelationships, bool)
- func (o *IncidentServiceUpdateData) GetType() IncidentServiceType
- func (o *IncidentServiceUpdateData) GetTypeOk() (*IncidentServiceType, bool)
- func (o *IncidentServiceUpdateData) HasAttributes() bool
- func (o *IncidentServiceUpdateData) HasId() bool
- func (o *IncidentServiceUpdateData) HasRelationships() bool
- func (o IncidentServiceUpdateData) MarshalJSON() ([]byte, error)
- func (o *IncidentServiceUpdateData) SetAttributes(v IncidentServiceUpdateAttributes)
- func (o *IncidentServiceUpdateData) SetId(v string)
- func (o *IncidentServiceUpdateData) SetRelationships(v IncidentServiceRelationships)
- func (o *IncidentServiceUpdateData) SetType(v IncidentServiceType)
- func (o *IncidentServiceUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type IncidentServiceUpdateRequest
- func (o *IncidentServiceUpdateRequest) GetData() IncidentServiceUpdateData
- func (o *IncidentServiceUpdateRequest) GetDataOk() (*IncidentServiceUpdateData, bool)
- func (o IncidentServiceUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *IncidentServiceUpdateRequest) SetData(v IncidentServiceUpdateData)
- func (o *IncidentServiceUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type IncidentServicesApiService
- func (a *IncidentServicesApiService) CreateIncidentService(ctx _context.Context, body IncidentServiceCreateRequest) (IncidentServiceResponse, *_nethttp.Response, error)
- func (a *IncidentServicesApiService) DeleteIncidentService(ctx _context.Context, serviceId string) (*_nethttp.Response, error)
- func (a *IncidentServicesApiService) GetIncidentService(ctx _context.Context, serviceId string, ...) (IncidentServiceResponse, *_nethttp.Response, error)
- func (a *IncidentServicesApiService) ListIncidentServices(ctx _context.Context, o ...ListIncidentServicesOptionalParameters) (IncidentServicesResponse, *_nethttp.Response, error)
- func (a *IncidentServicesApiService) UpdateIncidentService(ctx _context.Context, serviceId string, body IncidentServiceUpdateRequest) (IncidentServiceResponse, *_nethttp.Response, error)
- type IncidentServicesResponse
- func (o *IncidentServicesResponse) GetData() []IncidentServiceResponseData
- func (o *IncidentServicesResponse) GetDataOk() (*[]IncidentServiceResponseData, bool)
- func (o *IncidentServicesResponse) GetIncluded() []IncidentServiceIncludedItems
- func (o *IncidentServicesResponse) GetIncludedOk() (*[]IncidentServiceIncludedItems, bool)
- func (o *IncidentServicesResponse) GetMeta() IncidentResponseMeta
- func (o *IncidentServicesResponse) GetMetaOk() (*IncidentResponseMeta, bool)
- func (o *IncidentServicesResponse) HasIncluded() bool
- func (o *IncidentServicesResponse) HasMeta() bool
- func (o IncidentServicesResponse) MarshalJSON() ([]byte, error)
- func (o *IncidentServicesResponse) SetData(v []IncidentServiceResponseData)
- func (o *IncidentServicesResponse) SetIncluded(v []IncidentServiceIncludedItems)
- func (o *IncidentServicesResponse) SetMeta(v IncidentResponseMeta)
- func (o *IncidentServicesResponse) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTeamCreateAttributes
- func (o *IncidentTeamCreateAttributes) GetName() string
- func (o *IncidentTeamCreateAttributes) GetNameOk() (*string, bool)
- func (o IncidentTeamCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *IncidentTeamCreateAttributes) SetName(v string)
- func (o *IncidentTeamCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTeamCreateData
- func (o *IncidentTeamCreateData) GetAttributes() IncidentTeamCreateAttributes
- func (o *IncidentTeamCreateData) GetAttributesOk() (*IncidentTeamCreateAttributes, bool)
- func (o *IncidentTeamCreateData) GetRelationships() IncidentTeamRelationships
- func (o *IncidentTeamCreateData) GetRelationshipsOk() (*IncidentTeamRelationships, bool)
- func (o *IncidentTeamCreateData) GetType() IncidentTeamType
- func (o *IncidentTeamCreateData) GetTypeOk() (*IncidentTeamType, bool)
- func (o *IncidentTeamCreateData) HasAttributes() bool
- func (o *IncidentTeamCreateData) HasRelationships() bool
- func (o IncidentTeamCreateData) MarshalJSON() ([]byte, error)
- func (o *IncidentTeamCreateData) SetAttributes(v IncidentTeamCreateAttributes)
- func (o *IncidentTeamCreateData) SetRelationships(v IncidentTeamRelationships)
- func (o *IncidentTeamCreateData) SetType(v IncidentTeamType)
- func (o *IncidentTeamCreateData) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTeamCreateRequest
- func (o *IncidentTeamCreateRequest) GetData() IncidentTeamCreateData
- func (o *IncidentTeamCreateRequest) GetDataOk() (*IncidentTeamCreateData, bool)
- func (o IncidentTeamCreateRequest) MarshalJSON() ([]byte, error)
- func (o *IncidentTeamCreateRequest) SetData(v IncidentTeamCreateData)
- func (o *IncidentTeamCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTeamIncludedItems
- type IncidentTeamRelationships
- func (o *IncidentTeamRelationships) GetCreatedBy() RelationshipToUser
- func (o *IncidentTeamRelationships) GetCreatedByOk() (*RelationshipToUser, bool)
- func (o *IncidentTeamRelationships) GetLastModifiedBy() RelationshipToUser
- func (o *IncidentTeamRelationships) GetLastModifiedByOk() (*RelationshipToUser, bool)
- func (o *IncidentTeamRelationships) HasCreatedBy() bool
- func (o *IncidentTeamRelationships) HasLastModifiedBy() bool
- func (o IncidentTeamRelationships) MarshalJSON() ([]byte, error)
- func (o *IncidentTeamRelationships) SetCreatedBy(v RelationshipToUser)
- func (o *IncidentTeamRelationships) SetLastModifiedBy(v RelationshipToUser)
- func (o *IncidentTeamRelationships) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTeamResponse
- func (o *IncidentTeamResponse) GetData() IncidentTeamResponseData
- func (o *IncidentTeamResponse) GetDataOk() (*IncidentTeamResponseData, bool)
- func (o *IncidentTeamResponse) GetIncluded() []IncidentTeamIncludedItems
- func (o *IncidentTeamResponse) GetIncludedOk() (*[]IncidentTeamIncludedItems, bool)
- func (o *IncidentTeamResponse) HasIncluded() bool
- func (o IncidentTeamResponse) MarshalJSON() ([]byte, error)
- func (o *IncidentTeamResponse) SetData(v IncidentTeamResponseData)
- func (o *IncidentTeamResponse) SetIncluded(v []IncidentTeamIncludedItems)
- func (o *IncidentTeamResponse) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTeamResponseAttributes
- func (o *IncidentTeamResponseAttributes) GetCreated() time.Time
- func (o *IncidentTeamResponseAttributes) GetCreatedOk() (*time.Time, bool)
- func (o *IncidentTeamResponseAttributes) GetModified() time.Time
- func (o *IncidentTeamResponseAttributes) GetModifiedOk() (*time.Time, bool)
- func (o *IncidentTeamResponseAttributes) GetName() string
- func (o *IncidentTeamResponseAttributes) GetNameOk() (*string, bool)
- func (o *IncidentTeamResponseAttributes) HasCreated() bool
- func (o *IncidentTeamResponseAttributes) HasModified() bool
- func (o *IncidentTeamResponseAttributes) HasName() bool
- func (o IncidentTeamResponseAttributes) MarshalJSON() ([]byte, error)
- func (o *IncidentTeamResponseAttributes) SetCreated(v time.Time)
- func (o *IncidentTeamResponseAttributes) SetModified(v time.Time)
- func (o *IncidentTeamResponseAttributes) SetName(v string)
- func (o *IncidentTeamResponseAttributes) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTeamResponseData
- func (o *IncidentTeamResponseData) GetAttributes() IncidentTeamResponseAttributes
- func (o *IncidentTeamResponseData) GetAttributesOk() (*IncidentTeamResponseAttributes, bool)
- func (o *IncidentTeamResponseData) GetId() string
- func (o *IncidentTeamResponseData) GetIdOk() (*string, bool)
- func (o *IncidentTeamResponseData) GetRelationships() IncidentTeamRelationships
- func (o *IncidentTeamResponseData) GetRelationshipsOk() (*IncidentTeamRelationships, bool)
- func (o *IncidentTeamResponseData) GetType() IncidentTeamType
- func (o *IncidentTeamResponseData) GetTypeOk() (*IncidentTeamType, bool)
- func (o *IncidentTeamResponseData) HasAttributes() bool
- func (o *IncidentTeamResponseData) HasId() bool
- func (o *IncidentTeamResponseData) HasRelationships() bool
- func (o *IncidentTeamResponseData) HasType() bool
- func (o IncidentTeamResponseData) MarshalJSON() ([]byte, error)
- func (o *IncidentTeamResponseData) SetAttributes(v IncidentTeamResponseAttributes)
- func (o *IncidentTeamResponseData) SetId(v string)
- func (o *IncidentTeamResponseData) SetRelationships(v IncidentTeamRelationships)
- func (o *IncidentTeamResponseData) SetType(v IncidentTeamType)
- func (o *IncidentTeamResponseData) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTeamType
- type IncidentTeamUpdateAttributes
- func (o *IncidentTeamUpdateAttributes) GetName() string
- func (o *IncidentTeamUpdateAttributes) GetNameOk() (*string, bool)
- func (o IncidentTeamUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *IncidentTeamUpdateAttributes) SetName(v string)
- func (o *IncidentTeamUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTeamUpdateData
- func (o *IncidentTeamUpdateData) GetAttributes() IncidentTeamUpdateAttributes
- func (o *IncidentTeamUpdateData) GetAttributesOk() (*IncidentTeamUpdateAttributes, bool)
- func (o *IncidentTeamUpdateData) GetId() string
- func (o *IncidentTeamUpdateData) GetIdOk() (*string, bool)
- func (o *IncidentTeamUpdateData) GetRelationships() IncidentTeamRelationships
- func (o *IncidentTeamUpdateData) GetRelationshipsOk() (*IncidentTeamRelationships, bool)
- func (o *IncidentTeamUpdateData) GetType() IncidentTeamType
- func (o *IncidentTeamUpdateData) GetTypeOk() (*IncidentTeamType, bool)
- func (o *IncidentTeamUpdateData) HasAttributes() bool
- func (o *IncidentTeamUpdateData) HasId() bool
- func (o *IncidentTeamUpdateData) HasRelationships() bool
- func (o IncidentTeamUpdateData) MarshalJSON() ([]byte, error)
- func (o *IncidentTeamUpdateData) SetAttributes(v IncidentTeamUpdateAttributes)
- func (o *IncidentTeamUpdateData) SetId(v string)
- func (o *IncidentTeamUpdateData) SetRelationships(v IncidentTeamRelationships)
- func (o *IncidentTeamUpdateData) SetType(v IncidentTeamType)
- func (o *IncidentTeamUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTeamUpdateRequest
- func (o *IncidentTeamUpdateRequest) GetData() IncidentTeamUpdateData
- func (o *IncidentTeamUpdateRequest) GetDataOk() (*IncidentTeamUpdateData, bool)
- func (o IncidentTeamUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *IncidentTeamUpdateRequest) SetData(v IncidentTeamUpdateData)
- func (o *IncidentTeamUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTeamsApiService
- func (a *IncidentTeamsApiService) CreateIncidentTeam(ctx _context.Context, body IncidentTeamCreateRequest) (IncidentTeamResponse, *_nethttp.Response, error)
- func (a *IncidentTeamsApiService) DeleteIncidentTeam(ctx _context.Context, teamId string) (*_nethttp.Response, error)
- func (a *IncidentTeamsApiService) GetIncidentTeam(ctx _context.Context, teamId string, o ...GetIncidentTeamOptionalParameters) (IncidentTeamResponse, *_nethttp.Response, error)
- func (a *IncidentTeamsApiService) ListIncidentTeams(ctx _context.Context, o ...ListIncidentTeamsOptionalParameters) (IncidentTeamsResponse, *_nethttp.Response, error)
- func (a *IncidentTeamsApiService) UpdateIncidentTeam(ctx _context.Context, teamId string, body IncidentTeamUpdateRequest) (IncidentTeamResponse, *_nethttp.Response, error)
- type IncidentTeamsResponse
- func (o *IncidentTeamsResponse) GetData() []IncidentTeamResponseData
- func (o *IncidentTeamsResponse) GetDataOk() (*[]IncidentTeamResponseData, bool)
- func (o *IncidentTeamsResponse) GetIncluded() []IncidentTeamIncludedItems
- func (o *IncidentTeamsResponse) GetIncludedOk() (*[]IncidentTeamIncludedItems, bool)
- func (o *IncidentTeamsResponse) GetMeta() IncidentResponseMeta
- func (o *IncidentTeamsResponse) GetMetaOk() (*IncidentResponseMeta, bool)
- func (o *IncidentTeamsResponse) HasIncluded() bool
- func (o *IncidentTeamsResponse) HasMeta() bool
- func (o IncidentTeamsResponse) MarshalJSON() ([]byte, error)
- func (o *IncidentTeamsResponse) SetData(v []IncidentTeamResponseData)
- func (o *IncidentTeamsResponse) SetIncluded(v []IncidentTeamIncludedItems)
- func (o *IncidentTeamsResponse) SetMeta(v IncidentResponseMeta)
- func (o *IncidentTeamsResponse) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTimelineCellCreateAttributes
- type IncidentTimelineCellMarkdownContentType
- func (v *IncidentTimelineCellMarkdownContentType) GetAllowedValues() []IncidentTimelineCellMarkdownContentType
- func (v IncidentTimelineCellMarkdownContentType) IsValid() bool
- func (v IncidentTimelineCellMarkdownContentType) Ptr() *IncidentTimelineCellMarkdownContentType
- func (v *IncidentTimelineCellMarkdownContentType) UnmarshalJSON(src []byte) error
- type IncidentTimelineCellMarkdownCreateAttributes
- func (o *IncidentTimelineCellMarkdownCreateAttributes) GetCellType() IncidentTimelineCellMarkdownContentType
- func (o *IncidentTimelineCellMarkdownCreateAttributes) GetCellTypeOk() (*IncidentTimelineCellMarkdownContentType, bool)
- func (o *IncidentTimelineCellMarkdownCreateAttributes) GetContent() IncidentTimelineCellMarkdownCreateAttributesContent
- func (o *IncidentTimelineCellMarkdownCreateAttributes) GetContentOk() (*IncidentTimelineCellMarkdownCreateAttributesContent, bool)
- func (o *IncidentTimelineCellMarkdownCreateAttributes) GetImportant() bool
- func (o *IncidentTimelineCellMarkdownCreateAttributes) GetImportantOk() (*bool, bool)
- func (o *IncidentTimelineCellMarkdownCreateAttributes) HasImportant() bool
- func (o IncidentTimelineCellMarkdownCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *IncidentTimelineCellMarkdownCreateAttributes) SetCellType(v IncidentTimelineCellMarkdownContentType)
- func (o *IncidentTimelineCellMarkdownCreateAttributes) SetContent(v IncidentTimelineCellMarkdownCreateAttributesContent)
- func (o *IncidentTimelineCellMarkdownCreateAttributes) SetImportant(v bool)
- func (o *IncidentTimelineCellMarkdownCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type IncidentTimelineCellMarkdownCreateAttributesContent
- func (o *IncidentTimelineCellMarkdownCreateAttributesContent) GetContent() string
- func (o *IncidentTimelineCellMarkdownCreateAttributesContent) GetContentOk() (*string, bool)
- func (o *IncidentTimelineCellMarkdownCreateAttributesContent) HasContent() bool
- func (o IncidentTimelineCellMarkdownCreateAttributesContent) MarshalJSON() ([]byte, error)
- func (o *IncidentTimelineCellMarkdownCreateAttributesContent) SetContent(v string)
- func (o *IncidentTimelineCellMarkdownCreateAttributesContent) UnmarshalJSON(bytes []byte) (err error)
- type IncidentType
- type IncidentUpdateAttributes
- func (o *IncidentUpdateAttributes) GetCustomerImpactEnd() time.Time
- func (o *IncidentUpdateAttributes) GetCustomerImpactEndOk() (*time.Time, bool)
- func (o *IncidentUpdateAttributes) GetCustomerImpactScope() string
- func (o *IncidentUpdateAttributes) GetCustomerImpactScopeOk() (*string, bool)
- func (o *IncidentUpdateAttributes) GetCustomerImpactStart() time.Time
- func (o *IncidentUpdateAttributes) GetCustomerImpactStartOk() (*time.Time, bool)
- func (o *IncidentUpdateAttributes) GetCustomerImpacted() bool
- func (o *IncidentUpdateAttributes) GetCustomerImpactedOk() (*bool, bool)
- func (o *IncidentUpdateAttributes) GetDetected() time.Time
- func (o *IncidentUpdateAttributes) GetDetectedOk() (*time.Time, bool)
- func (o *IncidentUpdateAttributes) GetFields() map[string]IncidentFieldAttributes
- func (o *IncidentUpdateAttributes) GetFieldsOk() (*map[string]IncidentFieldAttributes, bool)
- func (o *IncidentUpdateAttributes) GetNotificationHandles() []IncidentNotificationHandle
- func (o *IncidentUpdateAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)
- func (o *IncidentUpdateAttributes) GetResolved() time.Time
- func (o *IncidentUpdateAttributes) GetResolvedOk() (*time.Time, bool)
- func (o *IncidentUpdateAttributes) GetTitle() string
- func (o *IncidentUpdateAttributes) GetTitleOk() (*string, bool)
- func (o *IncidentUpdateAttributes) HasCustomerImpactEnd() bool
- func (o *IncidentUpdateAttributes) HasCustomerImpactScope() bool
- func (o *IncidentUpdateAttributes) HasCustomerImpactStart() bool
- func (o *IncidentUpdateAttributes) HasCustomerImpacted() bool
- func (o *IncidentUpdateAttributes) HasDetected() bool
- func (o *IncidentUpdateAttributes) HasFields() bool
- func (o *IncidentUpdateAttributes) HasNotificationHandles() bool
- func (o *IncidentUpdateAttributes) HasResolved() bool
- func (o *IncidentUpdateAttributes) HasTitle() bool
- func (o IncidentUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *IncidentUpdateAttributes) SetCustomerImpactEnd(v time.Time)
- func (o *IncidentUpdateAttributes) SetCustomerImpactEndNil()
- func (o *IncidentUpdateAttributes) SetCustomerImpactScope(v string)
- func (o *IncidentUpdateAttributes) SetCustomerImpactStart(v time.Time)
- func (o *IncidentUpdateAttributes) SetCustomerImpactStartNil()
- func (o *IncidentUpdateAttributes) SetCustomerImpacted(v bool)
- func (o *IncidentUpdateAttributes) SetDetected(v time.Time)
- func (o *IncidentUpdateAttributes) SetDetectedNil()
- func (o *IncidentUpdateAttributes) SetFields(v map[string]IncidentFieldAttributes)
- func (o *IncidentUpdateAttributes) SetNotificationHandles(v []IncidentNotificationHandle)
- func (o *IncidentUpdateAttributes) SetResolved(v time.Time)
- func (o *IncidentUpdateAttributes) SetResolvedNil()
- func (o *IncidentUpdateAttributes) SetTitle(v string)
- func (o *IncidentUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- func (o *IncidentUpdateAttributes) UnsetCustomerImpactEnd()
- func (o *IncidentUpdateAttributes) UnsetCustomerImpactStart()
- func (o *IncidentUpdateAttributes) UnsetDetected()
- func (o *IncidentUpdateAttributes) UnsetResolved()
- type IncidentUpdateData
- func (o *IncidentUpdateData) GetAttributes() IncidentUpdateAttributes
- func (o *IncidentUpdateData) GetAttributesOk() (*IncidentUpdateAttributes, bool)
- func (o *IncidentUpdateData) GetId() string
- func (o *IncidentUpdateData) GetIdOk() (*string, bool)
- func (o *IncidentUpdateData) GetRelationships() IncidentUpdateRelationships
- func (o *IncidentUpdateData) GetRelationshipsOk() (*IncidentUpdateRelationships, bool)
- func (o *IncidentUpdateData) GetType() IncidentType
- func (o *IncidentUpdateData) GetTypeOk() (*IncidentType, bool)
- func (o *IncidentUpdateData) HasAttributes() bool
- func (o *IncidentUpdateData) HasRelationships() bool
- func (o IncidentUpdateData) MarshalJSON() ([]byte, error)
- func (o *IncidentUpdateData) SetAttributes(v IncidentUpdateAttributes)
- func (o *IncidentUpdateData) SetId(v string)
- func (o *IncidentUpdateData) SetRelationships(v IncidentUpdateRelationships)
- func (o *IncidentUpdateData) SetType(v IncidentType)
- func (o *IncidentUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type IncidentUpdateRelationships
- func (o *IncidentUpdateRelationships) GetCommanderUser() NullableRelationshipToUser
- func (o *IncidentUpdateRelationships) GetCommanderUserOk() (*NullableRelationshipToUser, bool)
- func (o *IncidentUpdateRelationships) GetIntegrations() RelationshipToIncidentIntegrationMetadatas
- func (o *IncidentUpdateRelationships) GetIntegrationsOk() (*RelationshipToIncidentIntegrationMetadatas, bool)
- func (o *IncidentUpdateRelationships) GetPostmortem() RelationshipToIncidentPostmortem
- func (o *IncidentUpdateRelationships) GetPostmortemOk() (*RelationshipToIncidentPostmortem, bool)
- func (o *IncidentUpdateRelationships) HasCommanderUser() bool
- func (o *IncidentUpdateRelationships) HasIntegrations() bool
- func (o *IncidentUpdateRelationships) HasPostmortem() bool
- func (o IncidentUpdateRelationships) MarshalJSON() ([]byte, error)
- func (o *IncidentUpdateRelationships) SetCommanderUser(v NullableRelationshipToUser)
- func (o *IncidentUpdateRelationships) SetIntegrations(v RelationshipToIncidentIntegrationMetadatas)
- func (o *IncidentUpdateRelationships) SetPostmortem(v RelationshipToIncidentPostmortem)
- func (o *IncidentUpdateRelationships) UnmarshalJSON(bytes []byte) (err error)
- type IncidentUpdateRequest
- func (o *IncidentUpdateRequest) GetData() IncidentUpdateData
- func (o *IncidentUpdateRequest) GetDataOk() (*IncidentUpdateData, bool)
- func (o IncidentUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *IncidentUpdateRequest) SetData(v IncidentUpdateData)
- func (o *IncidentUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type IncidentsApiService
- func (a *IncidentsApiService) CreateIncident(ctx _context.Context, body IncidentCreateRequest) (IncidentResponse, *_nethttp.Response, error)
- func (a *IncidentsApiService) DeleteIncident(ctx _context.Context, incidentId string) (*_nethttp.Response, error)
- func (a *IncidentsApiService) GetIncident(ctx _context.Context, incidentId string, o ...GetIncidentOptionalParameters) (IncidentResponse, *_nethttp.Response, error)
- func (a *IncidentsApiService) ListIncidents(ctx _context.Context, o ...ListIncidentsOptionalParameters) (IncidentsResponse, *_nethttp.Response, error)
- func (a *IncidentsApiService) ListIncidentsWithPagination(ctx _context.Context, o ...ListIncidentsOptionalParameters) (<-chan IncidentResponseData, func(), error)
- func (a *IncidentsApiService) UpdateIncident(ctx _context.Context, incidentId string, body IncidentUpdateRequest, ...) (IncidentResponse, *_nethttp.Response, error)
- type IncidentsResponse
- func (o *IncidentsResponse) GetData() []IncidentResponseData
- func (o *IncidentsResponse) GetDataOk() (*[]IncidentResponseData, bool)
- func (o *IncidentsResponse) GetIncluded() []IncidentResponseIncludedItem
- func (o *IncidentsResponse) GetIncludedOk() (*[]IncidentResponseIncludedItem, bool)
- func (o *IncidentsResponse) GetMeta() IncidentResponseMeta
- func (o *IncidentsResponse) GetMetaOk() (*IncidentResponseMeta, bool)
- func (o *IncidentsResponse) HasIncluded() bool
- func (o *IncidentsResponse) HasMeta() bool
- func (o IncidentsResponse) MarshalJSON() ([]byte, error)
- func (o *IncidentsResponse) SetData(v []IncidentResponseData)
- func (o *IncidentsResponse) SetIncluded(v []IncidentResponseIncludedItem)
- func (o *IncidentsResponse) SetMeta(v IncidentResponseMeta)
- func (o *IncidentsResponse) UnmarshalJSON(bytes []byte) (err error)
- type IntakePayloadAccepted
- func (o *IntakePayloadAccepted) GetErrors() []string
- func (o *IntakePayloadAccepted) GetErrorsOk() (*[]string, bool)
- func (o *IntakePayloadAccepted) HasErrors() bool
- func (o IntakePayloadAccepted) MarshalJSON() ([]byte, error)
- func (o *IntakePayloadAccepted) SetErrors(v []string)
- func (o *IntakePayloadAccepted) UnmarshalJSON(bytes []byte) (err error)
- type KeyManagementApiService
- func (a *KeyManagementApiService) CreateAPIKey(ctx _context.Context, body APIKeyCreateRequest) (APIKeyResponse, *_nethttp.Response, error)
- func (a *KeyManagementApiService) CreateCurrentUserApplicationKey(ctx _context.Context, body ApplicationKeyCreateRequest) (ApplicationKeyResponse, *_nethttp.Response, error)
- func (a *KeyManagementApiService) DeleteAPIKey(ctx _context.Context, apiKeyId string) (*_nethttp.Response, error)
- func (a *KeyManagementApiService) DeleteApplicationKey(ctx _context.Context, appKeyId string) (*_nethttp.Response, error)
- func (a *KeyManagementApiService) DeleteCurrentUserApplicationKey(ctx _context.Context, appKeyId string) (*_nethttp.Response, error)
- func (a *KeyManagementApiService) GetAPIKey(ctx _context.Context, apiKeyId string, o ...GetAPIKeyOptionalParameters) (APIKeyResponse, *_nethttp.Response, error)
- func (a *KeyManagementApiService) GetApplicationKey(ctx _context.Context, appKeyId string, ...) (ApplicationKeyResponse, *_nethttp.Response, error)
- func (a *KeyManagementApiService) GetCurrentUserApplicationKey(ctx _context.Context, appKeyId string) (ApplicationKeyResponse, *_nethttp.Response, error)
- func (a *KeyManagementApiService) ListAPIKeys(ctx _context.Context, o ...ListAPIKeysOptionalParameters) (APIKeysResponse, *_nethttp.Response, error)
- func (a *KeyManagementApiService) ListApplicationKeys(ctx _context.Context, o ...ListApplicationKeysOptionalParameters) (ListApplicationKeysResponse, *_nethttp.Response, error)
- func (a *KeyManagementApiService) ListCurrentUserApplicationKeys(ctx _context.Context, o ...ListCurrentUserApplicationKeysOptionalParameters) (ListApplicationKeysResponse, *_nethttp.Response, error)
- func (a *KeyManagementApiService) UpdateAPIKey(ctx _context.Context, apiKeyId string, body APIKeyUpdateRequest) (APIKeyResponse, *_nethttp.Response, error)
- func (a *KeyManagementApiService) UpdateApplicationKey(ctx _context.Context, appKeyId string, body ApplicationKeyUpdateRequest) (ApplicationKeyResponse, *_nethttp.Response, error)
- func (a *KeyManagementApiService) UpdateCurrentUserApplicationKey(ctx _context.Context, appKeyId string, body ApplicationKeyUpdateRequest) (ApplicationKeyResponse, *_nethttp.Response, error)
- type ListAPIKeysOptionalParameters
- func (r *ListAPIKeysOptionalParameters) WithFilter(filter string) *ListAPIKeysOptionalParameters
- func (r *ListAPIKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListAPIKeysOptionalParameters
- func (r *ListAPIKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListAPIKeysOptionalParameters
- func (r *ListAPIKeysOptionalParameters) WithFilterModifiedAtEnd(filterModifiedAtEnd string) *ListAPIKeysOptionalParameters
- func (r *ListAPIKeysOptionalParameters) WithFilterModifiedAtStart(filterModifiedAtStart string) *ListAPIKeysOptionalParameters
- func (r *ListAPIKeysOptionalParameters) WithInclude(include string) *ListAPIKeysOptionalParameters
- func (r *ListAPIKeysOptionalParameters) WithPageNumber(pageNumber int64) *ListAPIKeysOptionalParameters
- func (r *ListAPIKeysOptionalParameters) WithPageSize(pageSize int64) *ListAPIKeysOptionalParameters
- func (r *ListAPIKeysOptionalParameters) WithSort(sort APIKeysSort) *ListAPIKeysOptionalParameters
- type ListApplicationKeysOptionalParameters
- func (r *ListApplicationKeysOptionalParameters) WithFilter(filter string) *ListApplicationKeysOptionalParameters
- func (r *ListApplicationKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListApplicationKeysOptionalParameters
- func (r *ListApplicationKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListApplicationKeysOptionalParameters
- func (r *ListApplicationKeysOptionalParameters) WithPageNumber(pageNumber int64) *ListApplicationKeysOptionalParameters
- func (r *ListApplicationKeysOptionalParameters) WithPageSize(pageSize int64) *ListApplicationKeysOptionalParameters
- func (r *ListApplicationKeysOptionalParameters) WithSort(sort ApplicationKeysSort) *ListApplicationKeysOptionalParameters
- type ListApplicationKeysResponse
- func (o *ListApplicationKeysResponse) GetData() []PartialApplicationKey
- func (o *ListApplicationKeysResponse) GetDataOk() (*[]PartialApplicationKey, bool)
- func (o *ListApplicationKeysResponse) GetIncluded() []ApplicationKeyResponseIncludedItem
- func (o *ListApplicationKeysResponse) GetIncludedOk() (*[]ApplicationKeyResponseIncludedItem, bool)
- func (o *ListApplicationKeysResponse) HasData() bool
- func (o *ListApplicationKeysResponse) HasIncluded() bool
- func (o ListApplicationKeysResponse) MarshalJSON() ([]byte, error)
- func (o *ListApplicationKeysResponse) SetData(v []PartialApplicationKey)
- func (o *ListApplicationKeysResponse) SetIncluded(v []ApplicationKeyResponseIncludedItem)
- func (o *ListApplicationKeysResponse) UnmarshalJSON(bytes []byte) (err error)
- type ListAuditLogsOptionalParameters
- func (r *ListAuditLogsOptionalParameters) WithFilterFrom(filterFrom time.Time) *ListAuditLogsOptionalParameters
- func (r *ListAuditLogsOptionalParameters) WithFilterQuery(filterQuery string) *ListAuditLogsOptionalParameters
- func (r *ListAuditLogsOptionalParameters) WithFilterTo(filterTo time.Time) *ListAuditLogsOptionalParameters
- func (r *ListAuditLogsOptionalParameters) WithPageCursor(pageCursor string) *ListAuditLogsOptionalParameters
- func (r *ListAuditLogsOptionalParameters) WithPageLimit(pageLimit int32) *ListAuditLogsOptionalParameters
- func (r *ListAuditLogsOptionalParameters) WithSort(sort AuditLogsSort) *ListAuditLogsOptionalParameters
- type ListAuthNMappingsOptionalParameters
- func (r *ListAuthNMappingsOptionalParameters) WithFilter(filter string) *ListAuthNMappingsOptionalParameters
- func (r *ListAuthNMappingsOptionalParameters) WithPageNumber(pageNumber int64) *ListAuthNMappingsOptionalParameters
- func (r *ListAuthNMappingsOptionalParameters) WithPageSize(pageSize int64) *ListAuthNMappingsOptionalParameters
- func (r *ListAuthNMappingsOptionalParameters) WithSort(sort AuthNMappingsSort) *ListAuthNMappingsOptionalParameters
- type ListCurrentUserApplicationKeysOptionalParameters
- func (r *ListCurrentUserApplicationKeysOptionalParameters) WithFilter(filter string) *ListCurrentUserApplicationKeysOptionalParameters
- func (r *ListCurrentUserApplicationKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListCurrentUserApplicationKeysOptionalParameters
- func (r *ListCurrentUserApplicationKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListCurrentUserApplicationKeysOptionalParameters
- func (r *ListCurrentUserApplicationKeysOptionalParameters) WithPageNumber(pageNumber int64) *ListCurrentUserApplicationKeysOptionalParameters
- func (r *ListCurrentUserApplicationKeysOptionalParameters) WithPageSize(pageSize int64) *ListCurrentUserApplicationKeysOptionalParameters
- func (r *ListCurrentUserApplicationKeysOptionalParameters) WithSort(sort ApplicationKeysSort) *ListCurrentUserApplicationKeysOptionalParameters
- type ListIncidentServicesOptionalParameters
- func (r *ListIncidentServicesOptionalParameters) WithFilter(filter string) *ListIncidentServicesOptionalParameters
- func (r *ListIncidentServicesOptionalParameters) WithInclude(include IncidentRelatedObject) *ListIncidentServicesOptionalParameters
- func (r *ListIncidentServicesOptionalParameters) WithPageOffset(pageOffset int64) *ListIncidentServicesOptionalParameters
- func (r *ListIncidentServicesOptionalParameters) WithPageSize(pageSize int64) *ListIncidentServicesOptionalParameters
- type ListIncidentTeamsOptionalParameters
- func (r *ListIncidentTeamsOptionalParameters) WithFilter(filter string) *ListIncidentTeamsOptionalParameters
- func (r *ListIncidentTeamsOptionalParameters) WithInclude(include IncidentRelatedObject) *ListIncidentTeamsOptionalParameters
- func (r *ListIncidentTeamsOptionalParameters) WithPageOffset(pageOffset int64) *ListIncidentTeamsOptionalParameters
- func (r *ListIncidentTeamsOptionalParameters) WithPageSize(pageSize int64) *ListIncidentTeamsOptionalParameters
- type ListIncidentsOptionalParameters
- func (r *ListIncidentsOptionalParameters) WithInclude(include []IncidentRelatedObject) *ListIncidentsOptionalParameters
- func (r *ListIncidentsOptionalParameters) WithPageOffset(pageOffset int64) *ListIncidentsOptionalParameters
- func (r *ListIncidentsOptionalParameters) WithPageSize(pageSize int64) *ListIncidentsOptionalParameters
- type ListLogsGetOptionalParameters
- func (r *ListLogsGetOptionalParameters) WithFilterFrom(filterFrom time.Time) *ListLogsGetOptionalParameters
- func (r *ListLogsGetOptionalParameters) WithFilterIndex(filterIndex string) *ListLogsGetOptionalParameters
- func (r *ListLogsGetOptionalParameters) WithFilterQuery(filterQuery string) *ListLogsGetOptionalParameters
- func (r *ListLogsGetOptionalParameters) WithFilterTo(filterTo time.Time) *ListLogsGetOptionalParameters
- func (r *ListLogsGetOptionalParameters) WithPageCursor(pageCursor string) *ListLogsGetOptionalParameters
- func (r *ListLogsGetOptionalParameters) WithPageLimit(pageLimit int32) *ListLogsGetOptionalParameters
- func (r *ListLogsGetOptionalParameters) WithSort(sort LogsSort) *ListLogsGetOptionalParameters
- type ListLogsOptionalParameters
- type ListProcessesOptionalParameters
- func (r *ListProcessesOptionalParameters) WithFrom(from int64) *ListProcessesOptionalParameters
- func (r *ListProcessesOptionalParameters) WithPageCursor(pageCursor string) *ListProcessesOptionalParameters
- func (r *ListProcessesOptionalParameters) WithPageLimit(pageLimit int32) *ListProcessesOptionalParameters
- func (r *ListProcessesOptionalParameters) WithSearch(search string) *ListProcessesOptionalParameters
- func (r *ListProcessesOptionalParameters) WithTags(tags string) *ListProcessesOptionalParameters
- func (r *ListProcessesOptionalParameters) WithTo(to int64) *ListProcessesOptionalParameters
- type ListRUMEventsOptionalParameters
- func (r *ListRUMEventsOptionalParameters) WithFilterFrom(filterFrom time.Time) *ListRUMEventsOptionalParameters
- func (r *ListRUMEventsOptionalParameters) WithFilterQuery(filterQuery string) *ListRUMEventsOptionalParameters
- func (r *ListRUMEventsOptionalParameters) WithFilterTo(filterTo time.Time) *ListRUMEventsOptionalParameters
- func (r *ListRUMEventsOptionalParameters) WithPageCursor(pageCursor string) *ListRUMEventsOptionalParameters
- func (r *ListRUMEventsOptionalParameters) WithPageLimit(pageLimit int32) *ListRUMEventsOptionalParameters
- func (r *ListRUMEventsOptionalParameters) WithSort(sort RUMSort) *ListRUMEventsOptionalParameters
- type ListRoleUsersOptionalParameters
- func (r *ListRoleUsersOptionalParameters) WithFilter(filter string) *ListRoleUsersOptionalParameters
- func (r *ListRoleUsersOptionalParameters) WithPageNumber(pageNumber int64) *ListRoleUsersOptionalParameters
- func (r *ListRoleUsersOptionalParameters) WithPageSize(pageSize int64) *ListRoleUsersOptionalParameters
- func (r *ListRoleUsersOptionalParameters) WithSort(sort string) *ListRoleUsersOptionalParameters
- type ListRolesOptionalParameters
- func (r *ListRolesOptionalParameters) WithFilter(filter string) *ListRolesOptionalParameters
- func (r *ListRolesOptionalParameters) WithPageNumber(pageNumber int64) *ListRolesOptionalParameters
- func (r *ListRolesOptionalParameters) WithPageSize(pageSize int64) *ListRolesOptionalParameters
- func (r *ListRolesOptionalParameters) WithSort(sort RolesSort) *ListRolesOptionalParameters
- type ListSecurityMonitoringRulesOptionalParameters
- type ListSecurityMonitoringSignalsOptionalParameters
- func (r *ListSecurityMonitoringSignalsOptionalParameters) WithFilterFrom(filterFrom time.Time) *ListSecurityMonitoringSignalsOptionalParameters
- func (r *ListSecurityMonitoringSignalsOptionalParameters) WithFilterQuery(filterQuery string) *ListSecurityMonitoringSignalsOptionalParameters
- func (r *ListSecurityMonitoringSignalsOptionalParameters) WithFilterTo(filterTo time.Time) *ListSecurityMonitoringSignalsOptionalParameters
- func (r *ListSecurityMonitoringSignalsOptionalParameters) WithPageCursor(pageCursor string) *ListSecurityMonitoringSignalsOptionalParameters
- func (r *ListSecurityMonitoringSignalsOptionalParameters) WithPageLimit(pageLimit int32) *ListSecurityMonitoringSignalsOptionalParameters
- func (r *ListSecurityMonitoringSignalsOptionalParameters) WithSort(sort SecurityMonitoringSignalsSort) *ListSecurityMonitoringSignalsOptionalParameters
- type ListServiceAccountApplicationKeysOptionalParameters
- func (r *ListServiceAccountApplicationKeysOptionalParameters) WithFilter(filter string) *ListServiceAccountApplicationKeysOptionalParameters
- func (r *ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListServiceAccountApplicationKeysOptionalParameters
- func (r *ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListServiceAccountApplicationKeysOptionalParameters
- func (r *ListServiceAccountApplicationKeysOptionalParameters) WithPageNumber(pageNumber int64) *ListServiceAccountApplicationKeysOptionalParameters
- func (r *ListServiceAccountApplicationKeysOptionalParameters) WithPageSize(pageSize int64) *ListServiceAccountApplicationKeysOptionalParameters
- func (r *ListServiceAccountApplicationKeysOptionalParameters) WithSort(sort ApplicationKeysSort) *ListServiceAccountApplicationKeysOptionalParameters
- type ListTagConfigurationsOptionalParameters
- func (r *ListTagConfigurationsOptionalParameters) WithFilterConfigured(filterConfigured bool) *ListTagConfigurationsOptionalParameters
- func (r *ListTagConfigurationsOptionalParameters) WithFilterIncludePercentiles(filterIncludePercentiles bool) *ListTagConfigurationsOptionalParameters
- func (r *ListTagConfigurationsOptionalParameters) WithFilterMetricType(filterMetricType MetricTagConfigurationMetricTypes) *ListTagConfigurationsOptionalParameters
- func (r *ListTagConfigurationsOptionalParameters) WithFilterTags(filterTags string) *ListTagConfigurationsOptionalParameters
- func (r *ListTagConfigurationsOptionalParameters) WithFilterTagsConfigured(filterTagsConfigured string) *ListTagConfigurationsOptionalParameters
- func (r *ListTagConfigurationsOptionalParameters) WithWindowSeconds(windowSeconds int64) *ListTagConfigurationsOptionalParameters
- type ListUsersOptionalParameters
- func (r *ListUsersOptionalParameters) WithFilter(filter string) *ListUsersOptionalParameters
- func (r *ListUsersOptionalParameters) WithFilterStatus(filterStatus string) *ListUsersOptionalParameters
- func (r *ListUsersOptionalParameters) WithPageNumber(pageNumber int64) *ListUsersOptionalParameters
- func (r *ListUsersOptionalParameters) WithPageSize(pageSize int64) *ListUsersOptionalParameters
- func (r *ListUsersOptionalParameters) WithSort(sort string) *ListUsersOptionalParameters
- func (r *ListUsersOptionalParameters) WithSortDir(sortDir QuerySortOrder) *ListUsersOptionalParameters
- type Log
- func (o *Log) GetAttributes() LogAttributes
- func (o *Log) GetAttributesOk() (*LogAttributes, bool)
- func (o *Log) GetId() string
- func (o *Log) GetIdOk() (*string, bool)
- func (o *Log) GetType() LogType
- func (o *Log) GetTypeOk() (*LogType, bool)
- func (o *Log) HasAttributes() bool
- func (o *Log) HasId() bool
- func (o *Log) HasType() bool
- func (o Log) MarshalJSON() ([]byte, error)
- func (o *Log) SetAttributes(v LogAttributes)
- func (o *Log) SetId(v string)
- func (o *Log) SetType(v LogType)
- func (o *Log) UnmarshalJSON(bytes []byte) (err error)
- type LogAttributes
- func (o *LogAttributes) GetAttributes() map[string]interface{}
- func (o *LogAttributes) GetAttributesOk() (*map[string]interface{}, bool)
- func (o *LogAttributes) GetHost() string
- func (o *LogAttributes) GetHostOk() (*string, bool)
- func (o *LogAttributes) GetMessage() string
- func (o *LogAttributes) GetMessageOk() (*string, bool)
- func (o *LogAttributes) GetService() string
- func (o *LogAttributes) GetServiceOk() (*string, bool)
- func (o *LogAttributes) GetStatus() string
- func (o *LogAttributes) GetStatusOk() (*string, bool)
- func (o *LogAttributes) GetTags() []string
- func (o *LogAttributes) GetTagsOk() (*[]string, bool)
- func (o *LogAttributes) GetTimestamp() time.Time
- func (o *LogAttributes) GetTimestampOk() (*time.Time, bool)
- func (o *LogAttributes) HasAttributes() bool
- func (o *LogAttributes) HasHost() bool
- func (o *LogAttributes) HasMessage() bool
- func (o *LogAttributes) HasService() bool
- func (o *LogAttributes) HasStatus() bool
- func (o *LogAttributes) HasTags() bool
- func (o *LogAttributes) HasTimestamp() bool
- func (o LogAttributes) MarshalJSON() ([]byte, error)
- func (o *LogAttributes) SetAttributes(v map[string]interface{})
- func (o *LogAttributes) SetHost(v string)
- func (o *LogAttributes) SetMessage(v string)
- func (o *LogAttributes) SetService(v string)
- func (o *LogAttributes) SetStatus(v string)
- func (o *LogAttributes) SetTags(v []string)
- func (o *LogAttributes) SetTimestamp(v time.Time)
- func (o *LogAttributes) UnmarshalJSON(bytes []byte) (err error)
- type LogType
- type LogsAggregateBucket
- func (o *LogsAggregateBucket) GetBy() map[string]string
- func (o *LogsAggregateBucket) GetByOk() (*map[string]string, bool)
- func (o *LogsAggregateBucket) GetComputes() map[string]LogsAggregateBucketValue
- func (o *LogsAggregateBucket) GetComputesOk() (*map[string]LogsAggregateBucketValue, bool)
- func (o *LogsAggregateBucket) HasBy() bool
- func (o *LogsAggregateBucket) HasComputes() bool
- func (o LogsAggregateBucket) MarshalJSON() ([]byte, error)
- func (o *LogsAggregateBucket) SetBy(v map[string]string)
- func (o *LogsAggregateBucket) SetComputes(v map[string]LogsAggregateBucketValue)
- func (o *LogsAggregateBucket) UnmarshalJSON(bytes []byte) (err error)
- type LogsAggregateBucketValue
- func LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue(v *float64) LogsAggregateBucketValue
- func LogsAggregateBucketValueSingleStringAsLogsAggregateBucketValue(v *string) LogsAggregateBucketValue
- func LogsAggregateBucketValueTimeseriesAsLogsAggregateBucketValue(v *LogsAggregateBucketValueTimeseries) LogsAggregateBucketValue
- type LogsAggregateBucketValueTimeseries
- type LogsAggregateBucketValueTimeseriesPoint
- func (o *LogsAggregateBucketValueTimeseriesPoint) GetTime() string
- func (o *LogsAggregateBucketValueTimeseriesPoint) GetTimeOk() (*string, bool)
- func (o *LogsAggregateBucketValueTimeseriesPoint) GetValue() float64
- func (o *LogsAggregateBucketValueTimeseriesPoint) GetValueOk() (*float64, bool)
- func (o *LogsAggregateBucketValueTimeseriesPoint) HasTime() bool
- func (o *LogsAggregateBucketValueTimeseriesPoint) HasValue() bool
- func (o LogsAggregateBucketValueTimeseriesPoint) MarshalJSON() ([]byte, error)
- func (o *LogsAggregateBucketValueTimeseriesPoint) SetTime(v string)
- func (o *LogsAggregateBucketValueTimeseriesPoint) SetValue(v float64)
- func (o *LogsAggregateBucketValueTimeseriesPoint) UnmarshalJSON(bytes []byte) (err error)
- type LogsAggregateRequest
- func (o *LogsAggregateRequest) GetCompute() []LogsCompute
- func (o *LogsAggregateRequest) GetComputeOk() (*[]LogsCompute, bool)
- func (o *LogsAggregateRequest) GetFilter() LogsQueryFilter
- func (o *LogsAggregateRequest) GetFilterOk() (*LogsQueryFilter, bool)
- func (o *LogsAggregateRequest) GetGroupBy() []LogsGroupBy
- func (o *LogsAggregateRequest) GetGroupByOk() (*[]LogsGroupBy, bool)
- func (o *LogsAggregateRequest) GetOptions() LogsQueryOptions
- func (o *LogsAggregateRequest) GetOptionsOk() (*LogsQueryOptions, bool)
- func (o *LogsAggregateRequest) GetPage() LogsAggregateRequestPage
- func (o *LogsAggregateRequest) GetPageOk() (*LogsAggregateRequestPage, bool)
- func (o *LogsAggregateRequest) HasCompute() bool
- func (o *LogsAggregateRequest) HasFilter() bool
- func (o *LogsAggregateRequest) HasGroupBy() bool
- func (o *LogsAggregateRequest) HasOptions() bool
- func (o *LogsAggregateRequest) HasPage() bool
- func (o LogsAggregateRequest) MarshalJSON() ([]byte, error)
- func (o *LogsAggregateRequest) SetCompute(v []LogsCompute)
- func (o *LogsAggregateRequest) SetFilter(v LogsQueryFilter)
- func (o *LogsAggregateRequest) SetGroupBy(v []LogsGroupBy)
- func (o *LogsAggregateRequest) SetOptions(v LogsQueryOptions)
- func (o *LogsAggregateRequest) SetPage(v LogsAggregateRequestPage)
- func (o *LogsAggregateRequest) UnmarshalJSON(bytes []byte) (err error)
- type LogsAggregateRequestPage
- func (o *LogsAggregateRequestPage) GetCursor() string
- func (o *LogsAggregateRequestPage) GetCursorOk() (*string, bool)
- func (o *LogsAggregateRequestPage) HasCursor() bool
- func (o LogsAggregateRequestPage) MarshalJSON() ([]byte, error)
- func (o *LogsAggregateRequestPage) SetCursor(v string)
- func (o *LogsAggregateRequestPage) UnmarshalJSON(bytes []byte) (err error)
- type LogsAggregateResponse
- func (o *LogsAggregateResponse) GetData() LogsAggregateResponseData
- func (o *LogsAggregateResponse) GetDataOk() (*LogsAggregateResponseData, bool)
- func (o *LogsAggregateResponse) GetMeta() LogsResponseMetadata
- func (o *LogsAggregateResponse) GetMetaOk() (*LogsResponseMetadata, bool)
- func (o *LogsAggregateResponse) HasData() bool
- func (o *LogsAggregateResponse) HasMeta() bool
- func (o LogsAggregateResponse) MarshalJSON() ([]byte, error)
- func (o *LogsAggregateResponse) SetData(v LogsAggregateResponseData)
- func (o *LogsAggregateResponse) SetMeta(v LogsResponseMetadata)
- func (o *LogsAggregateResponse) UnmarshalJSON(bytes []byte) (err error)
- type LogsAggregateResponseData
- func (o *LogsAggregateResponseData) GetBuckets() []LogsAggregateBucket
- func (o *LogsAggregateResponseData) GetBucketsOk() (*[]LogsAggregateBucket, bool)
- func (o *LogsAggregateResponseData) HasBuckets() bool
- func (o LogsAggregateResponseData) MarshalJSON() ([]byte, error)
- func (o *LogsAggregateResponseData) SetBuckets(v []LogsAggregateBucket)
- func (o *LogsAggregateResponseData) UnmarshalJSON(bytes []byte) (err error)
- type LogsAggregateResponseStatus
- type LogsAggregateSort
- func (o *LogsAggregateSort) GetAggregation() LogsAggregationFunction
- func (o *LogsAggregateSort) GetAggregationOk() (*LogsAggregationFunction, bool)
- func (o *LogsAggregateSort) GetMetric() string
- func (o *LogsAggregateSort) GetMetricOk() (*string, bool)
- func (o *LogsAggregateSort) GetOrder() LogsSortOrder
- func (o *LogsAggregateSort) GetOrderOk() (*LogsSortOrder, bool)
- func (o *LogsAggregateSort) GetType() LogsAggregateSortType
- func (o *LogsAggregateSort) GetTypeOk() (*LogsAggregateSortType, bool)
- func (o *LogsAggregateSort) HasAggregation() bool
- func (o *LogsAggregateSort) HasMetric() bool
- func (o *LogsAggregateSort) HasOrder() bool
- func (o *LogsAggregateSort) HasType() bool
- func (o LogsAggregateSort) MarshalJSON() ([]byte, error)
- func (o *LogsAggregateSort) SetAggregation(v LogsAggregationFunction)
- func (o *LogsAggregateSort) SetMetric(v string)
- func (o *LogsAggregateSort) SetOrder(v LogsSortOrder)
- func (o *LogsAggregateSort) SetType(v LogsAggregateSortType)
- func (o *LogsAggregateSort) UnmarshalJSON(bytes []byte) (err error)
- type LogsAggregateSortType
- type LogsAggregationFunction
- type LogsApiService
- func (a *LogsApiService) AggregateLogs(ctx _context.Context, body LogsAggregateRequest) (LogsAggregateResponse, *_nethttp.Response, error)
- func (a *LogsApiService) ListLogs(ctx _context.Context, o ...ListLogsOptionalParameters) (LogsListResponse, *_nethttp.Response, error)
- func (a *LogsApiService) ListLogsGet(ctx _context.Context, o ...ListLogsGetOptionalParameters) (LogsListResponse, *_nethttp.Response, error)
- func (a *LogsApiService) ListLogsGetWithPagination(ctx _context.Context, o ...ListLogsGetOptionalParameters) (<-chan Log, func(), error)
- func (a *LogsApiService) ListLogsWithPagination(ctx _context.Context, o ...ListLogsOptionalParameters) (<-chan Log, func(), error)
- func (a *LogsApiService) SubmitLog(ctx _context.Context, body []HTTPLogItem, o ...SubmitLogOptionalParameters) (interface{}, *_nethttp.Response, error)
- type LogsArchive
- func (o *LogsArchive) GetData() LogsArchiveDefinition
- func (o *LogsArchive) GetDataOk() (*LogsArchiveDefinition, bool)
- func (o *LogsArchive) HasData() bool
- func (o LogsArchive) MarshalJSON() ([]byte, error)
- func (o *LogsArchive) SetData(v LogsArchiveDefinition)
- func (o *LogsArchive) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveAttributes
- func (o *LogsArchiveAttributes) GetDestination() LogsArchiveDestination
- func (o *LogsArchiveAttributes) GetDestinationOk() (*LogsArchiveDestination, bool)
- func (o *LogsArchiveAttributes) GetIncludeTags() bool
- func (o *LogsArchiveAttributes) GetIncludeTagsOk() (*bool, bool)
- func (o *LogsArchiveAttributes) GetName() string
- func (o *LogsArchiveAttributes) GetNameOk() (*string, bool)
- func (o *LogsArchiveAttributes) GetQuery() string
- func (o *LogsArchiveAttributes) GetQueryOk() (*string, bool)
- func (o *LogsArchiveAttributes) GetRehydrationMaxScanSizeInGb() int64
- func (o *LogsArchiveAttributes) GetRehydrationMaxScanSizeInGbOk() (*int64, bool)
- func (o *LogsArchiveAttributes) GetRehydrationTags() []string
- func (o *LogsArchiveAttributes) GetRehydrationTagsOk() (*[]string, bool)
- func (o *LogsArchiveAttributes) GetState() LogsArchiveState
- func (o *LogsArchiveAttributes) GetStateOk() (*LogsArchiveState, bool)
- func (o *LogsArchiveAttributes) HasIncludeTags() bool
- func (o *LogsArchiveAttributes) HasRehydrationMaxScanSizeInGb() bool
- func (o *LogsArchiveAttributes) HasRehydrationTags() bool
- func (o *LogsArchiveAttributes) HasState() bool
- func (o LogsArchiveAttributes) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveAttributes) SetDestination(v LogsArchiveDestination)
- func (o *LogsArchiveAttributes) SetIncludeTags(v bool)
- func (o *LogsArchiveAttributes) SetName(v string)
- func (o *LogsArchiveAttributes) SetQuery(v string)
- func (o *LogsArchiveAttributes) SetRehydrationMaxScanSizeInGb(v int64)
- func (o *LogsArchiveAttributes) SetRehydrationMaxScanSizeInGbNil()
- func (o *LogsArchiveAttributes) SetRehydrationTags(v []string)
- func (o *LogsArchiveAttributes) SetState(v LogsArchiveState)
- func (o *LogsArchiveAttributes) UnmarshalJSON(bytes []byte) (err error)
- func (o *LogsArchiveAttributes) UnsetRehydrationMaxScanSizeInGb()
- type LogsArchiveCreateRequest
- func (o *LogsArchiveCreateRequest) GetData() LogsArchiveCreateRequestDefinition
- func (o *LogsArchiveCreateRequest) GetDataOk() (*LogsArchiveCreateRequestDefinition, bool)
- func (o *LogsArchiveCreateRequest) HasData() bool
- func (o LogsArchiveCreateRequest) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveCreateRequest) SetData(v LogsArchiveCreateRequestDefinition)
- func (o *LogsArchiveCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveCreateRequestAttributes
- func (o *LogsArchiveCreateRequestAttributes) GetDestination() LogsArchiveCreateRequestDestination
- func (o *LogsArchiveCreateRequestAttributes) GetDestinationOk() (*LogsArchiveCreateRequestDestination, bool)
- func (o *LogsArchiveCreateRequestAttributes) GetIncludeTags() bool
- func (o *LogsArchiveCreateRequestAttributes) GetIncludeTagsOk() (*bool, bool)
- func (o *LogsArchiveCreateRequestAttributes) GetName() string
- func (o *LogsArchiveCreateRequestAttributes) GetNameOk() (*string, bool)
- func (o *LogsArchiveCreateRequestAttributes) GetQuery() string
- func (o *LogsArchiveCreateRequestAttributes) GetQueryOk() (*string, bool)
- func (o *LogsArchiveCreateRequestAttributes) GetRehydrationMaxScanSizeInGb() int64
- func (o *LogsArchiveCreateRequestAttributes) GetRehydrationMaxScanSizeInGbOk() (*int64, bool)
- func (o *LogsArchiveCreateRequestAttributes) GetRehydrationTags() []string
- func (o *LogsArchiveCreateRequestAttributes) GetRehydrationTagsOk() (*[]string, bool)
- func (o *LogsArchiveCreateRequestAttributes) HasIncludeTags() bool
- func (o *LogsArchiveCreateRequestAttributes) HasRehydrationMaxScanSizeInGb() bool
- func (o *LogsArchiveCreateRequestAttributes) HasRehydrationTags() bool
- func (o LogsArchiveCreateRequestAttributes) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveCreateRequestAttributes) SetDestination(v LogsArchiveCreateRequestDestination)
- func (o *LogsArchiveCreateRequestAttributes) SetIncludeTags(v bool)
- func (o *LogsArchiveCreateRequestAttributes) SetName(v string)
- func (o *LogsArchiveCreateRequestAttributes) SetQuery(v string)
- func (o *LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGb(v int64)
- func (o *LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGbNil()
- func (o *LogsArchiveCreateRequestAttributes) SetRehydrationTags(v []string)
- func (o *LogsArchiveCreateRequestAttributes) UnmarshalJSON(bytes []byte) (err error)
- func (o *LogsArchiveCreateRequestAttributes) UnsetRehydrationMaxScanSizeInGb()
- type LogsArchiveCreateRequestDefinition
- func (o *LogsArchiveCreateRequestDefinition) GetAttributes() LogsArchiveCreateRequestAttributes
- func (o *LogsArchiveCreateRequestDefinition) GetAttributesOk() (*LogsArchiveCreateRequestAttributes, bool)
- func (o *LogsArchiveCreateRequestDefinition) GetType() string
- func (o *LogsArchiveCreateRequestDefinition) GetTypeOk() (*string, bool)
- func (o *LogsArchiveCreateRequestDefinition) HasAttributes() bool
- func (o LogsArchiveCreateRequestDefinition) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveCreateRequestDefinition) SetAttributes(v LogsArchiveCreateRequestAttributes)
- func (o *LogsArchiveCreateRequestDefinition) SetType(v string)
- func (o *LogsArchiveCreateRequestDefinition) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveCreateRequestDestination
- func LogsArchiveDestinationAzureAsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationAzure) LogsArchiveCreateRequestDestination
- func LogsArchiveDestinationGCSAsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationGCS) LogsArchiveCreateRequestDestination
- func LogsArchiveDestinationS3AsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationS3) LogsArchiveCreateRequestDestination
- type LogsArchiveDefinition
- func (o *LogsArchiveDefinition) GetAttributes() LogsArchiveAttributes
- func (o *LogsArchiveDefinition) GetAttributesOk() (*LogsArchiveAttributes, bool)
- func (o *LogsArchiveDefinition) GetId() string
- func (o *LogsArchiveDefinition) GetIdOk() (*string, bool)
- func (o *LogsArchiveDefinition) GetType() string
- func (o *LogsArchiveDefinition) GetTypeOk() (*string, bool)
- func (o *LogsArchiveDefinition) HasAttributes() bool
- func (o *LogsArchiveDefinition) HasId() bool
- func (o LogsArchiveDefinition) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveDefinition) SetAttributes(v LogsArchiveAttributes)
- func (o *LogsArchiveDefinition) SetId(v string)
- func (o *LogsArchiveDefinition) SetType(v string)
- func (o *LogsArchiveDefinition) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveDestination
- func LogsArchiveDestinationAzureAsLogsArchiveDestination(v *LogsArchiveDestinationAzure) LogsArchiveDestination
- func LogsArchiveDestinationGCSAsLogsArchiveDestination(v *LogsArchiveDestinationGCS) LogsArchiveDestination
- func LogsArchiveDestinationS3AsLogsArchiveDestination(v *LogsArchiveDestinationS3) LogsArchiveDestination
- type LogsArchiveDestinationAzure
- func (o *LogsArchiveDestinationAzure) GetContainer() string
- func (o *LogsArchiveDestinationAzure) GetContainerOk() (*string, bool)
- func (o *LogsArchiveDestinationAzure) GetIntegration() LogsArchiveIntegrationAzure
- func (o *LogsArchiveDestinationAzure) GetIntegrationOk() (*LogsArchiveIntegrationAzure, bool)
- func (o *LogsArchiveDestinationAzure) GetPath() string
- func (o *LogsArchiveDestinationAzure) GetPathOk() (*string, bool)
- func (o *LogsArchiveDestinationAzure) GetRegion() string
- func (o *LogsArchiveDestinationAzure) GetRegionOk() (*string, bool)
- func (o *LogsArchiveDestinationAzure) GetStorageAccount() string
- func (o *LogsArchiveDestinationAzure) GetStorageAccountOk() (*string, bool)
- func (o *LogsArchiveDestinationAzure) GetType() LogsArchiveDestinationAzureType
- func (o *LogsArchiveDestinationAzure) GetTypeOk() (*LogsArchiveDestinationAzureType, bool)
- func (o *LogsArchiveDestinationAzure) HasPath() bool
- func (o *LogsArchiveDestinationAzure) HasRegion() bool
- func (o LogsArchiveDestinationAzure) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveDestinationAzure) SetContainer(v string)
- func (o *LogsArchiveDestinationAzure) SetIntegration(v LogsArchiveIntegrationAzure)
- func (o *LogsArchiveDestinationAzure) SetPath(v string)
- func (o *LogsArchiveDestinationAzure) SetRegion(v string)
- func (o *LogsArchiveDestinationAzure) SetStorageAccount(v string)
- func (o *LogsArchiveDestinationAzure) SetType(v LogsArchiveDestinationAzureType)
- func (o *LogsArchiveDestinationAzure) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveDestinationAzureType
- func (v *LogsArchiveDestinationAzureType) GetAllowedValues() []LogsArchiveDestinationAzureType
- func (v LogsArchiveDestinationAzureType) IsValid() bool
- func (v LogsArchiveDestinationAzureType) Ptr() *LogsArchiveDestinationAzureType
- func (v *LogsArchiveDestinationAzureType) UnmarshalJSON(src []byte) error
- type LogsArchiveDestinationGCS
- func (o *LogsArchiveDestinationGCS) GetBucket() string
- func (o *LogsArchiveDestinationGCS) GetBucketOk() (*string, bool)
- func (o *LogsArchiveDestinationGCS) GetIntegration() LogsArchiveIntegrationGCS
- func (o *LogsArchiveDestinationGCS) GetIntegrationOk() (*LogsArchiveIntegrationGCS, bool)
- func (o *LogsArchiveDestinationGCS) GetPath() string
- func (o *LogsArchiveDestinationGCS) GetPathOk() (*string, bool)
- func (o *LogsArchiveDestinationGCS) GetType() LogsArchiveDestinationGCSType
- func (o *LogsArchiveDestinationGCS) GetTypeOk() (*LogsArchiveDestinationGCSType, bool)
- func (o *LogsArchiveDestinationGCS) HasPath() bool
- func (o LogsArchiveDestinationGCS) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveDestinationGCS) SetBucket(v string)
- func (o *LogsArchiveDestinationGCS) SetIntegration(v LogsArchiveIntegrationGCS)
- func (o *LogsArchiveDestinationGCS) SetPath(v string)
- func (o *LogsArchiveDestinationGCS) SetType(v LogsArchiveDestinationGCSType)
- func (o *LogsArchiveDestinationGCS) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveDestinationGCSType
- type LogsArchiveDestinationS3
- func (o *LogsArchiveDestinationS3) GetBucket() string
- func (o *LogsArchiveDestinationS3) GetBucketOk() (*string, bool)
- func (o *LogsArchiveDestinationS3) GetIntegration() LogsArchiveIntegrationS3
- func (o *LogsArchiveDestinationS3) GetIntegrationOk() (*LogsArchiveIntegrationS3, bool)
- func (o *LogsArchiveDestinationS3) GetPath() string
- func (o *LogsArchiveDestinationS3) GetPathOk() (*string, bool)
- func (o *LogsArchiveDestinationS3) GetType() LogsArchiveDestinationS3Type
- func (o *LogsArchiveDestinationS3) GetTypeOk() (*LogsArchiveDestinationS3Type, bool)
- func (o *LogsArchiveDestinationS3) HasPath() bool
- func (o LogsArchiveDestinationS3) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveDestinationS3) SetBucket(v string)
- func (o *LogsArchiveDestinationS3) SetIntegration(v LogsArchiveIntegrationS3)
- func (o *LogsArchiveDestinationS3) SetPath(v string)
- func (o *LogsArchiveDestinationS3) SetType(v LogsArchiveDestinationS3Type)
- func (o *LogsArchiveDestinationS3) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveDestinationS3Type
- type LogsArchiveIntegrationAzure
- func (o *LogsArchiveIntegrationAzure) GetClientId() string
- func (o *LogsArchiveIntegrationAzure) GetClientIdOk() (*string, bool)
- func (o *LogsArchiveIntegrationAzure) GetTenantId() string
- func (o *LogsArchiveIntegrationAzure) GetTenantIdOk() (*string, bool)
- func (o LogsArchiveIntegrationAzure) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveIntegrationAzure) SetClientId(v string)
- func (o *LogsArchiveIntegrationAzure) SetTenantId(v string)
- func (o *LogsArchiveIntegrationAzure) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveIntegrationGCS
- func (o *LogsArchiveIntegrationGCS) GetClientEmail() string
- func (o *LogsArchiveIntegrationGCS) GetClientEmailOk() (*string, bool)
- func (o *LogsArchiveIntegrationGCS) GetProjectId() string
- func (o *LogsArchiveIntegrationGCS) GetProjectIdOk() (*string, bool)
- func (o LogsArchiveIntegrationGCS) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveIntegrationGCS) SetClientEmail(v string)
- func (o *LogsArchiveIntegrationGCS) SetProjectId(v string)
- func (o *LogsArchiveIntegrationGCS) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveIntegrationS3
- func (o *LogsArchiveIntegrationS3) GetAccountId() string
- func (o *LogsArchiveIntegrationS3) GetAccountIdOk() (*string, bool)
- func (o *LogsArchiveIntegrationS3) GetRoleName() string
- func (o *LogsArchiveIntegrationS3) GetRoleNameOk() (*string, bool)
- func (o LogsArchiveIntegrationS3) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveIntegrationS3) SetAccountId(v string)
- func (o *LogsArchiveIntegrationS3) SetRoleName(v string)
- func (o *LogsArchiveIntegrationS3) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveOrder
- func (o *LogsArchiveOrder) GetData() LogsArchiveOrderDefinition
- func (o *LogsArchiveOrder) GetDataOk() (*LogsArchiveOrderDefinition, bool)
- func (o *LogsArchiveOrder) HasData() bool
- func (o LogsArchiveOrder) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveOrder) SetData(v LogsArchiveOrderDefinition)
- func (o *LogsArchiveOrder) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveOrderAttributes
- func (o *LogsArchiveOrderAttributes) GetArchiveIds() []string
- func (o *LogsArchiveOrderAttributes) GetArchiveIdsOk() (*[]string, bool)
- func (o LogsArchiveOrderAttributes) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveOrderAttributes) SetArchiveIds(v []string)
- func (o *LogsArchiveOrderAttributes) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveOrderDefinition
- func (o *LogsArchiveOrderDefinition) GetAttributes() LogsArchiveOrderAttributes
- func (o *LogsArchiveOrderDefinition) GetAttributesOk() (*LogsArchiveOrderAttributes, bool)
- func (o *LogsArchiveOrderDefinition) GetType() LogsArchiveOrderDefinitionType
- func (o *LogsArchiveOrderDefinition) GetTypeOk() (*LogsArchiveOrderDefinitionType, bool)
- func (o LogsArchiveOrderDefinition) MarshalJSON() ([]byte, error)
- func (o *LogsArchiveOrderDefinition) SetAttributes(v LogsArchiveOrderAttributes)
- func (o *LogsArchiveOrderDefinition) SetType(v LogsArchiveOrderDefinitionType)
- func (o *LogsArchiveOrderDefinition) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchiveOrderDefinitionType
- type LogsArchiveState
- type LogsArchives
- func (o *LogsArchives) GetData() []LogsArchiveDefinition
- func (o *LogsArchives) GetDataOk() (*[]LogsArchiveDefinition, bool)
- func (o *LogsArchives) HasData() bool
- func (o LogsArchives) MarshalJSON() ([]byte, error)
- func (o *LogsArchives) SetData(v []LogsArchiveDefinition)
- func (o *LogsArchives) UnmarshalJSON(bytes []byte) (err error)
- type LogsArchivesApiService
- func (a *LogsArchivesApiService) AddReadRoleToArchive(ctx _context.Context, archiveId string, body RelationshipToRole) (*_nethttp.Response, error)
- func (a *LogsArchivesApiService) CreateLogsArchive(ctx _context.Context, body LogsArchiveCreateRequest) (LogsArchive, *_nethttp.Response, error)
- func (a *LogsArchivesApiService) DeleteLogsArchive(ctx _context.Context, archiveId string) (*_nethttp.Response, error)
- func (a *LogsArchivesApiService) GetLogsArchive(ctx _context.Context, archiveId string) (LogsArchive, *_nethttp.Response, error)
- func (a *LogsArchivesApiService) GetLogsArchiveOrder(ctx _context.Context) (LogsArchiveOrder, *_nethttp.Response, error)
- func (a *LogsArchivesApiService) ListArchiveReadRoles(ctx _context.Context, archiveId string) (RolesResponse, *_nethttp.Response, error)
- func (a *LogsArchivesApiService) ListLogsArchives(ctx _context.Context) (LogsArchives, *_nethttp.Response, error)
- func (a *LogsArchivesApiService) RemoveRoleFromArchive(ctx _context.Context, archiveId string, body RelationshipToRole) (*_nethttp.Response, error)
- func (a *LogsArchivesApiService) UpdateLogsArchive(ctx _context.Context, archiveId string, body LogsArchiveCreateRequest) (LogsArchive, *_nethttp.Response, error)
- func (a *LogsArchivesApiService) UpdateLogsArchiveOrder(ctx _context.Context, body LogsArchiveOrder) (LogsArchiveOrder, *_nethttp.Response, error)
- type LogsCompute
- func (o *LogsCompute) GetAggregation() LogsAggregationFunction
- func (o *LogsCompute) GetAggregationOk() (*LogsAggregationFunction, bool)
- func (o *LogsCompute) GetInterval() string
- func (o *LogsCompute) GetIntervalOk() (*string, bool)
- func (o *LogsCompute) GetMetric() string
- func (o *LogsCompute) GetMetricOk() (*string, bool)
- func (o *LogsCompute) GetType() LogsComputeType
- func (o *LogsCompute) GetTypeOk() (*LogsComputeType, bool)
- func (o *LogsCompute) HasInterval() bool
- func (o *LogsCompute) HasMetric() bool
- func (o *LogsCompute) HasType() bool
- func (o LogsCompute) MarshalJSON() ([]byte, error)
- func (o *LogsCompute) SetAggregation(v LogsAggregationFunction)
- func (o *LogsCompute) SetInterval(v string)
- func (o *LogsCompute) SetMetric(v string)
- func (o *LogsCompute) SetType(v LogsComputeType)
- func (o *LogsCompute) UnmarshalJSON(bytes []byte) (err error)
- type LogsComputeType
- type LogsGroupBy
- func (o *LogsGroupBy) GetFacet() string
- func (o *LogsGroupBy) GetFacetOk() (*string, bool)
- func (o *LogsGroupBy) GetHistogram() LogsGroupByHistogram
- func (o *LogsGroupBy) GetHistogramOk() (*LogsGroupByHistogram, bool)
- func (o *LogsGroupBy) GetLimit() int64
- func (o *LogsGroupBy) GetLimitOk() (*int64, bool)
- func (o *LogsGroupBy) GetMissing() LogsGroupByMissing
- func (o *LogsGroupBy) GetMissingOk() (*LogsGroupByMissing, bool)
- func (o *LogsGroupBy) GetSort() LogsAggregateSort
- func (o *LogsGroupBy) GetSortOk() (*LogsAggregateSort, bool)
- func (o *LogsGroupBy) GetTotal() LogsGroupByTotal
- func (o *LogsGroupBy) GetTotalOk() (*LogsGroupByTotal, bool)
- func (o *LogsGroupBy) HasHistogram() bool
- func (o *LogsGroupBy) HasLimit() bool
- func (o *LogsGroupBy) HasMissing() bool
- func (o *LogsGroupBy) HasSort() bool
- func (o *LogsGroupBy) HasTotal() bool
- func (o LogsGroupBy) MarshalJSON() ([]byte, error)
- func (o *LogsGroupBy) SetFacet(v string)
- func (o *LogsGroupBy) SetHistogram(v LogsGroupByHistogram)
- func (o *LogsGroupBy) SetLimit(v int64)
- func (o *LogsGroupBy) SetMissing(v LogsGroupByMissing)
- func (o *LogsGroupBy) SetSort(v LogsAggregateSort)
- func (o *LogsGroupBy) SetTotal(v LogsGroupByTotal)
- func (o *LogsGroupBy) UnmarshalJSON(bytes []byte) (err error)
- type LogsGroupByHistogram
- func (o *LogsGroupByHistogram) GetInterval() float64
- func (o *LogsGroupByHistogram) GetIntervalOk() (*float64, bool)
- func (o *LogsGroupByHistogram) GetMax() float64
- func (o *LogsGroupByHistogram) GetMaxOk() (*float64, bool)
- func (o *LogsGroupByHistogram) GetMin() float64
- func (o *LogsGroupByHistogram) GetMinOk() (*float64, bool)
- func (o LogsGroupByHistogram) MarshalJSON() ([]byte, error)
- func (o *LogsGroupByHistogram) SetInterval(v float64)
- func (o *LogsGroupByHistogram) SetMax(v float64)
- func (o *LogsGroupByHistogram) SetMin(v float64)
- func (o *LogsGroupByHistogram) UnmarshalJSON(bytes []byte) (err error)
- type LogsGroupByMissing
- type LogsGroupByTotal
- type LogsListRequest
- func (o *LogsListRequest) GetFilter() LogsQueryFilter
- func (o *LogsListRequest) GetFilterOk() (*LogsQueryFilter, bool)
- func (o *LogsListRequest) GetOptions() LogsQueryOptions
- func (o *LogsListRequest) GetOptionsOk() (*LogsQueryOptions, bool)
- func (o *LogsListRequest) GetPage() LogsListRequestPage
- func (o *LogsListRequest) GetPageOk() (*LogsListRequestPage, bool)
- func (o *LogsListRequest) GetSort() LogsSort
- func (o *LogsListRequest) GetSortOk() (*LogsSort, bool)
- func (o *LogsListRequest) HasFilter() bool
- func (o *LogsListRequest) HasOptions() bool
- func (o *LogsListRequest) HasPage() bool
- func (o *LogsListRequest) HasSort() bool
- func (o LogsListRequest) MarshalJSON() ([]byte, error)
- func (o *LogsListRequest) SetFilter(v LogsQueryFilter)
- func (o *LogsListRequest) SetOptions(v LogsQueryOptions)
- func (o *LogsListRequest) SetPage(v LogsListRequestPage)
- func (o *LogsListRequest) SetSort(v LogsSort)
- func (o *LogsListRequest) UnmarshalJSON(bytes []byte) (err error)
- type LogsListRequestPage
- func (o *LogsListRequestPage) GetCursor() string
- func (o *LogsListRequestPage) GetCursorOk() (*string, bool)
- func (o *LogsListRequestPage) GetLimit() int32
- func (o *LogsListRequestPage) GetLimitOk() (*int32, bool)
- func (o *LogsListRequestPage) HasCursor() bool
- func (o *LogsListRequestPage) HasLimit() bool
- func (o LogsListRequestPage) MarshalJSON() ([]byte, error)
- func (o *LogsListRequestPage) SetCursor(v string)
- func (o *LogsListRequestPage) SetLimit(v int32)
- func (o *LogsListRequestPage) UnmarshalJSON(bytes []byte) (err error)
- type LogsListResponse
- func (o *LogsListResponse) GetData() []Log
- func (o *LogsListResponse) GetDataOk() (*[]Log, bool)
- func (o *LogsListResponse) GetLinks() LogsListResponseLinks
- func (o *LogsListResponse) GetLinksOk() (*LogsListResponseLinks, bool)
- func (o *LogsListResponse) GetMeta() LogsResponseMetadata
- func (o *LogsListResponse) GetMetaOk() (*LogsResponseMetadata, bool)
- func (o *LogsListResponse) HasData() bool
- func (o *LogsListResponse) HasLinks() bool
- func (o *LogsListResponse) HasMeta() bool
- func (o LogsListResponse) MarshalJSON() ([]byte, error)
- func (o *LogsListResponse) SetData(v []Log)
- func (o *LogsListResponse) SetLinks(v LogsListResponseLinks)
- func (o *LogsListResponse) SetMeta(v LogsResponseMetadata)
- func (o *LogsListResponse) UnmarshalJSON(bytes []byte) (err error)
- type LogsListResponseLinks
- func (o *LogsListResponseLinks) GetNext() string
- func (o *LogsListResponseLinks) GetNextOk() (*string, bool)
- func (o *LogsListResponseLinks) HasNext() bool
- func (o LogsListResponseLinks) MarshalJSON() ([]byte, error)
- func (o *LogsListResponseLinks) SetNext(v string)
- func (o *LogsListResponseLinks) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricCompute
- func (o *LogsMetricCompute) GetAggregationType() LogsMetricComputeAggregationType
- func (o *LogsMetricCompute) GetAggregationTypeOk() (*LogsMetricComputeAggregationType, bool)
- func (o *LogsMetricCompute) GetPath() string
- func (o *LogsMetricCompute) GetPathOk() (*string, bool)
- func (o *LogsMetricCompute) HasPath() bool
- func (o LogsMetricCompute) MarshalJSON() ([]byte, error)
- func (o *LogsMetricCompute) SetAggregationType(v LogsMetricComputeAggregationType)
- func (o *LogsMetricCompute) SetPath(v string)
- func (o *LogsMetricCompute) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricComputeAggregationType
- func (v *LogsMetricComputeAggregationType) GetAllowedValues() []LogsMetricComputeAggregationType
- func (v LogsMetricComputeAggregationType) IsValid() bool
- func (v LogsMetricComputeAggregationType) Ptr() *LogsMetricComputeAggregationType
- func (v *LogsMetricComputeAggregationType) UnmarshalJSON(src []byte) error
- type LogsMetricCreateAttributes
- func (o *LogsMetricCreateAttributes) GetCompute() LogsMetricCompute
- func (o *LogsMetricCreateAttributes) GetComputeOk() (*LogsMetricCompute, bool)
- func (o *LogsMetricCreateAttributes) GetFilter() LogsMetricFilter
- func (o *LogsMetricCreateAttributes) GetFilterOk() (*LogsMetricFilter, bool)
- func (o *LogsMetricCreateAttributes) GetGroupBy() []LogsMetricGroupBy
- func (o *LogsMetricCreateAttributes) GetGroupByOk() (*[]LogsMetricGroupBy, bool)
- func (o *LogsMetricCreateAttributes) HasFilter() bool
- func (o *LogsMetricCreateAttributes) HasGroupBy() bool
- func (o LogsMetricCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *LogsMetricCreateAttributes) SetCompute(v LogsMetricCompute)
- func (o *LogsMetricCreateAttributes) SetFilter(v LogsMetricFilter)
- func (o *LogsMetricCreateAttributes) SetGroupBy(v []LogsMetricGroupBy)
- func (o *LogsMetricCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricCreateData
- func (o *LogsMetricCreateData) GetAttributes() LogsMetricCreateAttributes
- func (o *LogsMetricCreateData) GetAttributesOk() (*LogsMetricCreateAttributes, bool)
- func (o *LogsMetricCreateData) GetId() string
- func (o *LogsMetricCreateData) GetIdOk() (*string, bool)
- func (o *LogsMetricCreateData) GetType() LogsMetricType
- func (o *LogsMetricCreateData) GetTypeOk() (*LogsMetricType, bool)
- func (o LogsMetricCreateData) MarshalJSON() ([]byte, error)
- func (o *LogsMetricCreateData) SetAttributes(v LogsMetricCreateAttributes)
- func (o *LogsMetricCreateData) SetId(v string)
- func (o *LogsMetricCreateData) SetType(v LogsMetricType)
- func (o *LogsMetricCreateData) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricCreateRequest
- func (o *LogsMetricCreateRequest) GetData() LogsMetricCreateData
- func (o *LogsMetricCreateRequest) GetDataOk() (*LogsMetricCreateData, bool)
- func (o LogsMetricCreateRequest) MarshalJSON() ([]byte, error)
- func (o *LogsMetricCreateRequest) SetData(v LogsMetricCreateData)
- func (o *LogsMetricCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricFilter
- func (o *LogsMetricFilter) GetQuery() string
- func (o *LogsMetricFilter) GetQueryOk() (*string, bool)
- func (o *LogsMetricFilter) HasQuery() bool
- func (o LogsMetricFilter) MarshalJSON() ([]byte, error)
- func (o *LogsMetricFilter) SetQuery(v string)
- func (o *LogsMetricFilter) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricGroupBy
- func (o *LogsMetricGroupBy) GetPath() string
- func (o *LogsMetricGroupBy) GetPathOk() (*string, bool)
- func (o *LogsMetricGroupBy) GetTagName() string
- func (o *LogsMetricGroupBy) GetTagNameOk() (*string, bool)
- func (o *LogsMetricGroupBy) HasTagName() bool
- func (o LogsMetricGroupBy) MarshalJSON() ([]byte, error)
- func (o *LogsMetricGroupBy) SetPath(v string)
- func (o *LogsMetricGroupBy) SetTagName(v string)
- func (o *LogsMetricGroupBy) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricResponse
- func (o *LogsMetricResponse) GetData() LogsMetricResponseData
- func (o *LogsMetricResponse) GetDataOk() (*LogsMetricResponseData, bool)
- func (o *LogsMetricResponse) HasData() bool
- func (o LogsMetricResponse) MarshalJSON() ([]byte, error)
- func (o *LogsMetricResponse) SetData(v LogsMetricResponseData)
- func (o *LogsMetricResponse) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricResponseAttributes
- func (o *LogsMetricResponseAttributes) GetCompute() LogsMetricResponseCompute
- func (o *LogsMetricResponseAttributes) GetComputeOk() (*LogsMetricResponseCompute, bool)
- func (o *LogsMetricResponseAttributes) GetFilter() LogsMetricResponseFilter
- func (o *LogsMetricResponseAttributes) GetFilterOk() (*LogsMetricResponseFilter, bool)
- func (o *LogsMetricResponseAttributes) GetGroupBy() []LogsMetricResponseGroupBy
- func (o *LogsMetricResponseAttributes) GetGroupByOk() (*[]LogsMetricResponseGroupBy, bool)
- func (o *LogsMetricResponseAttributes) HasCompute() bool
- func (o *LogsMetricResponseAttributes) HasFilter() bool
- func (o *LogsMetricResponseAttributes) HasGroupBy() bool
- func (o LogsMetricResponseAttributes) MarshalJSON() ([]byte, error)
- func (o *LogsMetricResponseAttributes) SetCompute(v LogsMetricResponseCompute)
- func (o *LogsMetricResponseAttributes) SetFilter(v LogsMetricResponseFilter)
- func (o *LogsMetricResponseAttributes) SetGroupBy(v []LogsMetricResponseGroupBy)
- func (o *LogsMetricResponseAttributes) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricResponseCompute
- func (o *LogsMetricResponseCompute) GetAggregationType() LogsMetricResponseComputeAggregationType
- func (o *LogsMetricResponseCompute) GetAggregationTypeOk() (*LogsMetricResponseComputeAggregationType, bool)
- func (o *LogsMetricResponseCompute) GetPath() string
- func (o *LogsMetricResponseCompute) GetPathOk() (*string, bool)
- func (o *LogsMetricResponseCompute) HasAggregationType() bool
- func (o *LogsMetricResponseCompute) HasPath() bool
- func (o LogsMetricResponseCompute) MarshalJSON() ([]byte, error)
- func (o *LogsMetricResponseCompute) SetAggregationType(v LogsMetricResponseComputeAggregationType)
- func (o *LogsMetricResponseCompute) SetPath(v string)
- func (o *LogsMetricResponseCompute) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricResponseComputeAggregationType
- func (v *LogsMetricResponseComputeAggregationType) GetAllowedValues() []LogsMetricResponseComputeAggregationType
- func (v LogsMetricResponseComputeAggregationType) IsValid() bool
- func (v LogsMetricResponseComputeAggregationType) Ptr() *LogsMetricResponseComputeAggregationType
- func (v *LogsMetricResponseComputeAggregationType) UnmarshalJSON(src []byte) error
- type LogsMetricResponseData
- func (o *LogsMetricResponseData) GetAttributes() LogsMetricResponseAttributes
- func (o *LogsMetricResponseData) GetAttributesOk() (*LogsMetricResponseAttributes, bool)
- func (o *LogsMetricResponseData) GetId() string
- func (o *LogsMetricResponseData) GetIdOk() (*string, bool)
- func (o *LogsMetricResponseData) GetType() LogsMetricType
- func (o *LogsMetricResponseData) GetTypeOk() (*LogsMetricType, bool)
- func (o *LogsMetricResponseData) HasAttributes() bool
- func (o *LogsMetricResponseData) HasId() bool
- func (o *LogsMetricResponseData) HasType() bool
- func (o LogsMetricResponseData) MarshalJSON() ([]byte, error)
- func (o *LogsMetricResponseData) SetAttributes(v LogsMetricResponseAttributes)
- func (o *LogsMetricResponseData) SetId(v string)
- func (o *LogsMetricResponseData) SetType(v LogsMetricType)
- func (o *LogsMetricResponseData) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricResponseFilter
- func (o *LogsMetricResponseFilter) GetQuery() string
- func (o *LogsMetricResponseFilter) GetQueryOk() (*string, bool)
- func (o *LogsMetricResponseFilter) HasQuery() bool
- func (o LogsMetricResponseFilter) MarshalJSON() ([]byte, error)
- func (o *LogsMetricResponseFilter) SetQuery(v string)
- func (o *LogsMetricResponseFilter) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricResponseGroupBy
- func (o *LogsMetricResponseGroupBy) GetPath() string
- func (o *LogsMetricResponseGroupBy) GetPathOk() (*string, bool)
- func (o *LogsMetricResponseGroupBy) GetTagName() string
- func (o *LogsMetricResponseGroupBy) GetTagNameOk() (*string, bool)
- func (o *LogsMetricResponseGroupBy) HasPath() bool
- func (o *LogsMetricResponseGroupBy) HasTagName() bool
- func (o LogsMetricResponseGroupBy) MarshalJSON() ([]byte, error)
- func (o *LogsMetricResponseGroupBy) SetPath(v string)
- func (o *LogsMetricResponseGroupBy) SetTagName(v string)
- func (o *LogsMetricResponseGroupBy) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricType
- type LogsMetricUpdateAttributes
- func (o *LogsMetricUpdateAttributes) GetFilter() LogsMetricFilter
- func (o *LogsMetricUpdateAttributes) GetFilterOk() (*LogsMetricFilter, bool)
- func (o *LogsMetricUpdateAttributes) GetGroupBy() []LogsMetricGroupBy
- func (o *LogsMetricUpdateAttributes) GetGroupByOk() (*[]LogsMetricGroupBy, bool)
- func (o *LogsMetricUpdateAttributes) HasFilter() bool
- func (o *LogsMetricUpdateAttributes) HasGroupBy() bool
- func (o LogsMetricUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *LogsMetricUpdateAttributes) SetFilter(v LogsMetricFilter)
- func (o *LogsMetricUpdateAttributes) SetGroupBy(v []LogsMetricGroupBy)
- func (o *LogsMetricUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricUpdateData
- func (o *LogsMetricUpdateData) GetAttributes() LogsMetricUpdateAttributes
- func (o *LogsMetricUpdateData) GetAttributesOk() (*LogsMetricUpdateAttributes, bool)
- func (o *LogsMetricUpdateData) GetType() LogsMetricType
- func (o *LogsMetricUpdateData) GetTypeOk() (*LogsMetricType, bool)
- func (o LogsMetricUpdateData) MarshalJSON() ([]byte, error)
- func (o *LogsMetricUpdateData) SetAttributes(v LogsMetricUpdateAttributes)
- func (o *LogsMetricUpdateData) SetType(v LogsMetricType)
- func (o *LogsMetricUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricUpdateRequest
- func (o *LogsMetricUpdateRequest) GetData() LogsMetricUpdateData
- func (o *LogsMetricUpdateRequest) GetDataOk() (*LogsMetricUpdateData, bool)
- func (o LogsMetricUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *LogsMetricUpdateRequest) SetData(v LogsMetricUpdateData)
- func (o *LogsMetricUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type LogsMetricsApiService
- func (a *LogsMetricsApiService) CreateLogsMetric(ctx _context.Context, body LogsMetricCreateRequest) (LogsMetricResponse, *_nethttp.Response, error)
- func (a *LogsMetricsApiService) DeleteLogsMetric(ctx _context.Context, metricId string) (*_nethttp.Response, error)
- func (a *LogsMetricsApiService) GetLogsMetric(ctx _context.Context, metricId string) (LogsMetricResponse, *_nethttp.Response, error)
- func (a *LogsMetricsApiService) ListLogsMetrics(ctx _context.Context) (LogsMetricsResponse, *_nethttp.Response, error)
- func (a *LogsMetricsApiService) UpdateLogsMetric(ctx _context.Context, metricId string, body LogsMetricUpdateRequest) (LogsMetricResponse, *_nethttp.Response, error)
- type LogsMetricsResponse
- func (o *LogsMetricsResponse) GetData() []LogsMetricResponseData
- func (o *LogsMetricsResponse) GetDataOk() (*[]LogsMetricResponseData, bool)
- func (o *LogsMetricsResponse) HasData() bool
- func (o LogsMetricsResponse) MarshalJSON() ([]byte, error)
- func (o *LogsMetricsResponse) SetData(v []LogsMetricResponseData)
- func (o *LogsMetricsResponse) UnmarshalJSON(bytes []byte) (err error)
- type LogsQueryFilter
- func (o *LogsQueryFilter) GetFrom() string
- func (o *LogsQueryFilter) GetFromOk() (*string, bool)
- func (o *LogsQueryFilter) GetIndexes() []string
- func (o *LogsQueryFilter) GetIndexesOk() (*[]string, bool)
- func (o *LogsQueryFilter) GetQuery() string
- func (o *LogsQueryFilter) GetQueryOk() (*string, bool)
- func (o *LogsQueryFilter) GetTo() string
- func (o *LogsQueryFilter) GetToOk() (*string, bool)
- func (o *LogsQueryFilter) HasFrom() bool
- func (o *LogsQueryFilter) HasIndexes() bool
- func (o *LogsQueryFilter) HasQuery() bool
- func (o *LogsQueryFilter) HasTo() bool
- func (o LogsQueryFilter) MarshalJSON() ([]byte, error)
- func (o *LogsQueryFilter) SetFrom(v string)
- func (o *LogsQueryFilter) SetIndexes(v []string)
- func (o *LogsQueryFilter) SetQuery(v string)
- func (o *LogsQueryFilter) SetTo(v string)
- func (o *LogsQueryFilter) UnmarshalJSON(bytes []byte) (err error)
- type LogsQueryOptions
- func (o *LogsQueryOptions) GetTimeOffset() int64
- func (o *LogsQueryOptions) GetTimeOffsetOk() (*int64, bool)
- func (o *LogsQueryOptions) GetTimezone() string
- func (o *LogsQueryOptions) GetTimezoneOk() (*string, bool)
- func (o *LogsQueryOptions) HasTimeOffset() bool
- func (o *LogsQueryOptions) HasTimezone() bool
- func (o LogsQueryOptions) MarshalJSON() ([]byte, error)
- func (o *LogsQueryOptions) SetTimeOffset(v int64)
- func (o *LogsQueryOptions) SetTimezone(v string)
- func (o *LogsQueryOptions) UnmarshalJSON(bytes []byte) (err error)
- type LogsResponseMetadata
- func (o *LogsResponseMetadata) GetElapsed() int64
- func (o *LogsResponseMetadata) GetElapsedOk() (*int64, bool)
- func (o *LogsResponseMetadata) GetPage() LogsResponseMetadataPage
- func (o *LogsResponseMetadata) GetPageOk() (*LogsResponseMetadataPage, bool)
- func (o *LogsResponseMetadata) GetRequestId() string
- func (o *LogsResponseMetadata) GetRequestIdOk() (*string, bool)
- func (o *LogsResponseMetadata) GetStatus() LogsAggregateResponseStatus
- func (o *LogsResponseMetadata) GetStatusOk() (*LogsAggregateResponseStatus, bool)
- func (o *LogsResponseMetadata) GetWarnings() []LogsWarning
- func (o *LogsResponseMetadata) GetWarningsOk() (*[]LogsWarning, bool)
- func (o *LogsResponseMetadata) HasElapsed() bool
- func (o *LogsResponseMetadata) HasPage() bool
- func (o *LogsResponseMetadata) HasRequestId() bool
- func (o *LogsResponseMetadata) HasStatus() bool
- func (o *LogsResponseMetadata) HasWarnings() bool
- func (o LogsResponseMetadata) MarshalJSON() ([]byte, error)
- func (o *LogsResponseMetadata) SetElapsed(v int64)
- func (o *LogsResponseMetadata) SetPage(v LogsResponseMetadataPage)
- func (o *LogsResponseMetadata) SetRequestId(v string)
- func (o *LogsResponseMetadata) SetStatus(v LogsAggregateResponseStatus)
- func (o *LogsResponseMetadata) SetWarnings(v []LogsWarning)
- func (o *LogsResponseMetadata) UnmarshalJSON(bytes []byte) (err error)
- type LogsResponseMetadataPage
- func (o *LogsResponseMetadataPage) GetAfter() string
- func (o *LogsResponseMetadataPage) GetAfterOk() (*string, bool)
- func (o *LogsResponseMetadataPage) HasAfter() bool
- func (o LogsResponseMetadataPage) MarshalJSON() ([]byte, error)
- func (o *LogsResponseMetadataPage) SetAfter(v string)
- func (o *LogsResponseMetadataPage) UnmarshalJSON(bytes []byte) (err error)
- type LogsSort
- type LogsSortOrder
- type LogsWarning
- func (o *LogsWarning) GetCode() string
- func (o *LogsWarning) GetCodeOk() (*string, bool)
- func (o *LogsWarning) GetDetail() string
- func (o *LogsWarning) GetDetailOk() (*string, bool)
- func (o *LogsWarning) GetTitle() string
- func (o *LogsWarning) GetTitleOk() (*string, bool)
- func (o *LogsWarning) HasCode() bool
- func (o *LogsWarning) HasDetail() bool
- func (o *LogsWarning) HasTitle() bool
- func (o LogsWarning) MarshalJSON() ([]byte, error)
- func (o *LogsWarning) SetCode(v string)
- func (o *LogsWarning) SetDetail(v string)
- func (o *LogsWarning) SetTitle(v string)
- func (o *LogsWarning) UnmarshalJSON(bytes []byte) (err error)
- type Metric
- func (o *Metric) GetId() string
- func (o *Metric) GetIdOk() (*string, bool)
- func (o *Metric) GetType() MetricType
- func (o *Metric) GetTypeOk() (*MetricType, bool)
- func (o *Metric) HasId() bool
- func (o *Metric) HasType() bool
- func (o Metric) MarshalJSON() ([]byte, error)
- func (o *Metric) SetId(v string)
- func (o *Metric) SetType(v MetricType)
- func (o *Metric) UnmarshalJSON(bytes []byte) (err error)
- type MetricAllTags
- func (o *MetricAllTags) GetAttributes() MetricAllTagsAttributes
- func (o *MetricAllTags) GetAttributesOk() (*MetricAllTagsAttributes, bool)
- func (o *MetricAllTags) GetId() string
- func (o *MetricAllTags) GetIdOk() (*string, bool)
- func (o *MetricAllTags) GetType() MetricType
- func (o *MetricAllTags) GetTypeOk() (*MetricType, bool)
- func (o *MetricAllTags) HasAttributes() bool
- func (o *MetricAllTags) HasId() bool
- func (o *MetricAllTags) HasType() bool
- func (o MetricAllTags) MarshalJSON() ([]byte, error)
- func (o *MetricAllTags) SetAttributes(v MetricAllTagsAttributes)
- func (o *MetricAllTags) SetId(v string)
- func (o *MetricAllTags) SetType(v MetricType)
- func (o *MetricAllTags) UnmarshalJSON(bytes []byte) (err error)
- type MetricAllTagsAttributes
- func (o *MetricAllTagsAttributes) GetTags() []string
- func (o *MetricAllTagsAttributes) GetTagsOk() (*[]string, bool)
- func (o *MetricAllTagsAttributes) HasTags() bool
- func (o MetricAllTagsAttributes) MarshalJSON() ([]byte, error)
- func (o *MetricAllTagsAttributes) SetTags(v []string)
- func (o *MetricAllTagsAttributes) UnmarshalJSON(bytes []byte) (err error)
- type MetricAllTagsResponse
- func (o *MetricAllTagsResponse) GetData() MetricAllTags
- func (o *MetricAllTagsResponse) GetDataOk() (*MetricAllTags, bool)
- func (o *MetricAllTagsResponse) HasData() bool
- func (o MetricAllTagsResponse) MarshalJSON() ([]byte, error)
- func (o *MetricAllTagsResponse) SetData(v MetricAllTags)
- func (o *MetricAllTagsResponse) UnmarshalJSON(bytes []byte) (err error)
- type MetricBulkConfigureTagsType
- type MetricBulkTagConfigCreate
- func (o *MetricBulkTagConfigCreate) GetAttributes() MetricBulkTagConfigCreateAttributes
- func (o *MetricBulkTagConfigCreate) GetAttributesOk() (*MetricBulkTagConfigCreateAttributes, bool)
- func (o *MetricBulkTagConfigCreate) GetId() string
- func (o *MetricBulkTagConfigCreate) GetIdOk() (*string, bool)
- func (o *MetricBulkTagConfigCreate) GetType() MetricBulkConfigureTagsType
- func (o *MetricBulkTagConfigCreate) GetTypeOk() (*MetricBulkConfigureTagsType, bool)
- func (o *MetricBulkTagConfigCreate) HasAttributes() bool
- func (o MetricBulkTagConfigCreate) MarshalJSON() ([]byte, error)
- func (o *MetricBulkTagConfigCreate) SetAttributes(v MetricBulkTagConfigCreateAttributes)
- func (o *MetricBulkTagConfigCreate) SetId(v string)
- func (o *MetricBulkTagConfigCreate) SetType(v MetricBulkConfigureTagsType)
- func (o *MetricBulkTagConfigCreate) UnmarshalJSON(bytes []byte) (err error)
- type MetricBulkTagConfigCreateAttributes
- func (o *MetricBulkTagConfigCreateAttributes) GetEmails() []string
- func (o *MetricBulkTagConfigCreateAttributes) GetEmailsOk() (*[]string, bool)
- func (o *MetricBulkTagConfigCreateAttributes) GetTags() []string
- func (o *MetricBulkTagConfigCreateAttributes) GetTagsOk() (*[]string, bool)
- func (o *MetricBulkTagConfigCreateAttributes) HasEmails() bool
- func (o *MetricBulkTagConfigCreateAttributes) HasTags() bool
- func (o MetricBulkTagConfigCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *MetricBulkTagConfigCreateAttributes) SetEmails(v []string)
- func (o *MetricBulkTagConfigCreateAttributes) SetTags(v []string)
- func (o *MetricBulkTagConfigCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type MetricBulkTagConfigCreateRequest
- func (o *MetricBulkTagConfigCreateRequest) GetData() MetricBulkTagConfigCreate
- func (o *MetricBulkTagConfigCreateRequest) GetDataOk() (*MetricBulkTagConfigCreate, bool)
- func (o MetricBulkTagConfigCreateRequest) MarshalJSON() ([]byte, error)
- func (o *MetricBulkTagConfigCreateRequest) SetData(v MetricBulkTagConfigCreate)
- func (o *MetricBulkTagConfigCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type MetricBulkTagConfigDelete
- func (o *MetricBulkTagConfigDelete) GetAttributes() MetricBulkTagConfigDeleteAttributes
- func (o *MetricBulkTagConfigDelete) GetAttributesOk() (*MetricBulkTagConfigDeleteAttributes, bool)
- func (o *MetricBulkTagConfigDelete) GetId() string
- func (o *MetricBulkTagConfigDelete) GetIdOk() (*string, bool)
- func (o *MetricBulkTagConfigDelete) GetType() MetricBulkConfigureTagsType
- func (o *MetricBulkTagConfigDelete) GetTypeOk() (*MetricBulkConfigureTagsType, bool)
- func (o *MetricBulkTagConfigDelete) HasAttributes() bool
- func (o MetricBulkTagConfigDelete) MarshalJSON() ([]byte, error)
- func (o *MetricBulkTagConfigDelete) SetAttributes(v MetricBulkTagConfigDeleteAttributes)
- func (o *MetricBulkTagConfigDelete) SetId(v string)
- func (o *MetricBulkTagConfigDelete) SetType(v MetricBulkConfigureTagsType)
- func (o *MetricBulkTagConfigDelete) UnmarshalJSON(bytes []byte) (err error)
- type MetricBulkTagConfigDeleteAttributes
- func (o *MetricBulkTagConfigDeleteAttributes) GetEmails() []string
- func (o *MetricBulkTagConfigDeleteAttributes) GetEmailsOk() (*[]string, bool)
- func (o *MetricBulkTagConfigDeleteAttributes) HasEmails() bool
- func (o MetricBulkTagConfigDeleteAttributes) MarshalJSON() ([]byte, error)
- func (o *MetricBulkTagConfigDeleteAttributes) SetEmails(v []string)
- func (o *MetricBulkTagConfigDeleteAttributes) UnmarshalJSON(bytes []byte) (err error)
- type MetricBulkTagConfigDeleteRequest
- func (o *MetricBulkTagConfigDeleteRequest) GetData() MetricBulkTagConfigDelete
- func (o *MetricBulkTagConfigDeleteRequest) GetDataOk() (*MetricBulkTagConfigDelete, bool)
- func (o MetricBulkTagConfigDeleteRequest) MarshalJSON() ([]byte, error)
- func (o *MetricBulkTagConfigDeleteRequest) SetData(v MetricBulkTagConfigDelete)
- func (o *MetricBulkTagConfigDeleteRequest) UnmarshalJSON(bytes []byte) (err error)
- type MetricBulkTagConfigResponse
- func (o *MetricBulkTagConfigResponse) GetData() MetricBulkTagConfigStatus
- func (o *MetricBulkTagConfigResponse) GetDataOk() (*MetricBulkTagConfigStatus, bool)
- func (o *MetricBulkTagConfigResponse) HasData() bool
- func (o MetricBulkTagConfigResponse) MarshalJSON() ([]byte, error)
- func (o *MetricBulkTagConfigResponse) SetData(v MetricBulkTagConfigStatus)
- func (o *MetricBulkTagConfigResponse) UnmarshalJSON(bytes []byte) (err error)
- type MetricBulkTagConfigStatus
- func (o *MetricBulkTagConfigStatus) GetAttributes() MetricBulkTagConfigStatusAttributes
- func (o *MetricBulkTagConfigStatus) GetAttributesOk() (*MetricBulkTagConfigStatusAttributes, bool)
- func (o *MetricBulkTagConfigStatus) GetId() string
- func (o *MetricBulkTagConfigStatus) GetIdOk() (*string, bool)
- func (o *MetricBulkTagConfigStatus) GetType() MetricBulkConfigureTagsType
- func (o *MetricBulkTagConfigStatus) GetTypeOk() (*MetricBulkConfigureTagsType, bool)
- func (o *MetricBulkTagConfigStatus) HasAttributes() bool
- func (o MetricBulkTagConfigStatus) MarshalJSON() ([]byte, error)
- func (o *MetricBulkTagConfigStatus) SetAttributes(v MetricBulkTagConfigStatusAttributes)
- func (o *MetricBulkTagConfigStatus) SetId(v string)
- func (o *MetricBulkTagConfigStatus) SetType(v MetricBulkConfigureTagsType)
- func (o *MetricBulkTagConfigStatus) UnmarshalJSON(bytes []byte) (err error)
- type MetricBulkTagConfigStatusAttributes
- func (o *MetricBulkTagConfigStatusAttributes) GetEmails() []string
- func (o *MetricBulkTagConfigStatusAttributes) GetEmailsOk() (*[]string, bool)
- func (o *MetricBulkTagConfigStatusAttributes) GetStatus() string
- func (o *MetricBulkTagConfigStatusAttributes) GetStatusOk() (*string, bool)
- func (o *MetricBulkTagConfigStatusAttributes) GetTags() []string
- func (o *MetricBulkTagConfigStatusAttributes) GetTagsOk() (*[]string, bool)
- func (o *MetricBulkTagConfigStatusAttributes) HasEmails() bool
- func (o *MetricBulkTagConfigStatusAttributes) HasStatus() bool
- func (o *MetricBulkTagConfigStatusAttributes) HasTags() bool
- func (o MetricBulkTagConfigStatusAttributes) MarshalJSON() ([]byte, error)
- func (o *MetricBulkTagConfigStatusAttributes) SetEmails(v []string)
- func (o *MetricBulkTagConfigStatusAttributes) SetStatus(v string)
- func (o *MetricBulkTagConfigStatusAttributes) SetTags(v []string)
- func (o *MetricBulkTagConfigStatusAttributes) UnmarshalJSON(bytes []byte) (err error)
- type MetricContentEncoding
- type MetricCustomAggregation
- func (o *MetricCustomAggregation) GetSpace() MetricCustomSpaceAggregation
- func (o *MetricCustomAggregation) GetSpaceOk() (*MetricCustomSpaceAggregation, bool)
- func (o *MetricCustomAggregation) GetTime() MetricCustomTimeAggregation
- func (o *MetricCustomAggregation) GetTimeOk() (*MetricCustomTimeAggregation, bool)
- func (o MetricCustomAggregation) MarshalJSON() ([]byte, error)
- func (o *MetricCustomAggregation) SetSpace(v MetricCustomSpaceAggregation)
- func (o *MetricCustomAggregation) SetTime(v MetricCustomTimeAggregation)
- func (o *MetricCustomAggregation) UnmarshalJSON(bytes []byte) (err error)
- type MetricCustomSpaceAggregation
- type MetricCustomTimeAggregation
- type MetricDistinctVolume
- func (o *MetricDistinctVolume) GetAttributes() MetricDistinctVolumeAttributes
- func (o *MetricDistinctVolume) GetAttributesOk() (*MetricDistinctVolumeAttributes, bool)
- func (o *MetricDistinctVolume) GetId() string
- func (o *MetricDistinctVolume) GetIdOk() (*string, bool)
- func (o *MetricDistinctVolume) GetType() MetricDistinctVolumeType
- func (o *MetricDistinctVolume) GetTypeOk() (*MetricDistinctVolumeType, bool)
- func (o *MetricDistinctVolume) HasAttributes() bool
- func (o *MetricDistinctVolume) HasId() bool
- func (o *MetricDistinctVolume) HasType() bool
- func (o MetricDistinctVolume) MarshalJSON() ([]byte, error)
- func (o *MetricDistinctVolume) SetAttributes(v MetricDistinctVolumeAttributes)
- func (o *MetricDistinctVolume) SetId(v string)
- func (o *MetricDistinctVolume) SetType(v MetricDistinctVolumeType)
- func (o *MetricDistinctVolume) UnmarshalJSON(bytes []byte) (err error)
- type MetricDistinctVolumeAttributes
- func (o *MetricDistinctVolumeAttributes) GetDistinctVolume() int64
- func (o *MetricDistinctVolumeAttributes) GetDistinctVolumeOk() (*int64, bool)
- func (o *MetricDistinctVolumeAttributes) HasDistinctVolume() bool
- func (o MetricDistinctVolumeAttributes) MarshalJSON() ([]byte, error)
- func (o *MetricDistinctVolumeAttributes) SetDistinctVolume(v int64)
- func (o *MetricDistinctVolumeAttributes) UnmarshalJSON(bytes []byte) (err error)
- type MetricDistinctVolumeType
- type MetricEstimate
- func (o *MetricEstimate) GetAttributes() MetricEstimateAttributes
- func (o *MetricEstimate) GetAttributesOk() (*MetricEstimateAttributes, bool)
- func (o *MetricEstimate) GetId() string
- func (o *MetricEstimate) GetIdOk() (*string, bool)
- func (o *MetricEstimate) GetType() MetricEstimateResourceType
- func (o *MetricEstimate) GetTypeOk() (*MetricEstimateResourceType, bool)
- func (o *MetricEstimate) HasAttributes() bool
- func (o *MetricEstimate) HasId() bool
- func (o *MetricEstimate) HasType() bool
- func (o MetricEstimate) MarshalJSON() ([]byte, error)
- func (o *MetricEstimate) SetAttributes(v MetricEstimateAttributes)
- func (o *MetricEstimate) SetId(v string)
- func (o *MetricEstimate) SetType(v MetricEstimateResourceType)
- func (o *MetricEstimate) UnmarshalJSON(bytes []byte) (err error)
- type MetricEstimateAttributes
- func (o *MetricEstimateAttributes) GetEstimateType() MetricEstimateType
- func (o *MetricEstimateAttributes) GetEstimateTypeOk() (*MetricEstimateType, bool)
- func (o *MetricEstimateAttributes) GetEstimatedAt() time.Time
- func (o *MetricEstimateAttributes) GetEstimatedAtOk() (*time.Time, bool)
- func (o *MetricEstimateAttributes) GetEstimatedOutputSeries() int64
- func (o *MetricEstimateAttributes) GetEstimatedOutputSeriesOk() (*int64, bool)
- func (o *MetricEstimateAttributes) HasEstimateType() bool
- func (o *MetricEstimateAttributes) HasEstimatedAt() bool
- func (o *MetricEstimateAttributes) HasEstimatedOutputSeries() bool
- func (o MetricEstimateAttributes) MarshalJSON() ([]byte, error)
- func (o *MetricEstimateAttributes) SetEstimateType(v MetricEstimateType)
- func (o *MetricEstimateAttributes) SetEstimatedAt(v time.Time)
- func (o *MetricEstimateAttributes) SetEstimatedOutputSeries(v int64)
- func (o *MetricEstimateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type MetricEstimateResourceType
- type MetricEstimateResponse
- func (o *MetricEstimateResponse) GetData() MetricEstimate
- func (o *MetricEstimateResponse) GetDataOk() (*MetricEstimate, bool)
- func (o *MetricEstimateResponse) HasData() bool
- func (o MetricEstimateResponse) MarshalJSON() ([]byte, error)
- func (o *MetricEstimateResponse) SetData(v MetricEstimate)
- func (o *MetricEstimateResponse) UnmarshalJSON(bytes []byte) (err error)
- type MetricEstimateType
- type MetricIngestedIndexedVolume
- func (o *MetricIngestedIndexedVolume) GetAttributes() MetricIngestedIndexedVolumeAttributes
- func (o *MetricIngestedIndexedVolume) GetAttributesOk() (*MetricIngestedIndexedVolumeAttributes, bool)
- func (o *MetricIngestedIndexedVolume) GetId() string
- func (o *MetricIngestedIndexedVolume) GetIdOk() (*string, bool)
- func (o *MetricIngestedIndexedVolume) GetType() MetricIngestedIndexedVolumeType
- func (o *MetricIngestedIndexedVolume) GetTypeOk() (*MetricIngestedIndexedVolumeType, bool)
- func (o *MetricIngestedIndexedVolume) HasAttributes() bool
- func (o *MetricIngestedIndexedVolume) HasId() bool
- func (o *MetricIngestedIndexedVolume) HasType() bool
- func (o MetricIngestedIndexedVolume) MarshalJSON() ([]byte, error)
- func (o *MetricIngestedIndexedVolume) SetAttributes(v MetricIngestedIndexedVolumeAttributes)
- func (o *MetricIngestedIndexedVolume) SetId(v string)
- func (o *MetricIngestedIndexedVolume) SetType(v MetricIngestedIndexedVolumeType)
- func (o *MetricIngestedIndexedVolume) UnmarshalJSON(bytes []byte) (err error)
- type MetricIngestedIndexedVolumeAttributes
- func (o *MetricIngestedIndexedVolumeAttributes) GetIndexedVolume() int64
- func (o *MetricIngestedIndexedVolumeAttributes) GetIndexedVolumeOk() (*int64, bool)
- func (o *MetricIngestedIndexedVolumeAttributes) GetIngestedVolume() int64
- func (o *MetricIngestedIndexedVolumeAttributes) GetIngestedVolumeOk() (*int64, bool)
- func (o *MetricIngestedIndexedVolumeAttributes) HasIndexedVolume() bool
- func (o *MetricIngestedIndexedVolumeAttributes) HasIngestedVolume() bool
- func (o MetricIngestedIndexedVolumeAttributes) MarshalJSON() ([]byte, error)
- func (o *MetricIngestedIndexedVolumeAttributes) SetIndexedVolume(v int64)
- func (o *MetricIngestedIndexedVolumeAttributes) SetIngestedVolume(v int64)
- func (o *MetricIngestedIndexedVolumeAttributes) UnmarshalJSON(bytes []byte) (err error)
- type MetricIngestedIndexedVolumeType
- func (v *MetricIngestedIndexedVolumeType) GetAllowedValues() []MetricIngestedIndexedVolumeType
- func (v MetricIngestedIndexedVolumeType) IsValid() bool
- func (v MetricIngestedIndexedVolumeType) Ptr() *MetricIngestedIndexedVolumeType
- func (v *MetricIngestedIndexedVolumeType) UnmarshalJSON(src []byte) error
- type MetricIntakeType
- type MetricMetadata
- func (o *MetricMetadata) GetOrigin() MetricOrigin
- func (o *MetricMetadata) GetOriginOk() (*MetricOrigin, bool)
- func (o *MetricMetadata) HasOrigin() bool
- func (o MetricMetadata) MarshalJSON() ([]byte, error)
- func (o *MetricMetadata) SetOrigin(v MetricOrigin)
- func (o *MetricMetadata) UnmarshalJSON(bytes []byte) (err error)
- type MetricOrigin
- func (o *MetricOrigin) GetMetricType() int32
- func (o *MetricOrigin) GetMetricTypeOk() (*int32, bool)
- func (o *MetricOrigin) GetProduct() int32
- func (o *MetricOrigin) GetProductOk() (*int32, bool)
- func (o *MetricOrigin) GetService() int32
- func (o *MetricOrigin) GetServiceOk() (*int32, bool)
- func (o *MetricOrigin) HasMetricType() bool
- func (o *MetricOrigin) HasProduct() bool
- func (o *MetricOrigin) HasService() bool
- func (o MetricOrigin) MarshalJSON() ([]byte, error)
- func (o *MetricOrigin) SetMetricType(v int32)
- func (o *MetricOrigin) SetProduct(v int32)
- func (o *MetricOrigin) SetService(v int32)
- func (o *MetricOrigin) UnmarshalJSON(bytes []byte) (err error)
- type MetricPayload
- type MetricPoint
- func (o *MetricPoint) GetTimestamp() int64
- func (o *MetricPoint) GetTimestampOk() (*int64, bool)
- func (o *MetricPoint) GetValue() float64
- func (o *MetricPoint) GetValueOk() (*float64, bool)
- func (o *MetricPoint) HasTimestamp() bool
- func (o *MetricPoint) HasValue() bool
- func (o MetricPoint) MarshalJSON() ([]byte, error)
- func (o *MetricPoint) SetTimestamp(v int64)
- func (o *MetricPoint) SetValue(v float64)
- func (o *MetricPoint) UnmarshalJSON(bytes []byte) (err error)
- type MetricResource
- func (o *MetricResource) GetName() string
- func (o *MetricResource) GetNameOk() (*string, bool)
- func (o *MetricResource) GetType() string
- func (o *MetricResource) GetTypeOk() (*string, bool)
- func (o *MetricResource) HasName() bool
- func (o *MetricResource) HasType() bool
- func (o MetricResource) MarshalJSON() ([]byte, error)
- func (o *MetricResource) SetName(v string)
- func (o *MetricResource) SetType(v string)
- func (o *MetricResource) UnmarshalJSON(bytes []byte) (err error)
- type MetricSeries
- func (o *MetricSeries) GetInterval() int64
- func (o *MetricSeries) GetIntervalOk() (*int64, bool)
- func (o *MetricSeries) GetMetadata() MetricMetadata
- func (o *MetricSeries) GetMetadataOk() (*MetricMetadata, bool)
- func (o *MetricSeries) GetMetric() string
- func (o *MetricSeries) GetMetricOk() (*string, bool)
- func (o *MetricSeries) GetPoints() []MetricPoint
- func (o *MetricSeries) GetPointsOk() (*[]MetricPoint, bool)
- func (o *MetricSeries) GetResources() []MetricResource
- func (o *MetricSeries) GetResourcesOk() (*[]MetricResource, bool)
- func (o *MetricSeries) GetSourceTypeName() string
- func (o *MetricSeries) GetSourceTypeNameOk() (*string, bool)
- func (o *MetricSeries) GetTags() []string
- func (o *MetricSeries) GetTagsOk() (*[]string, bool)
- func (o *MetricSeries) GetType() MetricIntakeType
- func (o *MetricSeries) GetTypeOk() (*MetricIntakeType, bool)
- func (o *MetricSeries) GetUnit() string
- func (o *MetricSeries) GetUnitOk() (*string, bool)
- func (o *MetricSeries) HasInterval() bool
- func (o *MetricSeries) HasMetadata() bool
- func (o *MetricSeries) HasResources() bool
- func (o *MetricSeries) HasSourceTypeName() bool
- func (o *MetricSeries) HasTags() bool
- func (o *MetricSeries) HasType() bool
- func (o *MetricSeries) HasUnit() bool
- func (o MetricSeries) MarshalJSON() ([]byte, error)
- func (o *MetricSeries) SetInterval(v int64)
- func (o *MetricSeries) SetMetadata(v MetricMetadata)
- func (o *MetricSeries) SetMetric(v string)
- func (o *MetricSeries) SetPoints(v []MetricPoint)
- func (o *MetricSeries) SetResources(v []MetricResource)
- func (o *MetricSeries) SetSourceTypeName(v string)
- func (o *MetricSeries) SetTags(v []string)
- func (o *MetricSeries) SetType(v MetricIntakeType)
- func (o *MetricSeries) SetUnit(v string)
- func (o *MetricSeries) UnmarshalJSON(bytes []byte) (err error)
- type MetricTagConfiguration
- func (o *MetricTagConfiguration) GetAttributes() MetricTagConfigurationAttributes
- func (o *MetricTagConfiguration) GetAttributesOk() (*MetricTagConfigurationAttributes, bool)
- func (o *MetricTagConfiguration) GetId() string
- func (o *MetricTagConfiguration) GetIdOk() (*string, bool)
- func (o *MetricTagConfiguration) GetType() MetricTagConfigurationType
- func (o *MetricTagConfiguration) GetTypeOk() (*MetricTagConfigurationType, bool)
- func (o *MetricTagConfiguration) HasAttributes() bool
- func (o *MetricTagConfiguration) HasId() bool
- func (o *MetricTagConfiguration) HasType() bool
- func (o MetricTagConfiguration) MarshalJSON() ([]byte, error)
- func (o *MetricTagConfiguration) SetAttributes(v MetricTagConfigurationAttributes)
- func (o *MetricTagConfiguration) SetId(v string)
- func (o *MetricTagConfiguration) SetType(v MetricTagConfigurationType)
- func (o *MetricTagConfiguration) UnmarshalJSON(bytes []byte) (err error)
- type MetricTagConfigurationAttributes
- func (o *MetricTagConfigurationAttributes) GetAggregations() []MetricCustomAggregation
- func (o *MetricTagConfigurationAttributes) GetAggregationsOk() (*[]MetricCustomAggregation, bool)
- func (o *MetricTagConfigurationAttributes) GetCreatedAt() time.Time
- func (o *MetricTagConfigurationAttributes) GetCreatedAtOk() (*time.Time, bool)
- func (o *MetricTagConfigurationAttributes) GetIncludePercentiles() bool
- func (o *MetricTagConfigurationAttributes) GetIncludePercentilesOk() (*bool, bool)
- func (o *MetricTagConfigurationAttributes) GetMetricType() MetricTagConfigurationMetricTypes
- func (o *MetricTagConfigurationAttributes) GetMetricTypeOk() (*MetricTagConfigurationMetricTypes, bool)
- func (o *MetricTagConfigurationAttributes) GetModifiedAt() time.Time
- func (o *MetricTagConfigurationAttributes) GetModifiedAtOk() (*time.Time, bool)
- func (o *MetricTagConfigurationAttributes) GetTags() []string
- func (o *MetricTagConfigurationAttributes) GetTagsOk() (*[]string, bool)
- func (o *MetricTagConfigurationAttributes) HasAggregations() bool
- func (o *MetricTagConfigurationAttributes) HasCreatedAt() bool
- func (o *MetricTagConfigurationAttributes) HasIncludePercentiles() bool
- func (o *MetricTagConfigurationAttributes) HasMetricType() bool
- func (o *MetricTagConfigurationAttributes) HasModifiedAt() bool
- func (o *MetricTagConfigurationAttributes) HasTags() bool
- func (o MetricTagConfigurationAttributes) MarshalJSON() ([]byte, error)
- func (o *MetricTagConfigurationAttributes) SetAggregations(v []MetricCustomAggregation)
- func (o *MetricTagConfigurationAttributes) SetCreatedAt(v time.Time)
- func (o *MetricTagConfigurationAttributes) SetIncludePercentiles(v bool)
- func (o *MetricTagConfigurationAttributes) SetMetricType(v MetricTagConfigurationMetricTypes)
- func (o *MetricTagConfigurationAttributes) SetModifiedAt(v time.Time)
- func (o *MetricTagConfigurationAttributes) SetTags(v []string)
- func (o *MetricTagConfigurationAttributes) UnmarshalJSON(bytes []byte) (err error)
- type MetricTagConfigurationCreateAttributes
- func (o *MetricTagConfigurationCreateAttributes) GetAggregations() []MetricCustomAggregation
- func (o *MetricTagConfigurationCreateAttributes) GetAggregationsOk() (*[]MetricCustomAggregation, bool)
- func (o *MetricTagConfigurationCreateAttributes) GetIncludePercentiles() bool
- func (o *MetricTagConfigurationCreateAttributes) GetIncludePercentilesOk() (*bool, bool)
- func (o *MetricTagConfigurationCreateAttributes) GetMetricType() MetricTagConfigurationMetricTypes
- func (o *MetricTagConfigurationCreateAttributes) GetMetricTypeOk() (*MetricTagConfigurationMetricTypes, bool)
- func (o *MetricTagConfigurationCreateAttributes) GetTags() []string
- func (o *MetricTagConfigurationCreateAttributes) GetTagsOk() (*[]string, bool)
- func (o *MetricTagConfigurationCreateAttributes) HasAggregations() bool
- func (o *MetricTagConfigurationCreateAttributes) HasIncludePercentiles() bool
- func (o MetricTagConfigurationCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *MetricTagConfigurationCreateAttributes) SetAggregations(v []MetricCustomAggregation)
- func (o *MetricTagConfigurationCreateAttributes) SetIncludePercentiles(v bool)
- func (o *MetricTagConfigurationCreateAttributes) SetMetricType(v MetricTagConfigurationMetricTypes)
- func (o *MetricTagConfigurationCreateAttributes) SetTags(v []string)
- func (o *MetricTagConfigurationCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type MetricTagConfigurationCreateData
- func (o *MetricTagConfigurationCreateData) GetAttributes() MetricTagConfigurationCreateAttributes
- func (o *MetricTagConfigurationCreateData) GetAttributesOk() (*MetricTagConfigurationCreateAttributes, bool)
- func (o *MetricTagConfigurationCreateData) GetId() string
- func (o *MetricTagConfigurationCreateData) GetIdOk() (*string, bool)
- func (o *MetricTagConfigurationCreateData) GetType() MetricTagConfigurationType
- func (o *MetricTagConfigurationCreateData) GetTypeOk() (*MetricTagConfigurationType, bool)
- func (o *MetricTagConfigurationCreateData) HasAttributes() bool
- func (o MetricTagConfigurationCreateData) MarshalJSON() ([]byte, error)
- func (o *MetricTagConfigurationCreateData) SetAttributes(v MetricTagConfigurationCreateAttributes)
- func (o *MetricTagConfigurationCreateData) SetId(v string)
- func (o *MetricTagConfigurationCreateData) SetType(v MetricTagConfigurationType)
- func (o *MetricTagConfigurationCreateData) UnmarshalJSON(bytes []byte) (err error)
- type MetricTagConfigurationCreateRequest
- func (o *MetricTagConfigurationCreateRequest) GetData() MetricTagConfigurationCreateData
- func (o *MetricTagConfigurationCreateRequest) GetDataOk() (*MetricTagConfigurationCreateData, bool)
- func (o MetricTagConfigurationCreateRequest) MarshalJSON() ([]byte, error)
- func (o *MetricTagConfigurationCreateRequest) SetData(v MetricTagConfigurationCreateData)
- func (o *MetricTagConfigurationCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type MetricTagConfigurationMetricTypes
- func (v *MetricTagConfigurationMetricTypes) GetAllowedValues() []MetricTagConfigurationMetricTypes
- func (v MetricTagConfigurationMetricTypes) IsValid() bool
- func (v MetricTagConfigurationMetricTypes) Ptr() *MetricTagConfigurationMetricTypes
- func (v *MetricTagConfigurationMetricTypes) UnmarshalJSON(src []byte) error
- type MetricTagConfigurationResponse
- func (o *MetricTagConfigurationResponse) GetData() MetricTagConfiguration
- func (o *MetricTagConfigurationResponse) GetDataOk() (*MetricTagConfiguration, bool)
- func (o *MetricTagConfigurationResponse) HasData() bool
- func (o MetricTagConfigurationResponse) MarshalJSON() ([]byte, error)
- func (o *MetricTagConfigurationResponse) SetData(v MetricTagConfiguration)
- func (o *MetricTagConfigurationResponse) UnmarshalJSON(bytes []byte) (err error)
- type MetricTagConfigurationType
- type MetricTagConfigurationUpdateAttributes
- func (o *MetricTagConfigurationUpdateAttributes) GetAggregations() []MetricCustomAggregation
- func (o *MetricTagConfigurationUpdateAttributes) GetAggregationsOk() (*[]MetricCustomAggregation, bool)
- func (o *MetricTagConfigurationUpdateAttributes) GetIncludePercentiles() bool
- func (o *MetricTagConfigurationUpdateAttributes) GetIncludePercentilesOk() (*bool, bool)
- func (o *MetricTagConfigurationUpdateAttributes) GetTags() []string
- func (o *MetricTagConfigurationUpdateAttributes) GetTagsOk() (*[]string, bool)
- func (o *MetricTagConfigurationUpdateAttributes) HasAggregations() bool
- func (o *MetricTagConfigurationUpdateAttributes) HasIncludePercentiles() bool
- func (o *MetricTagConfigurationUpdateAttributes) HasTags() bool
- func (o MetricTagConfigurationUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *MetricTagConfigurationUpdateAttributes) SetAggregations(v []MetricCustomAggregation)
- func (o *MetricTagConfigurationUpdateAttributes) SetIncludePercentiles(v bool)
- func (o *MetricTagConfigurationUpdateAttributes) SetTags(v []string)
- func (o *MetricTagConfigurationUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type MetricTagConfigurationUpdateData
- func (o *MetricTagConfigurationUpdateData) GetAttributes() MetricTagConfigurationUpdateAttributes
- func (o *MetricTagConfigurationUpdateData) GetAttributesOk() (*MetricTagConfigurationUpdateAttributes, bool)
- func (o *MetricTagConfigurationUpdateData) GetId() string
- func (o *MetricTagConfigurationUpdateData) GetIdOk() (*string, bool)
- func (o *MetricTagConfigurationUpdateData) GetType() MetricTagConfigurationType
- func (o *MetricTagConfigurationUpdateData) GetTypeOk() (*MetricTagConfigurationType, bool)
- func (o *MetricTagConfigurationUpdateData) HasAttributes() bool
- func (o MetricTagConfigurationUpdateData) MarshalJSON() ([]byte, error)
- func (o *MetricTagConfigurationUpdateData) SetAttributes(v MetricTagConfigurationUpdateAttributes)
- func (o *MetricTagConfigurationUpdateData) SetId(v string)
- func (o *MetricTagConfigurationUpdateData) SetType(v MetricTagConfigurationType)
- func (o *MetricTagConfigurationUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type MetricTagConfigurationUpdateRequest
- func (o *MetricTagConfigurationUpdateRequest) GetData() MetricTagConfigurationUpdateData
- func (o *MetricTagConfigurationUpdateRequest) GetDataOk() (*MetricTagConfigurationUpdateData, bool)
- func (o MetricTagConfigurationUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *MetricTagConfigurationUpdateRequest) SetData(v MetricTagConfigurationUpdateData)
- func (o *MetricTagConfigurationUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type MetricType
- type MetricVolumes
- type MetricVolumesResponse
- func (o *MetricVolumesResponse) GetData() MetricVolumes
- func (o *MetricVolumesResponse) GetDataOk() (*MetricVolumes, bool)
- func (o *MetricVolumesResponse) HasData() bool
- func (o MetricVolumesResponse) MarshalJSON() ([]byte, error)
- func (o *MetricVolumesResponse) SetData(v MetricVolumes)
- func (o *MetricVolumesResponse) UnmarshalJSON(bytes []byte) (err error)
- type MetricsAndMetricTagConfigurations
- type MetricsAndMetricTagConfigurationsResponse
- func (o *MetricsAndMetricTagConfigurationsResponse) GetData() []MetricsAndMetricTagConfigurations
- func (o *MetricsAndMetricTagConfigurationsResponse) GetDataOk() (*[]MetricsAndMetricTagConfigurations, bool)
- func (o *MetricsAndMetricTagConfigurationsResponse) HasData() bool
- func (o MetricsAndMetricTagConfigurationsResponse) MarshalJSON() ([]byte, error)
- func (o *MetricsAndMetricTagConfigurationsResponse) SetData(v []MetricsAndMetricTagConfigurations)
- func (o *MetricsAndMetricTagConfigurationsResponse) UnmarshalJSON(bytes []byte) (err error)
- type MetricsApiService
- func (a *MetricsApiService) CreateBulkTagsMetricsConfiguration(ctx _context.Context, body MetricBulkTagConfigCreateRequest) (MetricBulkTagConfigResponse, *_nethttp.Response, error)
- func (a *MetricsApiService) CreateTagConfiguration(ctx _context.Context, metricName string, ...) (MetricTagConfigurationResponse, *_nethttp.Response, error)
- func (a *MetricsApiService) DeleteBulkTagsMetricsConfiguration(ctx _context.Context, body MetricBulkTagConfigDeleteRequest) (MetricBulkTagConfigResponse, *_nethttp.Response, error)
- func (a *MetricsApiService) DeleteTagConfiguration(ctx _context.Context, metricName string) (*_nethttp.Response, error)
- func (a *MetricsApiService) EstimateMetricsOutputSeries(ctx _context.Context, metricName string, ...) (MetricEstimateResponse, *_nethttp.Response, error)
- func (a *MetricsApiService) ListTagConfigurationByName(ctx _context.Context, metricName string) (MetricTagConfigurationResponse, *_nethttp.Response, error)
- func (a *MetricsApiService) ListTagConfigurations(ctx _context.Context, o ...ListTagConfigurationsOptionalParameters) (MetricsAndMetricTagConfigurationsResponse, *_nethttp.Response, error)
- func (a *MetricsApiService) ListTagsByMetricName(ctx _context.Context, metricName string) (MetricAllTagsResponse, *_nethttp.Response, error)
- func (a *MetricsApiService) ListVolumesByMetricName(ctx _context.Context, metricName string) (MetricVolumesResponse, *_nethttp.Response, error)
- func (a *MetricsApiService) SubmitMetrics(ctx _context.Context, body MetricPayload, o ...SubmitMetricsOptionalParameters) (IntakePayloadAccepted, *_nethttp.Response, error)
- func (a *MetricsApiService) UpdateTagConfiguration(ctx _context.Context, metricName string, ...) (MetricTagConfigurationResponse, *_nethttp.Response, error)
- type NullableAPIKeyResponseIncludedItem
- func (v NullableAPIKeyResponseIncludedItem) Get() *APIKeyResponseIncludedItem
- func (v NullableAPIKeyResponseIncludedItem) IsSet() bool
- func (v NullableAPIKeyResponseIncludedItem) MarshalJSON() ([]byte, error)
- func (v *NullableAPIKeyResponseIncludedItem) Set(val *APIKeyResponseIncludedItem)
- func (v *NullableAPIKeyResponseIncludedItem) UnmarshalJSON(src []byte) error
- func (v *NullableAPIKeyResponseIncludedItem) Unset()
- type NullableAPIKeysSort
- func (v NullableAPIKeysSort) Get() *APIKeysSort
- func (v NullableAPIKeysSort) IsSet() bool
- func (v NullableAPIKeysSort) MarshalJSON() ([]byte, error)
- func (v *NullableAPIKeysSort) Set(val *APIKeysSort)
- func (v *NullableAPIKeysSort) UnmarshalJSON(src []byte) error
- func (v *NullableAPIKeysSort) Unset()
- type NullableAPIKeysType
- func (v NullableAPIKeysType) Get() *APIKeysType
- func (v NullableAPIKeysType) IsSet() bool
- func (v NullableAPIKeysType) MarshalJSON() ([]byte, error)
- func (v *NullableAPIKeysType) Set(val *APIKeysType)
- func (v *NullableAPIKeysType) UnmarshalJSON(src []byte) error
- func (v *NullableAPIKeysType) Unset()
- type NullableApplicationKeyResponseIncludedItem
- func (v NullableApplicationKeyResponseIncludedItem) Get() *ApplicationKeyResponseIncludedItem
- func (v NullableApplicationKeyResponseIncludedItem) IsSet() bool
- func (v NullableApplicationKeyResponseIncludedItem) MarshalJSON() ([]byte, error)
- func (v *NullableApplicationKeyResponseIncludedItem) Set(val *ApplicationKeyResponseIncludedItem)
- func (v *NullableApplicationKeyResponseIncludedItem) UnmarshalJSON(src []byte) error
- func (v *NullableApplicationKeyResponseIncludedItem) Unset()
- type NullableApplicationKeysSort
- func (v NullableApplicationKeysSort) Get() *ApplicationKeysSort
- func (v NullableApplicationKeysSort) IsSet() bool
- func (v NullableApplicationKeysSort) MarshalJSON() ([]byte, error)
- func (v *NullableApplicationKeysSort) Set(val *ApplicationKeysSort)
- func (v *NullableApplicationKeysSort) UnmarshalJSON(src []byte) error
- func (v *NullableApplicationKeysSort) Unset()
- type NullableApplicationKeysType
- func (v NullableApplicationKeysType) Get() *ApplicationKeysType
- func (v NullableApplicationKeysType) IsSet() bool
- func (v NullableApplicationKeysType) MarshalJSON() ([]byte, error)
- func (v *NullableApplicationKeysType) Set(val *ApplicationKeysType)
- func (v *NullableApplicationKeysType) UnmarshalJSON(src []byte) error
- func (v *NullableApplicationKeysType) Unset()
- type NullableAuditLogsEventType
- func (v NullableAuditLogsEventType) Get() *AuditLogsEventType
- func (v NullableAuditLogsEventType) IsSet() bool
- func (v NullableAuditLogsEventType) MarshalJSON() ([]byte, error)
- func (v *NullableAuditLogsEventType) Set(val *AuditLogsEventType)
- func (v *NullableAuditLogsEventType) UnmarshalJSON(src []byte) error
- func (v *NullableAuditLogsEventType) Unset()
- type NullableAuditLogsResponseStatus
- func (v NullableAuditLogsResponseStatus) Get() *AuditLogsResponseStatus
- func (v NullableAuditLogsResponseStatus) IsSet() bool
- func (v NullableAuditLogsResponseStatus) MarshalJSON() ([]byte, error)
- func (v *NullableAuditLogsResponseStatus) Set(val *AuditLogsResponseStatus)
- func (v *NullableAuditLogsResponseStatus) UnmarshalJSON(src []byte) error
- func (v *NullableAuditLogsResponseStatus) Unset()
- type NullableAuditLogsSort
- func (v NullableAuditLogsSort) Get() *AuditLogsSort
- func (v NullableAuditLogsSort) IsSet() bool
- func (v NullableAuditLogsSort) MarshalJSON() ([]byte, error)
- func (v *NullableAuditLogsSort) Set(val *AuditLogsSort)
- func (v *NullableAuditLogsSort) UnmarshalJSON(src []byte) error
- func (v *NullableAuditLogsSort) Unset()
- type NullableAuthNMappingIncluded
- func (v NullableAuthNMappingIncluded) Get() *AuthNMappingIncluded
- func (v NullableAuthNMappingIncluded) IsSet() bool
- func (v NullableAuthNMappingIncluded) MarshalJSON() ([]byte, error)
- func (v *NullableAuthNMappingIncluded) Set(val *AuthNMappingIncluded)
- func (v *NullableAuthNMappingIncluded) UnmarshalJSON(src []byte) error
- func (v *NullableAuthNMappingIncluded) Unset()
- type NullableAuthNMappingsSort
- func (v NullableAuthNMappingsSort) Get() *AuthNMappingsSort
- func (v NullableAuthNMappingsSort) IsSet() bool
- func (v NullableAuthNMappingsSort) MarshalJSON() ([]byte, error)
- func (v *NullableAuthNMappingsSort) Set(val *AuthNMappingsSort)
- func (v *NullableAuthNMappingsSort) UnmarshalJSON(src []byte) error
- func (v *NullableAuthNMappingsSort) Unset()
- type NullableAuthNMappingsType
- func (v NullableAuthNMappingsType) Get() *AuthNMappingsType
- func (v NullableAuthNMappingsType) IsSet() bool
- func (v NullableAuthNMappingsType) MarshalJSON() ([]byte, error)
- func (v *NullableAuthNMappingsType) Set(val *AuthNMappingsType)
- func (v *NullableAuthNMappingsType) UnmarshalJSON(src []byte) error
- func (v *NullableAuthNMappingsType) Unset()
- type NullableBool
- type NullableCloudWorkloadSecurityAgentRuleType
- func (v NullableCloudWorkloadSecurityAgentRuleType) Get() *CloudWorkloadSecurityAgentRuleType
- func (v NullableCloudWorkloadSecurityAgentRuleType) IsSet() bool
- func (v NullableCloudWorkloadSecurityAgentRuleType) MarshalJSON() ([]byte, error)
- func (v *NullableCloudWorkloadSecurityAgentRuleType) Set(val *CloudWorkloadSecurityAgentRuleType)
- func (v *NullableCloudWorkloadSecurityAgentRuleType) UnmarshalJSON(src []byte) error
- func (v *NullableCloudWorkloadSecurityAgentRuleType) Unset()
- type NullableContentEncoding
- func (v NullableContentEncoding) Get() *ContentEncoding
- func (v NullableContentEncoding) IsSet() bool
- func (v NullableContentEncoding) MarshalJSON() ([]byte, error)
- func (v *NullableContentEncoding) Set(val *ContentEncoding)
- func (v *NullableContentEncoding) UnmarshalJSON(src []byte) error
- func (v *NullableContentEncoding) Unset()
- type NullableCostByOrgType
- func (v NullableCostByOrgType) Get() *CostByOrgType
- func (v NullableCostByOrgType) IsSet() bool
- func (v NullableCostByOrgType) MarshalJSON() ([]byte, error)
- func (v *NullableCostByOrgType) Set(val *CostByOrgType)
- func (v *NullableCostByOrgType) UnmarshalJSON(src []byte) error
- func (v *NullableCostByOrgType) Unset()
- type NullableDashboardType
- func (v NullableDashboardType) Get() *DashboardType
- func (v NullableDashboardType) IsSet() bool
- func (v NullableDashboardType) MarshalJSON() ([]byte, error)
- func (v *NullableDashboardType) Set(val *DashboardType)
- func (v *NullableDashboardType) UnmarshalJSON(src []byte) error
- func (v *NullableDashboardType) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableHourlyUsageType
- func (v NullableHourlyUsageType) Get() *HourlyUsageType
- func (v NullableHourlyUsageType) IsSet() bool
- func (v NullableHourlyUsageType) MarshalJSON() ([]byte, error)
- func (v *NullableHourlyUsageType) Set(val *HourlyUsageType)
- func (v *NullableHourlyUsageType) UnmarshalJSON(src []byte) error
- func (v *NullableHourlyUsageType) Unset()
- type NullableIncidentFieldAttributes
- func (v NullableIncidentFieldAttributes) Get() *IncidentFieldAttributes
- func (v NullableIncidentFieldAttributes) IsSet() bool
- func (v NullableIncidentFieldAttributes) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentFieldAttributes) Set(val *IncidentFieldAttributes)
- func (v *NullableIncidentFieldAttributes) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentFieldAttributes) Unset()
- type NullableIncidentFieldAttributesSingleValueType
- func (v NullableIncidentFieldAttributesSingleValueType) Get() *IncidentFieldAttributesSingleValueType
- func (v NullableIncidentFieldAttributesSingleValueType) IsSet() bool
- func (v NullableIncidentFieldAttributesSingleValueType) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentFieldAttributesSingleValueType) Set(val *IncidentFieldAttributesSingleValueType)
- func (v *NullableIncidentFieldAttributesSingleValueType) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentFieldAttributesSingleValueType) Unset()
- type NullableIncidentFieldAttributesValueType
- func (v NullableIncidentFieldAttributesValueType) Get() *IncidentFieldAttributesValueType
- func (v NullableIncidentFieldAttributesValueType) IsSet() bool
- func (v NullableIncidentFieldAttributesValueType) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentFieldAttributesValueType) Set(val *IncidentFieldAttributesValueType)
- func (v *NullableIncidentFieldAttributesValueType) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentFieldAttributesValueType) Unset()
- type NullableIncidentIntegrationMetadataType
- func (v NullableIncidentIntegrationMetadataType) Get() *IncidentIntegrationMetadataType
- func (v NullableIncidentIntegrationMetadataType) IsSet() bool
- func (v NullableIncidentIntegrationMetadataType) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentIntegrationMetadataType) Set(val *IncidentIntegrationMetadataType)
- func (v *NullableIncidentIntegrationMetadataType) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentIntegrationMetadataType) Unset()
- type NullableIncidentPostmortemType
- func (v NullableIncidentPostmortemType) Get() *IncidentPostmortemType
- func (v NullableIncidentPostmortemType) IsSet() bool
- func (v NullableIncidentPostmortemType) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentPostmortemType) Set(val *IncidentPostmortemType)
- func (v *NullableIncidentPostmortemType) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentPostmortemType) Unset()
- type NullableIncidentRelatedObject
- func (v NullableIncidentRelatedObject) Get() *IncidentRelatedObject
- func (v NullableIncidentRelatedObject) IsSet() bool
- func (v NullableIncidentRelatedObject) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentRelatedObject) Set(val *IncidentRelatedObject)
- func (v *NullableIncidentRelatedObject) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentRelatedObject) Unset()
- type NullableIncidentResponseIncludedItem
- func (v NullableIncidentResponseIncludedItem) Get() *IncidentResponseIncludedItem
- func (v NullableIncidentResponseIncludedItem) IsSet() bool
- func (v NullableIncidentResponseIncludedItem) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentResponseIncludedItem) Set(val *IncidentResponseIncludedItem)
- func (v *NullableIncidentResponseIncludedItem) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentResponseIncludedItem) Unset()
- type NullableIncidentServiceIncludedItems
- func (v NullableIncidentServiceIncludedItems) Get() *IncidentServiceIncludedItems
- func (v NullableIncidentServiceIncludedItems) IsSet() bool
- func (v NullableIncidentServiceIncludedItems) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentServiceIncludedItems) Set(val *IncidentServiceIncludedItems)
- func (v *NullableIncidentServiceIncludedItems) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentServiceIncludedItems) Unset()
- type NullableIncidentServiceType
- func (v NullableIncidentServiceType) Get() *IncidentServiceType
- func (v NullableIncidentServiceType) IsSet() bool
- func (v NullableIncidentServiceType) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentServiceType) Set(val *IncidentServiceType)
- func (v *NullableIncidentServiceType) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentServiceType) Unset()
- type NullableIncidentTeamIncludedItems
- func (v NullableIncidentTeamIncludedItems) Get() *IncidentTeamIncludedItems
- func (v NullableIncidentTeamIncludedItems) IsSet() bool
- func (v NullableIncidentTeamIncludedItems) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentTeamIncludedItems) Set(val *IncidentTeamIncludedItems)
- func (v *NullableIncidentTeamIncludedItems) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentTeamIncludedItems) Unset()
- type NullableIncidentTeamType
- func (v NullableIncidentTeamType) Get() *IncidentTeamType
- func (v NullableIncidentTeamType) IsSet() bool
- func (v NullableIncidentTeamType) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentTeamType) Set(val *IncidentTeamType)
- func (v *NullableIncidentTeamType) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentTeamType) Unset()
- type NullableIncidentTimelineCellCreateAttributes
- func (v NullableIncidentTimelineCellCreateAttributes) Get() *IncidentTimelineCellCreateAttributes
- func (v NullableIncidentTimelineCellCreateAttributes) IsSet() bool
- func (v NullableIncidentTimelineCellCreateAttributes) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentTimelineCellCreateAttributes) Set(val *IncidentTimelineCellCreateAttributes)
- func (v *NullableIncidentTimelineCellCreateAttributes) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentTimelineCellCreateAttributes) Unset()
- type NullableIncidentTimelineCellMarkdownContentType
- func (v NullableIncidentTimelineCellMarkdownContentType) Get() *IncidentTimelineCellMarkdownContentType
- func (v NullableIncidentTimelineCellMarkdownContentType) IsSet() bool
- func (v NullableIncidentTimelineCellMarkdownContentType) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentTimelineCellMarkdownContentType) Set(val *IncidentTimelineCellMarkdownContentType)
- func (v *NullableIncidentTimelineCellMarkdownContentType) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentTimelineCellMarkdownContentType) Unset()
- type NullableIncidentType
- func (v NullableIncidentType) Get() *IncidentType
- func (v NullableIncidentType) IsSet() bool
- func (v NullableIncidentType) MarshalJSON() ([]byte, error)
- func (v *NullableIncidentType) Set(val *IncidentType)
- func (v *NullableIncidentType) UnmarshalJSON(src []byte) error
- func (v *NullableIncidentType) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLogType
- type NullableLogsAggregateBucketValue
- func (v NullableLogsAggregateBucketValue) Get() *LogsAggregateBucketValue
- func (v NullableLogsAggregateBucketValue) IsSet() bool
- func (v NullableLogsAggregateBucketValue) MarshalJSON() ([]byte, error)
- func (v *NullableLogsAggregateBucketValue) Set(val *LogsAggregateBucketValue)
- func (v *NullableLogsAggregateBucketValue) UnmarshalJSON(src []byte) error
- func (v *NullableLogsAggregateBucketValue) Unset()
- type NullableLogsAggregateResponseStatus
- func (v NullableLogsAggregateResponseStatus) Get() *LogsAggregateResponseStatus
- func (v NullableLogsAggregateResponseStatus) IsSet() bool
- func (v NullableLogsAggregateResponseStatus) MarshalJSON() ([]byte, error)
- func (v *NullableLogsAggregateResponseStatus) Set(val *LogsAggregateResponseStatus)
- func (v *NullableLogsAggregateResponseStatus) UnmarshalJSON(src []byte) error
- func (v *NullableLogsAggregateResponseStatus) Unset()
- type NullableLogsAggregateSortType
- func (v NullableLogsAggregateSortType) Get() *LogsAggregateSortType
- func (v NullableLogsAggregateSortType) IsSet() bool
- func (v NullableLogsAggregateSortType) MarshalJSON() ([]byte, error)
- func (v *NullableLogsAggregateSortType) Set(val *LogsAggregateSortType)
- func (v *NullableLogsAggregateSortType) UnmarshalJSON(src []byte) error
- func (v *NullableLogsAggregateSortType) Unset()
- type NullableLogsAggregationFunction
- func (v NullableLogsAggregationFunction) Get() *LogsAggregationFunction
- func (v NullableLogsAggregationFunction) IsSet() bool
- func (v NullableLogsAggregationFunction) MarshalJSON() ([]byte, error)
- func (v *NullableLogsAggregationFunction) Set(val *LogsAggregationFunction)
- func (v *NullableLogsAggregationFunction) UnmarshalJSON(src []byte) error
- func (v *NullableLogsAggregationFunction) Unset()
- type NullableLogsArchiveCreateRequestDestination
- func (v NullableLogsArchiveCreateRequestDestination) Get() *LogsArchiveCreateRequestDestination
- func (v NullableLogsArchiveCreateRequestDestination) IsSet() bool
- func (v NullableLogsArchiveCreateRequestDestination) MarshalJSON() ([]byte, error)
- func (v *NullableLogsArchiveCreateRequestDestination) Set(val *LogsArchiveCreateRequestDestination)
- func (v *NullableLogsArchiveCreateRequestDestination) UnmarshalJSON(src []byte) error
- func (v *NullableLogsArchiveCreateRequestDestination) Unset()
- type NullableLogsArchiveDestination
- func (v NullableLogsArchiveDestination) Get() *LogsArchiveDestination
- func (v NullableLogsArchiveDestination) IsSet() bool
- func (v NullableLogsArchiveDestination) MarshalJSON() ([]byte, error)
- func (v *NullableLogsArchiveDestination) Set(val *LogsArchiveDestination)
- func (v *NullableLogsArchiveDestination) UnmarshalJSON(src []byte) error
- func (v *NullableLogsArchiveDestination) Unset()
- type NullableLogsArchiveDestinationAzureType
- func (v NullableLogsArchiveDestinationAzureType) Get() *LogsArchiveDestinationAzureType
- func (v NullableLogsArchiveDestinationAzureType) IsSet() bool
- func (v NullableLogsArchiveDestinationAzureType) MarshalJSON() ([]byte, error)
- func (v *NullableLogsArchiveDestinationAzureType) Set(val *LogsArchiveDestinationAzureType)
- func (v *NullableLogsArchiveDestinationAzureType) UnmarshalJSON(src []byte) error
- func (v *NullableLogsArchiveDestinationAzureType) Unset()
- type NullableLogsArchiveDestinationGCSType
- func (v NullableLogsArchiveDestinationGCSType) Get() *LogsArchiveDestinationGCSType
- func (v NullableLogsArchiveDestinationGCSType) IsSet() bool
- func (v NullableLogsArchiveDestinationGCSType) MarshalJSON() ([]byte, error)
- func (v *NullableLogsArchiveDestinationGCSType) Set(val *LogsArchiveDestinationGCSType)
- func (v *NullableLogsArchiveDestinationGCSType) UnmarshalJSON(src []byte) error
- func (v *NullableLogsArchiveDestinationGCSType) Unset()
- type NullableLogsArchiveDestinationS3Type
- func (v NullableLogsArchiveDestinationS3Type) Get() *LogsArchiveDestinationS3Type
- func (v NullableLogsArchiveDestinationS3Type) IsSet() bool
- func (v NullableLogsArchiveDestinationS3Type) MarshalJSON() ([]byte, error)
- func (v *NullableLogsArchiveDestinationS3Type) Set(val *LogsArchiveDestinationS3Type)
- func (v *NullableLogsArchiveDestinationS3Type) UnmarshalJSON(src []byte) error
- func (v *NullableLogsArchiveDestinationS3Type) Unset()
- type NullableLogsArchiveOrderDefinitionType
- func (v NullableLogsArchiveOrderDefinitionType) Get() *LogsArchiveOrderDefinitionType
- func (v NullableLogsArchiveOrderDefinitionType) IsSet() bool
- func (v NullableLogsArchiveOrderDefinitionType) MarshalJSON() ([]byte, error)
- func (v *NullableLogsArchiveOrderDefinitionType) Set(val *LogsArchiveOrderDefinitionType)
- func (v *NullableLogsArchiveOrderDefinitionType) UnmarshalJSON(src []byte) error
- func (v *NullableLogsArchiveOrderDefinitionType) Unset()
- type NullableLogsArchiveState
- func (v NullableLogsArchiveState) Get() *LogsArchiveState
- func (v NullableLogsArchiveState) IsSet() bool
- func (v NullableLogsArchiveState) MarshalJSON() ([]byte, error)
- func (v *NullableLogsArchiveState) Set(val *LogsArchiveState)
- func (v *NullableLogsArchiveState) UnmarshalJSON(src []byte) error
- func (v *NullableLogsArchiveState) Unset()
- type NullableLogsComputeType
- func (v NullableLogsComputeType) Get() *LogsComputeType
- func (v NullableLogsComputeType) IsSet() bool
- func (v NullableLogsComputeType) MarshalJSON() ([]byte, error)
- func (v *NullableLogsComputeType) Set(val *LogsComputeType)
- func (v *NullableLogsComputeType) UnmarshalJSON(src []byte) error
- func (v *NullableLogsComputeType) Unset()
- type NullableLogsGroupByMissing
- func (v NullableLogsGroupByMissing) Get() *LogsGroupByMissing
- func (v NullableLogsGroupByMissing) IsSet() bool
- func (v NullableLogsGroupByMissing) MarshalJSON() ([]byte, error)
- func (v *NullableLogsGroupByMissing) Set(val *LogsGroupByMissing)
- func (v *NullableLogsGroupByMissing) UnmarshalJSON(src []byte) error
- func (v *NullableLogsGroupByMissing) Unset()
- type NullableLogsGroupByTotal
- func (v NullableLogsGroupByTotal) Get() *LogsGroupByTotal
- func (v NullableLogsGroupByTotal) IsSet() bool
- func (v NullableLogsGroupByTotal) MarshalJSON() ([]byte, error)
- func (v *NullableLogsGroupByTotal) Set(val *LogsGroupByTotal)
- func (v *NullableLogsGroupByTotal) UnmarshalJSON(src []byte) error
- func (v *NullableLogsGroupByTotal) Unset()
- type NullableLogsMetricComputeAggregationType
- func (v NullableLogsMetricComputeAggregationType) Get() *LogsMetricComputeAggregationType
- func (v NullableLogsMetricComputeAggregationType) IsSet() bool
- func (v NullableLogsMetricComputeAggregationType) MarshalJSON() ([]byte, error)
- func (v *NullableLogsMetricComputeAggregationType) Set(val *LogsMetricComputeAggregationType)
- func (v *NullableLogsMetricComputeAggregationType) UnmarshalJSON(src []byte) error
- func (v *NullableLogsMetricComputeAggregationType) Unset()
- type NullableLogsMetricResponseComputeAggregationType
- func (v NullableLogsMetricResponseComputeAggregationType) Get() *LogsMetricResponseComputeAggregationType
- func (v NullableLogsMetricResponseComputeAggregationType) IsSet() bool
- func (v NullableLogsMetricResponseComputeAggregationType) MarshalJSON() ([]byte, error)
- func (v *NullableLogsMetricResponseComputeAggregationType) Set(val *LogsMetricResponseComputeAggregationType)
- func (v *NullableLogsMetricResponseComputeAggregationType) UnmarshalJSON(src []byte) error
- func (v *NullableLogsMetricResponseComputeAggregationType) Unset()
- type NullableLogsMetricType
- func (v NullableLogsMetricType) Get() *LogsMetricType
- func (v NullableLogsMetricType) IsSet() bool
- func (v NullableLogsMetricType) MarshalJSON() ([]byte, error)
- func (v *NullableLogsMetricType) Set(val *LogsMetricType)
- func (v *NullableLogsMetricType) UnmarshalJSON(src []byte) error
- func (v *NullableLogsMetricType) Unset()
- type NullableLogsSort
- type NullableLogsSortOrder
- func (v NullableLogsSortOrder) Get() *LogsSortOrder
- func (v NullableLogsSortOrder) IsSet() bool
- func (v NullableLogsSortOrder) MarshalJSON() ([]byte, error)
- func (v *NullableLogsSortOrder) Set(val *LogsSortOrder)
- func (v *NullableLogsSortOrder) UnmarshalJSON(src []byte) error
- func (v *NullableLogsSortOrder) Unset()
- type NullableMetricBulkConfigureTagsType
- func (v NullableMetricBulkConfigureTagsType) Get() *MetricBulkConfigureTagsType
- func (v NullableMetricBulkConfigureTagsType) IsSet() bool
- func (v NullableMetricBulkConfigureTagsType) MarshalJSON() ([]byte, error)
- func (v *NullableMetricBulkConfigureTagsType) Set(val *MetricBulkConfigureTagsType)
- func (v *NullableMetricBulkConfigureTagsType) UnmarshalJSON(src []byte) error
- func (v *NullableMetricBulkConfigureTagsType) Unset()
- type NullableMetricContentEncoding
- func (v NullableMetricContentEncoding) Get() *MetricContentEncoding
- func (v NullableMetricContentEncoding) IsSet() bool
- func (v NullableMetricContentEncoding) MarshalJSON() ([]byte, error)
- func (v *NullableMetricContentEncoding) Set(val *MetricContentEncoding)
- func (v *NullableMetricContentEncoding) UnmarshalJSON(src []byte) error
- func (v *NullableMetricContentEncoding) Unset()
- type NullableMetricCustomSpaceAggregation
- func (v NullableMetricCustomSpaceAggregation) Get() *MetricCustomSpaceAggregation
- func (v NullableMetricCustomSpaceAggregation) IsSet() bool
- func (v NullableMetricCustomSpaceAggregation) MarshalJSON() ([]byte, error)
- func (v *NullableMetricCustomSpaceAggregation) Set(val *MetricCustomSpaceAggregation)
- func (v *NullableMetricCustomSpaceAggregation) UnmarshalJSON(src []byte) error
- func (v *NullableMetricCustomSpaceAggregation) Unset()
- type NullableMetricCustomTimeAggregation
- func (v NullableMetricCustomTimeAggregation) Get() *MetricCustomTimeAggregation
- func (v NullableMetricCustomTimeAggregation) IsSet() bool
- func (v NullableMetricCustomTimeAggregation) MarshalJSON() ([]byte, error)
- func (v *NullableMetricCustomTimeAggregation) Set(val *MetricCustomTimeAggregation)
- func (v *NullableMetricCustomTimeAggregation) UnmarshalJSON(src []byte) error
- func (v *NullableMetricCustomTimeAggregation) Unset()
- type NullableMetricDistinctVolumeType
- func (v NullableMetricDistinctVolumeType) Get() *MetricDistinctVolumeType
- func (v NullableMetricDistinctVolumeType) IsSet() bool
- func (v NullableMetricDistinctVolumeType) MarshalJSON() ([]byte, error)
- func (v *NullableMetricDistinctVolumeType) Set(val *MetricDistinctVolumeType)
- func (v *NullableMetricDistinctVolumeType) UnmarshalJSON(src []byte) error
- func (v *NullableMetricDistinctVolumeType) Unset()
- type NullableMetricEstimateResourceType
- func (v NullableMetricEstimateResourceType) Get() *MetricEstimateResourceType
- func (v NullableMetricEstimateResourceType) IsSet() bool
- func (v NullableMetricEstimateResourceType) MarshalJSON() ([]byte, error)
- func (v *NullableMetricEstimateResourceType) Set(val *MetricEstimateResourceType)
- func (v *NullableMetricEstimateResourceType) UnmarshalJSON(src []byte) error
- func (v *NullableMetricEstimateResourceType) Unset()
- type NullableMetricEstimateType
- func (v NullableMetricEstimateType) Get() *MetricEstimateType
- func (v NullableMetricEstimateType) IsSet() bool
- func (v NullableMetricEstimateType) MarshalJSON() ([]byte, error)
- func (v *NullableMetricEstimateType) Set(val *MetricEstimateType)
- func (v *NullableMetricEstimateType) UnmarshalJSON(src []byte) error
- func (v *NullableMetricEstimateType) Unset()
- type NullableMetricIngestedIndexedVolumeType
- func (v NullableMetricIngestedIndexedVolumeType) Get() *MetricIngestedIndexedVolumeType
- func (v NullableMetricIngestedIndexedVolumeType) IsSet() bool
- func (v NullableMetricIngestedIndexedVolumeType) MarshalJSON() ([]byte, error)
- func (v *NullableMetricIngestedIndexedVolumeType) Set(val *MetricIngestedIndexedVolumeType)
- func (v *NullableMetricIngestedIndexedVolumeType) UnmarshalJSON(src []byte) error
- func (v *NullableMetricIngestedIndexedVolumeType) Unset()
- type NullableMetricIntakeType
- func (v NullableMetricIntakeType) Get() *MetricIntakeType
- func (v NullableMetricIntakeType) IsSet() bool
- func (v NullableMetricIntakeType) MarshalJSON() ([]byte, error)
- func (v *NullableMetricIntakeType) Set(val *MetricIntakeType)
- func (v *NullableMetricIntakeType) UnmarshalJSON(src []byte) error
- func (v *NullableMetricIntakeType) Unset()
- type NullableMetricTagConfigurationMetricTypes
- func (v NullableMetricTagConfigurationMetricTypes) Get() *MetricTagConfigurationMetricTypes
- func (v NullableMetricTagConfigurationMetricTypes) IsSet() bool
- func (v NullableMetricTagConfigurationMetricTypes) MarshalJSON() ([]byte, error)
- func (v *NullableMetricTagConfigurationMetricTypes) Set(val *MetricTagConfigurationMetricTypes)
- func (v *NullableMetricTagConfigurationMetricTypes) UnmarshalJSON(src []byte) error
- func (v *NullableMetricTagConfigurationMetricTypes) Unset()
- type NullableMetricTagConfigurationType
- func (v NullableMetricTagConfigurationType) Get() *MetricTagConfigurationType
- func (v NullableMetricTagConfigurationType) IsSet() bool
- func (v NullableMetricTagConfigurationType) MarshalJSON() ([]byte, error)
- func (v *NullableMetricTagConfigurationType) Set(val *MetricTagConfigurationType)
- func (v *NullableMetricTagConfigurationType) UnmarshalJSON(src []byte) error
- func (v *NullableMetricTagConfigurationType) Unset()
- type NullableMetricType
- type NullableMetricVolumes
- func (v NullableMetricVolumes) Get() *MetricVolumes
- func (v NullableMetricVolumes) IsSet() bool
- func (v NullableMetricVolumes) MarshalJSON() ([]byte, error)
- func (v *NullableMetricVolumes) Set(val *MetricVolumes)
- func (v *NullableMetricVolumes) UnmarshalJSON(src []byte) error
- func (v *NullableMetricVolumes) Unset()
- type NullableMetricsAndMetricTagConfigurations
- func (v NullableMetricsAndMetricTagConfigurations) Get() *MetricsAndMetricTagConfigurations
- func (v NullableMetricsAndMetricTagConfigurations) IsSet() bool
- func (v NullableMetricsAndMetricTagConfigurations) MarshalJSON() ([]byte, error)
- func (v *NullableMetricsAndMetricTagConfigurations) Set(val *MetricsAndMetricTagConfigurations)
- func (v *NullableMetricsAndMetricTagConfigurations) UnmarshalJSON(src []byte) error
- func (v *NullableMetricsAndMetricTagConfigurations) Unset()
- type NullableNullableRelationshipToUserData
- func (v NullableNullableRelationshipToUserData) Get() *NullableRelationshipToUserData
- func (v NullableNullableRelationshipToUserData) IsSet() bool
- func (v NullableNullableRelationshipToUserData) MarshalJSON() ([]byte, error)
- func (v *NullableNullableRelationshipToUserData) Set(val *NullableRelationshipToUserData)
- func (v *NullableNullableRelationshipToUserData) UnmarshalJSON(src []byte) error
- func (v *NullableNullableRelationshipToUserData) Unset()
- type NullableOpsgenieServiceRegionType
- func (v NullableOpsgenieServiceRegionType) Get() *OpsgenieServiceRegionType
- func (v NullableOpsgenieServiceRegionType) IsSet() bool
- func (v NullableOpsgenieServiceRegionType) MarshalJSON() ([]byte, error)
- func (v *NullableOpsgenieServiceRegionType) Set(val *OpsgenieServiceRegionType)
- func (v *NullableOpsgenieServiceRegionType) UnmarshalJSON(src []byte) error
- func (v *NullableOpsgenieServiceRegionType) Unset()
- type NullableOpsgenieServiceType
- func (v NullableOpsgenieServiceType) Get() *OpsgenieServiceType
- func (v NullableOpsgenieServiceType) IsSet() bool
- func (v NullableOpsgenieServiceType) MarshalJSON() ([]byte, error)
- func (v *NullableOpsgenieServiceType) Set(val *OpsgenieServiceType)
- func (v *NullableOpsgenieServiceType) UnmarshalJSON(src []byte) error
- func (v *NullableOpsgenieServiceType) Unset()
- type NullableOrganizationsType
- func (v NullableOrganizationsType) Get() *OrganizationsType
- func (v NullableOrganizationsType) IsSet() bool
- func (v NullableOrganizationsType) MarshalJSON() ([]byte, error)
- func (v *NullableOrganizationsType) Set(val *OrganizationsType)
- func (v *NullableOrganizationsType) UnmarshalJSON(src []byte) error
- func (v *NullableOrganizationsType) Unset()
- type NullablePermissionsType
- func (v NullablePermissionsType) Get() *PermissionsType
- func (v NullablePermissionsType) IsSet() bool
- func (v NullablePermissionsType) MarshalJSON() ([]byte, error)
- func (v *NullablePermissionsType) Set(val *PermissionsType)
- func (v *NullablePermissionsType) UnmarshalJSON(src []byte) error
- func (v *NullablePermissionsType) Unset()
- type NullableProcessSummaryType
- func (v NullableProcessSummaryType) Get() *ProcessSummaryType
- func (v NullableProcessSummaryType) IsSet() bool
- func (v NullableProcessSummaryType) MarshalJSON() ([]byte, error)
- func (v *NullableProcessSummaryType) Set(val *ProcessSummaryType)
- func (v *NullableProcessSummaryType) UnmarshalJSON(src []byte) error
- func (v *NullableProcessSummaryType) Unset()
- type NullableQuerySortOrder
- func (v NullableQuerySortOrder) Get() *QuerySortOrder
- func (v NullableQuerySortOrder) IsSet() bool
- func (v NullableQuerySortOrder) MarshalJSON() ([]byte, error)
- func (v *NullableQuerySortOrder) Set(val *QuerySortOrder)
- func (v *NullableQuerySortOrder) UnmarshalJSON(src []byte) error
- func (v *NullableQuerySortOrder) Unset()
- type NullableRUMAggregateBucketValue
- func (v NullableRUMAggregateBucketValue) Get() *RUMAggregateBucketValue
- func (v NullableRUMAggregateBucketValue) IsSet() bool
- func (v NullableRUMAggregateBucketValue) MarshalJSON() ([]byte, error)
- func (v *NullableRUMAggregateBucketValue) Set(val *RUMAggregateBucketValue)
- func (v *NullableRUMAggregateBucketValue) UnmarshalJSON(src []byte) error
- func (v *NullableRUMAggregateBucketValue) Unset()
- type NullableRUMAggregateSortType
- func (v NullableRUMAggregateSortType) Get() *RUMAggregateSortType
- func (v NullableRUMAggregateSortType) IsSet() bool
- func (v NullableRUMAggregateSortType) MarshalJSON() ([]byte, error)
- func (v *NullableRUMAggregateSortType) Set(val *RUMAggregateSortType)
- func (v *NullableRUMAggregateSortType) UnmarshalJSON(src []byte) error
- func (v *NullableRUMAggregateSortType) Unset()
- type NullableRUMAggregationFunction
- func (v NullableRUMAggregationFunction) Get() *RUMAggregationFunction
- func (v NullableRUMAggregationFunction) IsSet() bool
- func (v NullableRUMAggregationFunction) MarshalJSON() ([]byte, error)
- func (v *NullableRUMAggregationFunction) Set(val *RUMAggregationFunction)
- func (v *NullableRUMAggregationFunction) UnmarshalJSON(src []byte) error
- func (v *NullableRUMAggregationFunction) Unset()
- type NullableRUMComputeType
- func (v NullableRUMComputeType) Get() *RUMComputeType
- func (v NullableRUMComputeType) IsSet() bool
- func (v NullableRUMComputeType) MarshalJSON() ([]byte, error)
- func (v *NullableRUMComputeType) Set(val *RUMComputeType)
- func (v *NullableRUMComputeType) UnmarshalJSON(src []byte) error
- func (v *NullableRUMComputeType) Unset()
- type NullableRUMEventType
- func (v NullableRUMEventType) Get() *RUMEventType
- func (v NullableRUMEventType) IsSet() bool
- func (v NullableRUMEventType) MarshalJSON() ([]byte, error)
- func (v *NullableRUMEventType) Set(val *RUMEventType)
- func (v *NullableRUMEventType) UnmarshalJSON(src []byte) error
- func (v *NullableRUMEventType) Unset()
- type NullableRUMGroupByMissing
- func (v NullableRUMGroupByMissing) Get() *RUMGroupByMissing
- func (v NullableRUMGroupByMissing) IsSet() bool
- func (v NullableRUMGroupByMissing) MarshalJSON() ([]byte, error)
- func (v *NullableRUMGroupByMissing) Set(val *RUMGroupByMissing)
- func (v *NullableRUMGroupByMissing) UnmarshalJSON(src []byte) error
- func (v *NullableRUMGroupByMissing) Unset()
- type NullableRUMGroupByTotal
- func (v NullableRUMGroupByTotal) Get() *RUMGroupByTotal
- func (v NullableRUMGroupByTotal) IsSet() bool
- func (v NullableRUMGroupByTotal) MarshalJSON() ([]byte, error)
- func (v *NullableRUMGroupByTotal) Set(val *RUMGroupByTotal)
- func (v *NullableRUMGroupByTotal) UnmarshalJSON(src []byte) error
- func (v *NullableRUMGroupByTotal) Unset()
- type NullableRUMResponseStatus
- func (v NullableRUMResponseStatus) Get() *RUMResponseStatus
- func (v NullableRUMResponseStatus) IsSet() bool
- func (v NullableRUMResponseStatus) MarshalJSON() ([]byte, error)
- func (v *NullableRUMResponseStatus) Set(val *RUMResponseStatus)
- func (v *NullableRUMResponseStatus) UnmarshalJSON(src []byte) error
- func (v *NullableRUMResponseStatus) Unset()
- type NullableRUMSort
- type NullableRUMSortOrder
- func (v NullableRUMSortOrder) Get() *RUMSortOrder
- func (v NullableRUMSortOrder) IsSet() bool
- func (v NullableRUMSortOrder) MarshalJSON() ([]byte, error)
- func (v *NullableRUMSortOrder) Set(val *RUMSortOrder)
- func (v *NullableRUMSortOrder) UnmarshalJSON(src []byte) error
- func (v *NullableRUMSortOrder) Unset()
- type NullableRelationshipToUser
- func (o *NullableRelationshipToUser) GetData() NullableRelationshipToUserData
- func (o *NullableRelationshipToUser) GetDataOk() (*NullableRelationshipToUserData, bool)
- func (o NullableRelationshipToUser) MarshalJSON() ([]byte, error)
- func (o *NullableRelationshipToUser) SetData(v NullableRelationshipToUserData)
- func (o *NullableRelationshipToUser) UnmarshalJSON(bytes []byte) (err error)
- type NullableRelationshipToUserData
- func (o *NullableRelationshipToUserData) GetId() string
- func (o *NullableRelationshipToUserData) GetIdOk() (*string, bool)
- func (o *NullableRelationshipToUserData) GetType() UsersType
- func (o *NullableRelationshipToUserData) GetTypeOk() (*UsersType, bool)
- func (o NullableRelationshipToUserData) MarshalJSON() ([]byte, error)
- func (o *NullableRelationshipToUserData) SetId(v string)
- func (o *NullableRelationshipToUserData) SetType(v UsersType)
- func (o *NullableRelationshipToUserData) UnmarshalJSON(bytes []byte) (err error)
- type NullableRolesSort
- type NullableRolesType
- type NullableSAMLAssertionAttributesType
- func (v NullableSAMLAssertionAttributesType) Get() *SAMLAssertionAttributesType
- func (v NullableSAMLAssertionAttributesType) IsSet() bool
- func (v NullableSAMLAssertionAttributesType) MarshalJSON() ([]byte, error)
- func (v *NullableSAMLAssertionAttributesType) Set(val *SAMLAssertionAttributesType)
- func (v *NullableSAMLAssertionAttributesType) UnmarshalJSON(src []byte) error
- func (v *NullableSAMLAssertionAttributesType) Unset()
- type NullableSecurityFilterFilteredDataType
- func (v NullableSecurityFilterFilteredDataType) Get() *SecurityFilterFilteredDataType
- func (v NullableSecurityFilterFilteredDataType) IsSet() bool
- func (v NullableSecurityFilterFilteredDataType) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityFilterFilteredDataType) Set(val *SecurityFilterFilteredDataType)
- func (v *NullableSecurityFilterFilteredDataType) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityFilterFilteredDataType) Unset()
- type NullableSecurityFilterType
- func (v NullableSecurityFilterType) Get() *SecurityFilterType
- func (v NullableSecurityFilterType) IsSet() bool
- func (v NullableSecurityFilterType) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityFilterType) Set(val *SecurityFilterType)
- func (v *NullableSecurityFilterType) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityFilterType) Unset()
- type NullableSecurityMonitoringFilterAction
- func (v NullableSecurityMonitoringFilterAction) Get() *SecurityMonitoringFilterAction
- func (v NullableSecurityMonitoringFilterAction) IsSet() bool
- func (v NullableSecurityMonitoringFilterAction) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringFilterAction) Set(val *SecurityMonitoringFilterAction)
- func (v *NullableSecurityMonitoringFilterAction) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringFilterAction) Unset()
- type NullableSecurityMonitoringRuleDetectionMethod
- func (v NullableSecurityMonitoringRuleDetectionMethod) Get() *SecurityMonitoringRuleDetectionMethod
- func (v NullableSecurityMonitoringRuleDetectionMethod) IsSet() bool
- func (v NullableSecurityMonitoringRuleDetectionMethod) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleDetectionMethod) Set(val *SecurityMonitoringRuleDetectionMethod)
- func (v *NullableSecurityMonitoringRuleDetectionMethod) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleDetectionMethod) Unset()
- type NullableSecurityMonitoringRuleEvaluationWindow
- func (v NullableSecurityMonitoringRuleEvaluationWindow) Get() *SecurityMonitoringRuleEvaluationWindow
- func (v NullableSecurityMonitoringRuleEvaluationWindow) IsSet() bool
- func (v NullableSecurityMonitoringRuleEvaluationWindow) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleEvaluationWindow) Set(val *SecurityMonitoringRuleEvaluationWindow)
- func (v *NullableSecurityMonitoringRuleEvaluationWindow) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleEvaluationWindow) Unset()
- type NullableSecurityMonitoringRuleHardcodedEvaluatorType
- func (v NullableSecurityMonitoringRuleHardcodedEvaluatorType) Get() *SecurityMonitoringRuleHardcodedEvaluatorType
- func (v NullableSecurityMonitoringRuleHardcodedEvaluatorType) IsSet() bool
- func (v NullableSecurityMonitoringRuleHardcodedEvaluatorType) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleHardcodedEvaluatorType) Set(val *SecurityMonitoringRuleHardcodedEvaluatorType)
- func (v *NullableSecurityMonitoringRuleHardcodedEvaluatorType) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleHardcodedEvaluatorType) Unset()
- type NullableSecurityMonitoringRuleKeepAlive
- func (v NullableSecurityMonitoringRuleKeepAlive) Get() *SecurityMonitoringRuleKeepAlive
- func (v NullableSecurityMonitoringRuleKeepAlive) IsSet() bool
- func (v NullableSecurityMonitoringRuleKeepAlive) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleKeepAlive) Set(val *SecurityMonitoringRuleKeepAlive)
- func (v *NullableSecurityMonitoringRuleKeepAlive) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleKeepAlive) Unset()
- type NullableSecurityMonitoringRuleMaxSignalDuration
- func (v NullableSecurityMonitoringRuleMaxSignalDuration) Get() *SecurityMonitoringRuleMaxSignalDuration
- func (v NullableSecurityMonitoringRuleMaxSignalDuration) IsSet() bool
- func (v NullableSecurityMonitoringRuleMaxSignalDuration) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleMaxSignalDuration) Set(val *SecurityMonitoringRuleMaxSignalDuration)
- func (v *NullableSecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleMaxSignalDuration) Unset()
- type NullableSecurityMonitoringRuleNewValueOptionsForgetAfter
- func (v NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Get() *SecurityMonitoringRuleNewValueOptionsForgetAfter
- func (v NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) IsSet() bool
- func (v NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Set(val *SecurityMonitoringRuleNewValueOptionsForgetAfter)
- func (v *NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Unset()
- type NullableSecurityMonitoringRuleNewValueOptionsLearningDuration
- func (v NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Get() *SecurityMonitoringRuleNewValueOptionsLearningDuration
- func (v NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) IsSet() bool
- func (v NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Set(val *SecurityMonitoringRuleNewValueOptionsLearningDuration)
- func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Unset()
- type NullableSecurityMonitoringRuleNewValueOptionsLearningMethod
- func (v NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Get() *SecurityMonitoringRuleNewValueOptionsLearningMethod
- func (v NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) IsSet() bool
- func (v NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Set(val *SecurityMonitoringRuleNewValueOptionsLearningMethod)
- func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Unset()
- type NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold
- func (v NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Get() *SecurityMonitoringRuleNewValueOptionsLearningThreshold
- func (v NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) IsSet() bool
- func (v NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Set(val *SecurityMonitoringRuleNewValueOptionsLearningThreshold)
- func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Unset()
- type NullableSecurityMonitoringRuleQueryAggregation
- func (v NullableSecurityMonitoringRuleQueryAggregation) Get() *SecurityMonitoringRuleQueryAggregation
- func (v NullableSecurityMonitoringRuleQueryAggregation) IsSet() bool
- func (v NullableSecurityMonitoringRuleQueryAggregation) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleQueryAggregation) Set(val *SecurityMonitoringRuleQueryAggregation)
- func (v *NullableSecurityMonitoringRuleQueryAggregation) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleQueryAggregation) Unset()
- type NullableSecurityMonitoringRuleSeverity
- func (v NullableSecurityMonitoringRuleSeverity) Get() *SecurityMonitoringRuleSeverity
- func (v NullableSecurityMonitoringRuleSeverity) IsSet() bool
- func (v NullableSecurityMonitoringRuleSeverity) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleSeverity) Set(val *SecurityMonitoringRuleSeverity)
- func (v *NullableSecurityMonitoringRuleSeverity) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleSeverity) Unset()
- type NullableSecurityMonitoringRuleTypeCreate
- func (v NullableSecurityMonitoringRuleTypeCreate) Get() *SecurityMonitoringRuleTypeCreate
- func (v NullableSecurityMonitoringRuleTypeCreate) IsSet() bool
- func (v NullableSecurityMonitoringRuleTypeCreate) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleTypeCreate) Set(val *SecurityMonitoringRuleTypeCreate)
- func (v *NullableSecurityMonitoringRuleTypeCreate) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleTypeCreate) Unset()
- type NullableSecurityMonitoringRuleTypeRead
- func (v NullableSecurityMonitoringRuleTypeRead) Get() *SecurityMonitoringRuleTypeRead
- func (v NullableSecurityMonitoringRuleTypeRead) IsSet() bool
- func (v NullableSecurityMonitoringRuleTypeRead) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringRuleTypeRead) Set(val *SecurityMonitoringRuleTypeRead)
- func (v *NullableSecurityMonitoringRuleTypeRead) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringRuleTypeRead) Unset()
- type NullableSecurityMonitoringSignalArchiveReason
- func (v NullableSecurityMonitoringSignalArchiveReason) Get() *SecurityMonitoringSignalArchiveReason
- func (v NullableSecurityMonitoringSignalArchiveReason) IsSet() bool
- func (v NullableSecurityMonitoringSignalArchiveReason) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringSignalArchiveReason) Set(val *SecurityMonitoringSignalArchiveReason)
- func (v *NullableSecurityMonitoringSignalArchiveReason) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringSignalArchiveReason) Unset()
- type NullableSecurityMonitoringSignalState
- func (v NullableSecurityMonitoringSignalState) Get() *SecurityMonitoringSignalState
- func (v NullableSecurityMonitoringSignalState) IsSet() bool
- func (v NullableSecurityMonitoringSignalState) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringSignalState) Set(val *SecurityMonitoringSignalState)
- func (v *NullableSecurityMonitoringSignalState) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringSignalState) Unset()
- type NullableSecurityMonitoringSignalType
- func (v NullableSecurityMonitoringSignalType) Get() *SecurityMonitoringSignalType
- func (v NullableSecurityMonitoringSignalType) IsSet() bool
- func (v NullableSecurityMonitoringSignalType) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringSignalType) Set(val *SecurityMonitoringSignalType)
- func (v *NullableSecurityMonitoringSignalType) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringSignalType) Unset()
- type NullableSecurityMonitoringSignalsSort
- func (v NullableSecurityMonitoringSignalsSort) Get() *SecurityMonitoringSignalsSort
- func (v NullableSecurityMonitoringSignalsSort) IsSet() bool
- func (v NullableSecurityMonitoringSignalsSort) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityMonitoringSignalsSort) Set(val *SecurityMonitoringSignalsSort)
- func (v *NullableSecurityMonitoringSignalsSort) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityMonitoringSignalsSort) Unset()
- type NullableString
- type NullableTime
- type NullableUsageTimeSeriesType
- func (v NullableUsageTimeSeriesType) Get() *UsageTimeSeriesType
- func (v NullableUsageTimeSeriesType) IsSet() bool
- func (v NullableUsageTimeSeriesType) MarshalJSON() ([]byte, error)
- func (v *NullableUsageTimeSeriesType) Set(val *UsageTimeSeriesType)
- func (v *NullableUsageTimeSeriesType) UnmarshalJSON(src []byte) error
- func (v *NullableUsageTimeSeriesType) Unset()
- type NullableUserInvitationsType
- func (v NullableUserInvitationsType) Get() *UserInvitationsType
- func (v NullableUserInvitationsType) IsSet() bool
- func (v NullableUserInvitationsType) MarshalJSON() ([]byte, error)
- func (v *NullableUserInvitationsType) Set(val *UserInvitationsType)
- func (v *NullableUserInvitationsType) UnmarshalJSON(src []byte) error
- func (v *NullableUserInvitationsType) Unset()
- type NullableUserResponseIncludedItem
- func (v NullableUserResponseIncludedItem) Get() *UserResponseIncludedItem
- func (v NullableUserResponseIncludedItem) IsSet() bool
- func (v NullableUserResponseIncludedItem) MarshalJSON() ([]byte, error)
- func (v *NullableUserResponseIncludedItem) Set(val *UserResponseIncludedItem)
- func (v *NullableUserResponseIncludedItem) UnmarshalJSON(src []byte) error
- func (v *NullableUserResponseIncludedItem) Unset()
- type NullableUsersType
- type OpsgenieIntegrationApiService
- func (a *OpsgenieIntegrationApiService) CreateOpsgenieService(ctx _context.Context, body OpsgenieServiceCreateRequest) (OpsgenieServiceResponse, *_nethttp.Response, error)
- func (a *OpsgenieIntegrationApiService) DeleteOpsgenieService(ctx _context.Context, integrationServiceId string) (*_nethttp.Response, error)
- func (a *OpsgenieIntegrationApiService) GetOpsgenieService(ctx _context.Context, integrationServiceId string) (OpsgenieServiceResponse, *_nethttp.Response, error)
- func (a *OpsgenieIntegrationApiService) ListOpsgenieServices(ctx _context.Context) (OpsgenieServicesResponse, *_nethttp.Response, error)
- func (a *OpsgenieIntegrationApiService) UpdateOpsgenieService(ctx _context.Context, integrationServiceId string, ...) (OpsgenieServiceResponse, *_nethttp.Response, error)
- type OpsgenieServiceCreateAttributes
- func (o *OpsgenieServiceCreateAttributes) GetCustomUrl() string
- func (o *OpsgenieServiceCreateAttributes) GetCustomUrlOk() (*string, bool)
- func (o *OpsgenieServiceCreateAttributes) GetName() string
- func (o *OpsgenieServiceCreateAttributes) GetNameOk() (*string, bool)
- func (o *OpsgenieServiceCreateAttributes) GetOpsgenieApiKey() string
- func (o *OpsgenieServiceCreateAttributes) GetOpsgenieApiKeyOk() (*string, bool)
- func (o *OpsgenieServiceCreateAttributes) GetRegion() OpsgenieServiceRegionType
- func (o *OpsgenieServiceCreateAttributes) GetRegionOk() (*OpsgenieServiceRegionType, bool)
- func (o *OpsgenieServiceCreateAttributes) HasCustomUrl() bool
- func (o OpsgenieServiceCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *OpsgenieServiceCreateAttributes) SetCustomUrl(v string)
- func (o *OpsgenieServiceCreateAttributes) SetName(v string)
- func (o *OpsgenieServiceCreateAttributes) SetOpsgenieApiKey(v string)
- func (o *OpsgenieServiceCreateAttributes) SetRegion(v OpsgenieServiceRegionType)
- func (o *OpsgenieServiceCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type OpsgenieServiceCreateData
- func (o *OpsgenieServiceCreateData) GetAttributes() OpsgenieServiceCreateAttributes
- func (o *OpsgenieServiceCreateData) GetAttributesOk() (*OpsgenieServiceCreateAttributes, bool)
- func (o *OpsgenieServiceCreateData) GetType() OpsgenieServiceType
- func (o *OpsgenieServiceCreateData) GetTypeOk() (*OpsgenieServiceType, bool)
- func (o OpsgenieServiceCreateData) MarshalJSON() ([]byte, error)
- func (o *OpsgenieServiceCreateData) SetAttributes(v OpsgenieServiceCreateAttributes)
- func (o *OpsgenieServiceCreateData) SetType(v OpsgenieServiceType)
- func (o *OpsgenieServiceCreateData) UnmarshalJSON(bytes []byte) (err error)
- type OpsgenieServiceCreateRequest
- func (o *OpsgenieServiceCreateRequest) GetData() OpsgenieServiceCreateData
- func (o *OpsgenieServiceCreateRequest) GetDataOk() (*OpsgenieServiceCreateData, bool)
- func (o OpsgenieServiceCreateRequest) MarshalJSON() ([]byte, error)
- func (o *OpsgenieServiceCreateRequest) SetData(v OpsgenieServiceCreateData)
- func (o *OpsgenieServiceCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type OpsgenieServiceRegionType
- type OpsgenieServiceResponse
- func (o *OpsgenieServiceResponse) GetData() OpsgenieServiceResponseData
- func (o *OpsgenieServiceResponse) GetDataOk() (*OpsgenieServiceResponseData, bool)
- func (o OpsgenieServiceResponse) MarshalJSON() ([]byte, error)
- func (o *OpsgenieServiceResponse) SetData(v OpsgenieServiceResponseData)
- func (o *OpsgenieServiceResponse) UnmarshalJSON(bytes []byte) (err error)
- type OpsgenieServiceResponseAttributes
- func (o *OpsgenieServiceResponseAttributes) GetCustomUrl() string
- func (o *OpsgenieServiceResponseAttributes) GetCustomUrlOk() (*string, bool)
- func (o *OpsgenieServiceResponseAttributes) GetName() string
- func (o *OpsgenieServiceResponseAttributes) GetNameOk() (*string, bool)
- func (o *OpsgenieServiceResponseAttributes) GetRegion() OpsgenieServiceRegionType
- func (o *OpsgenieServiceResponseAttributes) GetRegionOk() (*OpsgenieServiceRegionType, bool)
- func (o *OpsgenieServiceResponseAttributes) HasCustomUrl() bool
- func (o *OpsgenieServiceResponseAttributes) HasName() bool
- func (o *OpsgenieServiceResponseAttributes) HasRegion() bool
- func (o OpsgenieServiceResponseAttributes) MarshalJSON() ([]byte, error)
- func (o *OpsgenieServiceResponseAttributes) SetCustomUrl(v string)
- func (o *OpsgenieServiceResponseAttributes) SetCustomUrlNil()
- func (o *OpsgenieServiceResponseAttributes) SetName(v string)
- func (o *OpsgenieServiceResponseAttributes) SetRegion(v OpsgenieServiceRegionType)
- func (o *OpsgenieServiceResponseAttributes) UnmarshalJSON(bytes []byte) (err error)
- func (o *OpsgenieServiceResponseAttributes) UnsetCustomUrl()
- type OpsgenieServiceResponseData
- func (o *OpsgenieServiceResponseData) GetAttributes() OpsgenieServiceResponseAttributes
- func (o *OpsgenieServiceResponseData) GetAttributesOk() (*OpsgenieServiceResponseAttributes, bool)
- func (o *OpsgenieServiceResponseData) GetId() string
- func (o *OpsgenieServiceResponseData) GetIdOk() (*string, bool)
- func (o *OpsgenieServiceResponseData) GetType() OpsgenieServiceType
- func (o *OpsgenieServiceResponseData) GetTypeOk() (*OpsgenieServiceType, bool)
- func (o OpsgenieServiceResponseData) MarshalJSON() ([]byte, error)
- func (o *OpsgenieServiceResponseData) SetAttributes(v OpsgenieServiceResponseAttributes)
- func (o *OpsgenieServiceResponseData) SetId(v string)
- func (o *OpsgenieServiceResponseData) SetType(v OpsgenieServiceType)
- func (o *OpsgenieServiceResponseData) UnmarshalJSON(bytes []byte) (err error)
- type OpsgenieServiceType
- type OpsgenieServiceUpdateAttributes
- func (o *OpsgenieServiceUpdateAttributes) GetCustomUrl() string
- func (o *OpsgenieServiceUpdateAttributes) GetCustomUrlOk() (*string, bool)
- func (o *OpsgenieServiceUpdateAttributes) GetName() string
- func (o *OpsgenieServiceUpdateAttributes) GetNameOk() (*string, bool)
- func (o *OpsgenieServiceUpdateAttributes) GetOpsgenieApiKey() string
- func (o *OpsgenieServiceUpdateAttributes) GetOpsgenieApiKeyOk() (*string, bool)
- func (o *OpsgenieServiceUpdateAttributes) GetRegion() OpsgenieServiceRegionType
- func (o *OpsgenieServiceUpdateAttributes) GetRegionOk() (*OpsgenieServiceRegionType, bool)
- func (o *OpsgenieServiceUpdateAttributes) HasCustomUrl() bool
- func (o *OpsgenieServiceUpdateAttributes) HasName() bool
- func (o *OpsgenieServiceUpdateAttributes) HasOpsgenieApiKey() bool
- func (o *OpsgenieServiceUpdateAttributes) HasRegion() bool
- func (o OpsgenieServiceUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *OpsgenieServiceUpdateAttributes) SetCustomUrl(v string)
- func (o *OpsgenieServiceUpdateAttributes) SetCustomUrlNil()
- func (o *OpsgenieServiceUpdateAttributes) SetName(v string)
- func (o *OpsgenieServiceUpdateAttributes) SetOpsgenieApiKey(v string)
- func (o *OpsgenieServiceUpdateAttributes) SetRegion(v OpsgenieServiceRegionType)
- func (o *OpsgenieServiceUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- func (o *OpsgenieServiceUpdateAttributes) UnsetCustomUrl()
- type OpsgenieServiceUpdateData
- func (o *OpsgenieServiceUpdateData) GetAttributes() OpsgenieServiceUpdateAttributes
- func (o *OpsgenieServiceUpdateData) GetAttributesOk() (*OpsgenieServiceUpdateAttributes, bool)
- func (o *OpsgenieServiceUpdateData) GetId() string
- func (o *OpsgenieServiceUpdateData) GetIdOk() (*string, bool)
- func (o *OpsgenieServiceUpdateData) GetType() OpsgenieServiceType
- func (o *OpsgenieServiceUpdateData) GetTypeOk() (*OpsgenieServiceType, bool)
- func (o OpsgenieServiceUpdateData) MarshalJSON() ([]byte, error)
- func (o *OpsgenieServiceUpdateData) SetAttributes(v OpsgenieServiceUpdateAttributes)
- func (o *OpsgenieServiceUpdateData) SetId(v string)
- func (o *OpsgenieServiceUpdateData) SetType(v OpsgenieServiceType)
- func (o *OpsgenieServiceUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type OpsgenieServiceUpdateRequest
- func (o *OpsgenieServiceUpdateRequest) GetData() OpsgenieServiceUpdateData
- func (o *OpsgenieServiceUpdateRequest) GetDataOk() (*OpsgenieServiceUpdateData, bool)
- func (o OpsgenieServiceUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *OpsgenieServiceUpdateRequest) SetData(v OpsgenieServiceUpdateData)
- func (o *OpsgenieServiceUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type OpsgenieServicesResponse
- func (o *OpsgenieServicesResponse) GetData() []OpsgenieServiceResponseData
- func (o *OpsgenieServicesResponse) GetDataOk() (*[]OpsgenieServiceResponseData, bool)
- func (o OpsgenieServicesResponse) MarshalJSON() ([]byte, error)
- func (o *OpsgenieServicesResponse) SetData(v []OpsgenieServiceResponseData)
- func (o *OpsgenieServicesResponse) UnmarshalJSON(bytes []byte) (err error)
- type Organization
- func (o *Organization) GetAttributes() OrganizationAttributes
- func (o *Organization) GetAttributesOk() (*OrganizationAttributes, bool)
- func (o *Organization) GetId() string
- func (o *Organization) GetIdOk() (*string, bool)
- func (o *Organization) GetType() OrganizationsType
- func (o *Organization) GetTypeOk() (*OrganizationsType, bool)
- func (o *Organization) HasAttributes() bool
- func (o *Organization) HasId() bool
- func (o Organization) MarshalJSON() ([]byte, error)
- func (o *Organization) SetAttributes(v OrganizationAttributes)
- func (o *Organization) SetId(v string)
- func (o *Organization) SetType(v OrganizationsType)
- func (o *Organization) UnmarshalJSON(bytes []byte) (err error)
- type OrganizationAttributes
- func (o *OrganizationAttributes) GetCreatedAt() time.Time
- func (o *OrganizationAttributes) GetCreatedAtOk() (*time.Time, bool)
- func (o *OrganizationAttributes) GetDescription() string
- func (o *OrganizationAttributes) GetDescriptionOk() (*string, bool)
- func (o *OrganizationAttributes) GetDisabled() bool
- func (o *OrganizationAttributes) GetDisabledOk() (*bool, bool)
- func (o *OrganizationAttributes) GetModifiedAt() time.Time
- func (o *OrganizationAttributes) GetModifiedAtOk() (*time.Time, bool)
- func (o *OrganizationAttributes) GetName() string
- func (o *OrganizationAttributes) GetNameOk() (*string, bool)
- func (o *OrganizationAttributes) GetPublicId() string
- func (o *OrganizationAttributes) GetPublicIdOk() (*string, bool)
- func (o *OrganizationAttributes) GetSharing() string
- func (o *OrganizationAttributes) GetSharingOk() (*string, bool)
- func (o *OrganizationAttributes) GetUrl() string
- func (o *OrganizationAttributes) GetUrlOk() (*string, bool)
- func (o *OrganizationAttributes) HasCreatedAt() bool
- func (o *OrganizationAttributes) HasDescription() bool
- func (o *OrganizationAttributes) HasDisabled() bool
- func (o *OrganizationAttributes) HasModifiedAt() bool
- func (o *OrganizationAttributes) HasName() bool
- func (o *OrganizationAttributes) HasPublicId() bool
- func (o *OrganizationAttributes) HasSharing() bool
- func (o *OrganizationAttributes) HasUrl() bool
- func (o OrganizationAttributes) MarshalJSON() ([]byte, error)
- func (o *OrganizationAttributes) SetCreatedAt(v time.Time)
- func (o *OrganizationAttributes) SetDescription(v string)
- func (o *OrganizationAttributes) SetDisabled(v bool)
- func (o *OrganizationAttributes) SetModifiedAt(v time.Time)
- func (o *OrganizationAttributes) SetName(v string)
- func (o *OrganizationAttributes) SetPublicId(v string)
- func (o *OrganizationAttributes) SetSharing(v string)
- func (o *OrganizationAttributes) SetUrl(v string)
- func (o *OrganizationAttributes) UnmarshalJSON(bytes []byte) (err error)
- type OrganizationsApiService
- type OrganizationsType
- type Pagination
- func (o *Pagination) GetTotalCount() int64
- func (o *Pagination) GetTotalCountOk() (*int64, bool)
- func (o *Pagination) GetTotalFilteredCount() int64
- func (o *Pagination) GetTotalFilteredCountOk() (*int64, bool)
- func (o *Pagination) HasTotalCount() bool
- func (o *Pagination) HasTotalFilteredCount() bool
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetTotalCount(v int64)
- func (o *Pagination) SetTotalFilteredCount(v int64)
- func (o *Pagination) UnmarshalJSON(bytes []byte) (err error)
- type PartialAPIKey
- func (o *PartialAPIKey) GetAttributes() PartialAPIKeyAttributes
- func (o *PartialAPIKey) GetAttributesOk() (*PartialAPIKeyAttributes, bool)
- func (o *PartialAPIKey) GetId() string
- func (o *PartialAPIKey) GetIdOk() (*string, bool)
- func (o *PartialAPIKey) GetRelationships() APIKeyRelationships
- func (o *PartialAPIKey) GetRelationshipsOk() (*APIKeyRelationships, bool)
- func (o *PartialAPIKey) GetType() APIKeysType
- func (o *PartialAPIKey) GetTypeOk() (*APIKeysType, bool)
- func (o *PartialAPIKey) HasAttributes() bool
- func (o *PartialAPIKey) HasId() bool
- func (o *PartialAPIKey) HasRelationships() bool
- func (o *PartialAPIKey) HasType() bool
- func (o PartialAPIKey) MarshalJSON() ([]byte, error)
- func (o *PartialAPIKey) SetAttributes(v PartialAPIKeyAttributes)
- func (o *PartialAPIKey) SetId(v string)
- func (o *PartialAPIKey) SetRelationships(v APIKeyRelationships)
- func (o *PartialAPIKey) SetType(v APIKeysType)
- func (o *PartialAPIKey) UnmarshalJSON(bytes []byte) (err error)
- type PartialAPIKeyAttributes
- func (o *PartialAPIKeyAttributes) GetCreatedAt() string
- func (o *PartialAPIKeyAttributes) GetCreatedAtOk() (*string, bool)
- func (o *PartialAPIKeyAttributes) GetLast4() string
- func (o *PartialAPIKeyAttributes) GetLast4Ok() (*string, bool)
- func (o *PartialAPIKeyAttributes) GetModifiedAt() string
- func (o *PartialAPIKeyAttributes) GetModifiedAtOk() (*string, bool)
- func (o *PartialAPIKeyAttributes) GetName() string
- func (o *PartialAPIKeyAttributes) GetNameOk() (*string, bool)
- func (o *PartialAPIKeyAttributes) HasCreatedAt() bool
- func (o *PartialAPIKeyAttributes) HasLast4() bool
- func (o *PartialAPIKeyAttributes) HasModifiedAt() bool
- func (o *PartialAPIKeyAttributes) HasName() bool
- func (o PartialAPIKeyAttributes) MarshalJSON() ([]byte, error)
- func (o *PartialAPIKeyAttributes) SetCreatedAt(v string)
- func (o *PartialAPIKeyAttributes) SetLast4(v string)
- func (o *PartialAPIKeyAttributes) SetModifiedAt(v string)
- func (o *PartialAPIKeyAttributes) SetName(v string)
- func (o *PartialAPIKeyAttributes) UnmarshalJSON(bytes []byte) (err error)
- type PartialApplicationKey
- func (o *PartialApplicationKey) GetAttributes() PartialApplicationKeyAttributes
- func (o *PartialApplicationKey) GetAttributesOk() (*PartialApplicationKeyAttributes, bool)
- func (o *PartialApplicationKey) GetId() string
- func (o *PartialApplicationKey) GetIdOk() (*string, bool)
- func (o *PartialApplicationKey) GetRelationships() ApplicationKeyRelationships
- func (o *PartialApplicationKey) GetRelationshipsOk() (*ApplicationKeyRelationships, bool)
- func (o *PartialApplicationKey) GetType() ApplicationKeysType
- func (o *PartialApplicationKey) GetTypeOk() (*ApplicationKeysType, bool)
- func (o *PartialApplicationKey) HasAttributes() bool
- func (o *PartialApplicationKey) HasId() bool
- func (o *PartialApplicationKey) HasRelationships() bool
- func (o *PartialApplicationKey) HasType() bool
- func (o PartialApplicationKey) MarshalJSON() ([]byte, error)
- func (o *PartialApplicationKey) SetAttributes(v PartialApplicationKeyAttributes)
- func (o *PartialApplicationKey) SetId(v string)
- func (o *PartialApplicationKey) SetRelationships(v ApplicationKeyRelationships)
- func (o *PartialApplicationKey) SetType(v ApplicationKeysType)
- func (o *PartialApplicationKey) UnmarshalJSON(bytes []byte) (err error)
- type PartialApplicationKeyAttributes
- func (o *PartialApplicationKeyAttributes) GetCreatedAt() string
- func (o *PartialApplicationKeyAttributes) GetCreatedAtOk() (*string, bool)
- func (o *PartialApplicationKeyAttributes) GetLast4() string
- func (o *PartialApplicationKeyAttributes) GetLast4Ok() (*string, bool)
- func (o *PartialApplicationKeyAttributes) GetName() string
- func (o *PartialApplicationKeyAttributes) GetNameOk() (*string, bool)
- func (o *PartialApplicationKeyAttributes) GetScopes() []string
- func (o *PartialApplicationKeyAttributes) GetScopesOk() (*[]string, bool)
- func (o *PartialApplicationKeyAttributes) HasCreatedAt() bool
- func (o *PartialApplicationKeyAttributes) HasLast4() bool
- func (o *PartialApplicationKeyAttributes) HasName() bool
- func (o *PartialApplicationKeyAttributes) HasScopes() bool
- func (o PartialApplicationKeyAttributes) MarshalJSON() ([]byte, error)
- func (o *PartialApplicationKeyAttributes) SetCreatedAt(v string)
- func (o *PartialApplicationKeyAttributes) SetLast4(v string)
- func (o *PartialApplicationKeyAttributes) SetName(v string)
- func (o *PartialApplicationKeyAttributes) SetScopes(v []string)
- func (o *PartialApplicationKeyAttributes) UnmarshalJSON(bytes []byte) (err error)
- type PartialApplicationKeyResponse
- func (o *PartialApplicationKeyResponse) GetData() PartialApplicationKey
- func (o *PartialApplicationKeyResponse) GetDataOk() (*PartialApplicationKey, bool)
- func (o *PartialApplicationKeyResponse) GetIncluded() []ApplicationKeyResponseIncludedItem
- func (o *PartialApplicationKeyResponse) GetIncludedOk() (*[]ApplicationKeyResponseIncludedItem, bool)
- func (o *PartialApplicationKeyResponse) HasData() bool
- func (o *PartialApplicationKeyResponse) HasIncluded() bool
- func (o PartialApplicationKeyResponse) MarshalJSON() ([]byte, error)
- func (o *PartialApplicationKeyResponse) SetData(v PartialApplicationKey)
- func (o *PartialApplicationKeyResponse) SetIncluded(v []ApplicationKeyResponseIncludedItem)
- func (o *PartialApplicationKeyResponse) UnmarshalJSON(bytes []byte) (err error)
- type Permission
- func (o *Permission) GetAttributes() PermissionAttributes
- func (o *Permission) GetAttributesOk() (*PermissionAttributes, bool)
- func (o *Permission) GetId() string
- func (o *Permission) GetIdOk() (*string, bool)
- func (o *Permission) GetType() PermissionsType
- func (o *Permission) GetTypeOk() (*PermissionsType, bool)
- func (o *Permission) HasAttributes() bool
- func (o *Permission) HasId() bool
- func (o Permission) MarshalJSON() ([]byte, error)
- func (o *Permission) SetAttributes(v PermissionAttributes)
- func (o *Permission) SetId(v string)
- func (o *Permission) SetType(v PermissionsType)
- func (o *Permission) UnmarshalJSON(bytes []byte) (err error)
- type PermissionAttributes
- func (o *PermissionAttributes) GetCreated() time.Time
- func (o *PermissionAttributes) GetCreatedOk() (*time.Time, bool)
- func (o *PermissionAttributes) GetDescription() string
- func (o *PermissionAttributes) GetDescriptionOk() (*string, bool)
- func (o *PermissionAttributes) GetDisplayName() string
- func (o *PermissionAttributes) GetDisplayNameOk() (*string, bool)
- func (o *PermissionAttributes) GetDisplayType() string
- func (o *PermissionAttributes) GetDisplayTypeOk() (*string, bool)
- func (o *PermissionAttributes) GetGroupName() string
- func (o *PermissionAttributes) GetGroupNameOk() (*string, bool)
- func (o *PermissionAttributes) GetName() string
- func (o *PermissionAttributes) GetNameOk() (*string, bool)
- func (o *PermissionAttributes) GetRestricted() bool
- func (o *PermissionAttributes) GetRestrictedOk() (*bool, bool)
- func (o *PermissionAttributes) HasCreated() bool
- func (o *PermissionAttributes) HasDescription() bool
- func (o *PermissionAttributes) HasDisplayName() bool
- func (o *PermissionAttributes) HasDisplayType() bool
- func (o *PermissionAttributes) HasGroupName() bool
- func (o *PermissionAttributes) HasName() bool
- func (o *PermissionAttributes) HasRestricted() bool
- func (o PermissionAttributes) MarshalJSON() ([]byte, error)
- func (o *PermissionAttributes) SetCreated(v time.Time)
- func (o *PermissionAttributes) SetDescription(v string)
- func (o *PermissionAttributes) SetDisplayName(v string)
- func (o *PermissionAttributes) SetDisplayType(v string)
- func (o *PermissionAttributes) SetGroupName(v string)
- func (o *PermissionAttributes) SetName(v string)
- func (o *PermissionAttributes) SetRestricted(v bool)
- func (o *PermissionAttributes) UnmarshalJSON(bytes []byte) (err error)
- type PermissionsResponse
- func (o *PermissionsResponse) GetData() []Permission
- func (o *PermissionsResponse) GetDataOk() (*[]Permission, bool)
- func (o *PermissionsResponse) HasData() bool
- func (o PermissionsResponse) MarshalJSON() ([]byte, error)
- func (o *PermissionsResponse) SetData(v []Permission)
- func (o *PermissionsResponse) UnmarshalJSON(bytes []byte) (err error)
- type PermissionsType
- type ProcessSummariesMeta
- func (o *ProcessSummariesMeta) GetPage() ProcessSummariesMetaPage
- func (o *ProcessSummariesMeta) GetPageOk() (*ProcessSummariesMetaPage, bool)
- func (o *ProcessSummariesMeta) HasPage() bool
- func (o ProcessSummariesMeta) MarshalJSON() ([]byte, error)
- func (o *ProcessSummariesMeta) SetPage(v ProcessSummariesMetaPage)
- func (o *ProcessSummariesMeta) UnmarshalJSON(bytes []byte) (err error)
- type ProcessSummariesMetaPage
- func (o *ProcessSummariesMetaPage) GetAfter() string
- func (o *ProcessSummariesMetaPage) GetAfterOk() (*string, bool)
- func (o *ProcessSummariesMetaPage) GetSize() int32
- func (o *ProcessSummariesMetaPage) GetSizeOk() (*int32, bool)
- func (o *ProcessSummariesMetaPage) HasAfter() bool
- func (o *ProcessSummariesMetaPage) HasSize() bool
- func (o ProcessSummariesMetaPage) MarshalJSON() ([]byte, error)
- func (o *ProcessSummariesMetaPage) SetAfter(v string)
- func (o *ProcessSummariesMetaPage) SetSize(v int32)
- func (o *ProcessSummariesMetaPage) UnmarshalJSON(bytes []byte) (err error)
- type ProcessSummariesResponse
- func (o *ProcessSummariesResponse) GetData() []ProcessSummary
- func (o *ProcessSummariesResponse) GetDataOk() (*[]ProcessSummary, bool)
- func (o *ProcessSummariesResponse) GetMeta() ProcessSummariesMeta
- func (o *ProcessSummariesResponse) GetMetaOk() (*ProcessSummariesMeta, bool)
- func (o *ProcessSummariesResponse) HasData() bool
- func (o *ProcessSummariesResponse) HasMeta() bool
- func (o ProcessSummariesResponse) MarshalJSON() ([]byte, error)
- func (o *ProcessSummariesResponse) SetData(v []ProcessSummary)
- func (o *ProcessSummariesResponse) SetMeta(v ProcessSummariesMeta)
- func (o *ProcessSummariesResponse) UnmarshalJSON(bytes []byte) (err error)
- type ProcessSummary
- func (o *ProcessSummary) GetAttributes() ProcessSummaryAttributes
- func (o *ProcessSummary) GetAttributesOk() (*ProcessSummaryAttributes, bool)
- func (o *ProcessSummary) GetId() string
- func (o *ProcessSummary) GetIdOk() (*string, bool)
- func (o *ProcessSummary) GetType() ProcessSummaryType
- func (o *ProcessSummary) GetTypeOk() (*ProcessSummaryType, bool)
- func (o *ProcessSummary) HasAttributes() bool
- func (o *ProcessSummary) HasId() bool
- func (o *ProcessSummary) HasType() bool
- func (o ProcessSummary) MarshalJSON() ([]byte, error)
- func (o *ProcessSummary) SetAttributes(v ProcessSummaryAttributes)
- func (o *ProcessSummary) SetId(v string)
- func (o *ProcessSummary) SetType(v ProcessSummaryType)
- func (o *ProcessSummary) UnmarshalJSON(bytes []byte) (err error)
- type ProcessSummaryAttributes
- func (o *ProcessSummaryAttributes) GetCmdline() string
- func (o *ProcessSummaryAttributes) GetCmdlineOk() (*string, bool)
- func (o *ProcessSummaryAttributes) GetHost() string
- func (o *ProcessSummaryAttributes) GetHostOk() (*string, bool)
- func (o *ProcessSummaryAttributes) GetPid() int64
- func (o *ProcessSummaryAttributes) GetPidOk() (*int64, bool)
- func (o *ProcessSummaryAttributes) GetPpid() int64
- func (o *ProcessSummaryAttributes) GetPpidOk() (*int64, bool)
- func (o *ProcessSummaryAttributes) GetStart() string
- func (o *ProcessSummaryAttributes) GetStartOk() (*string, bool)
- func (o *ProcessSummaryAttributes) GetTags() []string
- func (o *ProcessSummaryAttributes) GetTagsOk() (*[]string, bool)
- func (o *ProcessSummaryAttributes) GetTimestamp() string
- func (o *ProcessSummaryAttributes) GetTimestampOk() (*string, bool)
- func (o *ProcessSummaryAttributes) GetUser() string
- func (o *ProcessSummaryAttributes) GetUserOk() (*string, bool)
- func (o *ProcessSummaryAttributes) HasCmdline() bool
- func (o *ProcessSummaryAttributes) HasHost() bool
- func (o *ProcessSummaryAttributes) HasPid() bool
- func (o *ProcessSummaryAttributes) HasPpid() bool
- func (o *ProcessSummaryAttributes) HasStart() bool
- func (o *ProcessSummaryAttributes) HasTags() bool
- func (o *ProcessSummaryAttributes) HasTimestamp() bool
- func (o *ProcessSummaryAttributes) HasUser() bool
- func (o ProcessSummaryAttributes) MarshalJSON() ([]byte, error)
- func (o *ProcessSummaryAttributes) SetCmdline(v string)
- func (o *ProcessSummaryAttributes) SetHost(v string)
- func (o *ProcessSummaryAttributes) SetPid(v int64)
- func (o *ProcessSummaryAttributes) SetPpid(v int64)
- func (o *ProcessSummaryAttributes) SetStart(v string)
- func (o *ProcessSummaryAttributes) SetTags(v []string)
- func (o *ProcessSummaryAttributes) SetTimestamp(v string)
- func (o *ProcessSummaryAttributes) SetUser(v string)
- func (o *ProcessSummaryAttributes) UnmarshalJSON(bytes []byte) (err error)
- type ProcessSummaryType
- type ProcessesApiService
- func (a *ProcessesApiService) ListProcesses(ctx _context.Context, o ...ListProcessesOptionalParameters) (ProcessSummariesResponse, *_nethttp.Response, error)
- func (a *ProcessesApiService) ListProcessesWithPagination(ctx _context.Context, o ...ListProcessesOptionalParameters) (<-chan ProcessSummary, func(), error)
- type QuerySortOrder
- type RUMAggregateBucketValue
- func RUMAggregateBucketValueSingleNumberAsRUMAggregateBucketValue(v *float64) RUMAggregateBucketValue
- func RUMAggregateBucketValueSingleStringAsRUMAggregateBucketValue(v *string) RUMAggregateBucketValue
- func RUMAggregateBucketValueTimeseriesAsRUMAggregateBucketValue(v *RUMAggregateBucketValueTimeseries) RUMAggregateBucketValue
- type RUMAggregateBucketValueTimeseries
- type RUMAggregateBucketValueTimeseriesPoint
- func (o *RUMAggregateBucketValueTimeseriesPoint) GetTime() time.Time
- func (o *RUMAggregateBucketValueTimeseriesPoint) GetTimeOk() (*time.Time, bool)
- func (o *RUMAggregateBucketValueTimeseriesPoint) GetValue() float64
- func (o *RUMAggregateBucketValueTimeseriesPoint) GetValueOk() (*float64, bool)
- func (o *RUMAggregateBucketValueTimeseriesPoint) HasTime() bool
- func (o *RUMAggregateBucketValueTimeseriesPoint) HasValue() bool
- func (o RUMAggregateBucketValueTimeseriesPoint) MarshalJSON() ([]byte, error)
- func (o *RUMAggregateBucketValueTimeseriesPoint) SetTime(v time.Time)
- func (o *RUMAggregateBucketValueTimeseriesPoint) SetValue(v float64)
- func (o *RUMAggregateBucketValueTimeseriesPoint) UnmarshalJSON(bytes []byte) (err error)
- type RUMAggregateRequest
- func (o *RUMAggregateRequest) GetCompute() []RUMCompute
- func (o *RUMAggregateRequest) GetComputeOk() (*[]RUMCompute, bool)
- func (o *RUMAggregateRequest) GetFilter() RUMQueryFilter
- func (o *RUMAggregateRequest) GetFilterOk() (*RUMQueryFilter, bool)
- func (o *RUMAggregateRequest) GetGroupBy() []RUMGroupBy
- func (o *RUMAggregateRequest) GetGroupByOk() (*[]RUMGroupBy, bool)
- func (o *RUMAggregateRequest) GetOptions() RUMQueryOptions
- func (o *RUMAggregateRequest) GetOptionsOk() (*RUMQueryOptions, bool)
- func (o *RUMAggregateRequest) GetPage() RUMQueryPageOptions
- func (o *RUMAggregateRequest) GetPageOk() (*RUMQueryPageOptions, bool)
- func (o *RUMAggregateRequest) HasCompute() bool
- func (o *RUMAggregateRequest) HasFilter() bool
- func (o *RUMAggregateRequest) HasGroupBy() bool
- func (o *RUMAggregateRequest) HasOptions() bool
- func (o *RUMAggregateRequest) HasPage() bool
- func (o RUMAggregateRequest) MarshalJSON() ([]byte, error)
- func (o *RUMAggregateRequest) SetCompute(v []RUMCompute)
- func (o *RUMAggregateRequest) SetFilter(v RUMQueryFilter)
- func (o *RUMAggregateRequest) SetGroupBy(v []RUMGroupBy)
- func (o *RUMAggregateRequest) SetOptions(v RUMQueryOptions)
- func (o *RUMAggregateRequest) SetPage(v RUMQueryPageOptions)
- func (o *RUMAggregateRequest) UnmarshalJSON(bytes []byte) (err error)
- type RUMAggregateSort
- func (o *RUMAggregateSort) GetAggregation() RUMAggregationFunction
- func (o *RUMAggregateSort) GetAggregationOk() (*RUMAggregationFunction, bool)
- func (o *RUMAggregateSort) GetMetric() string
- func (o *RUMAggregateSort) GetMetricOk() (*string, bool)
- func (o *RUMAggregateSort) GetOrder() RUMSortOrder
- func (o *RUMAggregateSort) GetOrderOk() (*RUMSortOrder, bool)
- func (o *RUMAggregateSort) GetType() RUMAggregateSortType
- func (o *RUMAggregateSort) GetTypeOk() (*RUMAggregateSortType, bool)
- func (o *RUMAggregateSort) HasAggregation() bool
- func (o *RUMAggregateSort) HasMetric() bool
- func (o *RUMAggregateSort) HasOrder() bool
- func (o *RUMAggregateSort) HasType() bool
- func (o RUMAggregateSort) MarshalJSON() ([]byte, error)
- func (o *RUMAggregateSort) SetAggregation(v RUMAggregationFunction)
- func (o *RUMAggregateSort) SetMetric(v string)
- func (o *RUMAggregateSort) SetOrder(v RUMSortOrder)
- func (o *RUMAggregateSort) SetType(v RUMAggregateSortType)
- func (o *RUMAggregateSort) UnmarshalJSON(bytes []byte) (err error)
- type RUMAggregateSortType
- type RUMAggregationBucketsResponse
- func (o *RUMAggregationBucketsResponse) GetBuckets() []RUMBucketResponse
- func (o *RUMAggregationBucketsResponse) GetBucketsOk() (*[]RUMBucketResponse, bool)
- func (o *RUMAggregationBucketsResponse) HasBuckets() bool
- func (o RUMAggregationBucketsResponse) MarshalJSON() ([]byte, error)
- func (o *RUMAggregationBucketsResponse) SetBuckets(v []RUMBucketResponse)
- func (o *RUMAggregationBucketsResponse) UnmarshalJSON(bytes []byte) (err error)
- type RUMAggregationFunction
- type RUMAnalyticsAggregateResponse
- func (o *RUMAnalyticsAggregateResponse) GetData() RUMAggregationBucketsResponse
- func (o *RUMAnalyticsAggregateResponse) GetDataOk() (*RUMAggregationBucketsResponse, bool)
- func (o *RUMAnalyticsAggregateResponse) GetLinks() RUMResponseLinks
- func (o *RUMAnalyticsAggregateResponse) GetLinksOk() (*RUMResponseLinks, bool)
- func (o *RUMAnalyticsAggregateResponse) GetMeta() RUMResponseMetadata
- func (o *RUMAnalyticsAggregateResponse) GetMetaOk() (*RUMResponseMetadata, bool)
- func (o *RUMAnalyticsAggregateResponse) HasData() bool
- func (o *RUMAnalyticsAggregateResponse) HasLinks() bool
- func (o *RUMAnalyticsAggregateResponse) HasMeta() bool
- func (o RUMAnalyticsAggregateResponse) MarshalJSON() ([]byte, error)
- func (o *RUMAnalyticsAggregateResponse) SetData(v RUMAggregationBucketsResponse)
- func (o *RUMAnalyticsAggregateResponse) SetLinks(v RUMResponseLinks)
- func (o *RUMAnalyticsAggregateResponse) SetMeta(v RUMResponseMetadata)
- func (o *RUMAnalyticsAggregateResponse) UnmarshalJSON(bytes []byte) (err error)
- type RUMApiService
- func (a *RUMApiService) AggregateRUMEvents(ctx _context.Context, body RUMAggregateRequest) (RUMAnalyticsAggregateResponse, *_nethttp.Response, error)
- func (a *RUMApiService) ListRUMEvents(ctx _context.Context, o ...ListRUMEventsOptionalParameters) (RUMEventsResponse, *_nethttp.Response, error)
- func (a *RUMApiService) ListRUMEventsWithPagination(ctx _context.Context, o ...ListRUMEventsOptionalParameters) (<-chan RUMEvent, func(), error)
- func (a *RUMApiService) SearchRUMEvents(ctx _context.Context, body RUMSearchEventsRequest) (RUMEventsResponse, *_nethttp.Response, error)
- func (a *RUMApiService) SearchRUMEventsWithPagination(ctx _context.Context, body RUMSearchEventsRequest) (<-chan RUMEvent, func(), error)
- type RUMBucketResponse
- func (o *RUMBucketResponse) GetBy() map[string]string
- func (o *RUMBucketResponse) GetByOk() (*map[string]string, bool)
- func (o *RUMBucketResponse) GetComputes() map[string]RUMAggregateBucketValue
- func (o *RUMBucketResponse) GetComputesOk() (*map[string]RUMAggregateBucketValue, bool)
- func (o *RUMBucketResponse) HasBy() bool
- func (o *RUMBucketResponse) HasComputes() bool
- func (o RUMBucketResponse) MarshalJSON() ([]byte, error)
- func (o *RUMBucketResponse) SetBy(v map[string]string)
- func (o *RUMBucketResponse) SetComputes(v map[string]RUMAggregateBucketValue)
- func (o *RUMBucketResponse) UnmarshalJSON(bytes []byte) (err error)
- type RUMCompute
- func (o *RUMCompute) GetAggregation() RUMAggregationFunction
- func (o *RUMCompute) GetAggregationOk() (*RUMAggregationFunction, bool)
- func (o *RUMCompute) GetInterval() string
- func (o *RUMCompute) GetIntervalOk() (*string, bool)
- func (o *RUMCompute) GetMetric() string
- func (o *RUMCompute) GetMetricOk() (*string, bool)
- func (o *RUMCompute) GetType() RUMComputeType
- func (o *RUMCompute) GetTypeOk() (*RUMComputeType, bool)
- func (o *RUMCompute) HasInterval() bool
- func (o *RUMCompute) HasMetric() bool
- func (o *RUMCompute) HasType() bool
- func (o RUMCompute) MarshalJSON() ([]byte, error)
- func (o *RUMCompute) SetAggregation(v RUMAggregationFunction)
- func (o *RUMCompute) SetInterval(v string)
- func (o *RUMCompute) SetMetric(v string)
- func (o *RUMCompute) SetType(v RUMComputeType)
- func (o *RUMCompute) UnmarshalJSON(bytes []byte) (err error)
- type RUMComputeType
- type RUMEvent
- func (o *RUMEvent) GetAttributes() RUMEventAttributes
- func (o *RUMEvent) GetAttributesOk() (*RUMEventAttributes, bool)
- func (o *RUMEvent) GetId() string
- func (o *RUMEvent) GetIdOk() (*string, bool)
- func (o *RUMEvent) GetType() RUMEventType
- func (o *RUMEvent) GetTypeOk() (*RUMEventType, bool)
- func (o *RUMEvent) HasAttributes() bool
- func (o *RUMEvent) HasId() bool
- func (o *RUMEvent) HasType() bool
- func (o RUMEvent) MarshalJSON() ([]byte, error)
- func (o *RUMEvent) SetAttributes(v RUMEventAttributes)
- func (o *RUMEvent) SetId(v string)
- func (o *RUMEvent) SetType(v RUMEventType)
- func (o *RUMEvent) UnmarshalJSON(bytes []byte) (err error)
- type RUMEventAttributes
- func (o *RUMEventAttributes) GetAttributes() map[string]interface{}
- func (o *RUMEventAttributes) GetAttributesOk() (*map[string]interface{}, bool)
- func (o *RUMEventAttributes) GetService() string
- func (o *RUMEventAttributes) GetServiceOk() (*string, bool)
- func (o *RUMEventAttributes) GetTags() []string
- func (o *RUMEventAttributes) GetTagsOk() (*[]string, bool)
- func (o *RUMEventAttributes) GetTimestamp() time.Time
- func (o *RUMEventAttributes) GetTimestampOk() (*time.Time, bool)
- func (o *RUMEventAttributes) HasAttributes() bool
- func (o *RUMEventAttributes) HasService() bool
- func (o *RUMEventAttributes) HasTags() bool
- func (o *RUMEventAttributes) HasTimestamp() bool
- func (o RUMEventAttributes) MarshalJSON() ([]byte, error)
- func (o *RUMEventAttributes) SetAttributes(v map[string]interface{})
- func (o *RUMEventAttributes) SetService(v string)
- func (o *RUMEventAttributes) SetTags(v []string)
- func (o *RUMEventAttributes) SetTimestamp(v time.Time)
- func (o *RUMEventAttributes) UnmarshalJSON(bytes []byte) (err error)
- type RUMEventType
- type RUMEventsResponse
- func (o *RUMEventsResponse) GetData() []RUMEvent
- func (o *RUMEventsResponse) GetDataOk() (*[]RUMEvent, bool)
- func (o *RUMEventsResponse) GetLinks() RUMResponseLinks
- func (o *RUMEventsResponse) GetLinksOk() (*RUMResponseLinks, bool)
- func (o *RUMEventsResponse) GetMeta() RUMResponseMetadata
- func (o *RUMEventsResponse) GetMetaOk() (*RUMResponseMetadata, bool)
- func (o *RUMEventsResponse) HasData() bool
- func (o *RUMEventsResponse) HasLinks() bool
- func (o *RUMEventsResponse) HasMeta() bool
- func (o RUMEventsResponse) MarshalJSON() ([]byte, error)
- func (o *RUMEventsResponse) SetData(v []RUMEvent)
- func (o *RUMEventsResponse) SetLinks(v RUMResponseLinks)
- func (o *RUMEventsResponse) SetMeta(v RUMResponseMetadata)
- func (o *RUMEventsResponse) UnmarshalJSON(bytes []byte) (err error)
- type RUMGroupBy
- func (o *RUMGroupBy) GetFacet() string
- func (o *RUMGroupBy) GetFacetOk() (*string, bool)
- func (o *RUMGroupBy) GetHistogram() RUMGroupByHistogram
- func (o *RUMGroupBy) GetHistogramOk() (*RUMGroupByHistogram, bool)
- func (o *RUMGroupBy) GetLimit() int64
- func (o *RUMGroupBy) GetLimitOk() (*int64, bool)
- func (o *RUMGroupBy) GetMissing() RUMGroupByMissing
- func (o *RUMGroupBy) GetMissingOk() (*RUMGroupByMissing, bool)
- func (o *RUMGroupBy) GetSort() RUMAggregateSort
- func (o *RUMGroupBy) GetSortOk() (*RUMAggregateSort, bool)
- func (o *RUMGroupBy) GetTotal() RUMGroupByTotal
- func (o *RUMGroupBy) GetTotalOk() (*RUMGroupByTotal, bool)
- func (o *RUMGroupBy) HasHistogram() bool
- func (o *RUMGroupBy) HasLimit() bool
- func (o *RUMGroupBy) HasMissing() bool
- func (o *RUMGroupBy) HasSort() bool
- func (o *RUMGroupBy) HasTotal() bool
- func (o RUMGroupBy) MarshalJSON() ([]byte, error)
- func (o *RUMGroupBy) SetFacet(v string)
- func (o *RUMGroupBy) SetHistogram(v RUMGroupByHistogram)
- func (o *RUMGroupBy) SetLimit(v int64)
- func (o *RUMGroupBy) SetMissing(v RUMGroupByMissing)
- func (o *RUMGroupBy) SetSort(v RUMAggregateSort)
- func (o *RUMGroupBy) SetTotal(v RUMGroupByTotal)
- func (o *RUMGroupBy) UnmarshalJSON(bytes []byte) (err error)
- type RUMGroupByHistogram
- func (o *RUMGroupByHistogram) GetInterval() float64
- func (o *RUMGroupByHistogram) GetIntervalOk() (*float64, bool)
- func (o *RUMGroupByHistogram) GetMax() float64
- func (o *RUMGroupByHistogram) GetMaxOk() (*float64, bool)
- func (o *RUMGroupByHistogram) GetMin() float64
- func (o *RUMGroupByHistogram) GetMinOk() (*float64, bool)
- func (o RUMGroupByHistogram) MarshalJSON() ([]byte, error)
- func (o *RUMGroupByHistogram) SetInterval(v float64)
- func (o *RUMGroupByHistogram) SetMax(v float64)
- func (o *RUMGroupByHistogram) SetMin(v float64)
- func (o *RUMGroupByHistogram) UnmarshalJSON(bytes []byte) (err error)
- type RUMGroupByMissing
- type RUMGroupByTotal
- type RUMQueryFilter
- func (o *RUMQueryFilter) GetFrom() string
- func (o *RUMQueryFilter) GetFromOk() (*string, bool)
- func (o *RUMQueryFilter) GetQuery() string
- func (o *RUMQueryFilter) GetQueryOk() (*string, bool)
- func (o *RUMQueryFilter) GetTo() string
- func (o *RUMQueryFilter) GetToOk() (*string, bool)
- func (o *RUMQueryFilter) HasFrom() bool
- func (o *RUMQueryFilter) HasQuery() bool
- func (o *RUMQueryFilter) HasTo() bool
- func (o RUMQueryFilter) MarshalJSON() ([]byte, error)
- func (o *RUMQueryFilter) SetFrom(v string)
- func (o *RUMQueryFilter) SetQuery(v string)
- func (o *RUMQueryFilter) SetTo(v string)
- func (o *RUMQueryFilter) UnmarshalJSON(bytes []byte) (err error)
- type RUMQueryOptions
- func (o *RUMQueryOptions) GetTimeOffset() int64
- func (o *RUMQueryOptions) GetTimeOffsetOk() (*int64, bool)
- func (o *RUMQueryOptions) GetTimezone() string
- func (o *RUMQueryOptions) GetTimezoneOk() (*string, bool)
- func (o *RUMQueryOptions) HasTimeOffset() bool
- func (o *RUMQueryOptions) HasTimezone() bool
- func (o RUMQueryOptions) MarshalJSON() ([]byte, error)
- func (o *RUMQueryOptions) SetTimeOffset(v int64)
- func (o *RUMQueryOptions) SetTimezone(v string)
- func (o *RUMQueryOptions) UnmarshalJSON(bytes []byte) (err error)
- type RUMQueryPageOptions
- func (o *RUMQueryPageOptions) GetCursor() string
- func (o *RUMQueryPageOptions) GetCursorOk() (*string, bool)
- func (o *RUMQueryPageOptions) GetLimit() int32
- func (o *RUMQueryPageOptions) GetLimitOk() (*int32, bool)
- func (o *RUMQueryPageOptions) HasCursor() bool
- func (o *RUMQueryPageOptions) HasLimit() bool
- func (o RUMQueryPageOptions) MarshalJSON() ([]byte, error)
- func (o *RUMQueryPageOptions) SetCursor(v string)
- func (o *RUMQueryPageOptions) SetLimit(v int32)
- func (o *RUMQueryPageOptions) UnmarshalJSON(bytes []byte) (err error)
- type RUMResponseLinks
- func (o *RUMResponseLinks) GetNext() string
- func (o *RUMResponseLinks) GetNextOk() (*string, bool)
- func (o *RUMResponseLinks) HasNext() bool
- func (o RUMResponseLinks) MarshalJSON() ([]byte, error)
- func (o *RUMResponseLinks) SetNext(v string)
- func (o *RUMResponseLinks) UnmarshalJSON(bytes []byte) (err error)
- type RUMResponseMetadata
- func (o *RUMResponseMetadata) GetElapsed() int64
- func (o *RUMResponseMetadata) GetElapsedOk() (*int64, bool)
- func (o *RUMResponseMetadata) GetPage() RUMResponsePage
- func (o *RUMResponseMetadata) GetPageOk() (*RUMResponsePage, bool)
- func (o *RUMResponseMetadata) GetRequestId() string
- func (o *RUMResponseMetadata) GetRequestIdOk() (*string, bool)
- func (o *RUMResponseMetadata) GetStatus() RUMResponseStatus
- func (o *RUMResponseMetadata) GetStatusOk() (*RUMResponseStatus, bool)
- func (o *RUMResponseMetadata) GetWarnings() []RUMWarning
- func (o *RUMResponseMetadata) GetWarningsOk() (*[]RUMWarning, bool)
- func (o *RUMResponseMetadata) HasElapsed() bool
- func (o *RUMResponseMetadata) HasPage() bool
- func (o *RUMResponseMetadata) HasRequestId() bool
- func (o *RUMResponseMetadata) HasStatus() bool
- func (o *RUMResponseMetadata) HasWarnings() bool
- func (o RUMResponseMetadata) MarshalJSON() ([]byte, error)
- func (o *RUMResponseMetadata) SetElapsed(v int64)
- func (o *RUMResponseMetadata) SetPage(v RUMResponsePage)
- func (o *RUMResponseMetadata) SetRequestId(v string)
- func (o *RUMResponseMetadata) SetStatus(v RUMResponseStatus)
- func (o *RUMResponseMetadata) SetWarnings(v []RUMWarning)
- func (o *RUMResponseMetadata) UnmarshalJSON(bytes []byte) (err error)
- type RUMResponsePage
- func (o *RUMResponsePage) GetAfter() string
- func (o *RUMResponsePage) GetAfterOk() (*string, bool)
- func (o *RUMResponsePage) HasAfter() bool
- func (o RUMResponsePage) MarshalJSON() ([]byte, error)
- func (o *RUMResponsePage) SetAfter(v string)
- func (o *RUMResponsePage) UnmarshalJSON(bytes []byte) (err error)
- type RUMResponseStatus
- type RUMSearchEventsRequest
- func (o *RUMSearchEventsRequest) GetFilter() RUMQueryFilter
- func (o *RUMSearchEventsRequest) GetFilterOk() (*RUMQueryFilter, bool)
- func (o *RUMSearchEventsRequest) GetOptions() RUMQueryOptions
- func (o *RUMSearchEventsRequest) GetOptionsOk() (*RUMQueryOptions, bool)
- func (o *RUMSearchEventsRequest) GetPage() RUMQueryPageOptions
- func (o *RUMSearchEventsRequest) GetPageOk() (*RUMQueryPageOptions, bool)
- func (o *RUMSearchEventsRequest) GetSort() RUMSort
- func (o *RUMSearchEventsRequest) GetSortOk() (*RUMSort, bool)
- func (o *RUMSearchEventsRequest) HasFilter() bool
- func (o *RUMSearchEventsRequest) HasOptions() bool
- func (o *RUMSearchEventsRequest) HasPage() bool
- func (o *RUMSearchEventsRequest) HasSort() bool
- func (o RUMSearchEventsRequest) MarshalJSON() ([]byte, error)
- func (o *RUMSearchEventsRequest) SetFilter(v RUMQueryFilter)
- func (o *RUMSearchEventsRequest) SetOptions(v RUMQueryOptions)
- func (o *RUMSearchEventsRequest) SetPage(v RUMQueryPageOptions)
- func (o *RUMSearchEventsRequest) SetSort(v RUMSort)
- func (o *RUMSearchEventsRequest) UnmarshalJSON(bytes []byte) (err error)
- type RUMSort
- type RUMSortOrder
- type RUMWarning
- func (o *RUMWarning) GetCode() string
- func (o *RUMWarning) GetCodeOk() (*string, bool)
- func (o *RUMWarning) GetDetail() string
- func (o *RUMWarning) GetDetailOk() (*string, bool)
- func (o *RUMWarning) GetTitle() string
- func (o *RUMWarning) GetTitleOk() (*string, bool)
- func (o *RUMWarning) HasCode() bool
- func (o *RUMWarning) HasDetail() bool
- func (o *RUMWarning) HasTitle() bool
- func (o RUMWarning) MarshalJSON() ([]byte, error)
- func (o *RUMWarning) SetCode(v string)
- func (o *RUMWarning) SetDetail(v string)
- func (o *RUMWarning) SetTitle(v string)
- func (o *RUMWarning) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToIncidentIntegrationMetadataData
- func (o *RelationshipToIncidentIntegrationMetadataData) GetId() string
- func (o *RelationshipToIncidentIntegrationMetadataData) GetIdOk() (*string, bool)
- func (o *RelationshipToIncidentIntegrationMetadataData) GetType() IncidentIntegrationMetadataType
- func (o *RelationshipToIncidentIntegrationMetadataData) GetTypeOk() (*IncidentIntegrationMetadataType, bool)
- func (o RelationshipToIncidentIntegrationMetadataData) MarshalJSON() ([]byte, error)
- func (o *RelationshipToIncidentIntegrationMetadataData) SetId(v string)
- func (o *RelationshipToIncidentIntegrationMetadataData) SetType(v IncidentIntegrationMetadataType)
- func (o *RelationshipToIncidentIntegrationMetadataData) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToIncidentIntegrationMetadatas
- func (o *RelationshipToIncidentIntegrationMetadatas) GetData() []RelationshipToIncidentIntegrationMetadataData
- func (o *RelationshipToIncidentIntegrationMetadatas) GetDataOk() (*[]RelationshipToIncidentIntegrationMetadataData, bool)
- func (o RelationshipToIncidentIntegrationMetadatas) MarshalJSON() ([]byte, error)
- func (o *RelationshipToIncidentIntegrationMetadatas) SetData(v []RelationshipToIncidentIntegrationMetadataData)
- func (o *RelationshipToIncidentIntegrationMetadatas) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToIncidentPostmortem
- func (o *RelationshipToIncidentPostmortem) GetData() RelationshipToIncidentPostmortemData
- func (o *RelationshipToIncidentPostmortem) GetDataOk() (*RelationshipToIncidentPostmortemData, bool)
- func (o RelationshipToIncidentPostmortem) MarshalJSON() ([]byte, error)
- func (o *RelationshipToIncidentPostmortem) SetData(v RelationshipToIncidentPostmortemData)
- func (o *RelationshipToIncidentPostmortem) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToIncidentPostmortemData
- func (o *RelationshipToIncidentPostmortemData) GetId() string
- func (o *RelationshipToIncidentPostmortemData) GetIdOk() (*string, bool)
- func (o *RelationshipToIncidentPostmortemData) GetType() IncidentPostmortemType
- func (o *RelationshipToIncidentPostmortemData) GetTypeOk() (*IncidentPostmortemType, bool)
- func (o RelationshipToIncidentPostmortemData) MarshalJSON() ([]byte, error)
- func (o *RelationshipToIncidentPostmortemData) SetId(v string)
- func (o *RelationshipToIncidentPostmortemData) SetType(v IncidentPostmortemType)
- func (o *RelationshipToIncidentPostmortemData) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToOrganization
- func (o *RelationshipToOrganization) GetData() RelationshipToOrganizationData
- func (o *RelationshipToOrganization) GetDataOk() (*RelationshipToOrganizationData, bool)
- func (o RelationshipToOrganization) MarshalJSON() ([]byte, error)
- func (o *RelationshipToOrganization) SetData(v RelationshipToOrganizationData)
- func (o *RelationshipToOrganization) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToOrganizationData
- func (o *RelationshipToOrganizationData) GetId() string
- func (o *RelationshipToOrganizationData) GetIdOk() (*string, bool)
- func (o *RelationshipToOrganizationData) GetType() OrganizationsType
- func (o *RelationshipToOrganizationData) GetTypeOk() (*OrganizationsType, bool)
- func (o RelationshipToOrganizationData) MarshalJSON() ([]byte, error)
- func (o *RelationshipToOrganizationData) SetId(v string)
- func (o *RelationshipToOrganizationData) SetType(v OrganizationsType)
- func (o *RelationshipToOrganizationData) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToOrganizations
- func (o *RelationshipToOrganizations) GetData() []RelationshipToOrganizationData
- func (o *RelationshipToOrganizations) GetDataOk() (*[]RelationshipToOrganizationData, bool)
- func (o RelationshipToOrganizations) MarshalJSON() ([]byte, error)
- func (o *RelationshipToOrganizations) SetData(v []RelationshipToOrganizationData)
- func (o *RelationshipToOrganizations) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToPermission
- func (o *RelationshipToPermission) GetData() RelationshipToPermissionData
- func (o *RelationshipToPermission) GetDataOk() (*RelationshipToPermissionData, bool)
- func (o *RelationshipToPermission) HasData() bool
- func (o RelationshipToPermission) MarshalJSON() ([]byte, error)
- func (o *RelationshipToPermission) SetData(v RelationshipToPermissionData)
- func (o *RelationshipToPermission) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToPermissionData
- func (o *RelationshipToPermissionData) GetId() string
- func (o *RelationshipToPermissionData) GetIdOk() (*string, bool)
- func (o *RelationshipToPermissionData) GetType() PermissionsType
- func (o *RelationshipToPermissionData) GetTypeOk() (*PermissionsType, bool)
- func (o *RelationshipToPermissionData) HasId() bool
- func (o *RelationshipToPermissionData) HasType() bool
- func (o RelationshipToPermissionData) MarshalJSON() ([]byte, error)
- func (o *RelationshipToPermissionData) SetId(v string)
- func (o *RelationshipToPermissionData) SetType(v PermissionsType)
- func (o *RelationshipToPermissionData) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToPermissions
- func (o *RelationshipToPermissions) GetData() []RelationshipToPermissionData
- func (o *RelationshipToPermissions) GetDataOk() (*[]RelationshipToPermissionData, bool)
- func (o *RelationshipToPermissions) HasData() bool
- func (o RelationshipToPermissions) MarshalJSON() ([]byte, error)
- func (o *RelationshipToPermissions) SetData(v []RelationshipToPermissionData)
- func (o *RelationshipToPermissions) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToRole
- func (o *RelationshipToRole) GetData() RelationshipToRoleData
- func (o *RelationshipToRole) GetDataOk() (*RelationshipToRoleData, bool)
- func (o *RelationshipToRole) HasData() bool
- func (o RelationshipToRole) MarshalJSON() ([]byte, error)
- func (o *RelationshipToRole) SetData(v RelationshipToRoleData)
- func (o *RelationshipToRole) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToRoleData
- func (o *RelationshipToRoleData) GetId() string
- func (o *RelationshipToRoleData) GetIdOk() (*string, bool)
- func (o *RelationshipToRoleData) GetType() RolesType
- func (o *RelationshipToRoleData) GetTypeOk() (*RolesType, bool)
- func (o *RelationshipToRoleData) HasId() bool
- func (o *RelationshipToRoleData) HasType() bool
- func (o RelationshipToRoleData) MarshalJSON() ([]byte, error)
- func (o *RelationshipToRoleData) SetId(v string)
- func (o *RelationshipToRoleData) SetType(v RolesType)
- func (o *RelationshipToRoleData) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToRoles
- func (o *RelationshipToRoles) GetData() []RelationshipToRoleData
- func (o *RelationshipToRoles) GetDataOk() (*[]RelationshipToRoleData, bool)
- func (o *RelationshipToRoles) HasData() bool
- func (o RelationshipToRoles) MarshalJSON() ([]byte, error)
- func (o *RelationshipToRoles) SetData(v []RelationshipToRoleData)
- func (o *RelationshipToRoles) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToSAMLAssertionAttribute
- func (o *RelationshipToSAMLAssertionAttribute) GetData() RelationshipToSAMLAssertionAttributeData
- func (o *RelationshipToSAMLAssertionAttribute) GetDataOk() (*RelationshipToSAMLAssertionAttributeData, bool)
- func (o RelationshipToSAMLAssertionAttribute) MarshalJSON() ([]byte, error)
- func (o *RelationshipToSAMLAssertionAttribute) SetData(v RelationshipToSAMLAssertionAttributeData)
- func (o *RelationshipToSAMLAssertionAttribute) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToSAMLAssertionAttributeData
- func (o *RelationshipToSAMLAssertionAttributeData) GetId() string
- func (o *RelationshipToSAMLAssertionAttributeData) GetIdOk() (*string, bool)
- func (o *RelationshipToSAMLAssertionAttributeData) GetType() SAMLAssertionAttributesType
- func (o *RelationshipToSAMLAssertionAttributeData) GetTypeOk() (*SAMLAssertionAttributesType, bool)
- func (o RelationshipToSAMLAssertionAttributeData) MarshalJSON() ([]byte, error)
- func (o *RelationshipToSAMLAssertionAttributeData) SetId(v string)
- func (o *RelationshipToSAMLAssertionAttributeData) SetType(v SAMLAssertionAttributesType)
- func (o *RelationshipToSAMLAssertionAttributeData) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToUser
- func (o *RelationshipToUser) GetData() RelationshipToUserData
- func (o *RelationshipToUser) GetDataOk() (*RelationshipToUserData, bool)
- func (o RelationshipToUser) MarshalJSON() ([]byte, error)
- func (o *RelationshipToUser) SetData(v RelationshipToUserData)
- func (o *RelationshipToUser) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToUserData
- func (o *RelationshipToUserData) GetId() string
- func (o *RelationshipToUserData) GetIdOk() (*string, bool)
- func (o *RelationshipToUserData) GetType() UsersType
- func (o *RelationshipToUserData) GetTypeOk() (*UsersType, bool)
- func (o RelationshipToUserData) MarshalJSON() ([]byte, error)
- func (o *RelationshipToUserData) SetId(v string)
- func (o *RelationshipToUserData) SetType(v UsersType)
- func (o *RelationshipToUserData) UnmarshalJSON(bytes []byte) (err error)
- type RelationshipToUsers
- func (o *RelationshipToUsers) GetData() []RelationshipToUserData
- func (o *RelationshipToUsers) GetDataOk() (*[]RelationshipToUserData, bool)
- func (o RelationshipToUsers) MarshalJSON() ([]byte, error)
- func (o *RelationshipToUsers) SetData(v []RelationshipToUserData)
- func (o *RelationshipToUsers) UnmarshalJSON(bytes []byte) (err error)
- type ResponseMetaAttributes
- func (o *ResponseMetaAttributes) GetPage() Pagination
- func (o *ResponseMetaAttributes) GetPageOk() (*Pagination, bool)
- func (o *ResponseMetaAttributes) HasPage() bool
- func (o ResponseMetaAttributes) MarshalJSON() ([]byte, error)
- func (o *ResponseMetaAttributes) SetPage(v Pagination)
- func (o *ResponseMetaAttributes) UnmarshalJSON(bytes []byte) (err error)
- type Role
- func (o *Role) GetAttributes() RoleAttributes
- func (o *Role) GetAttributesOk() (*RoleAttributes, bool)
- func (o *Role) GetId() string
- func (o *Role) GetIdOk() (*string, bool)
- func (o *Role) GetRelationships() RoleResponseRelationships
- func (o *Role) GetRelationshipsOk() (*RoleResponseRelationships, bool)
- func (o *Role) GetType() RolesType
- func (o *Role) GetTypeOk() (*RolesType, bool)
- func (o *Role) HasAttributes() bool
- func (o *Role) HasId() bool
- func (o *Role) HasRelationships() bool
- func (o Role) MarshalJSON() ([]byte, error)
- func (o *Role) SetAttributes(v RoleAttributes)
- func (o *Role) SetId(v string)
- func (o *Role) SetRelationships(v RoleResponseRelationships)
- func (o *Role) SetType(v RolesType)
- func (o *Role) UnmarshalJSON(bytes []byte) (err error)
- type RoleAttributes
- func (o *RoleAttributes) GetCreatedAt() time.Time
- func (o *RoleAttributes) GetCreatedAtOk() (*time.Time, bool)
- func (o *RoleAttributes) GetModifiedAt() time.Time
- func (o *RoleAttributes) GetModifiedAtOk() (*time.Time, bool)
- func (o *RoleAttributes) GetName() string
- func (o *RoleAttributes) GetNameOk() (*string, bool)
- func (o *RoleAttributes) GetUserCount() int64
- func (o *RoleAttributes) GetUserCountOk() (*int64, bool)
- func (o *RoleAttributes) HasCreatedAt() bool
- func (o *RoleAttributes) HasModifiedAt() bool
- func (o *RoleAttributes) HasName() bool
- func (o *RoleAttributes) HasUserCount() bool
- func (o RoleAttributes) MarshalJSON() ([]byte, error)
- func (o *RoleAttributes) SetCreatedAt(v time.Time)
- func (o *RoleAttributes) SetModifiedAt(v time.Time)
- func (o *RoleAttributes) SetName(v string)
- func (o *RoleAttributes) SetUserCount(v int64)
- func (o *RoleAttributes) UnmarshalJSON(bytes []byte) (err error)
- type RoleClone
- func (o *RoleClone) GetAttributes() RoleCloneAttributes
- func (o *RoleClone) GetAttributesOk() (*RoleCloneAttributes, bool)
- func (o *RoleClone) GetType() RolesType
- func (o *RoleClone) GetTypeOk() (*RolesType, bool)
- func (o RoleClone) MarshalJSON() ([]byte, error)
- func (o *RoleClone) SetAttributes(v RoleCloneAttributes)
- func (o *RoleClone) SetType(v RolesType)
- func (o *RoleClone) UnmarshalJSON(bytes []byte) (err error)
- type RoleCloneAttributes
- type RoleCloneRequest
- type RoleCreateAttributes
- func (o *RoleCreateAttributes) GetCreatedAt() time.Time
- func (o *RoleCreateAttributes) GetCreatedAtOk() (*time.Time, bool)
- func (o *RoleCreateAttributes) GetModifiedAt() time.Time
- func (o *RoleCreateAttributes) GetModifiedAtOk() (*time.Time, bool)
- func (o *RoleCreateAttributes) GetName() string
- func (o *RoleCreateAttributes) GetNameOk() (*string, bool)
- func (o *RoleCreateAttributes) HasCreatedAt() bool
- func (o *RoleCreateAttributes) HasModifiedAt() bool
- func (o RoleCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *RoleCreateAttributes) SetCreatedAt(v time.Time)
- func (o *RoleCreateAttributes) SetModifiedAt(v time.Time)
- func (o *RoleCreateAttributes) SetName(v string)
- func (o *RoleCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type RoleCreateData
- func (o *RoleCreateData) GetAttributes() RoleCreateAttributes
- func (o *RoleCreateData) GetAttributesOk() (*RoleCreateAttributes, bool)
- func (o *RoleCreateData) GetRelationships() RoleRelationships
- func (o *RoleCreateData) GetRelationshipsOk() (*RoleRelationships, bool)
- func (o *RoleCreateData) GetType() RolesType
- func (o *RoleCreateData) GetTypeOk() (*RolesType, bool)
- func (o *RoleCreateData) HasRelationships() bool
- func (o *RoleCreateData) HasType() bool
- func (o RoleCreateData) MarshalJSON() ([]byte, error)
- func (o *RoleCreateData) SetAttributes(v RoleCreateAttributes)
- func (o *RoleCreateData) SetRelationships(v RoleRelationships)
- func (o *RoleCreateData) SetType(v RolesType)
- func (o *RoleCreateData) UnmarshalJSON(bytes []byte) (err error)
- type RoleCreateRequest
- type RoleCreateResponse
- func (o *RoleCreateResponse) GetData() RoleCreateResponseData
- func (o *RoleCreateResponse) GetDataOk() (*RoleCreateResponseData, bool)
- func (o *RoleCreateResponse) HasData() bool
- func (o RoleCreateResponse) MarshalJSON() ([]byte, error)
- func (o *RoleCreateResponse) SetData(v RoleCreateResponseData)
- func (o *RoleCreateResponse) UnmarshalJSON(bytes []byte) (err error)
- type RoleCreateResponseData
- func (o *RoleCreateResponseData) GetAttributes() RoleCreateAttributes
- func (o *RoleCreateResponseData) GetAttributesOk() (*RoleCreateAttributes, bool)
- func (o *RoleCreateResponseData) GetId() string
- func (o *RoleCreateResponseData) GetIdOk() (*string, bool)
- func (o *RoleCreateResponseData) GetRelationships() RoleResponseRelationships
- func (o *RoleCreateResponseData) GetRelationshipsOk() (*RoleResponseRelationships, bool)
- func (o *RoleCreateResponseData) GetType() RolesType
- func (o *RoleCreateResponseData) GetTypeOk() (*RolesType, bool)
- func (o *RoleCreateResponseData) HasAttributes() bool
- func (o *RoleCreateResponseData) HasId() bool
- func (o *RoleCreateResponseData) HasRelationships() bool
- func (o RoleCreateResponseData) MarshalJSON() ([]byte, error)
- func (o *RoleCreateResponseData) SetAttributes(v RoleCreateAttributes)
- func (o *RoleCreateResponseData) SetId(v string)
- func (o *RoleCreateResponseData) SetRelationships(v RoleResponseRelationships)
- func (o *RoleCreateResponseData) SetType(v RolesType)
- func (o *RoleCreateResponseData) UnmarshalJSON(bytes []byte) (err error)
- type RoleRelationships
- func (o *RoleRelationships) GetPermissions() RelationshipToPermissions
- func (o *RoleRelationships) GetPermissionsOk() (*RelationshipToPermissions, bool)
- func (o *RoleRelationships) GetUsers() RelationshipToUsers
- func (o *RoleRelationships) GetUsersOk() (*RelationshipToUsers, bool)
- func (o *RoleRelationships) HasPermissions() bool
- func (o *RoleRelationships) HasUsers() bool
- func (o RoleRelationships) MarshalJSON() ([]byte, error)
- func (o *RoleRelationships) SetPermissions(v RelationshipToPermissions)
- func (o *RoleRelationships) SetUsers(v RelationshipToUsers)
- func (o *RoleRelationships) UnmarshalJSON(bytes []byte) (err error)
- type RoleResponse
- type RoleResponseRelationships
- func (o *RoleResponseRelationships) GetPermissions() RelationshipToPermissions
- func (o *RoleResponseRelationships) GetPermissionsOk() (*RelationshipToPermissions, bool)
- func (o *RoleResponseRelationships) HasPermissions() bool
- func (o RoleResponseRelationships) MarshalJSON() ([]byte, error)
- func (o *RoleResponseRelationships) SetPermissions(v RelationshipToPermissions)
- func (o *RoleResponseRelationships) UnmarshalJSON(bytes []byte) (err error)
- type RoleUpdateAttributes
- func (o *RoleUpdateAttributes) GetCreatedAt() time.Time
- func (o *RoleUpdateAttributes) GetCreatedAtOk() (*time.Time, bool)
- func (o *RoleUpdateAttributes) GetModifiedAt() time.Time
- func (o *RoleUpdateAttributes) GetModifiedAtOk() (*time.Time, bool)
- func (o *RoleUpdateAttributes) GetName() string
- func (o *RoleUpdateAttributes) GetNameOk() (*string, bool)
- func (o *RoleUpdateAttributes) HasCreatedAt() bool
- func (o *RoleUpdateAttributes) HasModifiedAt() bool
- func (o *RoleUpdateAttributes) HasName() bool
- func (o RoleUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *RoleUpdateAttributes) SetCreatedAt(v time.Time)
- func (o *RoleUpdateAttributes) SetModifiedAt(v time.Time)
- func (o *RoleUpdateAttributes) SetName(v string)
- func (o *RoleUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type RoleUpdateData
- func (o *RoleUpdateData) GetAttributes() RoleUpdateAttributes
- func (o *RoleUpdateData) GetAttributesOk() (*RoleUpdateAttributes, bool)
- func (o *RoleUpdateData) GetId() string
- func (o *RoleUpdateData) GetIdOk() (*string, bool)
- func (o *RoleUpdateData) GetType() RolesType
- func (o *RoleUpdateData) GetTypeOk() (*RolesType, bool)
- func (o RoleUpdateData) MarshalJSON() ([]byte, error)
- func (o *RoleUpdateData) SetAttributes(v RoleUpdateAttributes)
- func (o *RoleUpdateData) SetId(v string)
- func (o *RoleUpdateData) SetType(v RolesType)
- func (o *RoleUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type RoleUpdateRequest
- type RoleUpdateResponse
- func (o *RoleUpdateResponse) GetData() RoleUpdateResponseData
- func (o *RoleUpdateResponse) GetDataOk() (*RoleUpdateResponseData, bool)
- func (o *RoleUpdateResponse) HasData() bool
- func (o RoleUpdateResponse) MarshalJSON() ([]byte, error)
- func (o *RoleUpdateResponse) SetData(v RoleUpdateResponseData)
- func (o *RoleUpdateResponse) UnmarshalJSON(bytes []byte) (err error)
- type RoleUpdateResponseData
- func (o *RoleUpdateResponseData) GetAttributes() RoleUpdateAttributes
- func (o *RoleUpdateResponseData) GetAttributesOk() (*RoleUpdateAttributes, bool)
- func (o *RoleUpdateResponseData) GetId() string
- func (o *RoleUpdateResponseData) GetIdOk() (*string, bool)
- func (o *RoleUpdateResponseData) GetRelationships() RoleResponseRelationships
- func (o *RoleUpdateResponseData) GetRelationshipsOk() (*RoleResponseRelationships, bool)
- func (o *RoleUpdateResponseData) GetType() RolesType
- func (o *RoleUpdateResponseData) GetTypeOk() (*RolesType, bool)
- func (o *RoleUpdateResponseData) HasAttributes() bool
- func (o *RoleUpdateResponseData) HasId() bool
- func (o *RoleUpdateResponseData) HasRelationships() bool
- func (o RoleUpdateResponseData) MarshalJSON() ([]byte, error)
- func (o *RoleUpdateResponseData) SetAttributes(v RoleUpdateAttributes)
- func (o *RoleUpdateResponseData) SetId(v string)
- func (o *RoleUpdateResponseData) SetRelationships(v RoleResponseRelationships)
- func (o *RoleUpdateResponseData) SetType(v RolesType)
- func (o *RoleUpdateResponseData) UnmarshalJSON(bytes []byte) (err error)
- type RolesApiService
- func (a *RolesApiService) AddPermissionToRole(ctx _context.Context, roleId string, body RelationshipToPermission) (PermissionsResponse, *_nethttp.Response, error)
- func (a *RolesApiService) AddUserToRole(ctx _context.Context, roleId string, body RelationshipToUser) (UsersResponse, *_nethttp.Response, error)
- func (a *RolesApiService) CloneRole(ctx _context.Context, roleId string, body RoleCloneRequest) (RoleResponse, *_nethttp.Response, error)
- func (a *RolesApiService) CreateRole(ctx _context.Context, body RoleCreateRequest) (RoleCreateResponse, *_nethttp.Response, error)
- func (a *RolesApiService) DeleteRole(ctx _context.Context, roleId string) (*_nethttp.Response, error)
- func (a *RolesApiService) GetRole(ctx _context.Context, roleId string) (RoleResponse, *_nethttp.Response, error)
- func (a *RolesApiService) ListPermissions(ctx _context.Context) (PermissionsResponse, *_nethttp.Response, error)
- func (a *RolesApiService) ListRolePermissions(ctx _context.Context, roleId string) (PermissionsResponse, *_nethttp.Response, error)
- func (a *RolesApiService) ListRoleUsers(ctx _context.Context, roleId string, o ...ListRoleUsersOptionalParameters) (UsersResponse, *_nethttp.Response, error)
- func (a *RolesApiService) ListRoles(ctx _context.Context, o ...ListRolesOptionalParameters) (RolesResponse, *_nethttp.Response, error)
- func (a *RolesApiService) RemovePermissionFromRole(ctx _context.Context, roleId string, body RelationshipToPermission) (PermissionsResponse, *_nethttp.Response, error)
- func (a *RolesApiService) RemoveUserFromRole(ctx _context.Context, roleId string, body RelationshipToUser) (UsersResponse, *_nethttp.Response, error)
- func (a *RolesApiService) UpdateRole(ctx _context.Context, roleId string, body RoleUpdateRequest) (RoleUpdateResponse, *_nethttp.Response, error)
- type RolesResponse
- func (o *RolesResponse) GetData() []Role
- func (o *RolesResponse) GetDataOk() (*[]Role, bool)
- func (o *RolesResponse) GetMeta() ResponseMetaAttributes
- func (o *RolesResponse) GetMetaOk() (*ResponseMetaAttributes, bool)
- func (o *RolesResponse) HasData() bool
- func (o *RolesResponse) HasMeta() bool
- func (o RolesResponse) MarshalJSON() ([]byte, error)
- func (o *RolesResponse) SetData(v []Role)
- func (o *RolesResponse) SetMeta(v ResponseMetaAttributes)
- func (o *RolesResponse) UnmarshalJSON(bytes []byte) (err error)
- type RolesSort
- type RolesType
- type SAMLAssertionAttribute
- func (o *SAMLAssertionAttribute) GetAttributes() SAMLAssertionAttributeAttributes
- func (o *SAMLAssertionAttribute) GetAttributesOk() (*SAMLAssertionAttributeAttributes, bool)
- func (o *SAMLAssertionAttribute) GetId() string
- func (o *SAMLAssertionAttribute) GetIdOk() (*string, bool)
- func (o *SAMLAssertionAttribute) GetType() SAMLAssertionAttributesType
- func (o *SAMLAssertionAttribute) GetTypeOk() (*SAMLAssertionAttributesType, bool)
- func (o *SAMLAssertionAttribute) HasAttributes() bool
- func (o SAMLAssertionAttribute) MarshalJSON() ([]byte, error)
- func (o *SAMLAssertionAttribute) SetAttributes(v SAMLAssertionAttributeAttributes)
- func (o *SAMLAssertionAttribute) SetId(v string)
- func (o *SAMLAssertionAttribute) SetType(v SAMLAssertionAttributesType)
- func (o *SAMLAssertionAttribute) UnmarshalJSON(bytes []byte) (err error)
- type SAMLAssertionAttributeAttributes
- func (o *SAMLAssertionAttributeAttributes) GetAttributeKey() string
- func (o *SAMLAssertionAttributeAttributes) GetAttributeKeyOk() (*string, bool)
- func (o *SAMLAssertionAttributeAttributes) GetAttributeValue() string
- func (o *SAMLAssertionAttributeAttributes) GetAttributeValueOk() (*string, bool)
- func (o *SAMLAssertionAttributeAttributes) HasAttributeKey() bool
- func (o *SAMLAssertionAttributeAttributes) HasAttributeValue() bool
- func (o SAMLAssertionAttributeAttributes) MarshalJSON() ([]byte, error)
- func (o *SAMLAssertionAttributeAttributes) SetAttributeKey(v string)
- func (o *SAMLAssertionAttributeAttributes) SetAttributeValue(v string)
- func (o *SAMLAssertionAttributeAttributes) UnmarshalJSON(bytes []byte) (err error)
- type SAMLAssertionAttributesType
- type SearchAuditLogsOptionalParameters
- type SearchSecurityMonitoringSignalsOptionalParameters
- type SecurityFilter
- func (o *SecurityFilter) GetAttributes() SecurityFilterAttributes
- func (o *SecurityFilter) GetAttributesOk() (*SecurityFilterAttributes, bool)
- func (o *SecurityFilter) GetId() string
- func (o *SecurityFilter) GetIdOk() (*string, bool)
- func (o *SecurityFilter) GetType() SecurityFilterType
- func (o *SecurityFilter) GetTypeOk() (*SecurityFilterType, bool)
- func (o *SecurityFilter) HasAttributes() bool
- func (o *SecurityFilter) HasId() bool
- func (o *SecurityFilter) HasType() bool
- func (o SecurityFilter) MarshalJSON() ([]byte, error)
- func (o *SecurityFilter) SetAttributes(v SecurityFilterAttributes)
- func (o *SecurityFilter) SetId(v string)
- func (o *SecurityFilter) SetType(v SecurityFilterType)
- func (o *SecurityFilter) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFilterAttributes
- func (o *SecurityFilterAttributes) GetExclusionFilters() []SecurityFilterExclusionFilterResponse
- func (o *SecurityFilterAttributes) GetExclusionFiltersOk() (*[]SecurityFilterExclusionFilterResponse, bool)
- func (o *SecurityFilterAttributes) GetFilteredDataType() SecurityFilterFilteredDataType
- func (o *SecurityFilterAttributes) GetFilteredDataTypeOk() (*SecurityFilterFilteredDataType, bool)
- func (o *SecurityFilterAttributes) GetIsBuiltin() bool
- func (o *SecurityFilterAttributes) GetIsBuiltinOk() (*bool, bool)
- func (o *SecurityFilterAttributes) GetIsEnabled() bool
- func (o *SecurityFilterAttributes) GetIsEnabledOk() (*bool, bool)
- func (o *SecurityFilterAttributes) GetName() string
- func (o *SecurityFilterAttributes) GetNameOk() (*string, bool)
- func (o *SecurityFilterAttributes) GetQuery() string
- func (o *SecurityFilterAttributes) GetQueryOk() (*string, bool)
- func (o *SecurityFilterAttributes) GetVersion() int32
- func (o *SecurityFilterAttributes) GetVersionOk() (*int32, bool)
- func (o *SecurityFilterAttributes) HasExclusionFilters() bool
- func (o *SecurityFilterAttributes) HasFilteredDataType() bool
- func (o *SecurityFilterAttributes) HasIsBuiltin() bool
- func (o *SecurityFilterAttributes) HasIsEnabled() bool
- func (o *SecurityFilterAttributes) HasName() bool
- func (o *SecurityFilterAttributes) HasQuery() bool
- func (o *SecurityFilterAttributes) HasVersion() bool
- func (o SecurityFilterAttributes) MarshalJSON() ([]byte, error)
- func (o *SecurityFilterAttributes) SetExclusionFilters(v []SecurityFilterExclusionFilterResponse)
- func (o *SecurityFilterAttributes) SetFilteredDataType(v SecurityFilterFilteredDataType)
- func (o *SecurityFilterAttributes) SetIsBuiltin(v bool)
- func (o *SecurityFilterAttributes) SetIsEnabled(v bool)
- func (o *SecurityFilterAttributes) SetName(v string)
- func (o *SecurityFilterAttributes) SetQuery(v string)
- func (o *SecurityFilterAttributes) SetVersion(v int32)
- func (o *SecurityFilterAttributes) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFilterCreateAttributes
- func (o *SecurityFilterCreateAttributes) GetExclusionFilters() []SecurityFilterExclusionFilter
- func (o *SecurityFilterCreateAttributes) GetExclusionFiltersOk() (*[]SecurityFilterExclusionFilter, bool)
- func (o *SecurityFilterCreateAttributes) GetFilteredDataType() SecurityFilterFilteredDataType
- func (o *SecurityFilterCreateAttributes) GetFilteredDataTypeOk() (*SecurityFilterFilteredDataType, bool)
- func (o *SecurityFilterCreateAttributes) GetIsEnabled() bool
- func (o *SecurityFilterCreateAttributes) GetIsEnabledOk() (*bool, bool)
- func (o *SecurityFilterCreateAttributes) GetName() string
- func (o *SecurityFilterCreateAttributes) GetNameOk() (*string, bool)
- func (o *SecurityFilterCreateAttributes) GetQuery() string
- func (o *SecurityFilterCreateAttributes) GetQueryOk() (*string, bool)
- func (o SecurityFilterCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *SecurityFilterCreateAttributes) SetExclusionFilters(v []SecurityFilterExclusionFilter)
- func (o *SecurityFilterCreateAttributes) SetFilteredDataType(v SecurityFilterFilteredDataType)
- func (o *SecurityFilterCreateAttributes) SetIsEnabled(v bool)
- func (o *SecurityFilterCreateAttributes) SetName(v string)
- func (o *SecurityFilterCreateAttributes) SetQuery(v string)
- func (o *SecurityFilterCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFilterCreateData
- func (o *SecurityFilterCreateData) GetAttributes() SecurityFilterCreateAttributes
- func (o *SecurityFilterCreateData) GetAttributesOk() (*SecurityFilterCreateAttributes, bool)
- func (o *SecurityFilterCreateData) GetType() SecurityFilterType
- func (o *SecurityFilterCreateData) GetTypeOk() (*SecurityFilterType, bool)
- func (o SecurityFilterCreateData) MarshalJSON() ([]byte, error)
- func (o *SecurityFilterCreateData) SetAttributes(v SecurityFilterCreateAttributes)
- func (o *SecurityFilterCreateData) SetType(v SecurityFilterType)
- func (o *SecurityFilterCreateData) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFilterCreateRequest
- func (o *SecurityFilterCreateRequest) GetData() SecurityFilterCreateData
- func (o *SecurityFilterCreateRequest) GetDataOk() (*SecurityFilterCreateData, bool)
- func (o SecurityFilterCreateRequest) MarshalJSON() ([]byte, error)
- func (o *SecurityFilterCreateRequest) SetData(v SecurityFilterCreateData)
- func (o *SecurityFilterCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFilterExclusionFilter
- func (o *SecurityFilterExclusionFilter) GetName() string
- func (o *SecurityFilterExclusionFilter) GetNameOk() (*string, bool)
- func (o *SecurityFilterExclusionFilter) GetQuery() string
- func (o *SecurityFilterExclusionFilter) GetQueryOk() (*string, bool)
- func (o SecurityFilterExclusionFilter) MarshalJSON() ([]byte, error)
- func (o *SecurityFilterExclusionFilter) SetName(v string)
- func (o *SecurityFilterExclusionFilter) SetQuery(v string)
- func (o *SecurityFilterExclusionFilter) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFilterExclusionFilterResponse
- func (o *SecurityFilterExclusionFilterResponse) GetName() string
- func (o *SecurityFilterExclusionFilterResponse) GetNameOk() (*string, bool)
- func (o *SecurityFilterExclusionFilterResponse) GetQuery() string
- func (o *SecurityFilterExclusionFilterResponse) GetQueryOk() (*string, bool)
- func (o *SecurityFilterExclusionFilterResponse) HasName() bool
- func (o *SecurityFilterExclusionFilterResponse) HasQuery() bool
- func (o SecurityFilterExclusionFilterResponse) MarshalJSON() ([]byte, error)
- func (o *SecurityFilterExclusionFilterResponse) SetName(v string)
- func (o *SecurityFilterExclusionFilterResponse) SetQuery(v string)
- func (o *SecurityFilterExclusionFilterResponse) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFilterFilteredDataType
- type SecurityFilterMeta
- func (o *SecurityFilterMeta) GetWarning() string
- func (o *SecurityFilterMeta) GetWarningOk() (*string, bool)
- func (o *SecurityFilterMeta) HasWarning() bool
- func (o SecurityFilterMeta) MarshalJSON() ([]byte, error)
- func (o *SecurityFilterMeta) SetWarning(v string)
- func (o *SecurityFilterMeta) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFilterResponse
- func (o *SecurityFilterResponse) GetData() SecurityFilter
- func (o *SecurityFilterResponse) GetDataOk() (*SecurityFilter, bool)
- func (o *SecurityFilterResponse) GetMeta() SecurityFilterMeta
- func (o *SecurityFilterResponse) GetMetaOk() (*SecurityFilterMeta, bool)
- func (o *SecurityFilterResponse) HasData() bool
- func (o *SecurityFilterResponse) HasMeta() bool
- func (o SecurityFilterResponse) MarshalJSON() ([]byte, error)
- func (o *SecurityFilterResponse) SetData(v SecurityFilter)
- func (o *SecurityFilterResponse) SetMeta(v SecurityFilterMeta)
- func (o *SecurityFilterResponse) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFilterType
- type SecurityFilterUpdateAttributes
- func (o *SecurityFilterUpdateAttributes) GetExclusionFilters() []SecurityFilterExclusionFilter
- func (o *SecurityFilterUpdateAttributes) GetExclusionFiltersOk() (*[]SecurityFilterExclusionFilter, bool)
- func (o *SecurityFilterUpdateAttributes) GetFilteredDataType() SecurityFilterFilteredDataType
- func (o *SecurityFilterUpdateAttributes) GetFilteredDataTypeOk() (*SecurityFilterFilteredDataType, bool)
- func (o *SecurityFilterUpdateAttributes) GetIsEnabled() bool
- func (o *SecurityFilterUpdateAttributes) GetIsEnabledOk() (*bool, bool)
- func (o *SecurityFilterUpdateAttributes) GetName() string
- func (o *SecurityFilterUpdateAttributes) GetNameOk() (*string, bool)
- func (o *SecurityFilterUpdateAttributes) GetQuery() string
- func (o *SecurityFilterUpdateAttributes) GetQueryOk() (*string, bool)
- func (o *SecurityFilterUpdateAttributes) GetVersion() int32
- func (o *SecurityFilterUpdateAttributes) GetVersionOk() (*int32, bool)
- func (o *SecurityFilterUpdateAttributes) HasExclusionFilters() bool
- func (o *SecurityFilterUpdateAttributes) HasFilteredDataType() bool
- func (o *SecurityFilterUpdateAttributes) HasIsEnabled() bool
- func (o *SecurityFilterUpdateAttributes) HasName() bool
- func (o *SecurityFilterUpdateAttributes) HasQuery() bool
- func (o *SecurityFilterUpdateAttributes) HasVersion() bool
- func (o SecurityFilterUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *SecurityFilterUpdateAttributes) SetExclusionFilters(v []SecurityFilterExclusionFilter)
- func (o *SecurityFilterUpdateAttributes) SetFilteredDataType(v SecurityFilterFilteredDataType)
- func (o *SecurityFilterUpdateAttributes) SetIsEnabled(v bool)
- func (o *SecurityFilterUpdateAttributes) SetName(v string)
- func (o *SecurityFilterUpdateAttributes) SetQuery(v string)
- func (o *SecurityFilterUpdateAttributes) SetVersion(v int32)
- func (o *SecurityFilterUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFilterUpdateData
- func (o *SecurityFilterUpdateData) GetAttributes() SecurityFilterUpdateAttributes
- func (o *SecurityFilterUpdateData) GetAttributesOk() (*SecurityFilterUpdateAttributes, bool)
- func (o *SecurityFilterUpdateData) GetType() SecurityFilterType
- func (o *SecurityFilterUpdateData) GetTypeOk() (*SecurityFilterType, bool)
- func (o SecurityFilterUpdateData) MarshalJSON() ([]byte, error)
- func (o *SecurityFilterUpdateData) SetAttributes(v SecurityFilterUpdateAttributes)
- func (o *SecurityFilterUpdateData) SetType(v SecurityFilterType)
- func (o *SecurityFilterUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFilterUpdateRequest
- func (o *SecurityFilterUpdateRequest) GetData() SecurityFilterUpdateData
- func (o *SecurityFilterUpdateRequest) GetDataOk() (*SecurityFilterUpdateData, bool)
- func (o SecurityFilterUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *SecurityFilterUpdateRequest) SetData(v SecurityFilterUpdateData)
- func (o *SecurityFilterUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type SecurityFiltersResponse
- func (o *SecurityFiltersResponse) GetData() []SecurityFilter
- func (o *SecurityFiltersResponse) GetDataOk() (*[]SecurityFilter, bool)
- func (o *SecurityFiltersResponse) GetMeta() SecurityFilterMeta
- func (o *SecurityFiltersResponse) GetMetaOk() (*SecurityFilterMeta, bool)
- func (o *SecurityFiltersResponse) HasData() bool
- func (o *SecurityFiltersResponse) HasMeta() bool
- func (o SecurityFiltersResponse) MarshalJSON() ([]byte, error)
- func (o *SecurityFiltersResponse) SetData(v []SecurityFilter)
- func (o *SecurityFiltersResponse) SetMeta(v SecurityFilterMeta)
- func (o *SecurityFiltersResponse) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringApiService
- func (a *SecurityMonitoringApiService) CreateSecurityFilter(ctx _context.Context, body SecurityFilterCreateRequest) (SecurityFilterResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) CreateSecurityMonitoringRule(ctx _context.Context, body SecurityMonitoringRuleCreatePayload) (SecurityMonitoringRuleResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) DeleteSecurityFilter(ctx _context.Context, securityFilterId string) (*_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) DeleteSecurityMonitoringRule(ctx _context.Context, ruleId string) (*_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) EditSecurityMonitoringSignalAssignee(ctx _context.Context, signalId string, ...) (SecurityMonitoringSignalTriageUpdateResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) EditSecurityMonitoringSignalIncidents(ctx _context.Context, signalId string, ...) (SecurityMonitoringSignalTriageUpdateResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) EditSecurityMonitoringSignalState(ctx _context.Context, signalId string, ...) (SecurityMonitoringSignalTriageUpdateResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) GetSecurityFilter(ctx _context.Context, securityFilterId string) (SecurityFilterResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) GetSecurityMonitoringRule(ctx _context.Context, ruleId string) (SecurityMonitoringRuleResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) ListSecurityFilters(ctx _context.Context) (SecurityFiltersResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) ListSecurityMonitoringRules(ctx _context.Context, o ...ListSecurityMonitoringRulesOptionalParameters) (SecurityMonitoringListRulesResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) ListSecurityMonitoringSignals(ctx _context.Context, o ...ListSecurityMonitoringSignalsOptionalParameters) (SecurityMonitoringSignalsListResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) ListSecurityMonitoringSignalsWithPagination(ctx _context.Context, o ...ListSecurityMonitoringSignalsOptionalParameters) (<-chan SecurityMonitoringSignal, func(), error)
- func (a *SecurityMonitoringApiService) SearchSecurityMonitoringSignals(ctx _context.Context, o ...SearchSecurityMonitoringSignalsOptionalParameters) (SecurityMonitoringSignalsListResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) SearchSecurityMonitoringSignalsWithPagination(ctx _context.Context, o ...SearchSecurityMonitoringSignalsOptionalParameters) (<-chan SecurityMonitoringSignal, func(), error)
- func (a *SecurityMonitoringApiService) UpdateSecurityFilter(ctx _context.Context, securityFilterId string, ...) (SecurityFilterResponse, *_nethttp.Response, error)
- func (a *SecurityMonitoringApiService) UpdateSecurityMonitoringRule(ctx _context.Context, ruleId string, body SecurityMonitoringRuleUpdatePayload) (SecurityMonitoringRuleResponse, *_nethttp.Response, error)
- type SecurityMonitoringFilter
- func (o *SecurityMonitoringFilter) GetAction() SecurityMonitoringFilterAction
- func (o *SecurityMonitoringFilter) GetActionOk() (*SecurityMonitoringFilterAction, bool)
- func (o *SecurityMonitoringFilter) GetQuery() string
- func (o *SecurityMonitoringFilter) GetQueryOk() (*string, bool)
- func (o *SecurityMonitoringFilter) HasAction() bool
- func (o *SecurityMonitoringFilter) HasQuery() bool
- func (o SecurityMonitoringFilter) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringFilter) SetAction(v SecurityMonitoringFilterAction)
- func (o *SecurityMonitoringFilter) SetQuery(v string)
- func (o *SecurityMonitoringFilter) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringFilterAction
- type SecurityMonitoringListRulesResponse
- func (o *SecurityMonitoringListRulesResponse) GetData() []SecurityMonitoringRuleResponse
- func (o *SecurityMonitoringListRulesResponse) GetDataOk() (*[]SecurityMonitoringRuleResponse, bool)
- func (o *SecurityMonitoringListRulesResponse) GetMeta() ResponseMetaAttributes
- func (o *SecurityMonitoringListRulesResponse) GetMetaOk() (*ResponseMetaAttributes, bool)
- func (o *SecurityMonitoringListRulesResponse) HasData() bool
- func (o *SecurityMonitoringListRulesResponse) HasMeta() bool
- func (o SecurityMonitoringListRulesResponse) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringListRulesResponse) SetData(v []SecurityMonitoringRuleResponse)
- func (o *SecurityMonitoringListRulesResponse) SetMeta(v ResponseMetaAttributes)
- func (o *SecurityMonitoringListRulesResponse) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringRuleCase
- func (o *SecurityMonitoringRuleCase) GetCondition() string
- func (o *SecurityMonitoringRuleCase) GetConditionOk() (*string, bool)
- func (o *SecurityMonitoringRuleCase) GetName() string
- func (o *SecurityMonitoringRuleCase) GetNameOk() (*string, bool)
- func (o *SecurityMonitoringRuleCase) GetNotifications() []string
- func (o *SecurityMonitoringRuleCase) GetNotificationsOk() (*[]string, bool)
- func (o *SecurityMonitoringRuleCase) GetStatus() SecurityMonitoringRuleSeverity
- func (o *SecurityMonitoringRuleCase) GetStatusOk() (*SecurityMonitoringRuleSeverity, bool)
- func (o *SecurityMonitoringRuleCase) HasCondition() bool
- func (o *SecurityMonitoringRuleCase) HasName() bool
- func (o *SecurityMonitoringRuleCase) HasNotifications() bool
- func (o *SecurityMonitoringRuleCase) HasStatus() bool
- func (o SecurityMonitoringRuleCase) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringRuleCase) SetCondition(v string)
- func (o *SecurityMonitoringRuleCase) SetName(v string)
- func (o *SecurityMonitoringRuleCase) SetNotifications(v []string)
- func (o *SecurityMonitoringRuleCase) SetStatus(v SecurityMonitoringRuleSeverity)
- func (o *SecurityMonitoringRuleCase) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringRuleCaseCreate
- func (o *SecurityMonitoringRuleCaseCreate) GetCondition() string
- func (o *SecurityMonitoringRuleCaseCreate) GetConditionOk() (*string, bool)
- func (o *SecurityMonitoringRuleCaseCreate) GetName() string
- func (o *SecurityMonitoringRuleCaseCreate) GetNameOk() (*string, bool)
- func (o *SecurityMonitoringRuleCaseCreate) GetNotifications() []string
- func (o *SecurityMonitoringRuleCaseCreate) GetNotificationsOk() (*[]string, bool)
- func (o *SecurityMonitoringRuleCaseCreate) GetStatus() SecurityMonitoringRuleSeverity
- func (o *SecurityMonitoringRuleCaseCreate) GetStatusOk() (*SecurityMonitoringRuleSeverity, bool)
- func (o *SecurityMonitoringRuleCaseCreate) HasCondition() bool
- func (o *SecurityMonitoringRuleCaseCreate) HasName() bool
- func (o *SecurityMonitoringRuleCaseCreate) HasNotifications() bool
- func (o SecurityMonitoringRuleCaseCreate) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringRuleCaseCreate) SetCondition(v string)
- func (o *SecurityMonitoringRuleCaseCreate) SetName(v string)
- func (o *SecurityMonitoringRuleCaseCreate) SetNotifications(v []string)
- func (o *SecurityMonitoringRuleCaseCreate) SetStatus(v SecurityMonitoringRuleSeverity)
- func (o *SecurityMonitoringRuleCaseCreate) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringRuleCreatePayload
- func (o *SecurityMonitoringRuleCreatePayload) GetCases() []SecurityMonitoringRuleCaseCreate
- func (o *SecurityMonitoringRuleCreatePayload) GetCasesOk() (*[]SecurityMonitoringRuleCaseCreate, bool)
- func (o *SecurityMonitoringRuleCreatePayload) GetFilters() []SecurityMonitoringFilter
- func (o *SecurityMonitoringRuleCreatePayload) GetFiltersOk() (*[]SecurityMonitoringFilter, bool)
- func (o *SecurityMonitoringRuleCreatePayload) GetHasExtendedTitle() bool
- func (o *SecurityMonitoringRuleCreatePayload) GetHasExtendedTitleOk() (*bool, bool)
- func (o *SecurityMonitoringRuleCreatePayload) GetIsEnabled() bool
- func (o *SecurityMonitoringRuleCreatePayload) GetIsEnabledOk() (*bool, bool)
- func (o *SecurityMonitoringRuleCreatePayload) GetMessage() string
- func (o *SecurityMonitoringRuleCreatePayload) GetMessageOk() (*string, bool)
- func (o *SecurityMonitoringRuleCreatePayload) GetName() string
- func (o *SecurityMonitoringRuleCreatePayload) GetNameOk() (*string, bool)
- func (o *SecurityMonitoringRuleCreatePayload) GetOptions() SecurityMonitoringRuleOptions
- func (o *SecurityMonitoringRuleCreatePayload) GetOptionsOk() (*SecurityMonitoringRuleOptions, bool)
- func (o *SecurityMonitoringRuleCreatePayload) GetQueries() []SecurityMonitoringRuleQueryCreate
- func (o *SecurityMonitoringRuleCreatePayload) GetQueriesOk() (*[]SecurityMonitoringRuleQueryCreate, bool)
- func (o *SecurityMonitoringRuleCreatePayload) GetTags() []string
- func (o *SecurityMonitoringRuleCreatePayload) GetTagsOk() (*[]string, bool)
- func (o *SecurityMonitoringRuleCreatePayload) GetType() SecurityMonitoringRuleTypeCreate
- func (o *SecurityMonitoringRuleCreatePayload) GetTypeOk() (*SecurityMonitoringRuleTypeCreate, bool)
- func (o *SecurityMonitoringRuleCreatePayload) HasFilters() bool
- func (o *SecurityMonitoringRuleCreatePayload) HasHasExtendedTitle() bool
- func (o *SecurityMonitoringRuleCreatePayload) HasTags() bool
- func (o *SecurityMonitoringRuleCreatePayload) HasType() bool
- func (o SecurityMonitoringRuleCreatePayload) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringRuleCreatePayload) SetCases(v []SecurityMonitoringRuleCaseCreate)
- func (o *SecurityMonitoringRuleCreatePayload) SetFilters(v []SecurityMonitoringFilter)
- func (o *SecurityMonitoringRuleCreatePayload) SetHasExtendedTitle(v bool)
- func (o *SecurityMonitoringRuleCreatePayload) SetIsEnabled(v bool)
- func (o *SecurityMonitoringRuleCreatePayload) SetMessage(v string)
- func (o *SecurityMonitoringRuleCreatePayload) SetName(v string)
- func (o *SecurityMonitoringRuleCreatePayload) SetOptions(v SecurityMonitoringRuleOptions)
- func (o *SecurityMonitoringRuleCreatePayload) SetQueries(v []SecurityMonitoringRuleQueryCreate)
- func (o *SecurityMonitoringRuleCreatePayload) SetTags(v []string)
- func (o *SecurityMonitoringRuleCreatePayload) SetType(v SecurityMonitoringRuleTypeCreate)
- func (o *SecurityMonitoringRuleCreatePayload) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringRuleDetectionMethod
- func (v *SecurityMonitoringRuleDetectionMethod) GetAllowedValues() []SecurityMonitoringRuleDetectionMethod
- func (v SecurityMonitoringRuleDetectionMethod) IsValid() bool
- func (v SecurityMonitoringRuleDetectionMethod) Ptr() *SecurityMonitoringRuleDetectionMethod
- func (v *SecurityMonitoringRuleDetectionMethod) UnmarshalJSON(src []byte) error
- type SecurityMonitoringRuleEvaluationWindow
- func (v *SecurityMonitoringRuleEvaluationWindow) GetAllowedValues() []SecurityMonitoringRuleEvaluationWindow
- func (v SecurityMonitoringRuleEvaluationWindow) IsValid() bool
- func (v SecurityMonitoringRuleEvaluationWindow) Ptr() *SecurityMonitoringRuleEvaluationWindow
- func (v *SecurityMonitoringRuleEvaluationWindow) UnmarshalJSON(src []byte) error
- type SecurityMonitoringRuleHardcodedEvaluatorType
- func (v *SecurityMonitoringRuleHardcodedEvaluatorType) GetAllowedValues() []SecurityMonitoringRuleHardcodedEvaluatorType
- func (v SecurityMonitoringRuleHardcodedEvaluatorType) IsValid() bool
- func (v SecurityMonitoringRuleHardcodedEvaluatorType) Ptr() *SecurityMonitoringRuleHardcodedEvaluatorType
- func (v *SecurityMonitoringRuleHardcodedEvaluatorType) UnmarshalJSON(src []byte) error
- type SecurityMonitoringRuleImpossibleTravelOptions
- func (o *SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocations() bool
- func (o *SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocationsOk() (*bool, bool)
- func (o *SecurityMonitoringRuleImpossibleTravelOptions) HasBaselineUserLocations() bool
- func (o SecurityMonitoringRuleImpossibleTravelOptions) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringRuleImpossibleTravelOptions) SetBaselineUserLocations(v bool)
- func (o *SecurityMonitoringRuleImpossibleTravelOptions) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringRuleKeepAlive
- func (v *SecurityMonitoringRuleKeepAlive) GetAllowedValues() []SecurityMonitoringRuleKeepAlive
- func (v SecurityMonitoringRuleKeepAlive) IsValid() bool
- func (v SecurityMonitoringRuleKeepAlive) Ptr() *SecurityMonitoringRuleKeepAlive
- func (v *SecurityMonitoringRuleKeepAlive) UnmarshalJSON(src []byte) error
- type SecurityMonitoringRuleMaxSignalDuration
- func (v *SecurityMonitoringRuleMaxSignalDuration) GetAllowedValues() []SecurityMonitoringRuleMaxSignalDuration
- func (v SecurityMonitoringRuleMaxSignalDuration) IsValid() bool
- func (v SecurityMonitoringRuleMaxSignalDuration) Ptr() *SecurityMonitoringRuleMaxSignalDuration
- func (v *SecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON(src []byte) error
- type SecurityMonitoringRuleNewValueOptions
- func (o *SecurityMonitoringRuleNewValueOptions) GetForgetAfter() SecurityMonitoringRuleNewValueOptionsForgetAfter
- func (o *SecurityMonitoringRuleNewValueOptions) GetForgetAfterOk() (*SecurityMonitoringRuleNewValueOptionsForgetAfter, bool)
- func (o *SecurityMonitoringRuleNewValueOptions) GetLearningDuration() SecurityMonitoringRuleNewValueOptionsLearningDuration
- func (o *SecurityMonitoringRuleNewValueOptions) GetLearningDurationOk() (*SecurityMonitoringRuleNewValueOptionsLearningDuration, bool)
- func (o *SecurityMonitoringRuleNewValueOptions) GetLearningMethod() SecurityMonitoringRuleNewValueOptionsLearningMethod
- func (o *SecurityMonitoringRuleNewValueOptions) GetLearningMethodOk() (*SecurityMonitoringRuleNewValueOptionsLearningMethod, bool)
- func (o *SecurityMonitoringRuleNewValueOptions) GetLearningThreshold() SecurityMonitoringRuleNewValueOptionsLearningThreshold
- func (o *SecurityMonitoringRuleNewValueOptions) GetLearningThresholdOk() (*SecurityMonitoringRuleNewValueOptionsLearningThreshold, bool)
- func (o *SecurityMonitoringRuleNewValueOptions) HasForgetAfter() bool
- func (o *SecurityMonitoringRuleNewValueOptions) HasLearningDuration() bool
- func (o *SecurityMonitoringRuleNewValueOptions) HasLearningMethod() bool
- func (o *SecurityMonitoringRuleNewValueOptions) HasLearningThreshold() bool
- func (o SecurityMonitoringRuleNewValueOptions) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringRuleNewValueOptions) SetForgetAfter(v SecurityMonitoringRuleNewValueOptionsForgetAfter)
- func (o *SecurityMonitoringRuleNewValueOptions) SetLearningDuration(v SecurityMonitoringRuleNewValueOptionsLearningDuration)
- func (o *SecurityMonitoringRuleNewValueOptions) SetLearningMethod(v SecurityMonitoringRuleNewValueOptionsLearningMethod)
- func (o *SecurityMonitoringRuleNewValueOptions) SetLearningThreshold(v SecurityMonitoringRuleNewValueOptionsLearningThreshold)
- func (o *SecurityMonitoringRuleNewValueOptions) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringRuleNewValueOptionsForgetAfter
- func (v *SecurityMonitoringRuleNewValueOptionsForgetAfter) GetAllowedValues() []SecurityMonitoringRuleNewValueOptionsForgetAfter
- func (v SecurityMonitoringRuleNewValueOptionsForgetAfter) IsValid() bool
- func (v SecurityMonitoringRuleNewValueOptionsForgetAfter) Ptr() *SecurityMonitoringRuleNewValueOptionsForgetAfter
- func (v *SecurityMonitoringRuleNewValueOptionsForgetAfter) UnmarshalJSON(src []byte) error
- type SecurityMonitoringRuleNewValueOptionsLearningDuration
- func (v *SecurityMonitoringRuleNewValueOptionsLearningDuration) GetAllowedValues() []SecurityMonitoringRuleNewValueOptionsLearningDuration
- func (v SecurityMonitoringRuleNewValueOptionsLearningDuration) IsValid() bool
- func (v SecurityMonitoringRuleNewValueOptionsLearningDuration) Ptr() *SecurityMonitoringRuleNewValueOptionsLearningDuration
- func (v *SecurityMonitoringRuleNewValueOptionsLearningDuration) UnmarshalJSON(src []byte) error
- type SecurityMonitoringRuleNewValueOptionsLearningMethod
- func (v *SecurityMonitoringRuleNewValueOptionsLearningMethod) GetAllowedValues() []SecurityMonitoringRuleNewValueOptionsLearningMethod
- func (v SecurityMonitoringRuleNewValueOptionsLearningMethod) IsValid() bool
- func (v SecurityMonitoringRuleNewValueOptionsLearningMethod) Ptr() *SecurityMonitoringRuleNewValueOptionsLearningMethod
- func (v *SecurityMonitoringRuleNewValueOptionsLearningMethod) UnmarshalJSON(src []byte) error
- type SecurityMonitoringRuleNewValueOptionsLearningThreshold
- func (v *SecurityMonitoringRuleNewValueOptionsLearningThreshold) GetAllowedValues() []SecurityMonitoringRuleNewValueOptionsLearningThreshold
- func (v SecurityMonitoringRuleNewValueOptionsLearningThreshold) IsValid() bool
- func (v SecurityMonitoringRuleNewValueOptionsLearningThreshold) Ptr() *SecurityMonitoringRuleNewValueOptionsLearningThreshold
- func (v *SecurityMonitoringRuleNewValueOptionsLearningThreshold) UnmarshalJSON(src []byte) error
- type SecurityMonitoringRuleOptions
- func (o *SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnv() bool
- func (o *SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnvOk() (*bool, bool)
- func (o *SecurityMonitoringRuleOptions) GetDetectionMethod() SecurityMonitoringRuleDetectionMethod
- func (o *SecurityMonitoringRuleOptions) GetDetectionMethodOk() (*SecurityMonitoringRuleDetectionMethod, bool)
- func (o *SecurityMonitoringRuleOptions) GetEvaluationWindow() SecurityMonitoringRuleEvaluationWindow
- func (o *SecurityMonitoringRuleOptions) GetEvaluationWindowOk() (*SecurityMonitoringRuleEvaluationWindow, bool)
- func (o *SecurityMonitoringRuleOptions) GetHardcodedEvaluatorType() SecurityMonitoringRuleHardcodedEvaluatorType
- func (o *SecurityMonitoringRuleOptions) GetHardcodedEvaluatorTypeOk() (*SecurityMonitoringRuleHardcodedEvaluatorType, bool)
- func (o *SecurityMonitoringRuleOptions) GetImpossibleTravelOptions() SecurityMonitoringRuleImpossibleTravelOptions
- func (o *SecurityMonitoringRuleOptions) GetImpossibleTravelOptionsOk() (*SecurityMonitoringRuleImpossibleTravelOptions, bool)
- func (o *SecurityMonitoringRuleOptions) GetKeepAlive() SecurityMonitoringRuleKeepAlive
- func (o *SecurityMonitoringRuleOptions) GetKeepAliveOk() (*SecurityMonitoringRuleKeepAlive, bool)
- func (o *SecurityMonitoringRuleOptions) GetMaxSignalDuration() SecurityMonitoringRuleMaxSignalDuration
- func (o *SecurityMonitoringRuleOptions) GetMaxSignalDurationOk() (*SecurityMonitoringRuleMaxSignalDuration, bool)
- func (o *SecurityMonitoringRuleOptions) GetNewValueOptions() SecurityMonitoringRuleNewValueOptions
- func (o *SecurityMonitoringRuleOptions) GetNewValueOptionsOk() (*SecurityMonitoringRuleNewValueOptions, bool)
- func (o *SecurityMonitoringRuleOptions) HasDecreaseCriticalityBasedOnEnv() bool
- func (o *SecurityMonitoringRuleOptions) HasDetectionMethod() bool
- func (o *SecurityMonitoringRuleOptions) HasEvaluationWindow() bool
- func (o *SecurityMonitoringRuleOptions) HasHardcodedEvaluatorType() bool
- func (o *SecurityMonitoringRuleOptions) HasImpossibleTravelOptions() bool
- func (o *SecurityMonitoringRuleOptions) HasKeepAlive() bool
- func (o *SecurityMonitoringRuleOptions) HasMaxSignalDuration() bool
- func (o *SecurityMonitoringRuleOptions) HasNewValueOptions() bool
- func (o SecurityMonitoringRuleOptions) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringRuleOptions) SetDecreaseCriticalityBasedOnEnv(v bool)
- func (o *SecurityMonitoringRuleOptions) SetDetectionMethod(v SecurityMonitoringRuleDetectionMethod)
- func (o *SecurityMonitoringRuleOptions) SetEvaluationWindow(v SecurityMonitoringRuleEvaluationWindow)
- func (o *SecurityMonitoringRuleOptions) SetHardcodedEvaluatorType(v SecurityMonitoringRuleHardcodedEvaluatorType)
- func (o *SecurityMonitoringRuleOptions) SetImpossibleTravelOptions(v SecurityMonitoringRuleImpossibleTravelOptions)
- func (o *SecurityMonitoringRuleOptions) SetKeepAlive(v SecurityMonitoringRuleKeepAlive)
- func (o *SecurityMonitoringRuleOptions) SetMaxSignalDuration(v SecurityMonitoringRuleMaxSignalDuration)
- func (o *SecurityMonitoringRuleOptions) SetNewValueOptions(v SecurityMonitoringRuleNewValueOptions)
- func (o *SecurityMonitoringRuleOptions) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringRuleQuery
- func (o *SecurityMonitoringRuleQuery) GetAggregation() SecurityMonitoringRuleQueryAggregation
- func (o *SecurityMonitoringRuleQuery) GetAggregationOk() (*SecurityMonitoringRuleQueryAggregation, bool)
- func (o *SecurityMonitoringRuleQuery) GetDistinctFields() []string
- func (o *SecurityMonitoringRuleQuery) GetDistinctFieldsOk() (*[]string, bool)
- func (o *SecurityMonitoringRuleQuery) GetGroupByFields() []string
- func (o *SecurityMonitoringRuleQuery) GetGroupByFieldsOk() (*[]string, bool)
- func (o *SecurityMonitoringRuleQuery) GetMetric() string
- func (o *SecurityMonitoringRuleQuery) GetMetricOk() (*string, bool)
- func (o *SecurityMonitoringRuleQuery) GetMetrics() []string
- func (o *SecurityMonitoringRuleQuery) GetMetricsOk() (*[]string, bool)
- func (o *SecurityMonitoringRuleQuery) GetName() string
- func (o *SecurityMonitoringRuleQuery) GetNameOk() (*string, bool)
- func (o *SecurityMonitoringRuleQuery) GetQuery() string
- func (o *SecurityMonitoringRuleQuery) GetQueryOk() (*string, bool)
- func (o *SecurityMonitoringRuleQuery) HasAggregation() bool
- func (o *SecurityMonitoringRuleQuery) HasDistinctFields() bool
- func (o *SecurityMonitoringRuleQuery) HasGroupByFields() bool
- func (o *SecurityMonitoringRuleQuery) HasMetric() bool
- func (o *SecurityMonitoringRuleQuery) HasMetrics() bool
- func (o *SecurityMonitoringRuleQuery) HasName() bool
- func (o *SecurityMonitoringRuleQuery) HasQuery() bool
- func (o SecurityMonitoringRuleQuery) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringRuleQuery) SetAggregation(v SecurityMonitoringRuleQueryAggregation)
- func (o *SecurityMonitoringRuleQuery) SetDistinctFields(v []string)
- func (o *SecurityMonitoringRuleQuery) SetGroupByFields(v []string)
- func (o *SecurityMonitoringRuleQuery) SetMetric(v string)
- func (o *SecurityMonitoringRuleQuery) SetMetrics(v []string)
- func (o *SecurityMonitoringRuleQuery) SetName(v string)
- func (o *SecurityMonitoringRuleQuery) SetQuery(v string)
- func (o *SecurityMonitoringRuleQuery) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringRuleQueryAggregation
- func (v *SecurityMonitoringRuleQueryAggregation) GetAllowedValues() []SecurityMonitoringRuleQueryAggregation
- func (v SecurityMonitoringRuleQueryAggregation) IsValid() bool
- func (v SecurityMonitoringRuleQueryAggregation) Ptr() *SecurityMonitoringRuleQueryAggregation
- func (v *SecurityMonitoringRuleQueryAggregation) UnmarshalJSON(src []byte) error
- type SecurityMonitoringRuleQueryCreate
- func (o *SecurityMonitoringRuleQueryCreate) GetAggregation() SecurityMonitoringRuleQueryAggregation
- func (o *SecurityMonitoringRuleQueryCreate) GetAggregationOk() (*SecurityMonitoringRuleQueryAggregation, bool)
- func (o *SecurityMonitoringRuleQueryCreate) GetDistinctFields() []string
- func (o *SecurityMonitoringRuleQueryCreate) GetDistinctFieldsOk() (*[]string, bool)
- func (o *SecurityMonitoringRuleQueryCreate) GetGroupByFields() []string
- func (o *SecurityMonitoringRuleQueryCreate) GetGroupByFieldsOk() (*[]string, bool)
- func (o *SecurityMonitoringRuleQueryCreate) GetMetric() string
- func (o *SecurityMonitoringRuleQueryCreate) GetMetricOk() (*string, bool)
- func (o *SecurityMonitoringRuleQueryCreate) GetMetrics() []string
- func (o *SecurityMonitoringRuleQueryCreate) GetMetricsOk() (*[]string, bool)
- func (o *SecurityMonitoringRuleQueryCreate) GetName() string
- func (o *SecurityMonitoringRuleQueryCreate) GetNameOk() (*string, bool)
- func (o *SecurityMonitoringRuleQueryCreate) GetQuery() string
- func (o *SecurityMonitoringRuleQueryCreate) GetQueryOk() (*string, bool)
- func (o *SecurityMonitoringRuleQueryCreate) HasAggregation() bool
- func (o *SecurityMonitoringRuleQueryCreate) HasDistinctFields() bool
- func (o *SecurityMonitoringRuleQueryCreate) HasGroupByFields() bool
- func (o *SecurityMonitoringRuleQueryCreate) HasMetric() bool
- func (o *SecurityMonitoringRuleQueryCreate) HasMetrics() bool
- func (o *SecurityMonitoringRuleQueryCreate) HasName() bool
- func (o SecurityMonitoringRuleQueryCreate) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringRuleQueryCreate) SetAggregation(v SecurityMonitoringRuleQueryAggregation)
- func (o *SecurityMonitoringRuleQueryCreate) SetDistinctFields(v []string)
- func (o *SecurityMonitoringRuleQueryCreate) SetGroupByFields(v []string)
- func (o *SecurityMonitoringRuleQueryCreate) SetMetric(v string)
- func (o *SecurityMonitoringRuleQueryCreate) SetMetrics(v []string)
- func (o *SecurityMonitoringRuleQueryCreate) SetName(v string)
- func (o *SecurityMonitoringRuleQueryCreate) SetQuery(v string)
- func (o *SecurityMonitoringRuleQueryCreate) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringRuleResponse
- func (o *SecurityMonitoringRuleResponse) GetCases() []SecurityMonitoringRuleCase
- func (o *SecurityMonitoringRuleResponse) GetCasesOk() (*[]SecurityMonitoringRuleCase, bool)
- func (o *SecurityMonitoringRuleResponse) GetCreatedAt() int64
- func (o *SecurityMonitoringRuleResponse) GetCreatedAtOk() (*int64, bool)
- func (o *SecurityMonitoringRuleResponse) GetCreationAuthorId() int64
- func (o *SecurityMonitoringRuleResponse) GetCreationAuthorIdOk() (*int64, bool)
- func (o *SecurityMonitoringRuleResponse) GetFilters() []SecurityMonitoringFilter
- func (o *SecurityMonitoringRuleResponse) GetFiltersOk() (*[]SecurityMonitoringFilter, bool)
- func (o *SecurityMonitoringRuleResponse) GetHasExtendedTitle() bool
- func (o *SecurityMonitoringRuleResponse) GetHasExtendedTitleOk() (*bool, bool)
- func (o *SecurityMonitoringRuleResponse) GetId() string
- func (o *SecurityMonitoringRuleResponse) GetIdOk() (*string, bool)
- func (o *SecurityMonitoringRuleResponse) GetIsDefault() bool
- func (o *SecurityMonitoringRuleResponse) GetIsDefaultOk() (*bool, bool)
- func (o *SecurityMonitoringRuleResponse) GetIsDeleted() bool
- func (o *SecurityMonitoringRuleResponse) GetIsDeletedOk() (*bool, bool)
- func (o *SecurityMonitoringRuleResponse) GetIsEnabled() bool
- func (o *SecurityMonitoringRuleResponse) GetIsEnabledOk() (*bool, bool)
- func (o *SecurityMonitoringRuleResponse) GetMessage() string
- func (o *SecurityMonitoringRuleResponse) GetMessageOk() (*string, bool)
- func (o *SecurityMonitoringRuleResponse) GetName() string
- func (o *SecurityMonitoringRuleResponse) GetNameOk() (*string, bool)
- func (o *SecurityMonitoringRuleResponse) GetOptions() SecurityMonitoringRuleOptions
- func (o *SecurityMonitoringRuleResponse) GetOptionsOk() (*SecurityMonitoringRuleOptions, bool)
- func (o *SecurityMonitoringRuleResponse) GetQueries() []SecurityMonitoringRuleQuery
- func (o *SecurityMonitoringRuleResponse) GetQueriesOk() (*[]SecurityMonitoringRuleQuery, bool)
- func (o *SecurityMonitoringRuleResponse) GetTags() []string
- func (o *SecurityMonitoringRuleResponse) GetTagsOk() (*[]string, bool)
- func (o *SecurityMonitoringRuleResponse) GetType() SecurityMonitoringRuleTypeRead
- func (o *SecurityMonitoringRuleResponse) GetTypeOk() (*SecurityMonitoringRuleTypeRead, bool)
- func (o *SecurityMonitoringRuleResponse) GetUpdateAuthorId() int64
- func (o *SecurityMonitoringRuleResponse) GetUpdateAuthorIdOk() (*int64, bool)
- func (o *SecurityMonitoringRuleResponse) GetVersion() int64
- func (o *SecurityMonitoringRuleResponse) GetVersionOk() (*int64, bool)
- func (o *SecurityMonitoringRuleResponse) HasCases() bool
- func (o *SecurityMonitoringRuleResponse) HasCreatedAt() bool
- func (o *SecurityMonitoringRuleResponse) HasCreationAuthorId() bool
- func (o *SecurityMonitoringRuleResponse) HasFilters() bool
- func (o *SecurityMonitoringRuleResponse) HasHasExtendedTitle() bool
- func (o *SecurityMonitoringRuleResponse) HasId() bool
- func (o *SecurityMonitoringRuleResponse) HasIsDefault() bool
- func (o *SecurityMonitoringRuleResponse) HasIsDeleted() bool
- func (o *SecurityMonitoringRuleResponse) HasIsEnabled() bool
- func (o *SecurityMonitoringRuleResponse) HasMessage() bool
- func (o *SecurityMonitoringRuleResponse) HasName() bool
- func (o *SecurityMonitoringRuleResponse) HasOptions() bool
- func (o *SecurityMonitoringRuleResponse) HasQueries() bool
- func (o *SecurityMonitoringRuleResponse) HasTags() bool
- func (o *SecurityMonitoringRuleResponse) HasType() bool
- func (o *SecurityMonitoringRuleResponse) HasUpdateAuthorId() bool
- func (o *SecurityMonitoringRuleResponse) HasVersion() bool
- func (o SecurityMonitoringRuleResponse) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringRuleResponse) SetCases(v []SecurityMonitoringRuleCase)
- func (o *SecurityMonitoringRuleResponse) SetCreatedAt(v int64)
- func (o *SecurityMonitoringRuleResponse) SetCreationAuthorId(v int64)
- func (o *SecurityMonitoringRuleResponse) SetFilters(v []SecurityMonitoringFilter)
- func (o *SecurityMonitoringRuleResponse) SetHasExtendedTitle(v bool)
- func (o *SecurityMonitoringRuleResponse) SetId(v string)
- func (o *SecurityMonitoringRuleResponse) SetIsDefault(v bool)
- func (o *SecurityMonitoringRuleResponse) SetIsDeleted(v bool)
- func (o *SecurityMonitoringRuleResponse) SetIsEnabled(v bool)
- func (o *SecurityMonitoringRuleResponse) SetMessage(v string)
- func (o *SecurityMonitoringRuleResponse) SetName(v string)
- func (o *SecurityMonitoringRuleResponse) SetOptions(v SecurityMonitoringRuleOptions)
- func (o *SecurityMonitoringRuleResponse) SetQueries(v []SecurityMonitoringRuleQuery)
- func (o *SecurityMonitoringRuleResponse) SetTags(v []string)
- func (o *SecurityMonitoringRuleResponse) SetType(v SecurityMonitoringRuleTypeRead)
- func (o *SecurityMonitoringRuleResponse) SetUpdateAuthorId(v int64)
- func (o *SecurityMonitoringRuleResponse) SetVersion(v int64)
- func (o *SecurityMonitoringRuleResponse) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringRuleSeverity
- type SecurityMonitoringRuleTypeCreate
- func (v *SecurityMonitoringRuleTypeCreate) GetAllowedValues() []SecurityMonitoringRuleTypeCreate
- func (v SecurityMonitoringRuleTypeCreate) IsValid() bool
- func (v SecurityMonitoringRuleTypeCreate) Ptr() *SecurityMonitoringRuleTypeCreate
- func (v *SecurityMonitoringRuleTypeCreate) UnmarshalJSON(src []byte) error
- type SecurityMonitoringRuleTypeRead
- type SecurityMonitoringRuleUpdatePayload
- func (o *SecurityMonitoringRuleUpdatePayload) GetCases() []SecurityMonitoringRuleCase
- func (o *SecurityMonitoringRuleUpdatePayload) GetCasesOk() (*[]SecurityMonitoringRuleCase, bool)
- func (o *SecurityMonitoringRuleUpdatePayload) GetFilters() []SecurityMonitoringFilter
- func (o *SecurityMonitoringRuleUpdatePayload) GetFiltersOk() (*[]SecurityMonitoringFilter, bool)
- func (o *SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitle() bool
- func (o *SecurityMonitoringRuleUpdatePayload) GetHasExtendedTitleOk() (*bool, bool)
- func (o *SecurityMonitoringRuleUpdatePayload) GetIsEnabled() bool
- func (o *SecurityMonitoringRuleUpdatePayload) GetIsEnabledOk() (*bool, bool)
- func (o *SecurityMonitoringRuleUpdatePayload) GetMessage() string
- func (o *SecurityMonitoringRuleUpdatePayload) GetMessageOk() (*string, bool)
- func (o *SecurityMonitoringRuleUpdatePayload) GetName() string
- func (o *SecurityMonitoringRuleUpdatePayload) GetNameOk() (*string, bool)
- func (o *SecurityMonitoringRuleUpdatePayload) GetOptions() SecurityMonitoringRuleOptions
- func (o *SecurityMonitoringRuleUpdatePayload) GetOptionsOk() (*SecurityMonitoringRuleOptions, bool)
- func (o *SecurityMonitoringRuleUpdatePayload) GetQueries() []SecurityMonitoringRuleQuery
- func (o *SecurityMonitoringRuleUpdatePayload) GetQueriesOk() (*[]SecurityMonitoringRuleQuery, bool)
- func (o *SecurityMonitoringRuleUpdatePayload) GetTags() []string
- func (o *SecurityMonitoringRuleUpdatePayload) GetTagsOk() (*[]string, bool)
- func (o *SecurityMonitoringRuleUpdatePayload) GetVersion() int32
- func (o *SecurityMonitoringRuleUpdatePayload) GetVersionOk() (*int32, bool)
- func (o *SecurityMonitoringRuleUpdatePayload) HasCases() bool
- func (o *SecurityMonitoringRuleUpdatePayload) HasFilters() bool
- func (o *SecurityMonitoringRuleUpdatePayload) HasHasExtendedTitle() bool
- func (o *SecurityMonitoringRuleUpdatePayload) HasIsEnabled() bool
- func (o *SecurityMonitoringRuleUpdatePayload) HasMessage() bool
- func (o *SecurityMonitoringRuleUpdatePayload) HasName() bool
- func (o *SecurityMonitoringRuleUpdatePayload) HasOptions() bool
- func (o *SecurityMonitoringRuleUpdatePayload) HasQueries() bool
- func (o *SecurityMonitoringRuleUpdatePayload) HasTags() bool
- func (o *SecurityMonitoringRuleUpdatePayload) HasVersion() bool
- func (o SecurityMonitoringRuleUpdatePayload) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringRuleUpdatePayload) SetCases(v []SecurityMonitoringRuleCase)
- func (o *SecurityMonitoringRuleUpdatePayload) SetFilters(v []SecurityMonitoringFilter)
- func (o *SecurityMonitoringRuleUpdatePayload) SetHasExtendedTitle(v bool)
- func (o *SecurityMonitoringRuleUpdatePayload) SetIsEnabled(v bool)
- func (o *SecurityMonitoringRuleUpdatePayload) SetMessage(v string)
- func (o *SecurityMonitoringRuleUpdatePayload) SetName(v string)
- func (o *SecurityMonitoringRuleUpdatePayload) SetOptions(v SecurityMonitoringRuleOptions)
- func (o *SecurityMonitoringRuleUpdatePayload) SetQueries(v []SecurityMonitoringRuleQuery)
- func (o *SecurityMonitoringRuleUpdatePayload) SetTags(v []string)
- func (o *SecurityMonitoringRuleUpdatePayload) SetVersion(v int32)
- func (o *SecurityMonitoringRuleUpdatePayload) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignal
- func (o *SecurityMonitoringSignal) GetAttributes() SecurityMonitoringSignalAttributes
- func (o *SecurityMonitoringSignal) GetAttributesOk() (*SecurityMonitoringSignalAttributes, bool)
- func (o *SecurityMonitoringSignal) GetId() string
- func (o *SecurityMonitoringSignal) GetIdOk() (*string, bool)
- func (o *SecurityMonitoringSignal) GetType() SecurityMonitoringSignalType
- func (o *SecurityMonitoringSignal) GetTypeOk() (*SecurityMonitoringSignalType, bool)
- func (o *SecurityMonitoringSignal) HasAttributes() bool
- func (o *SecurityMonitoringSignal) HasId() bool
- func (o *SecurityMonitoringSignal) HasType() bool
- func (o SecurityMonitoringSignal) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignal) SetAttributes(v SecurityMonitoringSignalAttributes)
- func (o *SecurityMonitoringSignal) SetId(v string)
- func (o *SecurityMonitoringSignal) SetType(v SecurityMonitoringSignalType)
- func (o *SecurityMonitoringSignal) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalArchiveReason
- func (v *SecurityMonitoringSignalArchiveReason) GetAllowedValues() []SecurityMonitoringSignalArchiveReason
- func (v SecurityMonitoringSignalArchiveReason) IsValid() bool
- func (v SecurityMonitoringSignalArchiveReason) Ptr() *SecurityMonitoringSignalArchiveReason
- func (v *SecurityMonitoringSignalArchiveReason) UnmarshalJSON(src []byte) error
- type SecurityMonitoringSignalAssigneeUpdateAttributes
- func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) GetAssignee() SecurityMonitoringTriageUser
- func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) GetAssigneeOk() (*SecurityMonitoringTriageUser, bool)
- func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) GetVersion() int64
- func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) GetVersionOk() (*int64, bool)
- func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) HasVersion() bool
- func (o SecurityMonitoringSignalAssigneeUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) SetAssignee(v SecurityMonitoringTriageUser)
- func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) SetVersion(v int64)
- func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalAssigneeUpdateData
- func (o *SecurityMonitoringSignalAssigneeUpdateData) GetAttributes() SecurityMonitoringSignalAssigneeUpdateAttributes
- func (o *SecurityMonitoringSignalAssigneeUpdateData) GetAttributesOk() (*SecurityMonitoringSignalAssigneeUpdateAttributes, bool)
- func (o SecurityMonitoringSignalAssigneeUpdateData) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalAssigneeUpdateData) SetAttributes(v SecurityMonitoringSignalAssigneeUpdateAttributes)
- func (o *SecurityMonitoringSignalAssigneeUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalAssigneeUpdateRequest
- func (o *SecurityMonitoringSignalAssigneeUpdateRequest) GetData() SecurityMonitoringSignalAssigneeUpdateData
- func (o *SecurityMonitoringSignalAssigneeUpdateRequest) GetDataOk() (*SecurityMonitoringSignalAssigneeUpdateData, bool)
- func (o SecurityMonitoringSignalAssigneeUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalAssigneeUpdateRequest) SetData(v SecurityMonitoringSignalAssigneeUpdateData)
- func (o *SecurityMonitoringSignalAssigneeUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalAttributes
- func (o *SecurityMonitoringSignalAttributes) GetAttributes() map[string]interface{}
- func (o *SecurityMonitoringSignalAttributes) GetAttributesOk() (*map[string]interface{}, bool)
- func (o *SecurityMonitoringSignalAttributes) GetMessage() string
- func (o *SecurityMonitoringSignalAttributes) GetMessageOk() (*string, bool)
- func (o *SecurityMonitoringSignalAttributes) GetTags() []string
- func (o *SecurityMonitoringSignalAttributes) GetTagsOk() (*[]string, bool)
- func (o *SecurityMonitoringSignalAttributes) GetTimestamp() time.Time
- func (o *SecurityMonitoringSignalAttributes) GetTimestampOk() (*time.Time, bool)
- func (o *SecurityMonitoringSignalAttributes) HasAttributes() bool
- func (o *SecurityMonitoringSignalAttributes) HasMessage() bool
- func (o *SecurityMonitoringSignalAttributes) HasTags() bool
- func (o *SecurityMonitoringSignalAttributes) HasTimestamp() bool
- func (o SecurityMonitoringSignalAttributes) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalAttributes) SetAttributes(v map[string]interface{})
- func (o *SecurityMonitoringSignalAttributes) SetMessage(v string)
- func (o *SecurityMonitoringSignalAttributes) SetTags(v []string)
- func (o *SecurityMonitoringSignalAttributes) SetTimestamp(v time.Time)
- func (o *SecurityMonitoringSignalAttributes) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalIncidentsUpdateAttributes
- func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) GetIncidentIds() []int64
- func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) GetIncidentIdsOk() (*[]int64, bool)
- func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) GetVersion() int64
- func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) GetVersionOk() (*int64, bool)
- func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) HasVersion() bool
- func (o SecurityMonitoringSignalIncidentsUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) SetIncidentIds(v []int64)
- func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) SetVersion(v int64)
- func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalIncidentsUpdateData
- func (o *SecurityMonitoringSignalIncidentsUpdateData) GetAttributes() SecurityMonitoringSignalIncidentsUpdateAttributes
- func (o *SecurityMonitoringSignalIncidentsUpdateData) GetAttributesOk() (*SecurityMonitoringSignalIncidentsUpdateAttributes, bool)
- func (o SecurityMonitoringSignalIncidentsUpdateData) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalIncidentsUpdateData) SetAttributes(v SecurityMonitoringSignalIncidentsUpdateAttributes)
- func (o *SecurityMonitoringSignalIncidentsUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalIncidentsUpdateRequest
- func (o *SecurityMonitoringSignalIncidentsUpdateRequest) GetData() SecurityMonitoringSignalIncidentsUpdateData
- func (o *SecurityMonitoringSignalIncidentsUpdateRequest) GetDataOk() (*SecurityMonitoringSignalIncidentsUpdateData, bool)
- func (o SecurityMonitoringSignalIncidentsUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalIncidentsUpdateRequest) SetData(v SecurityMonitoringSignalIncidentsUpdateData)
- func (o *SecurityMonitoringSignalIncidentsUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalListRequest
- func (o *SecurityMonitoringSignalListRequest) GetFilter() SecurityMonitoringSignalListRequestFilter
- func (o *SecurityMonitoringSignalListRequest) GetFilterOk() (*SecurityMonitoringSignalListRequestFilter, bool)
- func (o *SecurityMonitoringSignalListRequest) GetPage() SecurityMonitoringSignalListRequestPage
- func (o *SecurityMonitoringSignalListRequest) GetPageOk() (*SecurityMonitoringSignalListRequestPage, bool)
- func (o *SecurityMonitoringSignalListRequest) GetSort() SecurityMonitoringSignalsSort
- func (o *SecurityMonitoringSignalListRequest) GetSortOk() (*SecurityMonitoringSignalsSort, bool)
- func (o *SecurityMonitoringSignalListRequest) HasFilter() bool
- func (o *SecurityMonitoringSignalListRequest) HasPage() bool
- func (o *SecurityMonitoringSignalListRequest) HasSort() bool
- func (o SecurityMonitoringSignalListRequest) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalListRequest) SetFilter(v SecurityMonitoringSignalListRequestFilter)
- func (o *SecurityMonitoringSignalListRequest) SetPage(v SecurityMonitoringSignalListRequestPage)
- func (o *SecurityMonitoringSignalListRequest) SetSort(v SecurityMonitoringSignalsSort)
- func (o *SecurityMonitoringSignalListRequest) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalListRequestFilter
- func (o *SecurityMonitoringSignalListRequestFilter) GetFrom() time.Time
- func (o *SecurityMonitoringSignalListRequestFilter) GetFromOk() (*time.Time, bool)
- func (o *SecurityMonitoringSignalListRequestFilter) GetQuery() string
- func (o *SecurityMonitoringSignalListRequestFilter) GetQueryOk() (*string, bool)
- func (o *SecurityMonitoringSignalListRequestFilter) GetTo() time.Time
- func (o *SecurityMonitoringSignalListRequestFilter) GetToOk() (*time.Time, bool)
- func (o *SecurityMonitoringSignalListRequestFilter) HasFrom() bool
- func (o *SecurityMonitoringSignalListRequestFilter) HasQuery() bool
- func (o *SecurityMonitoringSignalListRequestFilter) HasTo() bool
- func (o SecurityMonitoringSignalListRequestFilter) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalListRequestFilter) SetFrom(v time.Time)
- func (o *SecurityMonitoringSignalListRequestFilter) SetQuery(v string)
- func (o *SecurityMonitoringSignalListRequestFilter) SetTo(v time.Time)
- func (o *SecurityMonitoringSignalListRequestFilter) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalListRequestPage
- func (o *SecurityMonitoringSignalListRequestPage) GetCursor() string
- func (o *SecurityMonitoringSignalListRequestPage) GetCursorOk() (*string, bool)
- func (o *SecurityMonitoringSignalListRequestPage) GetLimit() int32
- func (o *SecurityMonitoringSignalListRequestPage) GetLimitOk() (*int32, bool)
- func (o *SecurityMonitoringSignalListRequestPage) HasCursor() bool
- func (o *SecurityMonitoringSignalListRequestPage) HasLimit() bool
- func (o SecurityMonitoringSignalListRequestPage) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalListRequestPage) SetCursor(v string)
- func (o *SecurityMonitoringSignalListRequestPage) SetLimit(v int32)
- func (o *SecurityMonitoringSignalListRequestPage) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalState
- type SecurityMonitoringSignalStateUpdateAttributes
- func (o *SecurityMonitoringSignalStateUpdateAttributes) GetArchiveComment() string
- func (o *SecurityMonitoringSignalStateUpdateAttributes) GetArchiveCommentOk() (*string, bool)
- func (o *SecurityMonitoringSignalStateUpdateAttributes) GetArchiveReason() SecurityMonitoringSignalArchiveReason
- func (o *SecurityMonitoringSignalStateUpdateAttributes) GetArchiveReasonOk() (*SecurityMonitoringSignalArchiveReason, bool)
- func (o *SecurityMonitoringSignalStateUpdateAttributes) GetState() SecurityMonitoringSignalState
- func (o *SecurityMonitoringSignalStateUpdateAttributes) GetStateOk() (*SecurityMonitoringSignalState, bool)
- func (o *SecurityMonitoringSignalStateUpdateAttributes) GetVersion() int64
- func (o *SecurityMonitoringSignalStateUpdateAttributes) GetVersionOk() (*int64, bool)
- func (o *SecurityMonitoringSignalStateUpdateAttributes) HasArchiveComment() bool
- func (o *SecurityMonitoringSignalStateUpdateAttributes) HasArchiveReason() bool
- func (o *SecurityMonitoringSignalStateUpdateAttributes) HasVersion() bool
- func (o SecurityMonitoringSignalStateUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalStateUpdateAttributes) SetArchiveComment(v string)
- func (o *SecurityMonitoringSignalStateUpdateAttributes) SetArchiveReason(v SecurityMonitoringSignalArchiveReason)
- func (o *SecurityMonitoringSignalStateUpdateAttributes) SetState(v SecurityMonitoringSignalState)
- func (o *SecurityMonitoringSignalStateUpdateAttributes) SetVersion(v int64)
- func (o *SecurityMonitoringSignalStateUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalStateUpdateData
- func (o *SecurityMonitoringSignalStateUpdateData) GetAttributes() SecurityMonitoringSignalStateUpdateAttributes
- func (o *SecurityMonitoringSignalStateUpdateData) GetAttributesOk() (*SecurityMonitoringSignalStateUpdateAttributes, bool)
- func (o SecurityMonitoringSignalStateUpdateData) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalStateUpdateData) SetAttributes(v SecurityMonitoringSignalStateUpdateAttributes)
- func (o *SecurityMonitoringSignalStateUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalStateUpdateRequest
- func (o *SecurityMonitoringSignalStateUpdateRequest) GetData() SecurityMonitoringSignalStateUpdateData
- func (o *SecurityMonitoringSignalStateUpdateRequest) GetDataOk() (*SecurityMonitoringSignalStateUpdateData, bool)
- func (o SecurityMonitoringSignalStateUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalStateUpdateRequest) SetData(v SecurityMonitoringSignalStateUpdateData)
- func (o *SecurityMonitoringSignalStateUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalTriageAttributes
- func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveComment() string
- func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentOk() (*string, bool)
- func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestamp() int64
- func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestampOk() (*int64, bool)
- func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentUser() SecurityMonitoringTriageUser
- func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentUserOk() (*SecurityMonitoringTriageUser, bool)
- func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveReason() SecurityMonitoringSignalArchiveReason
- func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveReasonOk() (*SecurityMonitoringSignalArchiveReason, bool)
- func (o *SecurityMonitoringSignalTriageAttributes) GetAssignee() SecurityMonitoringTriageUser
- func (o *SecurityMonitoringSignalTriageAttributes) GetAssigneeOk() (*SecurityMonitoringTriageUser, bool)
- func (o *SecurityMonitoringSignalTriageAttributes) GetIncidentIds() []int64
- func (o *SecurityMonitoringSignalTriageAttributes) GetIncidentIdsOk() (*[]int64, bool)
- func (o *SecurityMonitoringSignalTriageAttributes) GetState() SecurityMonitoringSignalState
- func (o *SecurityMonitoringSignalTriageAttributes) GetStateOk() (*SecurityMonitoringSignalState, bool)
- func (o *SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestamp() int64
- func (o *SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestampOk() (*int64, bool)
- func (o *SecurityMonitoringSignalTriageAttributes) GetStateUpdateUser() SecurityMonitoringTriageUser
- func (o *SecurityMonitoringSignalTriageAttributes) GetStateUpdateUserOk() (*SecurityMonitoringTriageUser, bool)
- func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveComment() bool
- func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveCommentTimestamp() bool
- func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveCommentUser() bool
- func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveReason() bool
- func (o *SecurityMonitoringSignalTriageAttributes) HasStateUpdateTimestamp() bool
- func (o *SecurityMonitoringSignalTriageAttributes) HasStateUpdateUser() bool
- func (o SecurityMonitoringSignalTriageAttributes) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveComment(v string)
- func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveCommentTimestamp(v int64)
- func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveCommentUser(v SecurityMonitoringTriageUser)
- func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveReason(v SecurityMonitoringSignalArchiveReason)
- func (o *SecurityMonitoringSignalTriageAttributes) SetAssignee(v SecurityMonitoringTriageUser)
- func (o *SecurityMonitoringSignalTriageAttributes) SetIncidentIds(v []int64)
- func (o *SecurityMonitoringSignalTriageAttributes) SetState(v SecurityMonitoringSignalState)
- func (o *SecurityMonitoringSignalTriageAttributes) SetStateUpdateTimestamp(v int64)
- func (o *SecurityMonitoringSignalTriageAttributes) SetStateUpdateUser(v SecurityMonitoringTriageUser)
- func (o *SecurityMonitoringSignalTriageAttributes) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalTriageUpdateData
- func (o *SecurityMonitoringSignalTriageUpdateData) GetAttributes() SecurityMonitoringSignalTriageAttributes
- func (o *SecurityMonitoringSignalTriageUpdateData) GetAttributesOk() (*SecurityMonitoringSignalTriageAttributes, bool)
- func (o *SecurityMonitoringSignalTriageUpdateData) HasAttributes() bool
- func (o SecurityMonitoringSignalTriageUpdateData) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalTriageUpdateData) SetAttributes(v SecurityMonitoringSignalTriageAttributes)
- func (o *SecurityMonitoringSignalTriageUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalTriageUpdateResponse
- func (o *SecurityMonitoringSignalTriageUpdateResponse) GetData() SecurityMonitoringSignalTriageUpdateData
- func (o *SecurityMonitoringSignalTriageUpdateResponse) GetDataOk() (*SecurityMonitoringSignalTriageUpdateData, bool)
- func (o SecurityMonitoringSignalTriageUpdateResponse) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalTriageUpdateResponse) SetData(v SecurityMonitoringSignalTriageUpdateData)
- func (o *SecurityMonitoringSignalTriageUpdateResponse) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalType
- type SecurityMonitoringSignalsListResponse
- func (o *SecurityMonitoringSignalsListResponse) GetData() []SecurityMonitoringSignal
- func (o *SecurityMonitoringSignalsListResponse) GetDataOk() (*[]SecurityMonitoringSignal, bool)
- func (o *SecurityMonitoringSignalsListResponse) GetLinks() SecurityMonitoringSignalsListResponseLinks
- func (o *SecurityMonitoringSignalsListResponse) GetLinksOk() (*SecurityMonitoringSignalsListResponseLinks, bool)
- func (o *SecurityMonitoringSignalsListResponse) GetMeta() SecurityMonitoringSignalsListResponseMeta
- func (o *SecurityMonitoringSignalsListResponse) GetMetaOk() (*SecurityMonitoringSignalsListResponseMeta, bool)
- func (o *SecurityMonitoringSignalsListResponse) HasData() bool
- func (o *SecurityMonitoringSignalsListResponse) HasLinks() bool
- func (o *SecurityMonitoringSignalsListResponse) HasMeta() bool
- func (o SecurityMonitoringSignalsListResponse) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalsListResponse) SetData(v []SecurityMonitoringSignal)
- func (o *SecurityMonitoringSignalsListResponse) SetLinks(v SecurityMonitoringSignalsListResponseLinks)
- func (o *SecurityMonitoringSignalsListResponse) SetMeta(v SecurityMonitoringSignalsListResponseMeta)
- func (o *SecurityMonitoringSignalsListResponse) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalsListResponseLinks
- func (o *SecurityMonitoringSignalsListResponseLinks) GetNext() string
- func (o *SecurityMonitoringSignalsListResponseLinks) GetNextOk() (*string, bool)
- func (o *SecurityMonitoringSignalsListResponseLinks) HasNext() bool
- func (o SecurityMonitoringSignalsListResponseLinks) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalsListResponseLinks) SetNext(v string)
- func (o *SecurityMonitoringSignalsListResponseLinks) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalsListResponseMeta
- func (o *SecurityMonitoringSignalsListResponseMeta) GetPage() SecurityMonitoringSignalsListResponseMetaPage
- func (o *SecurityMonitoringSignalsListResponseMeta) GetPageOk() (*SecurityMonitoringSignalsListResponseMetaPage, bool)
- func (o *SecurityMonitoringSignalsListResponseMeta) HasPage() bool
- func (o SecurityMonitoringSignalsListResponseMeta) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalsListResponseMeta) SetPage(v SecurityMonitoringSignalsListResponseMetaPage)
- func (o *SecurityMonitoringSignalsListResponseMeta) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalsListResponseMetaPage
- func (o *SecurityMonitoringSignalsListResponseMetaPage) GetAfter() string
- func (o *SecurityMonitoringSignalsListResponseMetaPage) GetAfterOk() (*string, bool)
- func (o *SecurityMonitoringSignalsListResponseMetaPage) HasAfter() bool
- func (o SecurityMonitoringSignalsListResponseMetaPage) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringSignalsListResponseMetaPage) SetAfter(v string)
- func (o *SecurityMonitoringSignalsListResponseMetaPage) UnmarshalJSON(bytes []byte) (err error)
- type SecurityMonitoringSignalsSort
- type SecurityMonitoringTriageUser
- func (o *SecurityMonitoringTriageUser) GetHandle() string
- func (o *SecurityMonitoringTriageUser) GetHandleOk() (*string, bool)
- func (o *SecurityMonitoringTriageUser) GetId() int64
- func (o *SecurityMonitoringTriageUser) GetIdOk() (*int64, bool)
- func (o *SecurityMonitoringTriageUser) GetName() string
- func (o *SecurityMonitoringTriageUser) GetNameOk() (*string, bool)
- func (o *SecurityMonitoringTriageUser) GetUuid() string
- func (o *SecurityMonitoringTriageUser) GetUuidOk() (*string, bool)
- func (o *SecurityMonitoringTriageUser) HasHandle() bool
- func (o *SecurityMonitoringTriageUser) HasId() bool
- func (o *SecurityMonitoringTriageUser) HasName() bool
- func (o SecurityMonitoringTriageUser) MarshalJSON() ([]byte, error)
- func (o *SecurityMonitoringTriageUser) SetHandle(v string)
- func (o *SecurityMonitoringTriageUser) SetId(v int64)
- func (o *SecurityMonitoringTriageUser) SetName(v string)
- func (o *SecurityMonitoringTriageUser) SetUuid(v string)
- func (o *SecurityMonitoringTriageUser) UnmarshalJSON(bytes []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ServiceAccountCreateAttributes
- func (o *ServiceAccountCreateAttributes) GetEmail() string
- func (o *ServiceAccountCreateAttributes) GetEmailOk() (*string, bool)
- func (o *ServiceAccountCreateAttributes) GetName() string
- func (o *ServiceAccountCreateAttributes) GetNameOk() (*string, bool)
- func (o *ServiceAccountCreateAttributes) GetServiceAccount() bool
- func (o *ServiceAccountCreateAttributes) GetServiceAccountOk() (*bool, bool)
- func (o *ServiceAccountCreateAttributes) GetTitle() string
- func (o *ServiceAccountCreateAttributes) GetTitleOk() (*string, bool)
- func (o *ServiceAccountCreateAttributes) HasName() bool
- func (o *ServiceAccountCreateAttributes) HasTitle() bool
- func (o ServiceAccountCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *ServiceAccountCreateAttributes) SetEmail(v string)
- func (o *ServiceAccountCreateAttributes) SetName(v string)
- func (o *ServiceAccountCreateAttributes) SetServiceAccount(v bool)
- func (o *ServiceAccountCreateAttributes) SetTitle(v string)
- func (o *ServiceAccountCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type ServiceAccountCreateData
- func (o *ServiceAccountCreateData) GetAttributes() ServiceAccountCreateAttributes
- func (o *ServiceAccountCreateData) GetAttributesOk() (*ServiceAccountCreateAttributes, bool)
- func (o *ServiceAccountCreateData) GetRelationships() UserRelationships
- func (o *ServiceAccountCreateData) GetRelationshipsOk() (*UserRelationships, bool)
- func (o *ServiceAccountCreateData) GetType() UsersType
- func (o *ServiceAccountCreateData) GetTypeOk() (*UsersType, bool)
- func (o *ServiceAccountCreateData) HasRelationships() bool
- func (o ServiceAccountCreateData) MarshalJSON() ([]byte, error)
- func (o *ServiceAccountCreateData) SetAttributes(v ServiceAccountCreateAttributes)
- func (o *ServiceAccountCreateData) SetRelationships(v UserRelationships)
- func (o *ServiceAccountCreateData) SetType(v UsersType)
- func (o *ServiceAccountCreateData) UnmarshalJSON(bytes []byte) (err error)
- type ServiceAccountCreateRequest
- func (o *ServiceAccountCreateRequest) GetData() ServiceAccountCreateData
- func (o *ServiceAccountCreateRequest) GetDataOk() (*ServiceAccountCreateData, bool)
- func (o ServiceAccountCreateRequest) MarshalJSON() ([]byte, error)
- func (o *ServiceAccountCreateRequest) SetData(v ServiceAccountCreateData)
- func (o *ServiceAccountCreateRequest) UnmarshalJSON(bytes []byte) (err error)
- type ServiceAccountsApiService
- func (a *ServiceAccountsApiService) CreateServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, ...) (ApplicationKeyResponse, *_nethttp.Response, error)
- func (a *ServiceAccountsApiService) DeleteServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, appKeyId string) (*_nethttp.Response, error)
- func (a *ServiceAccountsApiService) GetServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, appKeyId string) (PartialApplicationKeyResponse, *_nethttp.Response, error)
- func (a *ServiceAccountsApiService) ListServiceAccountApplicationKeys(ctx _context.Context, serviceAccountId string, ...) (ListApplicationKeysResponse, *_nethttp.Response, error)
- func (a *ServiceAccountsApiService) UpdateServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, appKeyId string, ...) (PartialApplicationKeyResponse, *_nethttp.Response, error)
- type SubmitLogOptionalParameters
- type SubmitMetricsOptionalParameters
- type UpdateIncidentOptionalParameters
- type UploadIdPMetadataOptionalParameters
- type UsageApplicationSecurityMonitoringResponse
- func (o *UsageApplicationSecurityMonitoringResponse) GetData() []UsageDataObject
- func (o *UsageApplicationSecurityMonitoringResponse) GetDataOk() (*[]UsageDataObject, bool)
- func (o *UsageApplicationSecurityMonitoringResponse) HasData() bool
- func (o UsageApplicationSecurityMonitoringResponse) MarshalJSON() ([]byte, error)
- func (o *UsageApplicationSecurityMonitoringResponse) SetData(v []UsageDataObject)
- func (o *UsageApplicationSecurityMonitoringResponse) UnmarshalJSON(bytes []byte) (err error)
- type UsageAttributesObject
- func (o *UsageAttributesObject) GetOrgName() string
- func (o *UsageAttributesObject) GetOrgNameOk() (*string, bool)
- func (o *UsageAttributesObject) GetProductFamily() string
- func (o *UsageAttributesObject) GetProductFamilyOk() (*string, bool)
- func (o *UsageAttributesObject) GetPublicId() string
- func (o *UsageAttributesObject) GetPublicIdOk() (*string, bool)
- func (o *UsageAttributesObject) GetTimeseries() []UsageTimeSeriesObject
- func (o *UsageAttributesObject) GetTimeseriesOk() (*[]UsageTimeSeriesObject, bool)
- func (o *UsageAttributesObject) GetUsageType() HourlyUsageType
- func (o *UsageAttributesObject) GetUsageTypeOk() (*HourlyUsageType, bool)
- func (o *UsageAttributesObject) HasOrgName() bool
- func (o *UsageAttributesObject) HasProductFamily() bool
- func (o *UsageAttributesObject) HasPublicId() bool
- func (o *UsageAttributesObject) HasTimeseries() bool
- func (o *UsageAttributesObject) HasUsageType() bool
- func (o UsageAttributesObject) MarshalJSON() ([]byte, error)
- func (o *UsageAttributesObject) SetOrgName(v string)
- func (o *UsageAttributesObject) SetProductFamily(v string)
- func (o *UsageAttributesObject) SetPublicId(v string)
- func (o *UsageAttributesObject) SetTimeseries(v []UsageTimeSeriesObject)
- func (o *UsageAttributesObject) SetUsageType(v HourlyUsageType)
- func (o *UsageAttributesObject) UnmarshalJSON(bytes []byte) (err error)
- type UsageDataObject
- func (o *UsageDataObject) GetAttributes() UsageAttributesObject
- func (o *UsageDataObject) GetAttributesOk() (*UsageAttributesObject, bool)
- func (o *UsageDataObject) GetId() string
- func (o *UsageDataObject) GetIdOk() (*string, bool)
- func (o *UsageDataObject) GetType() UsageTimeSeriesType
- func (o *UsageDataObject) GetTypeOk() (*UsageTimeSeriesType, bool)
- func (o *UsageDataObject) HasAttributes() bool
- func (o *UsageDataObject) HasId() bool
- func (o *UsageDataObject) HasType() bool
- func (o UsageDataObject) MarshalJSON() ([]byte, error)
- func (o *UsageDataObject) SetAttributes(v UsageAttributesObject)
- func (o *UsageDataObject) SetId(v string)
- func (o *UsageDataObject) SetType(v UsageTimeSeriesType)
- func (o *UsageDataObject) UnmarshalJSON(bytes []byte) (err error)
- type UsageLambdaTracedInvocationsResponse
- func (o *UsageLambdaTracedInvocationsResponse) GetData() []UsageDataObject
- func (o *UsageLambdaTracedInvocationsResponse) GetDataOk() (*[]UsageDataObject, bool)
- func (o *UsageLambdaTracedInvocationsResponse) HasData() bool
- func (o UsageLambdaTracedInvocationsResponse) MarshalJSON() ([]byte, error)
- func (o *UsageLambdaTracedInvocationsResponse) SetData(v []UsageDataObject)
- func (o *UsageLambdaTracedInvocationsResponse) UnmarshalJSON(bytes []byte) (err error)
- type UsageMeteringApiService
- func (a *UsageMeteringApiService) GetCostByOrg(ctx _context.Context, startMonth time.Time, ...) (CostByOrgResponse, *_nethttp.Response, error)
- func (a *UsageMeteringApiService) GetEstimatedCostByOrg(ctx _context.Context, o ...GetEstimatedCostByOrgOptionalParameters) (CostByOrgResponse, *_nethttp.Response, error)
- func (a *UsageMeteringApiService) GetHourlyUsage(ctx _context.Context, filterTimestampStart time.Time, ...) (HourlyUsageResponse, *_nethttp.Response, error)
- func (a *UsageMeteringApiService) GetUsageApplicationSecurityMonitoring(ctx _context.Context, startHr time.Time, ...) (UsageApplicationSecurityMonitoringResponse, *_nethttp.Response, error)
- func (a *UsageMeteringApiService) GetUsageLambdaTracedInvocations(ctx _context.Context, startHr time.Time, ...) (UsageLambdaTracedInvocationsResponse, *_nethttp.Response, error)
- func (a *UsageMeteringApiService) GetUsageObservabilityPipelines(ctx _context.Context, startHr time.Time, ...) (UsageObservabilityPipelinesResponse, *_nethttp.Response, error)
- type UsageObservabilityPipelinesResponse
- func (o *UsageObservabilityPipelinesResponse) GetData() []UsageDataObject
- func (o *UsageObservabilityPipelinesResponse) GetDataOk() (*[]UsageDataObject, bool)
- func (o *UsageObservabilityPipelinesResponse) HasData() bool
- func (o UsageObservabilityPipelinesResponse) MarshalJSON() ([]byte, error)
- func (o *UsageObservabilityPipelinesResponse) SetData(v []UsageDataObject)
- func (o *UsageObservabilityPipelinesResponse) UnmarshalJSON(bytes []byte) (err error)
- type UsageTimeSeriesObject
- func (o *UsageTimeSeriesObject) GetTimestamp() time.Time
- func (o *UsageTimeSeriesObject) GetTimestampOk() (*time.Time, bool)
- func (o *UsageTimeSeriesObject) GetValue() int64
- func (o *UsageTimeSeriesObject) GetValueOk() (*int64, bool)
- func (o *UsageTimeSeriesObject) HasTimestamp() bool
- func (o *UsageTimeSeriesObject) HasValue() bool
- func (o UsageTimeSeriesObject) MarshalJSON() ([]byte, error)
- func (o *UsageTimeSeriesObject) SetTimestamp(v time.Time)
- func (o *UsageTimeSeriesObject) SetValue(v int64)
- func (o *UsageTimeSeriesObject) SetValueNil()
- func (o *UsageTimeSeriesObject) UnmarshalJSON(bytes []byte) (err error)
- func (o *UsageTimeSeriesObject) UnsetValue()
- type UsageTimeSeriesType
- type User
- func (o *User) GetAttributes() UserAttributes
- func (o *User) GetAttributesOk() (*UserAttributes, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) GetRelationships() UserResponseRelationships
- func (o *User) GetRelationshipsOk() (*UserResponseRelationships, bool)
- func (o *User) GetType() UsersType
- func (o *User) GetTypeOk() (*UsersType, bool)
- func (o *User) HasAttributes() bool
- func (o *User) HasId() bool
- func (o *User) HasRelationships() bool
- func (o *User) HasType() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetAttributes(v UserAttributes)
- func (o *User) SetId(v string)
- func (o *User) SetRelationships(v UserResponseRelationships)
- func (o *User) SetType(v UsersType)
- func (o *User) UnmarshalJSON(bytes []byte) (err error)
- type UserAttributes
- func (o *UserAttributes) GetCreatedAt() time.Time
- func (o *UserAttributes) GetCreatedAtOk() (*time.Time, bool)
- func (o *UserAttributes) GetDisabled() bool
- func (o *UserAttributes) GetDisabledOk() (*bool, bool)
- func (o *UserAttributes) GetEmail() string
- func (o *UserAttributes) GetEmailOk() (*string, bool)
- func (o *UserAttributes) GetHandle() string
- func (o *UserAttributes) GetHandleOk() (*string, bool)
- func (o *UserAttributes) GetIcon() string
- func (o *UserAttributes) GetIconOk() (*string, bool)
- func (o *UserAttributes) GetModifiedAt() time.Time
- func (o *UserAttributes) GetModifiedAtOk() (*time.Time, bool)
- func (o *UserAttributes) GetName() string
- func (o *UserAttributes) GetNameOk() (*string, bool)
- func (o *UserAttributes) GetServiceAccount() bool
- func (o *UserAttributes) GetServiceAccountOk() (*bool, bool)
- func (o *UserAttributes) GetStatus() string
- func (o *UserAttributes) GetStatusOk() (*string, bool)
- func (o *UserAttributes) GetTitle() string
- func (o *UserAttributes) GetTitleOk() (*string, bool)
- func (o *UserAttributes) GetVerified() bool
- func (o *UserAttributes) GetVerifiedOk() (*bool, bool)
- func (o *UserAttributes) HasCreatedAt() bool
- func (o *UserAttributes) HasDisabled() bool
- func (o *UserAttributes) HasEmail() bool
- func (o *UserAttributes) HasHandle() bool
- func (o *UserAttributes) HasIcon() bool
- func (o *UserAttributes) HasModifiedAt() bool
- func (o *UserAttributes) HasName() bool
- func (o *UserAttributes) HasServiceAccount() bool
- func (o *UserAttributes) HasStatus() bool
- func (o *UserAttributes) HasTitle() bool
- func (o *UserAttributes) HasVerified() bool
- func (o UserAttributes) MarshalJSON() ([]byte, error)
- func (o *UserAttributes) SetCreatedAt(v time.Time)
- func (o *UserAttributes) SetDisabled(v bool)
- func (o *UserAttributes) SetEmail(v string)
- func (o *UserAttributes) SetHandle(v string)
- func (o *UserAttributes) SetIcon(v string)
- func (o *UserAttributes) SetModifiedAt(v time.Time)
- func (o *UserAttributes) SetName(v string)
- func (o *UserAttributes) SetNameNil()
- func (o *UserAttributes) SetServiceAccount(v bool)
- func (o *UserAttributes) SetStatus(v string)
- func (o *UserAttributes) SetTitle(v string)
- func (o *UserAttributes) SetTitleNil()
- func (o *UserAttributes) SetVerified(v bool)
- func (o *UserAttributes) UnmarshalJSON(bytes []byte) (err error)
- func (o *UserAttributes) UnsetName()
- func (o *UserAttributes) UnsetTitle()
- type UserCreateAttributes
- func (o *UserCreateAttributes) GetEmail() string
- func (o *UserCreateAttributes) GetEmailOk() (*string, bool)
- func (o *UserCreateAttributes) GetName() string
- func (o *UserCreateAttributes) GetNameOk() (*string, bool)
- func (o *UserCreateAttributes) GetTitle() string
- func (o *UserCreateAttributes) GetTitleOk() (*string, bool)
- func (o *UserCreateAttributes) HasName() bool
- func (o *UserCreateAttributes) HasTitle() bool
- func (o UserCreateAttributes) MarshalJSON() ([]byte, error)
- func (o *UserCreateAttributes) SetEmail(v string)
- func (o *UserCreateAttributes) SetName(v string)
- func (o *UserCreateAttributes) SetTitle(v string)
- func (o *UserCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type UserCreateData
- func (o *UserCreateData) GetAttributes() UserCreateAttributes
- func (o *UserCreateData) GetAttributesOk() (*UserCreateAttributes, bool)
- func (o *UserCreateData) GetRelationships() UserRelationships
- func (o *UserCreateData) GetRelationshipsOk() (*UserRelationships, bool)
- func (o *UserCreateData) GetType() UsersType
- func (o *UserCreateData) GetTypeOk() (*UsersType, bool)
- func (o *UserCreateData) HasRelationships() bool
- func (o UserCreateData) MarshalJSON() ([]byte, error)
- func (o *UserCreateData) SetAttributes(v UserCreateAttributes)
- func (o *UserCreateData) SetRelationships(v UserRelationships)
- func (o *UserCreateData) SetType(v UsersType)
- func (o *UserCreateData) UnmarshalJSON(bytes []byte) (err error)
- type UserCreateRequest
- type UserInvitationData
- func (o *UserInvitationData) GetRelationships() UserInvitationRelationships
- func (o *UserInvitationData) GetRelationshipsOk() (*UserInvitationRelationships, bool)
- func (o *UserInvitationData) GetType() UserInvitationsType
- func (o *UserInvitationData) GetTypeOk() (*UserInvitationsType, bool)
- func (o UserInvitationData) MarshalJSON() ([]byte, error)
- func (o *UserInvitationData) SetRelationships(v UserInvitationRelationships)
- func (o *UserInvitationData) SetType(v UserInvitationsType)
- func (o *UserInvitationData) UnmarshalJSON(bytes []byte) (err error)
- type UserInvitationDataAttributes
- func (o *UserInvitationDataAttributes) GetCreatedAt() time.Time
- func (o *UserInvitationDataAttributes) GetCreatedAtOk() (*time.Time, bool)
- func (o *UserInvitationDataAttributes) GetExpiresAt() time.Time
- func (o *UserInvitationDataAttributes) GetExpiresAtOk() (*time.Time, bool)
- func (o *UserInvitationDataAttributes) GetInviteType() string
- func (o *UserInvitationDataAttributes) GetInviteTypeOk() (*string, bool)
- func (o *UserInvitationDataAttributes) GetUuid() string
- func (o *UserInvitationDataAttributes) GetUuidOk() (*string, bool)
- func (o *UserInvitationDataAttributes) HasCreatedAt() bool
- func (o *UserInvitationDataAttributes) HasExpiresAt() bool
- func (o *UserInvitationDataAttributes) HasInviteType() bool
- func (o *UserInvitationDataAttributes) HasUuid() bool
- func (o UserInvitationDataAttributes) MarshalJSON() ([]byte, error)
- func (o *UserInvitationDataAttributes) SetCreatedAt(v time.Time)
- func (o *UserInvitationDataAttributes) SetExpiresAt(v time.Time)
- func (o *UserInvitationDataAttributes) SetInviteType(v string)
- func (o *UserInvitationDataAttributes) SetUuid(v string)
- func (o *UserInvitationDataAttributes) UnmarshalJSON(bytes []byte) (err error)
- type UserInvitationRelationships
- func (o *UserInvitationRelationships) GetUser() RelationshipToUser
- func (o *UserInvitationRelationships) GetUserOk() (*RelationshipToUser, bool)
- func (o UserInvitationRelationships) MarshalJSON() ([]byte, error)
- func (o *UserInvitationRelationships) SetUser(v RelationshipToUser)
- func (o *UserInvitationRelationships) UnmarshalJSON(bytes []byte) (err error)
- type UserInvitationResponse
- func (o *UserInvitationResponse) GetData() UserInvitationResponseData
- func (o *UserInvitationResponse) GetDataOk() (*UserInvitationResponseData, bool)
- func (o *UserInvitationResponse) HasData() bool
- func (o UserInvitationResponse) MarshalJSON() ([]byte, error)
- func (o *UserInvitationResponse) SetData(v UserInvitationResponseData)
- func (o *UserInvitationResponse) UnmarshalJSON(bytes []byte) (err error)
- type UserInvitationResponseData
- func (o *UserInvitationResponseData) GetAttributes() UserInvitationDataAttributes
- func (o *UserInvitationResponseData) GetAttributesOk() (*UserInvitationDataAttributes, bool)
- func (o *UserInvitationResponseData) GetId() string
- func (o *UserInvitationResponseData) GetIdOk() (*string, bool)
- func (o *UserInvitationResponseData) GetType() UserInvitationsType
- func (o *UserInvitationResponseData) GetTypeOk() (*UserInvitationsType, bool)
- func (o *UserInvitationResponseData) HasAttributes() bool
- func (o *UserInvitationResponseData) HasId() bool
- func (o *UserInvitationResponseData) HasType() bool
- func (o UserInvitationResponseData) MarshalJSON() ([]byte, error)
- func (o *UserInvitationResponseData) SetAttributes(v UserInvitationDataAttributes)
- func (o *UserInvitationResponseData) SetId(v string)
- func (o *UserInvitationResponseData) SetType(v UserInvitationsType)
- func (o *UserInvitationResponseData) UnmarshalJSON(bytes []byte) (err error)
- type UserInvitationsRequest
- func (o *UserInvitationsRequest) GetData() []UserInvitationData
- func (o *UserInvitationsRequest) GetDataOk() (*[]UserInvitationData, bool)
- func (o UserInvitationsRequest) MarshalJSON() ([]byte, error)
- func (o *UserInvitationsRequest) SetData(v []UserInvitationData)
- func (o *UserInvitationsRequest) UnmarshalJSON(bytes []byte) (err error)
- type UserInvitationsResponse
- func (o *UserInvitationsResponse) GetData() []UserInvitationResponseData
- func (o *UserInvitationsResponse) GetDataOk() (*[]UserInvitationResponseData, bool)
- func (o *UserInvitationsResponse) HasData() bool
- func (o UserInvitationsResponse) MarshalJSON() ([]byte, error)
- func (o *UserInvitationsResponse) SetData(v []UserInvitationResponseData)
- func (o *UserInvitationsResponse) UnmarshalJSON(bytes []byte) (err error)
- type UserInvitationsType
- type UserRelationships
- func (o *UserRelationships) GetRoles() RelationshipToRoles
- func (o *UserRelationships) GetRolesOk() (*RelationshipToRoles, bool)
- func (o *UserRelationships) HasRoles() bool
- func (o UserRelationships) MarshalJSON() ([]byte, error)
- func (o *UserRelationships) SetRoles(v RelationshipToRoles)
- func (o *UserRelationships) UnmarshalJSON(bytes []byte) (err error)
- type UserResponse
- func (o *UserResponse) GetData() User
- func (o *UserResponse) GetDataOk() (*User, bool)
- func (o *UserResponse) GetIncluded() []UserResponseIncludedItem
- func (o *UserResponse) GetIncludedOk() (*[]UserResponseIncludedItem, bool)
- func (o *UserResponse) HasData() bool
- func (o *UserResponse) HasIncluded() bool
- func (o UserResponse) MarshalJSON() ([]byte, error)
- func (o *UserResponse) SetData(v User)
- func (o *UserResponse) SetIncluded(v []UserResponseIncludedItem)
- func (o *UserResponse) UnmarshalJSON(bytes []byte) (err error)
- type UserResponseIncludedItem
- type UserResponseRelationships
- func (o *UserResponseRelationships) GetOrg() RelationshipToOrganization
- func (o *UserResponseRelationships) GetOrgOk() (*RelationshipToOrganization, bool)
- func (o *UserResponseRelationships) GetOtherOrgs() RelationshipToOrganizations
- func (o *UserResponseRelationships) GetOtherOrgsOk() (*RelationshipToOrganizations, bool)
- func (o *UserResponseRelationships) GetOtherUsers() RelationshipToUsers
- func (o *UserResponseRelationships) GetOtherUsersOk() (*RelationshipToUsers, bool)
- func (o *UserResponseRelationships) GetRoles() RelationshipToRoles
- func (o *UserResponseRelationships) GetRolesOk() (*RelationshipToRoles, bool)
- func (o *UserResponseRelationships) HasOrg() bool
- func (o *UserResponseRelationships) HasOtherOrgs() bool
- func (o *UserResponseRelationships) HasOtherUsers() bool
- func (o *UserResponseRelationships) HasRoles() bool
- func (o UserResponseRelationships) MarshalJSON() ([]byte, error)
- func (o *UserResponseRelationships) SetOrg(v RelationshipToOrganization)
- func (o *UserResponseRelationships) SetOtherOrgs(v RelationshipToOrganizations)
- func (o *UserResponseRelationships) SetOtherUsers(v RelationshipToUsers)
- func (o *UserResponseRelationships) SetRoles(v RelationshipToRoles)
- func (o *UserResponseRelationships) UnmarshalJSON(bytes []byte) (err error)
- type UserUpdateAttributes
- func (o *UserUpdateAttributes) GetDisabled() bool
- func (o *UserUpdateAttributes) GetDisabledOk() (*bool, bool)
- func (o *UserUpdateAttributes) GetEmail() string
- func (o *UserUpdateAttributes) GetEmailOk() (*string, bool)
- func (o *UserUpdateAttributes) GetName() string
- func (o *UserUpdateAttributes) GetNameOk() (*string, bool)
- func (o *UserUpdateAttributes) HasDisabled() bool
- func (o *UserUpdateAttributes) HasEmail() bool
- func (o *UserUpdateAttributes) HasName() bool
- func (o UserUpdateAttributes) MarshalJSON() ([]byte, error)
- func (o *UserUpdateAttributes) SetDisabled(v bool)
- func (o *UserUpdateAttributes) SetEmail(v string)
- func (o *UserUpdateAttributes) SetName(v string)
- func (o *UserUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
- type UserUpdateData
- func (o *UserUpdateData) GetAttributes() UserUpdateAttributes
- func (o *UserUpdateData) GetAttributesOk() (*UserUpdateAttributes, bool)
- func (o *UserUpdateData) GetId() string
- func (o *UserUpdateData) GetIdOk() (*string, bool)
- func (o *UserUpdateData) GetType() UsersType
- func (o *UserUpdateData) GetTypeOk() (*UsersType, bool)
- func (o UserUpdateData) MarshalJSON() ([]byte, error)
- func (o *UserUpdateData) SetAttributes(v UserUpdateAttributes)
- func (o *UserUpdateData) SetId(v string)
- func (o *UserUpdateData) SetType(v UsersType)
- func (o *UserUpdateData) UnmarshalJSON(bytes []byte) (err error)
- type UserUpdateRequest
- type UsersApiService
- func (a *UsersApiService) CreateServiceAccount(ctx _context.Context, body ServiceAccountCreateRequest) (UserResponse, *_nethttp.Response, error)
- func (a *UsersApiService) CreateUser(ctx _context.Context, body UserCreateRequest) (UserResponse, *_nethttp.Response, error)
- func (a *UsersApiService) DisableUser(ctx _context.Context, userId string) (*_nethttp.Response, error)
- func (a *UsersApiService) GetInvitation(ctx _context.Context, userInvitationUuid string) (UserInvitationResponse, *_nethttp.Response, error)
- func (a *UsersApiService) GetUser(ctx _context.Context, userId string) (UserResponse, *_nethttp.Response, error)
- func (a *UsersApiService) ListUserOrganizations(ctx _context.Context, userId string) (UserResponse, *_nethttp.Response, error)
- func (a *UsersApiService) ListUserPermissions(ctx _context.Context, userId string) (PermissionsResponse, *_nethttp.Response, error)
- func (a *UsersApiService) ListUsers(ctx _context.Context, o ...ListUsersOptionalParameters) (UsersResponse, *_nethttp.Response, error)
- func (a *UsersApiService) SendInvitations(ctx _context.Context, body UserInvitationsRequest) (UserInvitationsResponse, *_nethttp.Response, error)
- func (a *UsersApiService) UpdateUser(ctx _context.Context, userId string, body UserUpdateRequest) (UserResponse, *_nethttp.Response, error)
- type UsersResponse
- func (o *UsersResponse) GetData() []User
- func (o *UsersResponse) GetDataOk() (*[]User, bool)
- func (o *UsersResponse) GetIncluded() []UserResponseIncludedItem
- func (o *UsersResponse) GetIncludedOk() (*[]UserResponseIncludedItem, bool)
- func (o *UsersResponse) GetMeta() ResponseMetaAttributes
- func (o *UsersResponse) GetMetaOk() (*ResponseMetaAttributes, bool)
- func (o *UsersResponse) HasData() bool
- func (o *UsersResponse) HasIncluded() bool
- func (o *UsersResponse) HasMeta() bool
- func (o UsersResponse) MarshalJSON() ([]byte, error)
- func (o *UsersResponse) SetData(v []User)
- func (o *UsersResponse) SetIncluded(v []UserResponseIncludedItem)
- func (o *UsersResponse) SetMeta(v ResponseMetaAttributes)
- func (o *UsersResponse) UnmarshalJSON(bytes []byte) (err error)
- type UsersType
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func ContainsUnparsedObject ¶ added in v1.3.0
func ContainsUnparsedObject(i interface{}) (bool, interface{})
ContainsUnparsedObject returns true if the given data contains an unparsed object from the API.
func NewDefaultContext ¶
NewDefaultContext returns a new context setup with environment variables.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
AuditApi *AuditApiService
AuthNMappingsApi *AuthNMappingsApiService
CloudWorkloadSecurityApi *CloudWorkloadSecurityApiService
DashboardListsApi *DashboardListsApiService
IncidentServicesApi *IncidentServicesApiService
IncidentTeamsApi *IncidentTeamsApiService
IncidentsApi *IncidentsApiService
KeyManagementApi *KeyManagementApiService
LogsApi *LogsApiService
LogsArchivesApi *LogsArchivesApiService
LogsMetricsApi *LogsMetricsApiService
MetricsApi *MetricsApiService
OpsgenieIntegrationApi *OpsgenieIntegrationApiService
OrganizationsApi *OrganizationsApiService
ProcessesApi *ProcessesApiService
RolesApi *RolesApiService
RUMApi *RUMApiService
SecurityMonitoringApi *SecurityMonitoringApiService
ServiceAccountsApi *ServiceAccountsApiService
UsageMeteringApi *UsageMeteringApiService
UsersApi *UsersApiService
// contains filtered or unexported fields
}
APIClient manages communication with the Datadog API V2 Collection API v1.0. In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
GetConfig allows modification of underlying config for alternate implementations and testing. Caution: modifying the configuration while live can cause data races and potentially unwanted behavior.
func (*APIClient) PrepareRequest ¶
func (c *APIClient) PrepareRequest( ctx context.Context, path string, method string, postBody interface{}, headerParams map[string]string, queryParams url.Values, formParams url.Values, formFile *FormFile) (localVarRequest *http.Request, err error)
PrepareRequest build the request.
type APIErrorResponse ¶
type APIErrorResponse struct {
// A list of errors.
Errors []string `json:"errors"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
APIErrorResponse API error response.
func NewAPIErrorResponse ¶
func NewAPIErrorResponse(errors []string) *APIErrorResponse
NewAPIErrorResponse instantiates a new APIErrorResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAPIErrorResponseWithDefaults ¶
func NewAPIErrorResponseWithDefaults() *APIErrorResponse
NewAPIErrorResponseWithDefaults instantiates a new APIErrorResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*APIErrorResponse) GetErrors ¶
func (o *APIErrorResponse) GetErrors() []string
GetErrors returns the Errors field value.
func (*APIErrorResponse) GetErrorsOk ¶
func (o *APIErrorResponse) GetErrorsOk() (*[]string, bool)
GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.
func (APIErrorResponse) MarshalJSON ¶
func (o APIErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*APIErrorResponse) SetErrors ¶
func (o *APIErrorResponse) SetErrors(v []string)
SetErrors sets field value.
func (*APIErrorResponse) UnmarshalJSON ¶
func (o *APIErrorResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
type APIKeyCreateAttributes ¶
type APIKeyCreateAttributes struct {
// Name of the API key.
Name string `json:"name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
APIKeyCreateAttributes Attributes used to create an API Key.
func NewAPIKeyCreateAttributes ¶
func NewAPIKeyCreateAttributes(name string) *APIKeyCreateAttributes
NewAPIKeyCreateAttributes instantiates a new APIKeyCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAPIKeyCreateAttributesWithDefaults ¶
func NewAPIKeyCreateAttributesWithDefaults() *APIKeyCreateAttributes
NewAPIKeyCreateAttributesWithDefaults instantiates a new APIKeyCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*APIKeyCreateAttributes) GetName ¶
func (o *APIKeyCreateAttributes) GetName() string
GetName returns the Name field value.
func (*APIKeyCreateAttributes) GetNameOk ¶
func (o *APIKeyCreateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (APIKeyCreateAttributes) MarshalJSON ¶
func (o APIKeyCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*APIKeyCreateAttributes) SetName ¶
func (o *APIKeyCreateAttributes) SetName(v string)
SetName sets field value.
func (*APIKeyCreateAttributes) UnmarshalJSON ¶
func (o *APIKeyCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type APIKeyCreateData ¶
type APIKeyCreateData struct {
// Attributes used to create an API Key.
Attributes APIKeyCreateAttributes `json:"attributes"`
// API Keys resource type.
Type APIKeysType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
APIKeyCreateData Object used to create an API key.
func NewAPIKeyCreateData ¶
func NewAPIKeyCreateData(attributes APIKeyCreateAttributes, typeVar APIKeysType) *APIKeyCreateData
NewAPIKeyCreateData instantiates a new APIKeyCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAPIKeyCreateDataWithDefaults ¶
func NewAPIKeyCreateDataWithDefaults() *APIKeyCreateData
NewAPIKeyCreateDataWithDefaults instantiates a new APIKeyCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*APIKeyCreateData) GetAttributes ¶
func (o *APIKeyCreateData) GetAttributes() APIKeyCreateAttributes
GetAttributes returns the Attributes field value.
func (*APIKeyCreateData) GetAttributesOk ¶
func (o *APIKeyCreateData) GetAttributesOk() (*APIKeyCreateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*APIKeyCreateData) GetType ¶
func (o *APIKeyCreateData) GetType() APIKeysType
GetType returns the Type field value.
func (*APIKeyCreateData) GetTypeOk ¶
func (o *APIKeyCreateData) GetTypeOk() (*APIKeysType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (APIKeyCreateData) MarshalJSON ¶
func (o APIKeyCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*APIKeyCreateData) SetAttributes ¶
func (o *APIKeyCreateData) SetAttributes(v APIKeyCreateAttributes)
SetAttributes sets field value.
func (*APIKeyCreateData) SetType ¶
func (o *APIKeyCreateData) SetType(v APIKeysType)
SetType sets field value.
func (*APIKeyCreateData) UnmarshalJSON ¶
func (o *APIKeyCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type APIKeyCreateRequest ¶
type APIKeyCreateRequest struct {
// Object used to create an API key.
Data APIKeyCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
APIKeyCreateRequest Request used to create an API key.
func NewAPIKeyCreateRequest ¶
func NewAPIKeyCreateRequest(data APIKeyCreateData) *APIKeyCreateRequest
NewAPIKeyCreateRequest instantiates a new APIKeyCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAPIKeyCreateRequestWithDefaults ¶
func NewAPIKeyCreateRequestWithDefaults() *APIKeyCreateRequest
NewAPIKeyCreateRequestWithDefaults instantiates a new APIKeyCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*APIKeyCreateRequest) GetData ¶
func (o *APIKeyCreateRequest) GetData() APIKeyCreateData
GetData returns the Data field value.
func (*APIKeyCreateRequest) GetDataOk ¶
func (o *APIKeyCreateRequest) GetDataOk() (*APIKeyCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (APIKeyCreateRequest) MarshalJSON ¶
func (o APIKeyCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*APIKeyCreateRequest) SetData ¶
func (o *APIKeyCreateRequest) SetData(v APIKeyCreateData)
SetData sets field value.
func (*APIKeyCreateRequest) UnmarshalJSON ¶
func (o *APIKeyCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type APIKeyRelationships ¶
type APIKeyRelationships struct {
// Relationship to user.
CreatedBy *RelationshipToUser `json:"created_by,omitempty"`
// Relationship to user.
ModifiedBy *RelationshipToUser `json:"modified_by,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
APIKeyRelationships Resources related to the API key.
func NewAPIKeyRelationships ¶
func NewAPIKeyRelationships() *APIKeyRelationships
NewAPIKeyRelationships instantiates a new APIKeyRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAPIKeyRelationshipsWithDefaults ¶
func NewAPIKeyRelationshipsWithDefaults() *APIKeyRelationships
NewAPIKeyRelationshipsWithDefaults instantiates a new APIKeyRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*APIKeyRelationships) GetCreatedBy ¶
func (o *APIKeyRelationships) GetCreatedBy() RelationshipToUser
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*APIKeyRelationships) GetCreatedByOk ¶
func (o *APIKeyRelationships) GetCreatedByOk() (*RelationshipToUser, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIKeyRelationships) GetModifiedBy ¶
func (o *APIKeyRelationships) GetModifiedBy() RelationshipToUser
GetModifiedBy returns the ModifiedBy field value if set, zero value otherwise.
func (*APIKeyRelationships) GetModifiedByOk ¶
func (o *APIKeyRelationships) GetModifiedByOk() (*RelationshipToUser, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIKeyRelationships) HasCreatedBy ¶
func (o *APIKeyRelationships) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*APIKeyRelationships) HasModifiedBy ¶
func (o *APIKeyRelationships) HasModifiedBy() bool
HasModifiedBy returns a boolean if a field has been set.
func (APIKeyRelationships) MarshalJSON ¶
func (o APIKeyRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*APIKeyRelationships) SetCreatedBy ¶
func (o *APIKeyRelationships) SetCreatedBy(v RelationshipToUser)
SetCreatedBy gets a reference to the given RelationshipToUser and assigns it to the CreatedBy field.
func (*APIKeyRelationships) SetModifiedBy ¶
func (o *APIKeyRelationships) SetModifiedBy(v RelationshipToUser)
SetModifiedBy gets a reference to the given RelationshipToUser and assigns it to the ModifiedBy field.
func (*APIKeyRelationships) UnmarshalJSON ¶ added in v1.3.0
func (o *APIKeyRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type APIKeyResponse ¶
type APIKeyResponse struct {
// Datadog API key.
Data *FullAPIKey `json:"data,omitempty"`
// Array of objects related to the API key.
Included []APIKeyResponseIncludedItem `json:"included,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
APIKeyResponse Response for retrieving an API key.
func NewAPIKeyResponse ¶
func NewAPIKeyResponse() *APIKeyResponse
NewAPIKeyResponse instantiates a new APIKeyResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAPIKeyResponseWithDefaults ¶
func NewAPIKeyResponseWithDefaults() *APIKeyResponse
NewAPIKeyResponseWithDefaults instantiates a new APIKeyResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*APIKeyResponse) GetData ¶
func (o *APIKeyResponse) GetData() FullAPIKey
GetData returns the Data field value if set, zero value otherwise.
func (*APIKeyResponse) GetDataOk ¶
func (o *APIKeyResponse) GetDataOk() (*FullAPIKey, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIKeyResponse) GetIncluded ¶
func (o *APIKeyResponse) GetIncluded() []APIKeyResponseIncludedItem
GetIncluded returns the Included field value if set, zero value otherwise.
func (*APIKeyResponse) GetIncludedOk ¶
func (o *APIKeyResponse) GetIncludedOk() (*[]APIKeyResponseIncludedItem, bool)
GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIKeyResponse) HasData ¶
func (o *APIKeyResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*APIKeyResponse) HasIncluded ¶
func (o *APIKeyResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (APIKeyResponse) MarshalJSON ¶
func (o APIKeyResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*APIKeyResponse) SetData ¶
func (o *APIKeyResponse) SetData(v FullAPIKey)
SetData gets a reference to the given FullAPIKey and assigns it to the Data field.
func (*APIKeyResponse) SetIncluded ¶
func (o *APIKeyResponse) SetIncluded(v []APIKeyResponseIncludedItem)
SetIncluded gets a reference to the given []APIKeyResponseIncludedItem and assigns it to the Included field.
func (*APIKeyResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *APIKeyResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type APIKeyResponseIncludedItem ¶
type APIKeyResponseIncludedItem struct {
User *User
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
APIKeyResponseIncludedItem - An object related to an API key.
func UserAsAPIKeyResponseIncludedItem ¶
func UserAsAPIKeyResponseIncludedItem(v *User) APIKeyResponseIncludedItem
UserAsAPIKeyResponseIncludedItem is a convenience function that returns User wrapped in APIKeyResponseIncludedItem.
func (*APIKeyResponseIncludedItem) GetActualInstance ¶
func (obj *APIKeyResponseIncludedItem) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (APIKeyResponseIncludedItem) MarshalJSON ¶
func (obj APIKeyResponseIncludedItem) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*APIKeyResponseIncludedItem) UnmarshalJSON ¶
func (obj *APIKeyResponseIncludedItem) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type APIKeyUpdateAttributes ¶
type APIKeyUpdateAttributes struct {
// Name of the API key.
Name string `json:"name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
APIKeyUpdateAttributes Attributes used to update an API Key.
func NewAPIKeyUpdateAttributes ¶
func NewAPIKeyUpdateAttributes(name string) *APIKeyUpdateAttributes
NewAPIKeyUpdateAttributes instantiates a new APIKeyUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAPIKeyUpdateAttributesWithDefaults ¶
func NewAPIKeyUpdateAttributesWithDefaults() *APIKeyUpdateAttributes
NewAPIKeyUpdateAttributesWithDefaults instantiates a new APIKeyUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*APIKeyUpdateAttributes) GetName ¶
func (o *APIKeyUpdateAttributes) GetName() string
GetName returns the Name field value.
func (*APIKeyUpdateAttributes) GetNameOk ¶
func (o *APIKeyUpdateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (APIKeyUpdateAttributes) MarshalJSON ¶
func (o APIKeyUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*APIKeyUpdateAttributes) SetName ¶
func (o *APIKeyUpdateAttributes) SetName(v string)
SetName sets field value.
func (*APIKeyUpdateAttributes) UnmarshalJSON ¶
func (o *APIKeyUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type APIKeyUpdateData ¶
type APIKeyUpdateData struct {
// Attributes used to update an API Key.
Attributes APIKeyUpdateAttributes `json:"attributes"`
// ID of the API key.
Id string `json:"id"`
// API Keys resource type.
Type APIKeysType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
APIKeyUpdateData Object used to update an API key.
func NewAPIKeyUpdateData ¶
func NewAPIKeyUpdateData(attributes APIKeyUpdateAttributes, id string, typeVar APIKeysType) *APIKeyUpdateData
NewAPIKeyUpdateData instantiates a new APIKeyUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAPIKeyUpdateDataWithDefaults ¶
func NewAPIKeyUpdateDataWithDefaults() *APIKeyUpdateData
NewAPIKeyUpdateDataWithDefaults instantiates a new APIKeyUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*APIKeyUpdateData) GetAttributes ¶
func (o *APIKeyUpdateData) GetAttributes() APIKeyUpdateAttributes
GetAttributes returns the Attributes field value.
func (*APIKeyUpdateData) GetAttributesOk ¶
func (o *APIKeyUpdateData) GetAttributesOk() (*APIKeyUpdateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*APIKeyUpdateData) GetId ¶
func (o *APIKeyUpdateData) GetId() string
GetId returns the Id field value.
func (*APIKeyUpdateData) GetIdOk ¶
func (o *APIKeyUpdateData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*APIKeyUpdateData) GetType ¶
func (o *APIKeyUpdateData) GetType() APIKeysType
GetType returns the Type field value.
func (*APIKeyUpdateData) GetTypeOk ¶
func (o *APIKeyUpdateData) GetTypeOk() (*APIKeysType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (APIKeyUpdateData) MarshalJSON ¶
func (o APIKeyUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*APIKeyUpdateData) SetAttributes ¶
func (o *APIKeyUpdateData) SetAttributes(v APIKeyUpdateAttributes)
SetAttributes sets field value.
func (*APIKeyUpdateData) SetId ¶
func (o *APIKeyUpdateData) SetId(v string)
SetId sets field value.
func (*APIKeyUpdateData) SetType ¶
func (o *APIKeyUpdateData) SetType(v APIKeysType)
SetType sets field value.
func (*APIKeyUpdateData) UnmarshalJSON ¶
func (o *APIKeyUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type APIKeyUpdateRequest ¶
type APIKeyUpdateRequest struct {
// Object used to update an API key.
Data APIKeyUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
APIKeyUpdateRequest Request used to update an API key.
func NewAPIKeyUpdateRequest ¶
func NewAPIKeyUpdateRequest(data APIKeyUpdateData) *APIKeyUpdateRequest
NewAPIKeyUpdateRequest instantiates a new APIKeyUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAPIKeyUpdateRequestWithDefaults ¶
func NewAPIKeyUpdateRequestWithDefaults() *APIKeyUpdateRequest
NewAPIKeyUpdateRequestWithDefaults instantiates a new APIKeyUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*APIKeyUpdateRequest) GetData ¶
func (o *APIKeyUpdateRequest) GetData() APIKeyUpdateData
GetData returns the Data field value.
func (*APIKeyUpdateRequest) GetDataOk ¶
func (o *APIKeyUpdateRequest) GetDataOk() (*APIKeyUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (APIKeyUpdateRequest) MarshalJSON ¶
func (o APIKeyUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*APIKeyUpdateRequest) SetData ¶
func (o *APIKeyUpdateRequest) SetData(v APIKeyUpdateData)
SetData sets field value.
func (*APIKeyUpdateRequest) UnmarshalJSON ¶
func (o *APIKeyUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type APIKeysResponse ¶
type APIKeysResponse struct {
// Array of API keys.
Data []PartialAPIKey `json:"data,omitempty"`
// Array of objects related to the API key.
Included []APIKeyResponseIncludedItem `json:"included,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
APIKeysResponse Response for a list of API keys.
func NewAPIKeysResponse ¶
func NewAPIKeysResponse() *APIKeysResponse
NewAPIKeysResponse instantiates a new APIKeysResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAPIKeysResponseWithDefaults ¶
func NewAPIKeysResponseWithDefaults() *APIKeysResponse
NewAPIKeysResponseWithDefaults instantiates a new APIKeysResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*APIKeysResponse) GetData ¶
func (o *APIKeysResponse) GetData() []PartialAPIKey
GetData returns the Data field value if set, zero value otherwise.
func (*APIKeysResponse) GetDataOk ¶
func (o *APIKeysResponse) GetDataOk() (*[]PartialAPIKey, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIKeysResponse) GetIncluded ¶
func (o *APIKeysResponse) GetIncluded() []APIKeyResponseIncludedItem
GetIncluded returns the Included field value if set, zero value otherwise.
func (*APIKeysResponse) GetIncludedOk ¶
func (o *APIKeysResponse) GetIncludedOk() (*[]APIKeyResponseIncludedItem, bool)
GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIKeysResponse) HasData ¶
func (o *APIKeysResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*APIKeysResponse) HasIncluded ¶
func (o *APIKeysResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (APIKeysResponse) MarshalJSON ¶
func (o APIKeysResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*APIKeysResponse) SetData ¶
func (o *APIKeysResponse) SetData(v []PartialAPIKey)
SetData gets a reference to the given []PartialAPIKey and assigns it to the Data field.
func (*APIKeysResponse) SetIncluded ¶
func (o *APIKeysResponse) SetIncluded(v []APIKeyResponseIncludedItem)
SetIncluded gets a reference to the given []APIKeyResponseIncludedItem and assigns it to the Included field.
func (*APIKeysResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *APIKeysResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type APIKeysSort ¶
type APIKeysSort string
APIKeysSort Sorting options
const ( APIKEYSSORT_CREATED_AT_ASCENDING APIKeysSort = "created_at" APIKEYSSORT_CREATED_AT_DESCENDING APIKeysSort = "-created_at" APIKEYSSORT_LAST4_ASCENDING APIKeysSort = "last4" APIKEYSSORT_LAST4_DESCENDING APIKeysSort = "-last4" APIKEYSSORT_MODIFIED_AT_ASCENDING APIKeysSort = "modified_at" APIKEYSSORT_MODIFIED_AT_DESCENDING APIKeysSort = "-modified_at" APIKEYSSORT_NAME_ASCENDING APIKeysSort = "name" APIKEYSSORT_NAME_DESCENDING APIKeysSort = "-name" )
List of APIKeysSort.
func NewAPIKeysSortFromValue ¶
func NewAPIKeysSortFromValue(v string) (*APIKeysSort, error)
NewAPIKeysSortFromValue returns a pointer to a valid APIKeysSort for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*APIKeysSort) GetAllowedValues ¶ added in v1.1.0
func (v *APIKeysSort) GetAllowedValues() []APIKeysSort
GetAllowedValues reeturns the list of possible values.
func (APIKeysSort) IsValid ¶
func (v APIKeysSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (APIKeysSort) Ptr ¶
func (v APIKeysSort) Ptr() *APIKeysSort
Ptr returns reference to APIKeysSort value.
func (*APIKeysSort) UnmarshalJSON ¶
func (v *APIKeysSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type APIKeysType ¶
type APIKeysType string
APIKeysType API Keys resource type.
const (
APIKEYSTYPE_API_KEYS APIKeysType = "api_keys"
)
List of APIKeysType.
func NewAPIKeysTypeFromValue ¶
func NewAPIKeysTypeFromValue(v string) (*APIKeysType, error)
NewAPIKeysTypeFromValue returns a pointer to a valid APIKeysType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*APIKeysType) GetAllowedValues ¶ added in v1.1.0
func (v *APIKeysType) GetAllowedValues() []APIKeysType
GetAllowedValues reeturns the list of possible values.
func (APIKeysType) IsValid ¶
func (v APIKeysType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (APIKeysType) Ptr ¶
func (v APIKeysType) Ptr() *APIKeysType
Ptr returns reference to APIKeysType value.
func (*APIKeysType) UnmarshalJSON ¶
func (v *APIKeysType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type ApplicationKeyCreateAttributes ¶
type ApplicationKeyCreateAttributes struct {
// Name of the application key.
Name string `json:"name"`
// Array of scopes to grant the application key. This feature is in private beta, please contact Datadog support to enable scopes for your application keys.
Scopes []string `json:"scopes,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ApplicationKeyCreateAttributes Attributes used to create an application Key.
func NewApplicationKeyCreateAttributes ¶
func NewApplicationKeyCreateAttributes(name string) *ApplicationKeyCreateAttributes
NewApplicationKeyCreateAttributes instantiates a new ApplicationKeyCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApplicationKeyCreateAttributesWithDefaults ¶
func NewApplicationKeyCreateAttributesWithDefaults() *ApplicationKeyCreateAttributes
NewApplicationKeyCreateAttributesWithDefaults instantiates a new ApplicationKeyCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ApplicationKeyCreateAttributes) GetName ¶
func (o *ApplicationKeyCreateAttributes) GetName() string
GetName returns the Name field value.
func (*ApplicationKeyCreateAttributes) GetNameOk ¶
func (o *ApplicationKeyCreateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ApplicationKeyCreateAttributes) GetScopes ¶ added in v1.8.0
func (o *ApplicationKeyCreateAttributes) GetScopes() []string
GetScopes returns the Scopes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApplicationKeyCreateAttributes) GetScopesOk ¶ added in v1.8.0
func (o *ApplicationKeyCreateAttributes) GetScopesOk() (*[]string, bool)
GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*ApplicationKeyCreateAttributes) HasScopes ¶ added in v1.8.0
func (o *ApplicationKeyCreateAttributes) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (ApplicationKeyCreateAttributes) MarshalJSON ¶
func (o ApplicationKeyCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ApplicationKeyCreateAttributes) SetName ¶
func (o *ApplicationKeyCreateAttributes) SetName(v string)
SetName sets field value.
func (*ApplicationKeyCreateAttributes) SetScopes ¶ added in v1.8.0
func (o *ApplicationKeyCreateAttributes) SetScopes(v []string)
SetScopes gets a reference to the given []string and assigns it to the Scopes field.
func (*ApplicationKeyCreateAttributes) UnmarshalJSON ¶
func (o *ApplicationKeyCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ApplicationKeyCreateData ¶
type ApplicationKeyCreateData struct {
// Attributes used to create an application Key.
Attributes ApplicationKeyCreateAttributes `json:"attributes"`
// Application Keys resource type.
Type ApplicationKeysType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ApplicationKeyCreateData Object used to create an application key.
func NewApplicationKeyCreateData ¶
func NewApplicationKeyCreateData(attributes ApplicationKeyCreateAttributes, typeVar ApplicationKeysType) *ApplicationKeyCreateData
NewApplicationKeyCreateData instantiates a new ApplicationKeyCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApplicationKeyCreateDataWithDefaults ¶
func NewApplicationKeyCreateDataWithDefaults() *ApplicationKeyCreateData
NewApplicationKeyCreateDataWithDefaults instantiates a new ApplicationKeyCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ApplicationKeyCreateData) GetAttributes ¶
func (o *ApplicationKeyCreateData) GetAttributes() ApplicationKeyCreateAttributes
GetAttributes returns the Attributes field value.
func (*ApplicationKeyCreateData) GetAttributesOk ¶
func (o *ApplicationKeyCreateData) GetAttributesOk() (*ApplicationKeyCreateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*ApplicationKeyCreateData) GetType ¶
func (o *ApplicationKeyCreateData) GetType() ApplicationKeysType
GetType returns the Type field value.
func (*ApplicationKeyCreateData) GetTypeOk ¶
func (o *ApplicationKeyCreateData) GetTypeOk() (*ApplicationKeysType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ApplicationKeyCreateData) MarshalJSON ¶
func (o ApplicationKeyCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ApplicationKeyCreateData) SetAttributes ¶
func (o *ApplicationKeyCreateData) SetAttributes(v ApplicationKeyCreateAttributes)
SetAttributes sets field value.
func (*ApplicationKeyCreateData) SetType ¶
func (o *ApplicationKeyCreateData) SetType(v ApplicationKeysType)
SetType sets field value.
func (*ApplicationKeyCreateData) UnmarshalJSON ¶
func (o *ApplicationKeyCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ApplicationKeyCreateRequest ¶
type ApplicationKeyCreateRequest struct {
// Object used to create an application key.
Data ApplicationKeyCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ApplicationKeyCreateRequest Request used to create an application key.
func NewApplicationKeyCreateRequest ¶
func NewApplicationKeyCreateRequest(data ApplicationKeyCreateData) *ApplicationKeyCreateRequest
NewApplicationKeyCreateRequest instantiates a new ApplicationKeyCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApplicationKeyCreateRequestWithDefaults ¶
func NewApplicationKeyCreateRequestWithDefaults() *ApplicationKeyCreateRequest
NewApplicationKeyCreateRequestWithDefaults instantiates a new ApplicationKeyCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ApplicationKeyCreateRequest) GetData ¶
func (o *ApplicationKeyCreateRequest) GetData() ApplicationKeyCreateData
GetData returns the Data field value.
func (*ApplicationKeyCreateRequest) GetDataOk ¶
func (o *ApplicationKeyCreateRequest) GetDataOk() (*ApplicationKeyCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ApplicationKeyCreateRequest) MarshalJSON ¶
func (o ApplicationKeyCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ApplicationKeyCreateRequest) SetData ¶
func (o *ApplicationKeyCreateRequest) SetData(v ApplicationKeyCreateData)
SetData sets field value.
func (*ApplicationKeyCreateRequest) UnmarshalJSON ¶
func (o *ApplicationKeyCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ApplicationKeyRelationships ¶
type ApplicationKeyRelationships struct {
// Relationship to user.
OwnedBy *RelationshipToUser `json:"owned_by,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ApplicationKeyRelationships Resources related to the application key.
func NewApplicationKeyRelationships ¶
func NewApplicationKeyRelationships() *ApplicationKeyRelationships
NewApplicationKeyRelationships instantiates a new ApplicationKeyRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApplicationKeyRelationshipsWithDefaults ¶
func NewApplicationKeyRelationshipsWithDefaults() *ApplicationKeyRelationships
NewApplicationKeyRelationshipsWithDefaults instantiates a new ApplicationKeyRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ApplicationKeyRelationships) GetOwnedBy ¶ added in v1.3.0
func (o *ApplicationKeyRelationships) GetOwnedBy() RelationshipToUser
GetOwnedBy returns the OwnedBy field value if set, zero value otherwise.
func (*ApplicationKeyRelationships) GetOwnedByOk ¶ added in v1.3.0
func (o *ApplicationKeyRelationships) GetOwnedByOk() (*RelationshipToUser, bool)
GetOwnedByOk returns a tuple with the OwnedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApplicationKeyRelationships) HasOwnedBy ¶ added in v1.3.0
func (o *ApplicationKeyRelationships) HasOwnedBy() bool
HasOwnedBy returns a boolean if a field has been set.
func (ApplicationKeyRelationships) MarshalJSON ¶
func (o ApplicationKeyRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ApplicationKeyRelationships) SetOwnedBy ¶ added in v1.3.0
func (o *ApplicationKeyRelationships) SetOwnedBy(v RelationshipToUser)
SetOwnedBy gets a reference to the given RelationshipToUser and assigns it to the OwnedBy field.
func (*ApplicationKeyRelationships) UnmarshalJSON ¶ added in v1.3.0
func (o *ApplicationKeyRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ApplicationKeyResponse ¶
type ApplicationKeyResponse struct {
// Datadog application key.
Data *FullApplicationKey `json:"data,omitempty"`
// Array of objects related to the application key.
Included []ApplicationKeyResponseIncludedItem `json:"included,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ApplicationKeyResponse Response for retrieving an application key.
func NewApplicationKeyResponse ¶
func NewApplicationKeyResponse() *ApplicationKeyResponse
NewApplicationKeyResponse instantiates a new ApplicationKeyResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApplicationKeyResponseWithDefaults ¶
func NewApplicationKeyResponseWithDefaults() *ApplicationKeyResponse
NewApplicationKeyResponseWithDefaults instantiates a new ApplicationKeyResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ApplicationKeyResponse) GetData ¶
func (o *ApplicationKeyResponse) GetData() FullApplicationKey
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 ¶
func (o *ApplicationKeyResponse) GetIncluded() []ApplicationKeyResponseIncludedItem
GetIncluded returns the Included field value if set, zero value otherwise.
func (*ApplicationKeyResponse) GetIncludedOk ¶
func (o *ApplicationKeyResponse) GetIncludedOk() (*[]ApplicationKeyResponseIncludedItem, 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 (*ApplicationKeyResponse) HasData ¶
func (o *ApplicationKeyResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*ApplicationKeyResponse) HasIncluded ¶
func (o *ApplicationKeyResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (ApplicationKeyResponse) MarshalJSON ¶
func (o ApplicationKeyResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ApplicationKeyResponse) SetData ¶
func (o *ApplicationKeyResponse) SetData(v FullApplicationKey)
SetData gets a reference to the given FullApplicationKey and assigns it to the Data field.
func (*ApplicationKeyResponse) SetIncluded ¶
func (o *ApplicationKeyResponse) SetIncluded(v []ApplicationKeyResponseIncludedItem)
SetIncluded gets a reference to the given []ApplicationKeyResponseIncludedItem and assigns it to the Included field.
func (*ApplicationKeyResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *ApplicationKeyResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ApplicationKeyResponseIncludedItem ¶
type ApplicationKeyResponseIncludedItem struct {
User *User
Role *Role
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
ApplicationKeyResponseIncludedItem - An object related to an application key.
func RoleAsApplicationKeyResponseIncludedItem ¶
func RoleAsApplicationKeyResponseIncludedItem(v *Role) ApplicationKeyResponseIncludedItem
RoleAsApplicationKeyResponseIncludedItem is a convenience function that returns Role wrapped in ApplicationKeyResponseIncludedItem.
func UserAsApplicationKeyResponseIncludedItem ¶
func UserAsApplicationKeyResponseIncludedItem(v *User) ApplicationKeyResponseIncludedItem
UserAsApplicationKeyResponseIncludedItem is a convenience function that returns User wrapped in ApplicationKeyResponseIncludedItem.
func (*ApplicationKeyResponseIncludedItem) GetActualInstance ¶
func (obj *ApplicationKeyResponseIncludedItem) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (ApplicationKeyResponseIncludedItem) MarshalJSON ¶
func (obj ApplicationKeyResponseIncludedItem) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*ApplicationKeyResponseIncludedItem) UnmarshalJSON ¶
func (obj *ApplicationKeyResponseIncludedItem) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type ApplicationKeyUpdateAttributes ¶
type ApplicationKeyUpdateAttributes struct {
// Name of the application key.
Name *string `json:"name,omitempty"`
// Array of scopes to grant the application key. This feature is in private beta, please contact Datadog support to enable scopes for your application keys.
Scopes []string `json:"scopes,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ApplicationKeyUpdateAttributes Attributes used to update an application Key.
func NewApplicationKeyUpdateAttributes ¶
func NewApplicationKeyUpdateAttributes() *ApplicationKeyUpdateAttributes
NewApplicationKeyUpdateAttributes instantiates a new ApplicationKeyUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApplicationKeyUpdateAttributesWithDefaults ¶
func NewApplicationKeyUpdateAttributesWithDefaults() *ApplicationKeyUpdateAttributes
NewApplicationKeyUpdateAttributesWithDefaults instantiates a new ApplicationKeyUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ApplicationKeyUpdateAttributes) GetName ¶
func (o *ApplicationKeyUpdateAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ApplicationKeyUpdateAttributes) GetNameOk ¶
func (o *ApplicationKeyUpdateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApplicationKeyUpdateAttributes) GetScopes ¶ added in v1.8.0
func (o *ApplicationKeyUpdateAttributes) GetScopes() []string
GetScopes returns the Scopes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApplicationKeyUpdateAttributes) GetScopesOk ¶ added in v1.8.0
func (o *ApplicationKeyUpdateAttributes) GetScopesOk() (*[]string, bool)
GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*ApplicationKeyUpdateAttributes) HasName ¶ added in v1.8.0
func (o *ApplicationKeyUpdateAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*ApplicationKeyUpdateAttributes) HasScopes ¶ added in v1.8.0
func (o *ApplicationKeyUpdateAttributes) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (ApplicationKeyUpdateAttributes) MarshalJSON ¶
func (o ApplicationKeyUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ApplicationKeyUpdateAttributes) SetName ¶
func (o *ApplicationKeyUpdateAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ApplicationKeyUpdateAttributes) SetScopes ¶ added in v1.8.0
func (o *ApplicationKeyUpdateAttributes) SetScopes(v []string)
SetScopes gets a reference to the given []string and assigns it to the Scopes field.
func (*ApplicationKeyUpdateAttributes) UnmarshalJSON ¶
func (o *ApplicationKeyUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ApplicationKeyUpdateData ¶
type ApplicationKeyUpdateData struct {
// Attributes used to update an application Key.
Attributes ApplicationKeyUpdateAttributes `json:"attributes"`
// ID of the application key.
Id string `json:"id"`
// Application Keys resource type.
Type ApplicationKeysType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ApplicationKeyUpdateData Object used to update an application key.
func NewApplicationKeyUpdateData ¶
func NewApplicationKeyUpdateData(attributes ApplicationKeyUpdateAttributes, id string, typeVar ApplicationKeysType) *ApplicationKeyUpdateData
NewApplicationKeyUpdateData instantiates a new ApplicationKeyUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApplicationKeyUpdateDataWithDefaults ¶
func NewApplicationKeyUpdateDataWithDefaults() *ApplicationKeyUpdateData
NewApplicationKeyUpdateDataWithDefaults instantiates a new ApplicationKeyUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ApplicationKeyUpdateData) GetAttributes ¶
func (o *ApplicationKeyUpdateData) GetAttributes() ApplicationKeyUpdateAttributes
GetAttributes returns the Attributes field value.
func (*ApplicationKeyUpdateData) GetAttributesOk ¶
func (o *ApplicationKeyUpdateData) GetAttributesOk() (*ApplicationKeyUpdateAttributes, bool)
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 ¶
func (o *ApplicationKeyUpdateData) GetType() ApplicationKeysType
GetType returns the Type field value.
func (*ApplicationKeyUpdateData) GetTypeOk ¶
func (o *ApplicationKeyUpdateData) GetTypeOk() (*ApplicationKeysType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ApplicationKeyUpdateData) MarshalJSON ¶
func (o ApplicationKeyUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ApplicationKeyUpdateData) SetAttributes ¶
func (o *ApplicationKeyUpdateData) SetAttributes(v ApplicationKeyUpdateAttributes)
SetAttributes sets field value.
func (*ApplicationKeyUpdateData) SetId ¶
func (o *ApplicationKeyUpdateData) SetId(v string)
SetId sets field value.
func (*ApplicationKeyUpdateData) SetType ¶
func (o *ApplicationKeyUpdateData) SetType(v ApplicationKeysType)
SetType sets field value.
func (*ApplicationKeyUpdateData) UnmarshalJSON ¶
func (o *ApplicationKeyUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ApplicationKeyUpdateRequest ¶
type ApplicationKeyUpdateRequest struct {
// Object used to update an application key.
Data ApplicationKeyUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ApplicationKeyUpdateRequest Request used to update an application key.
func NewApplicationKeyUpdateRequest ¶
func NewApplicationKeyUpdateRequest(data ApplicationKeyUpdateData) *ApplicationKeyUpdateRequest
NewApplicationKeyUpdateRequest instantiates a new ApplicationKeyUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApplicationKeyUpdateRequestWithDefaults ¶
func NewApplicationKeyUpdateRequestWithDefaults() *ApplicationKeyUpdateRequest
NewApplicationKeyUpdateRequestWithDefaults instantiates a new ApplicationKeyUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ApplicationKeyUpdateRequest) GetData ¶
func (o *ApplicationKeyUpdateRequest) GetData() ApplicationKeyUpdateData
GetData returns the Data field value.
func (*ApplicationKeyUpdateRequest) GetDataOk ¶
func (o *ApplicationKeyUpdateRequest) GetDataOk() (*ApplicationKeyUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ApplicationKeyUpdateRequest) MarshalJSON ¶
func (o ApplicationKeyUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ApplicationKeyUpdateRequest) SetData ¶
func (o *ApplicationKeyUpdateRequest) SetData(v ApplicationKeyUpdateData)
SetData sets field value.
func (*ApplicationKeyUpdateRequest) UnmarshalJSON ¶
func (o *ApplicationKeyUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ApplicationKeysSort ¶
type ApplicationKeysSort string
ApplicationKeysSort Sorting options
const ( APPLICATIONKEYSSORT_CREATED_AT_ASCENDING ApplicationKeysSort = "created_at" APPLICATIONKEYSSORT_CREATED_AT_DESCENDING ApplicationKeysSort = "-created_at" APPLICATIONKEYSSORT_LAST4_ASCENDING ApplicationKeysSort = "last4" APPLICATIONKEYSSORT_LAST4_DESCENDING ApplicationKeysSort = "-last4" APPLICATIONKEYSSORT_NAME_ASCENDING ApplicationKeysSort = "name" APPLICATIONKEYSSORT_NAME_DESCENDING ApplicationKeysSort = "-name" )
List of ApplicationKeysSort.
func NewApplicationKeysSortFromValue ¶
func NewApplicationKeysSortFromValue(v string) (*ApplicationKeysSort, error)
NewApplicationKeysSortFromValue returns a pointer to a valid ApplicationKeysSort for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*ApplicationKeysSort) GetAllowedValues ¶ added in v1.1.0
func (v *ApplicationKeysSort) GetAllowedValues() []ApplicationKeysSort
GetAllowedValues reeturns the list of possible values.
func (ApplicationKeysSort) IsValid ¶
func (v ApplicationKeysSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ApplicationKeysSort) Ptr ¶
func (v ApplicationKeysSort) Ptr() *ApplicationKeysSort
Ptr returns reference to ApplicationKeysSort value.
func (*ApplicationKeysSort) UnmarshalJSON ¶
func (v *ApplicationKeysSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type ApplicationKeysType ¶
type ApplicationKeysType string
ApplicationKeysType Application Keys resource type.
const (
APPLICATIONKEYSTYPE_APPLICATION_KEYS ApplicationKeysType = "application_keys"
)
List of ApplicationKeysType.
func NewApplicationKeysTypeFromValue ¶
func NewApplicationKeysTypeFromValue(v string) (*ApplicationKeysType, error)
NewApplicationKeysTypeFromValue returns a pointer to a valid ApplicationKeysType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*ApplicationKeysType) GetAllowedValues ¶ added in v1.1.0
func (v *ApplicationKeysType) GetAllowedValues() []ApplicationKeysType
GetAllowedValues reeturns the list of possible values.
func (ApplicationKeysType) IsValid ¶
func (v ApplicationKeysType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ApplicationKeysType) Ptr ¶
func (v ApplicationKeysType) Ptr() *ApplicationKeysType
Ptr returns reference to ApplicationKeysType value.
func (*ApplicationKeysType) UnmarshalJSON ¶
func (v *ApplicationKeysType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type AuditApiService ¶ added in v1.11.0
type AuditApiService service
AuditApiService AuditApi service.
func (*AuditApiService) ListAuditLogs ¶ added in v1.11.0
func (a *AuditApiService) ListAuditLogs(ctx _context.Context, o ...ListAuditLogsOptionalParameters) (AuditLogsEventsResponse, *_nethttp.Response, error)
ListAuditLogs Get a list of Audit Logs events. List endpoint returns events that match a Audit Logs search query. [Results are paginated]1.
Use this endpoint to see your latest Audit Logs events.
func (*AuditApiService) ListAuditLogsWithPagination ¶ added in v1.14.0
func (a *AuditApiService) ListAuditLogsWithPagination(ctx _context.Context, o ...ListAuditLogsOptionalParameters) (<-chan AuditLogsEvent, func(), error)
ListAuditLogsWithPagination provides a paginated version of ListAuditLogs returning a channel with all items.
func (*AuditApiService) SearchAuditLogs ¶ added in v1.11.0
func (a *AuditApiService) SearchAuditLogs(ctx _context.Context, o ...SearchAuditLogsOptionalParameters) (AuditLogsEventsResponse, *_nethttp.Response, error)
SearchAuditLogs Search Audit Logs events. List endpoint returns Audit Logs events that match an Audit search query. [Results are paginated]1.
Use this endpoint to build complex Audit Logs events filtering and search.
func (*AuditApiService) SearchAuditLogsWithPagination ¶ added in v1.14.0
func (a *AuditApiService) SearchAuditLogsWithPagination(ctx _context.Context, o ...SearchAuditLogsOptionalParameters) (<-chan AuditLogsEvent, func(), error)
SearchAuditLogsWithPagination provides a paginated version of SearchAuditLogs returning a channel with all items.
type AuditLogsEvent ¶ added in v1.11.0
type AuditLogsEvent struct {
// JSON object containing all event attributes and their associated values.
Attributes *AuditLogsEventAttributes `json:"attributes,omitempty"`
// Unique ID of the event.
Id *string `json:"id,omitempty"`
// Type of the event.
Type *AuditLogsEventType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuditLogsEvent Object description of an Audit Logs event after it is processed and stored by Datadog.
func NewAuditLogsEvent ¶ added in v1.11.0
func NewAuditLogsEvent() *AuditLogsEvent
NewAuditLogsEvent instantiates a new AuditLogsEvent object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuditLogsEventWithDefaults ¶ added in v1.11.0
func NewAuditLogsEventWithDefaults() *AuditLogsEvent
NewAuditLogsEventWithDefaults instantiates a new AuditLogsEvent object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuditLogsEvent) GetAttributes ¶ added in v1.11.0
func (o *AuditLogsEvent) GetAttributes() AuditLogsEventAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*AuditLogsEvent) GetAttributesOk ¶ added in v1.11.0
func (o *AuditLogsEvent) GetAttributesOk() (*AuditLogsEventAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsEvent) GetId ¶ added in v1.11.0
func (o *AuditLogsEvent) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AuditLogsEvent) GetIdOk ¶ added in v1.11.0
func (o *AuditLogsEvent) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsEvent) GetType ¶ added in v1.11.0
func (o *AuditLogsEvent) GetType() AuditLogsEventType
GetType returns the Type field value if set, zero value otherwise.
func (*AuditLogsEvent) GetTypeOk ¶ added in v1.11.0
func (o *AuditLogsEvent) GetTypeOk() (*AuditLogsEventType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsEvent) HasAttributes ¶ added in v1.11.0
func (o *AuditLogsEvent) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*AuditLogsEvent) HasId ¶ added in v1.11.0
func (o *AuditLogsEvent) HasId() bool
HasId returns a boolean if a field has been set.
func (*AuditLogsEvent) HasType ¶ added in v1.11.0
func (o *AuditLogsEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (AuditLogsEvent) MarshalJSON ¶ added in v1.11.0
func (o AuditLogsEvent) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuditLogsEvent) SetAttributes ¶ added in v1.11.0
func (o *AuditLogsEvent) SetAttributes(v AuditLogsEventAttributes)
SetAttributes gets a reference to the given AuditLogsEventAttributes and assigns it to the Attributes field.
func (*AuditLogsEvent) SetId ¶ added in v1.11.0
func (o *AuditLogsEvent) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AuditLogsEvent) SetType ¶ added in v1.11.0
func (o *AuditLogsEvent) SetType(v AuditLogsEventType)
SetType gets a reference to the given AuditLogsEventType and assigns it to the Type field.
func (*AuditLogsEvent) UnmarshalJSON ¶ added in v1.11.0
func (o *AuditLogsEvent) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuditLogsEventAttributes ¶ added in v1.11.0
type AuditLogsEventAttributes struct {
// JSON object of attributes from Audit Logs events.
Attributes map[string]interface{} `json:"attributes,omitempty"`
// Name of the application or service generating Audit Logs events.
// This name is used to correlate Audit Logs to APM, so make sure you specify the same
// value when you use both products.
Service *string `json:"service,omitempty"`
// Array of tags associated with your event.
Tags []string `json:"tags,omitempty"`
// Timestamp of your event.
Timestamp *time.Time `json:"timestamp,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuditLogsEventAttributes JSON object containing all event attributes and their associated values.
func NewAuditLogsEventAttributes ¶ added in v1.11.0
func NewAuditLogsEventAttributes() *AuditLogsEventAttributes
NewAuditLogsEventAttributes instantiates a new AuditLogsEventAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuditLogsEventAttributesWithDefaults ¶ added in v1.11.0
func NewAuditLogsEventAttributesWithDefaults() *AuditLogsEventAttributes
NewAuditLogsEventAttributesWithDefaults instantiates a new AuditLogsEventAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuditLogsEventAttributes) GetAttributes ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*AuditLogsEventAttributes) GetAttributesOk ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) GetAttributesOk() (*map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsEventAttributes) GetService ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) GetService() string
GetService returns the Service field value if set, zero value otherwise.
func (*AuditLogsEventAttributes) GetServiceOk ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsEventAttributes) GetTags ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*AuditLogsEventAttributes) GetTagsOk ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsEventAttributes) GetTimestamp ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*AuditLogsEventAttributes) GetTimestampOk ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsEventAttributes) HasAttributes ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*AuditLogsEventAttributes) HasService ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) HasService() bool
HasService returns a boolean if a field has been set.
func (*AuditLogsEventAttributes) HasTags ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*AuditLogsEventAttributes) HasTimestamp ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (AuditLogsEventAttributes) MarshalJSON ¶ added in v1.11.0
func (o AuditLogsEventAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuditLogsEventAttributes) SetAttributes ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (*AuditLogsEventAttributes) SetService ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) SetService(v string)
SetService gets a reference to the given string and assigns it to the Service field.
func (*AuditLogsEventAttributes) SetTags ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*AuditLogsEventAttributes) SetTimestamp ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
func (*AuditLogsEventAttributes) UnmarshalJSON ¶ added in v1.11.0
func (o *AuditLogsEventAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuditLogsEventType ¶ added in v1.11.0
type AuditLogsEventType string
AuditLogsEventType Type of the event.
const (
AUDITLOGSEVENTTYPE_Audit AuditLogsEventType = "audit"
)
List of AuditLogsEventType.
func NewAuditLogsEventTypeFromValue ¶ added in v1.11.0
func NewAuditLogsEventTypeFromValue(v string) (*AuditLogsEventType, error)
NewAuditLogsEventTypeFromValue returns a pointer to a valid AuditLogsEventType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*AuditLogsEventType) GetAllowedValues ¶ added in v1.11.0
func (v *AuditLogsEventType) GetAllowedValues() []AuditLogsEventType
GetAllowedValues reeturns the list of possible values.
func (AuditLogsEventType) IsValid ¶ added in v1.11.0
func (v AuditLogsEventType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AuditLogsEventType) Ptr ¶ added in v1.11.0
func (v AuditLogsEventType) Ptr() *AuditLogsEventType
Ptr returns reference to AuditLogsEventType value.
func (*AuditLogsEventType) UnmarshalJSON ¶ added in v1.11.0
func (v *AuditLogsEventType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type AuditLogsEventsResponse ¶ added in v1.11.0
type AuditLogsEventsResponse struct {
// Array of events matching the request.
Data []AuditLogsEvent `json:"data,omitempty"`
// Links attributes.
Links *AuditLogsResponseLinks `json:"links,omitempty"`
// The metadata associated with a request.
Meta *AuditLogsResponseMetadata `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuditLogsEventsResponse Response object with all events matching the request and pagination information.
func NewAuditLogsEventsResponse ¶ added in v1.11.0
func NewAuditLogsEventsResponse() *AuditLogsEventsResponse
NewAuditLogsEventsResponse instantiates a new AuditLogsEventsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuditLogsEventsResponseWithDefaults ¶ added in v1.11.0
func NewAuditLogsEventsResponseWithDefaults() *AuditLogsEventsResponse
NewAuditLogsEventsResponseWithDefaults instantiates a new AuditLogsEventsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuditLogsEventsResponse) GetData ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) GetData() []AuditLogsEvent
GetData returns the Data field value if set, zero value otherwise.
func (*AuditLogsEventsResponse) GetDataOk ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) GetDataOk() (*[]AuditLogsEvent, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsEventsResponse) GetLinks ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) GetLinks() AuditLogsResponseLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*AuditLogsEventsResponse) GetLinksOk ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) GetLinksOk() (*AuditLogsResponseLinks, 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 (*AuditLogsEventsResponse) GetMeta ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) GetMeta() AuditLogsResponseMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*AuditLogsEventsResponse) GetMetaOk ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) GetMetaOk() (*AuditLogsResponseMetadata, 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 (*AuditLogsEventsResponse) HasData ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*AuditLogsEventsResponse) HasLinks ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*AuditLogsEventsResponse) HasMeta ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (AuditLogsEventsResponse) MarshalJSON ¶ added in v1.11.0
func (o AuditLogsEventsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuditLogsEventsResponse) SetData ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) SetData(v []AuditLogsEvent)
SetData gets a reference to the given []AuditLogsEvent and assigns it to the Data field.
func (*AuditLogsEventsResponse) SetLinks ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) SetLinks(v AuditLogsResponseLinks)
SetLinks gets a reference to the given AuditLogsResponseLinks and assigns it to the Links field.
func (*AuditLogsEventsResponse) SetMeta ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) SetMeta(v AuditLogsResponseMetadata)
SetMeta gets a reference to the given AuditLogsResponseMetadata and assigns it to the Meta field.
func (*AuditLogsEventsResponse) UnmarshalJSON ¶ added in v1.11.0
func (o *AuditLogsEventsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuditLogsQueryFilter ¶ added in v1.11.0
type AuditLogsQueryFilter struct {
// Minimum time for the requested events. Supports date, math, and regular timestamps (in milliseconds).
From *string `json:"from,omitempty"`
// Search query following the Audit Logs search syntax.
Query *string `json:"query,omitempty"`
// Maximum time for the requested events. Supports date, math, and regular timestamps (in milliseconds).
To *string `json:"to,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuditLogsQueryFilter Search and filter query settings.
func NewAuditLogsQueryFilter ¶ added in v1.11.0
func NewAuditLogsQueryFilter() *AuditLogsQueryFilter
NewAuditLogsQueryFilter instantiates a new AuditLogsQueryFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuditLogsQueryFilterWithDefaults ¶ added in v1.11.0
func NewAuditLogsQueryFilterWithDefaults() *AuditLogsQueryFilter
NewAuditLogsQueryFilterWithDefaults instantiates a new AuditLogsQueryFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuditLogsQueryFilter) GetFrom ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) GetFrom() string
GetFrom returns the From field value if set, zero value otherwise.
func (*AuditLogsQueryFilter) GetFromOk ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) GetFromOk() (*string, bool)
GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsQueryFilter) GetQuery ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) GetQuery() string
GetQuery returns the Query field value if set, zero value otherwise.
func (*AuditLogsQueryFilter) GetQueryOk ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsQueryFilter) GetTo ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) GetTo() string
GetTo returns the To field value if set, zero value otherwise.
func (*AuditLogsQueryFilter) GetToOk ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) GetToOk() (*string, bool)
GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsQueryFilter) HasFrom ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (*AuditLogsQueryFilter) HasQuery ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*AuditLogsQueryFilter) HasTo ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) HasTo() bool
HasTo returns a boolean if a field has been set.
func (AuditLogsQueryFilter) MarshalJSON ¶ added in v1.11.0
func (o AuditLogsQueryFilter) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuditLogsQueryFilter) SetFrom ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) SetFrom(v string)
SetFrom gets a reference to the given string and assigns it to the From field.
func (*AuditLogsQueryFilter) SetQuery ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) SetQuery(v string)
SetQuery gets a reference to the given string and assigns it to the Query field.
func (*AuditLogsQueryFilter) SetTo ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) SetTo(v string)
SetTo gets a reference to the given string and assigns it to the To field.
func (*AuditLogsQueryFilter) UnmarshalJSON ¶ added in v1.11.0
func (o *AuditLogsQueryFilter) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuditLogsQueryOptions ¶ added in v1.11.0
type AuditLogsQueryOptions struct {
// Time offset (in seconds) to apply to the query.
TimeOffset *int64 `json:"time_offset,omitempty"`
// Timezone code. Can be specified as an offset, for example: "UTC+03:00".
Timezone *string `json:"timezone,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuditLogsQueryOptions Global query options that are used during the query. Note: Specify either timezone or time offset, not both. Otherwise, the query fails.
func NewAuditLogsQueryOptions ¶ added in v1.11.0
func NewAuditLogsQueryOptions() *AuditLogsQueryOptions
NewAuditLogsQueryOptions instantiates a new AuditLogsQueryOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuditLogsQueryOptionsWithDefaults ¶ added in v1.11.0
func NewAuditLogsQueryOptionsWithDefaults() *AuditLogsQueryOptions
NewAuditLogsQueryOptionsWithDefaults instantiates a new AuditLogsQueryOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuditLogsQueryOptions) GetTimeOffset ¶ added in v1.11.0
func (o *AuditLogsQueryOptions) GetTimeOffset() int64
GetTimeOffset returns the TimeOffset field value if set, zero value otherwise.
func (*AuditLogsQueryOptions) GetTimeOffsetOk ¶ added in v1.11.0
func (o *AuditLogsQueryOptions) GetTimeOffsetOk() (*int64, bool)
GetTimeOffsetOk returns a tuple with the TimeOffset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsQueryOptions) GetTimezone ¶ added in v1.11.0
func (o *AuditLogsQueryOptions) GetTimezone() string
GetTimezone returns the Timezone field value if set, zero value otherwise.
func (*AuditLogsQueryOptions) GetTimezoneOk ¶ added in v1.11.0
func (o *AuditLogsQueryOptions) GetTimezoneOk() (*string, bool)
GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsQueryOptions) HasTimeOffset ¶ added in v1.11.0
func (o *AuditLogsQueryOptions) HasTimeOffset() bool
HasTimeOffset returns a boolean if a field has been set.
func (*AuditLogsQueryOptions) HasTimezone ¶ added in v1.11.0
func (o *AuditLogsQueryOptions) HasTimezone() bool
HasTimezone returns a boolean if a field has been set.
func (AuditLogsQueryOptions) MarshalJSON ¶ added in v1.11.0
func (o AuditLogsQueryOptions) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuditLogsQueryOptions) SetTimeOffset ¶ added in v1.11.0
func (o *AuditLogsQueryOptions) SetTimeOffset(v int64)
SetTimeOffset gets a reference to the given int64 and assigns it to the TimeOffset field.
func (*AuditLogsQueryOptions) SetTimezone ¶ added in v1.11.0
func (o *AuditLogsQueryOptions) SetTimezone(v string)
SetTimezone gets a reference to the given string and assigns it to the Timezone field.
func (*AuditLogsQueryOptions) UnmarshalJSON ¶ added in v1.11.0
func (o *AuditLogsQueryOptions) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuditLogsQueryPageOptions ¶ added in v1.11.0
type AuditLogsQueryPageOptions struct {
// List following results with a cursor provided in the previous query.
Cursor *string `json:"cursor,omitempty"`
// Maximum number of events in the response.
Limit *int32 `json:"limit,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuditLogsQueryPageOptions Paging attributes for listing events.
func NewAuditLogsQueryPageOptions ¶ added in v1.11.0
func NewAuditLogsQueryPageOptions() *AuditLogsQueryPageOptions
NewAuditLogsQueryPageOptions instantiates a new AuditLogsQueryPageOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuditLogsQueryPageOptionsWithDefaults ¶ added in v1.11.0
func NewAuditLogsQueryPageOptionsWithDefaults() *AuditLogsQueryPageOptions
NewAuditLogsQueryPageOptionsWithDefaults instantiates a new AuditLogsQueryPageOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuditLogsQueryPageOptions) GetCursor ¶ added in v1.11.0
func (o *AuditLogsQueryPageOptions) GetCursor() string
GetCursor returns the Cursor field value if set, zero value otherwise.
func (*AuditLogsQueryPageOptions) GetCursorOk ¶ added in v1.11.0
func (o *AuditLogsQueryPageOptions) GetCursorOk() (*string, bool)
GetCursorOk returns a tuple with the Cursor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsQueryPageOptions) GetLimit ¶ added in v1.11.0
func (o *AuditLogsQueryPageOptions) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*AuditLogsQueryPageOptions) GetLimitOk ¶ added in v1.11.0
func (o *AuditLogsQueryPageOptions) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsQueryPageOptions) HasCursor ¶ added in v1.11.0
func (o *AuditLogsQueryPageOptions) HasCursor() bool
HasCursor returns a boolean if a field has been set.
func (*AuditLogsQueryPageOptions) HasLimit ¶ added in v1.11.0
func (o *AuditLogsQueryPageOptions) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (AuditLogsQueryPageOptions) MarshalJSON ¶ added in v1.11.0
func (o AuditLogsQueryPageOptions) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuditLogsQueryPageOptions) SetCursor ¶ added in v1.11.0
func (o *AuditLogsQueryPageOptions) SetCursor(v string)
SetCursor gets a reference to the given string and assigns it to the Cursor field.
func (*AuditLogsQueryPageOptions) SetLimit ¶ added in v1.11.0
func (o *AuditLogsQueryPageOptions) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*AuditLogsQueryPageOptions) UnmarshalJSON ¶ added in v1.11.0
func (o *AuditLogsQueryPageOptions) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuditLogsResponseLinks ¶ added in v1.11.0
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 ¶ added in v1.11.0
func NewAuditLogsResponseLinks() *AuditLogsResponseLinks
NewAuditLogsResponseLinks instantiates a new AuditLogsResponseLinks object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuditLogsResponseLinksWithDefaults ¶ added in v1.11.0
func NewAuditLogsResponseLinksWithDefaults() *AuditLogsResponseLinks
NewAuditLogsResponseLinksWithDefaults instantiates a new AuditLogsResponseLinks object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuditLogsResponseLinks) GetNext ¶ added in v1.11.0
func (o *AuditLogsResponseLinks) GetNext() string
GetNext returns the Next field value if set, zero value otherwise.
func (*AuditLogsResponseLinks) GetNextOk ¶ added in v1.11.0
func (o *AuditLogsResponseLinks) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsResponseLinks) HasNext ¶ added in v1.11.0
func (o *AuditLogsResponseLinks) HasNext() bool
HasNext returns a boolean if a field has been set.
func (AuditLogsResponseLinks) MarshalJSON ¶ added in v1.11.0
func (o AuditLogsResponseLinks) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuditLogsResponseLinks) SetNext ¶ added in v1.11.0
func (o *AuditLogsResponseLinks) SetNext(v string)
SetNext gets a reference to the given string and assigns it to the Next field.
func (*AuditLogsResponseLinks) UnmarshalJSON ¶ added in v1.11.0
func (o *AuditLogsResponseLinks) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuditLogsResponseMetadata ¶ added in v1.11.0
type AuditLogsResponseMetadata struct {
// Time elapsed in milliseconds.
Elapsed *int64 `json:"elapsed,omitempty"`
// Paging attributes.
Page *AuditLogsResponsePage `json:"page,omitempty"`
// The identifier of the request.
RequestId *string `json:"request_id,omitempty"`
// The status of the response.
Status *AuditLogsResponseStatus `json:"status,omitempty"`
// A list of warnings (non-fatal errors) encountered. Partial results may return if
// warnings are present in the response.
Warnings []AuditLogsWarning `json:"warnings,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuditLogsResponseMetadata The metadata associated with a request.
func NewAuditLogsResponseMetadata ¶ added in v1.11.0
func NewAuditLogsResponseMetadata() *AuditLogsResponseMetadata
NewAuditLogsResponseMetadata instantiates a new AuditLogsResponseMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuditLogsResponseMetadataWithDefaults ¶ added in v1.11.0
func NewAuditLogsResponseMetadataWithDefaults() *AuditLogsResponseMetadata
NewAuditLogsResponseMetadataWithDefaults instantiates a new AuditLogsResponseMetadata object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuditLogsResponseMetadata) GetElapsed ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) GetElapsed() int64
GetElapsed returns the Elapsed field value if set, zero value otherwise.
func (*AuditLogsResponseMetadata) GetElapsedOk ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) GetElapsedOk() (*int64, bool)
GetElapsedOk returns a tuple with the Elapsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsResponseMetadata) GetPage ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) GetPage() AuditLogsResponsePage
GetPage returns the Page field value if set, zero value otherwise.
func (*AuditLogsResponseMetadata) GetPageOk ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) GetPageOk() (*AuditLogsResponsePage, 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 (*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
func (o *AuditLogsResponseMetadata) GetStatus() AuditLogsResponseStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*AuditLogsResponseMetadata) GetStatusOk ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) GetStatusOk() (*AuditLogsResponseStatus, 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 (*AuditLogsResponseMetadata) GetWarnings ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) GetWarnings() []AuditLogsWarning
GetWarnings returns the Warnings field value if set, zero value otherwise.
func (*AuditLogsResponseMetadata) GetWarningsOk ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) GetWarningsOk() (*[]AuditLogsWarning, bool)
GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsResponseMetadata) HasElapsed ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) HasElapsed() bool
HasElapsed returns a boolean if a field has been set.
func (*AuditLogsResponseMetadata) HasPage ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*AuditLogsResponseMetadata) HasRequestId ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) HasRequestId() bool
HasRequestId returns a boolean if a field has been set.
func (*AuditLogsResponseMetadata) HasStatus ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*AuditLogsResponseMetadata) HasWarnings ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) HasWarnings() bool
HasWarnings returns a boolean if a field has been set.
func (AuditLogsResponseMetadata) MarshalJSON ¶ added in v1.11.0
func (o AuditLogsResponseMetadata) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuditLogsResponseMetadata) SetElapsed ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) SetElapsed(v int64)
SetElapsed gets a reference to the given int64 and assigns it to the Elapsed field.
func (*AuditLogsResponseMetadata) SetPage ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) SetPage(v AuditLogsResponsePage)
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
func (o *AuditLogsResponseMetadata) SetStatus(v AuditLogsResponseStatus)
SetStatus gets a reference to the given AuditLogsResponseStatus and assigns it to the Status field.
func (*AuditLogsResponseMetadata) SetWarnings ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) SetWarnings(v []AuditLogsWarning)
SetWarnings gets a reference to the given []AuditLogsWarning and assigns it to the Warnings field.
func (*AuditLogsResponseMetadata) UnmarshalJSON ¶ added in v1.11.0
func (o *AuditLogsResponseMetadata) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuditLogsResponsePage ¶ added in v1.11.0
type AuditLogsResponsePage struct {
// The cursor to use to get the next results, if any. To make the next request, use the same parameters with the addition of `page[cursor]`.
After *string `json:"after,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuditLogsResponsePage Paging attributes.
func NewAuditLogsResponsePage ¶ added in v1.11.0
func NewAuditLogsResponsePage() *AuditLogsResponsePage
NewAuditLogsResponsePage instantiates a new AuditLogsResponsePage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuditLogsResponsePageWithDefaults ¶ added in v1.11.0
func NewAuditLogsResponsePageWithDefaults() *AuditLogsResponsePage
NewAuditLogsResponsePageWithDefaults instantiates a new AuditLogsResponsePage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuditLogsResponsePage) GetAfter ¶ added in v1.11.0
func (o *AuditLogsResponsePage) GetAfter() string
GetAfter returns the After field value if set, zero value otherwise.
func (*AuditLogsResponsePage) GetAfterOk ¶ added in v1.11.0
func (o *AuditLogsResponsePage) GetAfterOk() (*string, bool)
GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsResponsePage) HasAfter ¶ added in v1.11.0
func (o *AuditLogsResponsePage) HasAfter() bool
HasAfter returns a boolean if a field has been set.
func (AuditLogsResponsePage) MarshalJSON ¶ added in v1.11.0
func (o AuditLogsResponsePage) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuditLogsResponsePage) SetAfter ¶ added in v1.11.0
func (o *AuditLogsResponsePage) SetAfter(v string)
SetAfter gets a reference to the given string and assigns it to the After field.
func (*AuditLogsResponsePage) UnmarshalJSON ¶ added in v1.11.0
func (o *AuditLogsResponsePage) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuditLogsResponseStatus ¶ added in v1.11.0
type AuditLogsResponseStatus string
AuditLogsResponseStatus The status of the response.
const ( AUDITLOGSRESPONSESTATUS_DONE AuditLogsResponseStatus = "done" AUDITLOGSRESPONSESTATUS_TIMEOUT AuditLogsResponseStatus = "timeout" )
List of AuditLogsResponseStatus.
func NewAuditLogsResponseStatusFromValue ¶ added in v1.11.0
func NewAuditLogsResponseStatusFromValue(v string) (*AuditLogsResponseStatus, error)
NewAuditLogsResponseStatusFromValue returns a pointer to a valid AuditLogsResponseStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*AuditLogsResponseStatus) GetAllowedValues ¶ added in v1.11.0
func (v *AuditLogsResponseStatus) GetAllowedValues() []AuditLogsResponseStatus
GetAllowedValues reeturns the list of possible values.
func (AuditLogsResponseStatus) IsValid ¶ added in v1.11.0
func (v AuditLogsResponseStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AuditLogsResponseStatus) Ptr ¶ added in v1.11.0
func (v AuditLogsResponseStatus) Ptr() *AuditLogsResponseStatus
Ptr returns reference to AuditLogsResponseStatus value.
func (*AuditLogsResponseStatus) UnmarshalJSON ¶ added in v1.11.0
func (v *AuditLogsResponseStatus) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type AuditLogsSearchEventsRequest ¶ added in v1.11.0
type AuditLogsSearchEventsRequest struct {
// Search and filter query settings.
Filter *AuditLogsQueryFilter `json:"filter,omitempty"`
// Global query options that are used during the query.
// Note: Specify either timezone or time offset, not both. Otherwise, the query fails.
Options *AuditLogsQueryOptions `json:"options,omitempty"`
// Paging attributes for listing events.
Page *AuditLogsQueryPageOptions `json:"page,omitempty"`
// Sort parameters when querying events.
Sort *AuditLogsSort `json:"sort,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuditLogsSearchEventsRequest The request for a Audit Logs events list.
func NewAuditLogsSearchEventsRequest ¶ added in v1.11.0
func NewAuditLogsSearchEventsRequest() *AuditLogsSearchEventsRequest
NewAuditLogsSearchEventsRequest instantiates a new AuditLogsSearchEventsRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuditLogsSearchEventsRequestWithDefaults ¶ added in v1.11.0
func NewAuditLogsSearchEventsRequestWithDefaults() *AuditLogsSearchEventsRequest
NewAuditLogsSearchEventsRequestWithDefaults instantiates a new AuditLogsSearchEventsRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuditLogsSearchEventsRequest) GetFilter ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) GetFilter() AuditLogsQueryFilter
GetFilter returns the Filter field value if set, zero value otherwise.
func (*AuditLogsSearchEventsRequest) GetFilterOk ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) GetFilterOk() (*AuditLogsQueryFilter, 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 (*AuditLogsSearchEventsRequest) GetOptions ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) GetOptions() AuditLogsQueryOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*AuditLogsSearchEventsRequest) GetOptionsOk ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) GetOptionsOk() (*AuditLogsQueryOptions, 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 (*AuditLogsSearchEventsRequest) GetPage ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) GetPage() AuditLogsQueryPageOptions
GetPage returns the Page field value if set, zero value otherwise.
func (*AuditLogsSearchEventsRequest) GetPageOk ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) GetPageOk() (*AuditLogsQueryPageOptions, 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 (*AuditLogsSearchEventsRequest) GetSort ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) GetSort() AuditLogsSort
GetSort returns the Sort field value if set, zero value otherwise.
func (*AuditLogsSearchEventsRequest) GetSortOk ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) GetSortOk() (*AuditLogsSort, bool)
GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsSearchEventsRequest) HasFilter ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*AuditLogsSearchEventsRequest) HasOptions ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*AuditLogsSearchEventsRequest) HasPage ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*AuditLogsSearchEventsRequest) HasSort ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) HasSort() bool
HasSort returns a boolean if a field has been set.
func (AuditLogsSearchEventsRequest) MarshalJSON ¶ added in v1.11.0
func (o AuditLogsSearchEventsRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuditLogsSearchEventsRequest) SetFilter ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) SetFilter(v AuditLogsQueryFilter)
SetFilter gets a reference to the given AuditLogsQueryFilter and assigns it to the Filter field.
func (*AuditLogsSearchEventsRequest) SetOptions ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) SetOptions(v AuditLogsQueryOptions)
SetOptions gets a reference to the given AuditLogsQueryOptions and assigns it to the Options field.
func (*AuditLogsSearchEventsRequest) SetPage ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) SetPage(v AuditLogsQueryPageOptions)
SetPage gets a reference to the given AuditLogsQueryPageOptions and assigns it to the Page field.
func (*AuditLogsSearchEventsRequest) SetSort ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) SetSort(v AuditLogsSort)
SetSort gets a reference to the given AuditLogsSort and assigns it to the Sort field.
func (*AuditLogsSearchEventsRequest) UnmarshalJSON ¶ added in v1.11.0
func (o *AuditLogsSearchEventsRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuditLogsSort ¶ added in v1.11.0
type AuditLogsSort string
AuditLogsSort Sort parameters when querying events.
const ( AUDITLOGSSORT_TIMESTAMP_ASCENDING AuditLogsSort = "timestamp" AUDITLOGSSORT_TIMESTAMP_DESCENDING AuditLogsSort = "-timestamp" )
List of AuditLogsSort.
func NewAuditLogsSortFromValue ¶ added in v1.11.0
func NewAuditLogsSortFromValue(v string) (*AuditLogsSort, error)
NewAuditLogsSortFromValue returns a pointer to a valid AuditLogsSort for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*AuditLogsSort) GetAllowedValues ¶ added in v1.11.0
func (v *AuditLogsSort) GetAllowedValues() []AuditLogsSort
GetAllowedValues reeturns the list of possible values.
func (AuditLogsSort) IsValid ¶ added in v1.11.0
func (v AuditLogsSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AuditLogsSort) Ptr ¶ added in v1.11.0
func (v AuditLogsSort) Ptr() *AuditLogsSort
Ptr returns reference to AuditLogsSort value.
func (*AuditLogsSort) UnmarshalJSON ¶ added in v1.11.0
func (v *AuditLogsSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type AuditLogsWarning ¶ added in v1.11.0
type AuditLogsWarning struct {
// Unique code for this type of warning.
Code *string `json:"code,omitempty"`
// Detailed explanation of this specific warning.
Detail *string `json:"detail,omitempty"`
// Short human-readable summary of the warning.
Title *string `json:"title,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuditLogsWarning Warning message indicating something that went wrong with the query.
func NewAuditLogsWarning ¶ added in v1.11.0
func NewAuditLogsWarning() *AuditLogsWarning
NewAuditLogsWarning instantiates a new AuditLogsWarning object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuditLogsWarningWithDefaults ¶ added in v1.11.0
func NewAuditLogsWarningWithDefaults() *AuditLogsWarning
NewAuditLogsWarningWithDefaults instantiates a new AuditLogsWarning object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuditLogsWarning) GetCode ¶ added in v1.11.0
func (o *AuditLogsWarning) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*AuditLogsWarning) GetCodeOk ¶ added in v1.11.0
func (o *AuditLogsWarning) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsWarning) GetDetail ¶ added in v1.11.0
func (o *AuditLogsWarning) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*AuditLogsWarning) GetDetailOk ¶ added in v1.11.0
func (o *AuditLogsWarning) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsWarning) GetTitle ¶ added in v1.11.0
func (o *AuditLogsWarning) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*AuditLogsWarning) GetTitleOk ¶ added in v1.11.0
func (o *AuditLogsWarning) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuditLogsWarning) HasCode ¶ added in v1.11.0
func (o *AuditLogsWarning) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*AuditLogsWarning) HasDetail ¶ added in v1.11.0
func (o *AuditLogsWarning) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*AuditLogsWarning) HasTitle ¶ added in v1.11.0
func (o *AuditLogsWarning) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (AuditLogsWarning) MarshalJSON ¶ added in v1.11.0
func (o AuditLogsWarning) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuditLogsWarning) SetCode ¶ added in v1.11.0
func (o *AuditLogsWarning) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*AuditLogsWarning) SetDetail ¶ added in v1.11.0
func (o *AuditLogsWarning) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*AuditLogsWarning) SetTitle ¶ added in v1.11.0
func (o *AuditLogsWarning) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*AuditLogsWarning) UnmarshalJSON ¶ added in v1.11.0
func (o *AuditLogsWarning) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMapping ¶ added in v1.9.0
type AuthNMapping struct {
// Attributes of AuthN Mapping.
Attributes *AuthNMappingAttributes `json:"attributes,omitempty"`
// ID of the AuthN Mapping.
Id string `json:"id"`
// All relationships associated with AuthN Mapping.
Relationships *AuthNMappingRelationships `json:"relationships,omitempty"`
// AuthN Mappings resource type.
Type AuthNMappingsType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMapping The AuthN Mapping object returned by API.
func NewAuthNMapping ¶ added in v1.9.0
func NewAuthNMapping(id string, typeVar AuthNMappingsType) *AuthNMapping
NewAuthNMapping instantiates a new AuthNMapping object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingWithDefaults ¶ added in v1.9.0
func NewAuthNMappingWithDefaults() *AuthNMapping
NewAuthNMappingWithDefaults instantiates a new AuthNMapping object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMapping) GetAttributes ¶ added in v1.9.0
func (o *AuthNMapping) GetAttributes() AuthNMappingAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*AuthNMapping) GetAttributesOk ¶ added in v1.9.0
func (o *AuthNMapping) GetAttributesOk() (*AuthNMappingAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMapping) GetId ¶ added in v1.9.0
func (o *AuthNMapping) GetId() string
GetId returns the Id field value.
func (*AuthNMapping) GetIdOk ¶ added in v1.9.0
func (o *AuthNMapping) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AuthNMapping) GetRelationships ¶ added in v1.9.0
func (o *AuthNMapping) GetRelationships() AuthNMappingRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*AuthNMapping) GetRelationshipsOk ¶ added in v1.9.0
func (o *AuthNMapping) GetRelationshipsOk() (*AuthNMappingRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMapping) GetType ¶ added in v1.9.0
func (o *AuthNMapping) GetType() AuthNMappingsType
GetType returns the Type field value.
func (*AuthNMapping) GetTypeOk ¶ added in v1.9.0
func (o *AuthNMapping) GetTypeOk() (*AuthNMappingsType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*AuthNMapping) HasAttributes ¶ added in v1.9.0
func (o *AuthNMapping) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*AuthNMapping) HasRelationships ¶ added in v1.9.0
func (o *AuthNMapping) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (AuthNMapping) MarshalJSON ¶ added in v1.9.0
func (o AuthNMapping) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMapping) SetAttributes ¶ added in v1.9.0
func (o *AuthNMapping) SetAttributes(v AuthNMappingAttributes)
SetAttributes gets a reference to the given AuthNMappingAttributes and assigns it to the Attributes field.
func (*AuthNMapping) SetId ¶ added in v1.9.0
func (o *AuthNMapping) SetId(v string)
SetId sets field value.
func (*AuthNMapping) SetRelationships ¶ added in v1.9.0
func (o *AuthNMapping) SetRelationships(v AuthNMappingRelationships)
SetRelationships gets a reference to the given AuthNMappingRelationships and assigns it to the Relationships field.
func (*AuthNMapping) SetType ¶ added in v1.9.0
func (o *AuthNMapping) SetType(v AuthNMappingsType)
SetType sets field value.
func (*AuthNMapping) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMapping) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingAttributes ¶ added in v1.9.0
type AuthNMappingAttributes struct {
// Key portion of a key/value pair of the attribute sent from the Identity Provider.
AttributeKey *string `json:"attribute_key,omitempty"`
// Value portion of a key/value pair of the attribute sent from the Identity Provider.
AttributeValue *string `json:"attribute_value,omitempty"`
// Creation time of the AuthN Mapping.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Time of last AuthN Mapping modification.
ModifiedAt *time.Time `json:"modified_at,omitempty"`
// The ID of the SAML assertion attribute.
SamlAssertionAttributeId *string `json:"saml_assertion_attribute_id,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingAttributes Attributes of AuthN Mapping.
func NewAuthNMappingAttributes ¶ added in v1.9.0
func NewAuthNMappingAttributes() *AuthNMappingAttributes
NewAuthNMappingAttributes instantiates a new AuthNMappingAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingAttributesWithDefaults ¶ added in v1.9.0
func NewAuthNMappingAttributesWithDefaults() *AuthNMappingAttributes
NewAuthNMappingAttributesWithDefaults instantiates a new AuthNMappingAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingAttributes) GetAttributeKey ¶ added in v1.9.0
func (o *AuthNMappingAttributes) GetAttributeKey() string
GetAttributeKey returns the AttributeKey field value if set, zero value otherwise.
func (*AuthNMappingAttributes) GetAttributeKeyOk ¶ added in v1.9.0
func (o *AuthNMappingAttributes) GetAttributeKeyOk() (*string, bool)
GetAttributeKeyOk returns a tuple with the AttributeKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingAttributes) GetAttributeValue ¶ added in v1.9.0
func (o *AuthNMappingAttributes) GetAttributeValue() string
GetAttributeValue returns the AttributeValue field value if set, zero value otherwise.
func (*AuthNMappingAttributes) GetAttributeValueOk ¶ added in v1.9.0
func (o *AuthNMappingAttributes) GetAttributeValueOk() (*string, bool)
GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingAttributes) GetCreatedAt ¶ added in v1.9.0
func (o *AuthNMappingAttributes) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AuthNMappingAttributes) GetCreatedAtOk ¶ added in v1.9.0
func (o *AuthNMappingAttributes) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingAttributes) GetModifiedAt ¶ added in v1.9.0
func (o *AuthNMappingAttributes) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
func (*AuthNMappingAttributes) GetModifiedAtOk ¶ added in v1.9.0
func (o *AuthNMappingAttributes) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingAttributes) GetSamlAssertionAttributeId ¶ added in v1.9.0
func (o *AuthNMappingAttributes) GetSamlAssertionAttributeId() string
GetSamlAssertionAttributeId returns the SamlAssertionAttributeId field value if set, zero value otherwise.
func (*AuthNMappingAttributes) GetSamlAssertionAttributeIdOk ¶ added in v1.9.0
func (o *AuthNMappingAttributes) GetSamlAssertionAttributeIdOk() (*string, bool)
GetSamlAssertionAttributeIdOk returns a tuple with the SamlAssertionAttributeId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingAttributes) HasAttributeKey ¶ added in v1.9.0
func (o *AuthNMappingAttributes) HasAttributeKey() bool
HasAttributeKey returns a boolean if a field has been set.
func (*AuthNMappingAttributes) HasAttributeValue ¶ added in v1.9.0
func (o *AuthNMappingAttributes) HasAttributeValue() bool
HasAttributeValue returns a boolean if a field has been set.
func (*AuthNMappingAttributes) HasCreatedAt ¶ added in v1.9.0
func (o *AuthNMappingAttributes) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AuthNMappingAttributes) HasModifiedAt ¶ added in v1.9.0
func (o *AuthNMappingAttributes) HasModifiedAt() bool
HasModifiedAt returns a boolean if a field has been set.
func (*AuthNMappingAttributes) HasSamlAssertionAttributeId ¶ added in v1.9.0
func (o *AuthNMappingAttributes) HasSamlAssertionAttributeId() bool
HasSamlAssertionAttributeId returns a boolean if a field has been set.
func (AuthNMappingAttributes) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingAttributes) SetAttributeKey ¶ added in v1.9.0
func (o *AuthNMappingAttributes) SetAttributeKey(v string)
SetAttributeKey gets a reference to the given string and assigns it to the AttributeKey field.
func (*AuthNMappingAttributes) SetAttributeValue ¶ added in v1.9.0
func (o *AuthNMappingAttributes) SetAttributeValue(v string)
SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field.
func (*AuthNMappingAttributes) SetCreatedAt ¶ added in v1.9.0
func (o *AuthNMappingAttributes) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AuthNMappingAttributes) SetModifiedAt ¶ added in v1.9.0
func (o *AuthNMappingAttributes) SetModifiedAt(v time.Time)
SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.
func (*AuthNMappingAttributes) SetSamlAssertionAttributeId ¶ added in v1.9.0
func (o *AuthNMappingAttributes) SetSamlAssertionAttributeId(v string)
SetSamlAssertionAttributeId gets a reference to the given string and assigns it to the SamlAssertionAttributeId field.
func (*AuthNMappingAttributes) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingCreateAttributes ¶ added in v1.9.0
type AuthNMappingCreateAttributes struct {
// Key portion of a key/value pair of the attribute sent from the Identity Provider.
AttributeKey *string `json:"attribute_key,omitempty"`
// Value portion of a key/value pair of the attribute sent from the Identity Provider.
AttributeValue *string `json:"attribute_value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingCreateAttributes Key/Value pair of attributes used for create request.
func NewAuthNMappingCreateAttributes ¶ added in v1.9.0
func NewAuthNMappingCreateAttributes() *AuthNMappingCreateAttributes
NewAuthNMappingCreateAttributes instantiates a new AuthNMappingCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingCreateAttributesWithDefaults ¶ added in v1.9.0
func NewAuthNMappingCreateAttributesWithDefaults() *AuthNMappingCreateAttributes
NewAuthNMappingCreateAttributesWithDefaults instantiates a new AuthNMappingCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingCreateAttributes) GetAttributeKey ¶ added in v1.9.0
func (o *AuthNMappingCreateAttributes) GetAttributeKey() string
GetAttributeKey returns the AttributeKey field value if set, zero value otherwise.
func (*AuthNMappingCreateAttributes) GetAttributeKeyOk ¶ added in v1.9.0
func (o *AuthNMappingCreateAttributes) GetAttributeKeyOk() (*string, bool)
GetAttributeKeyOk returns a tuple with the AttributeKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingCreateAttributes) GetAttributeValue ¶ added in v1.9.0
func (o *AuthNMappingCreateAttributes) GetAttributeValue() string
GetAttributeValue returns the AttributeValue field value if set, zero value otherwise.
func (*AuthNMappingCreateAttributes) GetAttributeValueOk ¶ added in v1.9.0
func (o *AuthNMappingCreateAttributes) GetAttributeValueOk() (*string, bool)
GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingCreateAttributes) HasAttributeKey ¶ added in v1.9.0
func (o *AuthNMappingCreateAttributes) HasAttributeKey() bool
HasAttributeKey returns a boolean if a field has been set.
func (*AuthNMappingCreateAttributes) HasAttributeValue ¶ added in v1.9.0
func (o *AuthNMappingCreateAttributes) HasAttributeValue() bool
HasAttributeValue returns a boolean if a field has been set.
func (AuthNMappingCreateAttributes) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingCreateAttributes) SetAttributeKey ¶ added in v1.9.0
func (o *AuthNMappingCreateAttributes) SetAttributeKey(v string)
SetAttributeKey gets a reference to the given string and assigns it to the AttributeKey field.
func (*AuthNMappingCreateAttributes) SetAttributeValue ¶ added in v1.9.0
func (o *AuthNMappingCreateAttributes) SetAttributeValue(v string)
SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field.
func (*AuthNMappingCreateAttributes) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingCreateData ¶ added in v1.9.0
type AuthNMappingCreateData struct {
// Key/Value pair of attributes used for create request.
Attributes *AuthNMappingCreateAttributes `json:"attributes,omitempty"`
// Relationship of AuthN Mapping create object to Role.
Relationships *AuthNMappingCreateRelationships `json:"relationships,omitempty"`
// AuthN Mappings resource type.
Type AuthNMappingsType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingCreateData Data for creating an AuthN Mapping.
func NewAuthNMappingCreateData ¶ added in v1.9.0
func NewAuthNMappingCreateData(typeVar AuthNMappingsType) *AuthNMappingCreateData
NewAuthNMappingCreateData instantiates a new AuthNMappingCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingCreateDataWithDefaults ¶ added in v1.9.0
func NewAuthNMappingCreateDataWithDefaults() *AuthNMappingCreateData
NewAuthNMappingCreateDataWithDefaults instantiates a new AuthNMappingCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingCreateData) GetAttributes ¶ added in v1.9.0
func (o *AuthNMappingCreateData) GetAttributes() AuthNMappingCreateAttributes
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
func (o *AuthNMappingCreateData) GetRelationships() AuthNMappingCreateRelationships
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
func (o *AuthNMappingCreateData) GetType() AuthNMappingsType
GetType returns the Type field value.
func (*AuthNMappingCreateData) GetTypeOk ¶ added in v1.9.0
func (o *AuthNMappingCreateData) GetTypeOk() (*AuthNMappingsType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*AuthNMappingCreateData) HasAttributes ¶ added in v1.9.0
func (o *AuthNMappingCreateData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*AuthNMappingCreateData) HasRelationships ¶ added in v1.9.0
func (o *AuthNMappingCreateData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (AuthNMappingCreateData) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingCreateData) SetAttributes ¶ added in v1.9.0
func (o *AuthNMappingCreateData) SetAttributes(v AuthNMappingCreateAttributes)
SetAttributes gets a reference to the given AuthNMappingCreateAttributes and assigns it to the Attributes field.
func (*AuthNMappingCreateData) SetRelationships ¶ added in v1.9.0
func (o *AuthNMappingCreateData) SetRelationships(v AuthNMappingCreateRelationships)
SetRelationships gets a reference to the given AuthNMappingCreateRelationships and assigns it to the Relationships field.
func (*AuthNMappingCreateData) SetType ¶ added in v1.9.0
func (o *AuthNMappingCreateData) SetType(v AuthNMappingsType)
SetType sets field value.
func (*AuthNMappingCreateData) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingCreateRelationships ¶ added in v1.9.0
type AuthNMappingCreateRelationships struct {
// Relationship to role.
Role *RelationshipToRole `json:"role,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingCreateRelationships Relationship of AuthN Mapping create object to Role.
func NewAuthNMappingCreateRelationships ¶ added in v1.9.0
func NewAuthNMappingCreateRelationships() *AuthNMappingCreateRelationships
NewAuthNMappingCreateRelationships instantiates a new AuthNMappingCreateRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingCreateRelationshipsWithDefaults ¶ added in v1.9.0
func NewAuthNMappingCreateRelationshipsWithDefaults() *AuthNMappingCreateRelationships
NewAuthNMappingCreateRelationshipsWithDefaults instantiates a new AuthNMappingCreateRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingCreateRelationships) GetRole ¶ added in v1.9.0
func (o *AuthNMappingCreateRelationships) GetRole() RelationshipToRole
GetRole returns the Role field value if set, zero value otherwise.
func (*AuthNMappingCreateRelationships) GetRoleOk ¶ added in v1.9.0
func (o *AuthNMappingCreateRelationships) GetRoleOk() (*RelationshipToRole, bool)
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
func (o *AuthNMappingCreateRelationships) HasRole() bool
HasRole returns a boolean if a field has been set.
func (AuthNMappingCreateRelationships) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingCreateRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingCreateRelationships) SetRole ¶ added in v1.9.0
func (o *AuthNMappingCreateRelationships) SetRole(v RelationshipToRole)
SetRole gets a reference to the given RelationshipToRole and assigns it to the Role field.
func (*AuthNMappingCreateRelationships) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingCreateRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingCreateRequest ¶ added in v1.9.0
type AuthNMappingCreateRequest struct {
// Data for creating an AuthN Mapping.
Data AuthNMappingCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingCreateRequest Request for creating an AuthN Mapping.
func NewAuthNMappingCreateRequest ¶ added in v1.9.0
func NewAuthNMappingCreateRequest(data AuthNMappingCreateData) *AuthNMappingCreateRequest
NewAuthNMappingCreateRequest instantiates a new AuthNMappingCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingCreateRequestWithDefaults ¶ added in v1.9.0
func NewAuthNMappingCreateRequestWithDefaults() *AuthNMappingCreateRequest
NewAuthNMappingCreateRequestWithDefaults instantiates a new AuthNMappingCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingCreateRequest) GetData ¶ added in v1.9.0
func (o *AuthNMappingCreateRequest) GetData() AuthNMappingCreateData
GetData returns the Data field value.
func (*AuthNMappingCreateRequest) GetDataOk ¶ added in v1.9.0
func (o *AuthNMappingCreateRequest) GetDataOk() (*AuthNMappingCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (AuthNMappingCreateRequest) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingCreateRequest) SetData ¶ added in v1.9.0
func (o *AuthNMappingCreateRequest) SetData(v AuthNMappingCreateData)
SetData sets field value.
func (*AuthNMappingCreateRequest) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingIncluded ¶ added in v1.9.0
type AuthNMappingIncluded struct {
SAMLAssertionAttribute *SAMLAssertionAttribute
Role *Role
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
AuthNMappingIncluded - Included data in the AuthN Mapping response.
func RoleAsAuthNMappingIncluded ¶ added in v1.9.0
func RoleAsAuthNMappingIncluded(v *Role) AuthNMappingIncluded
RoleAsAuthNMappingIncluded is a convenience function that returns Role wrapped in AuthNMappingIncluded.
func SAMLAssertionAttributeAsAuthNMappingIncluded ¶ added in v1.9.0
func SAMLAssertionAttributeAsAuthNMappingIncluded(v *SAMLAssertionAttribute) AuthNMappingIncluded
SAMLAssertionAttributeAsAuthNMappingIncluded is a convenience function that returns SAMLAssertionAttribute wrapped in AuthNMappingIncluded.
func (*AuthNMappingIncluded) GetActualInstance ¶ added in v1.9.0
func (obj *AuthNMappingIncluded) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (AuthNMappingIncluded) MarshalJSON ¶ added in v1.9.0
func (obj AuthNMappingIncluded) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*AuthNMappingIncluded) UnmarshalJSON ¶ added in v1.9.0
func (obj *AuthNMappingIncluded) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type AuthNMappingRelationships ¶ added in v1.9.0
type AuthNMappingRelationships struct {
// Relationship to role.
Role *RelationshipToRole `json:"role,omitempty"`
// AuthN Mapping relationship to SAML Assertion Attribute.
SamlAssertionAttribute *RelationshipToSAMLAssertionAttribute `json:"saml_assertion_attribute,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingRelationships All relationships associated with AuthN Mapping.
func NewAuthNMappingRelationships ¶ added in v1.9.0
func NewAuthNMappingRelationships() *AuthNMappingRelationships
NewAuthNMappingRelationships instantiates a new AuthNMappingRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingRelationshipsWithDefaults ¶ added in v1.9.0
func NewAuthNMappingRelationshipsWithDefaults() *AuthNMappingRelationships
NewAuthNMappingRelationshipsWithDefaults instantiates a new AuthNMappingRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingRelationships) GetRole ¶ added in v1.9.0
func (o *AuthNMappingRelationships) GetRole() RelationshipToRole
GetRole returns the Role field value if set, zero value otherwise.
func (*AuthNMappingRelationships) GetRoleOk ¶ added in v1.9.0
func (o *AuthNMappingRelationships) GetRoleOk() (*RelationshipToRole, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingRelationships) GetSamlAssertionAttribute ¶ added in v1.9.0
func (o *AuthNMappingRelationships) GetSamlAssertionAttribute() RelationshipToSAMLAssertionAttribute
GetSamlAssertionAttribute returns the SamlAssertionAttribute field value if set, zero value otherwise.
func (*AuthNMappingRelationships) GetSamlAssertionAttributeOk ¶ added in v1.9.0
func (o *AuthNMappingRelationships) GetSamlAssertionAttributeOk() (*RelationshipToSAMLAssertionAttribute, bool)
GetSamlAssertionAttributeOk returns a tuple with the SamlAssertionAttribute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingRelationships) HasRole ¶ added in v1.9.0
func (o *AuthNMappingRelationships) HasRole() bool
HasRole returns a boolean if a field has been set.
func (*AuthNMappingRelationships) HasSamlAssertionAttribute ¶ added in v1.9.0
func (o *AuthNMappingRelationships) HasSamlAssertionAttribute() bool
HasSamlAssertionAttribute returns a boolean if a field has been set.
func (AuthNMappingRelationships) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingRelationships) SetRole ¶ added in v1.9.0
func (o *AuthNMappingRelationships) SetRole(v RelationshipToRole)
SetRole gets a reference to the given RelationshipToRole and assigns it to the Role field.
func (*AuthNMappingRelationships) SetSamlAssertionAttribute ¶ added in v1.9.0
func (o *AuthNMappingRelationships) SetSamlAssertionAttribute(v RelationshipToSAMLAssertionAttribute)
SetSamlAssertionAttribute gets a reference to the given RelationshipToSAMLAssertionAttribute and assigns it to the SamlAssertionAttribute field.
func (*AuthNMappingRelationships) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingResponse ¶ added in v1.9.0
type AuthNMappingResponse struct {
// The AuthN Mapping object returned by API.
Data *AuthNMapping `json:"data,omitempty"`
// Included data in the AuthN Mapping response.
Included []AuthNMappingIncluded `json:"included,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingResponse AuthN Mapping response from the API.
func NewAuthNMappingResponse ¶ added in v1.9.0
func NewAuthNMappingResponse() *AuthNMappingResponse
NewAuthNMappingResponse instantiates a new AuthNMappingResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingResponseWithDefaults ¶ added in v1.9.0
func NewAuthNMappingResponseWithDefaults() *AuthNMappingResponse
NewAuthNMappingResponseWithDefaults instantiates a new AuthNMappingResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingResponse) GetData ¶ added in v1.9.0
func (o *AuthNMappingResponse) GetData() AuthNMapping
GetData returns the Data field value if set, zero value otherwise.
func (*AuthNMappingResponse) GetDataOk ¶ added in v1.9.0
func (o *AuthNMappingResponse) GetDataOk() (*AuthNMapping, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingResponse) GetIncluded ¶ added in v1.15.0
func (o *AuthNMappingResponse) GetIncluded() []AuthNMappingIncluded
GetIncluded returns the Included field value if set, zero value otherwise.
func (*AuthNMappingResponse) GetIncludedOk ¶ added in v1.15.0
func (o *AuthNMappingResponse) GetIncludedOk() (*[]AuthNMappingIncluded, bool)
GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingResponse) HasData ¶ added in v1.9.0
func (o *AuthNMappingResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*AuthNMappingResponse) HasIncluded ¶ added in v1.15.0
func (o *AuthNMappingResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (AuthNMappingResponse) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingResponse) SetData ¶ added in v1.9.0
func (o *AuthNMappingResponse) SetData(v AuthNMapping)
SetData gets a reference to the given AuthNMapping and assigns it to the Data field.
func (*AuthNMappingResponse) SetIncluded ¶ added in v1.15.0
func (o *AuthNMappingResponse) SetIncluded(v []AuthNMappingIncluded)
SetIncluded gets a reference to the given []AuthNMappingIncluded and assigns it to the Included field.
func (*AuthNMappingResponse) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingUpdateAttributes ¶ added in v1.9.0
type AuthNMappingUpdateAttributes struct {
// Key portion of a key/value pair of the attribute sent from the Identity Provider.
AttributeKey *string `json:"attribute_key,omitempty"`
// Value portion of a key/value pair of the attribute sent from the Identity Provider.
AttributeValue *string `json:"attribute_value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingUpdateAttributes Key/Value pair of attributes used for update request.
func NewAuthNMappingUpdateAttributes ¶ added in v1.9.0
func NewAuthNMappingUpdateAttributes() *AuthNMappingUpdateAttributes
NewAuthNMappingUpdateAttributes instantiates a new AuthNMappingUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingUpdateAttributesWithDefaults ¶ added in v1.9.0
func NewAuthNMappingUpdateAttributesWithDefaults() *AuthNMappingUpdateAttributes
NewAuthNMappingUpdateAttributesWithDefaults instantiates a new AuthNMappingUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingUpdateAttributes) GetAttributeKey ¶ added in v1.9.0
func (o *AuthNMappingUpdateAttributes) GetAttributeKey() string
GetAttributeKey returns the AttributeKey field value if set, zero value otherwise.
func (*AuthNMappingUpdateAttributes) GetAttributeKeyOk ¶ added in v1.9.0
func (o *AuthNMappingUpdateAttributes) GetAttributeKeyOk() (*string, bool)
GetAttributeKeyOk returns a tuple with the AttributeKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingUpdateAttributes) GetAttributeValue ¶ added in v1.9.0
func (o *AuthNMappingUpdateAttributes) GetAttributeValue() string
GetAttributeValue returns the AttributeValue field value if set, zero value otherwise.
func (*AuthNMappingUpdateAttributes) GetAttributeValueOk ¶ added in v1.9.0
func (o *AuthNMappingUpdateAttributes) GetAttributeValueOk() (*string, bool)
GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingUpdateAttributes) HasAttributeKey ¶ added in v1.9.0
func (o *AuthNMappingUpdateAttributes) HasAttributeKey() bool
HasAttributeKey returns a boolean if a field has been set.
func (*AuthNMappingUpdateAttributes) HasAttributeValue ¶ added in v1.9.0
func (o *AuthNMappingUpdateAttributes) HasAttributeValue() bool
HasAttributeValue returns a boolean if a field has been set.
func (AuthNMappingUpdateAttributes) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingUpdateAttributes) SetAttributeKey ¶ added in v1.9.0
func (o *AuthNMappingUpdateAttributes) SetAttributeKey(v string)
SetAttributeKey gets a reference to the given string and assigns it to the AttributeKey field.
func (*AuthNMappingUpdateAttributes) SetAttributeValue ¶ added in v1.9.0
func (o *AuthNMappingUpdateAttributes) SetAttributeValue(v string)
SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field.
func (*AuthNMappingUpdateAttributes) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingUpdateData ¶ added in v1.9.0
type AuthNMappingUpdateData struct {
// Key/Value pair of attributes used for update request.
Attributes *AuthNMappingUpdateAttributes `json:"attributes,omitempty"`
// ID of the AuthN Mapping.
Id string `json:"id"`
// Relationship of AuthN Mapping update object to Role.
Relationships *AuthNMappingUpdateRelationships `json:"relationships,omitempty"`
// AuthN Mappings resource type.
Type AuthNMappingsType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingUpdateData Data for updating an AuthN Mapping.
func NewAuthNMappingUpdateData ¶ added in v1.9.0
func NewAuthNMappingUpdateData(id string, typeVar AuthNMappingsType) *AuthNMappingUpdateData
NewAuthNMappingUpdateData instantiates a new AuthNMappingUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingUpdateDataWithDefaults ¶ added in v1.9.0
func NewAuthNMappingUpdateDataWithDefaults() *AuthNMappingUpdateData
NewAuthNMappingUpdateDataWithDefaults instantiates a new AuthNMappingUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingUpdateData) GetAttributes ¶ added in v1.9.0
func (o *AuthNMappingUpdateData) GetAttributes() AuthNMappingUpdateAttributes
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
func (o *AuthNMappingUpdateData) GetRelationships() AuthNMappingUpdateRelationships
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
func (o *AuthNMappingUpdateData) GetType() AuthNMappingsType
GetType returns the Type field value.
func (*AuthNMappingUpdateData) GetTypeOk ¶ added in v1.9.0
func (o *AuthNMappingUpdateData) GetTypeOk() (*AuthNMappingsType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*AuthNMappingUpdateData) HasAttributes ¶ added in v1.9.0
func (o *AuthNMappingUpdateData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*AuthNMappingUpdateData) HasRelationships ¶ added in v1.9.0
func (o *AuthNMappingUpdateData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (AuthNMappingUpdateData) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingUpdateData) SetAttributes ¶ added in v1.9.0
func (o *AuthNMappingUpdateData) SetAttributes(v AuthNMappingUpdateAttributes)
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
func (o *AuthNMappingUpdateData) SetRelationships(v AuthNMappingUpdateRelationships)
SetRelationships gets a reference to the given AuthNMappingUpdateRelationships and assigns it to the Relationships field.
func (*AuthNMappingUpdateData) SetType ¶ added in v1.9.0
func (o *AuthNMappingUpdateData) SetType(v AuthNMappingsType)
SetType sets field value.
func (*AuthNMappingUpdateData) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingUpdateRelationships ¶ added in v1.9.0
type AuthNMappingUpdateRelationships struct {
// Relationship to role.
Role *RelationshipToRole `json:"role,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingUpdateRelationships Relationship of AuthN Mapping update object to Role.
func NewAuthNMappingUpdateRelationships ¶ added in v1.9.0
func NewAuthNMappingUpdateRelationships() *AuthNMappingUpdateRelationships
NewAuthNMappingUpdateRelationships instantiates a new AuthNMappingUpdateRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingUpdateRelationshipsWithDefaults ¶ added in v1.9.0
func NewAuthNMappingUpdateRelationshipsWithDefaults() *AuthNMappingUpdateRelationships
NewAuthNMappingUpdateRelationshipsWithDefaults instantiates a new AuthNMappingUpdateRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingUpdateRelationships) GetRole ¶ added in v1.9.0
func (o *AuthNMappingUpdateRelationships) GetRole() RelationshipToRole
GetRole returns the Role field value if set, zero value otherwise.
func (*AuthNMappingUpdateRelationships) GetRoleOk ¶ added in v1.9.0
func (o *AuthNMappingUpdateRelationships) GetRoleOk() (*RelationshipToRole, bool)
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
func (o *AuthNMappingUpdateRelationships) HasRole() bool
HasRole returns a boolean if a field has been set.
func (AuthNMappingUpdateRelationships) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingUpdateRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingUpdateRelationships) SetRole ¶ added in v1.9.0
func (o *AuthNMappingUpdateRelationships) SetRole(v RelationshipToRole)
SetRole gets a reference to the given RelationshipToRole and assigns it to the Role field.
func (*AuthNMappingUpdateRelationships) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingUpdateRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingUpdateRequest ¶ added in v1.9.0
type AuthNMappingUpdateRequest struct {
// Data for updating an AuthN Mapping.
Data AuthNMappingUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingUpdateRequest Request to update an AuthN Mapping.
func NewAuthNMappingUpdateRequest ¶ added in v1.9.0
func NewAuthNMappingUpdateRequest(data AuthNMappingUpdateData) *AuthNMappingUpdateRequest
NewAuthNMappingUpdateRequest instantiates a new AuthNMappingUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingUpdateRequestWithDefaults ¶ added in v1.9.0
func NewAuthNMappingUpdateRequestWithDefaults() *AuthNMappingUpdateRequest
NewAuthNMappingUpdateRequestWithDefaults instantiates a new AuthNMappingUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingUpdateRequest) GetData ¶ added in v1.9.0
func (o *AuthNMappingUpdateRequest) GetData() AuthNMappingUpdateData
GetData returns the Data field value.
func (*AuthNMappingUpdateRequest) GetDataOk ¶ added in v1.9.0
func (o *AuthNMappingUpdateRequest) GetDataOk() (*AuthNMappingUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (AuthNMappingUpdateRequest) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingUpdateRequest) SetData ¶ added in v1.9.0
func (o *AuthNMappingUpdateRequest) SetData(v AuthNMappingUpdateData)
SetData sets field value.
func (*AuthNMappingUpdateRequest) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingsApiService ¶ added in v1.9.0
type AuthNMappingsApiService service
AuthNMappingsApiService AuthNMappingsApi service.
func (*AuthNMappingsApiService) CreateAuthNMapping ¶ added in v1.9.0
func (a *AuthNMappingsApiService) CreateAuthNMapping(ctx _context.Context, body AuthNMappingCreateRequest) (AuthNMappingResponse, *_nethttp.Response, error)
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
func (a *AuthNMappingsApiService) ListAuthNMappings(ctx _context.Context, o ...ListAuthNMappingsOptionalParameters) (AuthNMappingsResponse, *_nethttp.Response, error)
ListAuthNMappings List all AuthN Mappings. List all AuthN Mappings in the org.
func (*AuthNMappingsApiService) UpdateAuthNMapping ¶ added in v1.9.0
func (a *AuthNMappingsApiService) UpdateAuthNMapping(ctx _context.Context, authnMappingId string, body AuthNMappingUpdateRequest) (AuthNMappingResponse, *_nethttp.Response, error)
UpdateAuthNMapping Edit an AuthN Mapping. Edit an AuthN Mapping.
type AuthNMappingsResponse ¶ added in v1.9.0
type AuthNMappingsResponse struct {
// Array of returned AuthN Mappings.
Data []AuthNMapping `json:"data,omitempty"`
// Included data in the AuthN Mapping response.
Included []AuthNMappingIncluded `json:"included,omitempty"`
// Object describing meta attributes of response.
Meta *ResponseMetaAttributes `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
AuthNMappingsResponse Array of AuthN Mappings response.
func NewAuthNMappingsResponse ¶ added in v1.9.0
func NewAuthNMappingsResponse() *AuthNMappingsResponse
NewAuthNMappingsResponse instantiates a new AuthNMappingsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAuthNMappingsResponseWithDefaults ¶ added in v1.9.0
func NewAuthNMappingsResponseWithDefaults() *AuthNMappingsResponse
NewAuthNMappingsResponseWithDefaults instantiates a new AuthNMappingsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AuthNMappingsResponse) GetData ¶ added in v1.9.0
func (o *AuthNMappingsResponse) GetData() []AuthNMapping
GetData returns the Data field value if set, zero value otherwise.
func (*AuthNMappingsResponse) GetDataOk ¶ added in v1.9.0
func (o *AuthNMappingsResponse) GetDataOk() (*[]AuthNMapping, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingsResponse) GetIncluded ¶ added in v1.15.0
func (o *AuthNMappingsResponse) GetIncluded() []AuthNMappingIncluded
GetIncluded returns the Included field value if set, zero value otherwise.
func (*AuthNMappingsResponse) GetIncludedOk ¶ added in v1.15.0
func (o *AuthNMappingsResponse) GetIncludedOk() (*[]AuthNMappingIncluded, bool)
GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthNMappingsResponse) GetMeta ¶ added in v1.9.0
func (o *AuthNMappingsResponse) GetMeta() ResponseMetaAttributes
GetMeta returns the Meta field value if set, zero value otherwise.
func (*AuthNMappingsResponse) GetMetaOk ¶ added in v1.9.0
func (o *AuthNMappingsResponse) 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 (*AuthNMappingsResponse) HasData ¶ added in v1.9.0
func (o *AuthNMappingsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*AuthNMappingsResponse) HasIncluded ¶ added in v1.15.0
func (o *AuthNMappingsResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (*AuthNMappingsResponse) HasMeta ¶ added in v1.9.0
func (o *AuthNMappingsResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (AuthNMappingsResponse) MarshalJSON ¶ added in v1.9.0
func (o AuthNMappingsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AuthNMappingsResponse) SetData ¶ added in v1.9.0
func (o *AuthNMappingsResponse) SetData(v []AuthNMapping)
SetData gets a reference to the given []AuthNMapping and assigns it to the Data field.
func (*AuthNMappingsResponse) SetIncluded ¶ added in v1.15.0
func (o *AuthNMappingsResponse) SetIncluded(v []AuthNMappingIncluded)
SetIncluded gets a reference to the given []AuthNMappingIncluded and assigns it to the Included field.
func (*AuthNMappingsResponse) SetMeta ¶ added in v1.9.0
func (o *AuthNMappingsResponse) SetMeta(v ResponseMetaAttributes)
SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.
func (*AuthNMappingsResponse) UnmarshalJSON ¶ added in v1.9.0
func (o *AuthNMappingsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AuthNMappingsSort ¶ added in v1.9.0
type AuthNMappingsSort string
AuthNMappingsSort Sorting options for AuthN Mappings.
const ( AUTHNMAPPINGSSORT_CREATED_AT_ASCENDING AuthNMappingsSort = "created_at" AUTHNMAPPINGSSORT_CREATED_AT_DESCENDING AuthNMappingsSort = "-created_at" AUTHNMAPPINGSSORT_ROLE_ID_ASCENDING AuthNMappingsSort = "role_id" AUTHNMAPPINGSSORT_ROLE_ID_DESCENDING AuthNMappingsSort = "-role_id" AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_ID_ASCENDING AuthNMappingsSort = "saml_assertion_attribute_id" AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_ID_DESCENDING AuthNMappingsSort = "-saml_assertion_attribute_id" AUTHNMAPPINGSSORT_ROLE_NAME_ASCENDING AuthNMappingsSort = "role.name" AUTHNMAPPINGSSORT_ROLE_NAME_DESCENDING AuthNMappingsSort = "-role.name" AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_KEY_ASCENDING AuthNMappingsSort = "saml_assertion_attribute.attribute_key" AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_KEY_DESCENDING AuthNMappingsSort = "-saml_assertion_attribute.attribute_key" AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_VALUE_ASCENDING AuthNMappingsSort = "saml_assertion_attribute.attribute_value" AUTHNMAPPINGSSORT_SAML_ASSERTION_ATTRIBUTE_VALUE_DESCENDING AuthNMappingsSort = "-saml_assertion_attribute.attribute_value" )
List of AuthNMappingsSort.
func NewAuthNMappingsSortFromValue ¶ added in v1.9.0
func NewAuthNMappingsSortFromValue(v string) (*AuthNMappingsSort, error)
NewAuthNMappingsSortFromValue returns a pointer to a valid AuthNMappingsSort for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*AuthNMappingsSort) GetAllowedValues ¶ added in v1.9.0
func (v *AuthNMappingsSort) GetAllowedValues() []AuthNMappingsSort
GetAllowedValues reeturns the list of possible values.
func (AuthNMappingsSort) IsValid ¶ added in v1.9.0
func (v AuthNMappingsSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AuthNMappingsSort) Ptr ¶ added in v1.9.0
func (v AuthNMappingsSort) Ptr() *AuthNMappingsSort
Ptr returns reference to AuthNMappingsSort value.
func (*AuthNMappingsSort) UnmarshalJSON ¶ added in v1.9.0
func (v *AuthNMappingsSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type AuthNMappingsType ¶ added in v1.9.0
type AuthNMappingsType string
AuthNMappingsType AuthN Mappings resource type.
const (
AUTHNMAPPINGSTYPE_AUTHN_MAPPINGS AuthNMappingsType = "authn_mappings"
)
List of AuthNMappingsType.
func NewAuthNMappingsTypeFromValue ¶ added in v1.9.0
func NewAuthNMappingsTypeFromValue(v string) (*AuthNMappingsType, error)
NewAuthNMappingsTypeFromValue returns a pointer to a valid AuthNMappingsType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*AuthNMappingsType) GetAllowedValues ¶ added in v1.9.0
func (v *AuthNMappingsType) GetAllowedValues() []AuthNMappingsType
GetAllowedValues reeturns the list of possible values.
func (AuthNMappingsType) IsValid ¶ added in v1.9.0
func (v AuthNMappingsType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AuthNMappingsType) Ptr ¶ added in v1.9.0
func (v AuthNMappingsType) Ptr() *AuthNMappingsType
Ptr returns reference to AuthNMappingsType value.
func (*AuthNMappingsType) UnmarshalJSON ¶ added in v1.9.0
func (v *AuthNMappingsType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
type ChargebackBreakdown ¶ added in v1.14.0
type ChargebackBreakdown struct {
// The type of charge for a particular product.
ChargeType *string `json:"charge_type,omitempty"`
// The cost for a particular product and charge type during a given month.
Cost *float64 `json:"cost,omitempty"`
// The product for which cost is being reported.
ProductName *string `json:"product_name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ChargebackBreakdown Charges breakdown.
func NewChargebackBreakdown ¶ added in v1.14.0
func NewChargebackBreakdown() *ChargebackBreakdown
NewChargebackBreakdown instantiates a new ChargebackBreakdown object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewChargebackBreakdownWithDefaults ¶ added in v1.14.0
func NewChargebackBreakdownWithDefaults() *ChargebackBreakdown
NewChargebackBreakdownWithDefaults instantiates a new ChargebackBreakdown object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ChargebackBreakdown) GetChargeType ¶ added in v1.14.0
func (o *ChargebackBreakdown) GetChargeType() string
GetChargeType returns the ChargeType field value if set, zero value otherwise.
func (*ChargebackBreakdown) GetChargeTypeOk ¶ added in v1.14.0
func (o *ChargebackBreakdown) GetChargeTypeOk() (*string, bool)
GetChargeTypeOk returns a tuple with the ChargeType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargebackBreakdown) GetCost ¶ added in v1.14.0
func (o *ChargebackBreakdown) GetCost() float64
GetCost returns the Cost field value if set, zero value otherwise.
func (*ChargebackBreakdown) GetCostOk ¶ added in v1.14.0
func (o *ChargebackBreakdown) GetCostOk() (*float64, bool)
GetCostOk returns a tuple with the Cost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargebackBreakdown) GetProductName ¶ added in v1.14.0
func (o *ChargebackBreakdown) GetProductName() string
GetProductName returns the ProductName field value if set, zero value otherwise.
func (*ChargebackBreakdown) GetProductNameOk ¶ added in v1.14.0
func (o *ChargebackBreakdown) GetProductNameOk() (*string, bool)
GetProductNameOk returns a tuple with the ProductName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargebackBreakdown) HasChargeType ¶ added in v1.14.0
func (o *ChargebackBreakdown) HasChargeType() bool
HasChargeType returns a boolean if a field has been set.
func (*ChargebackBreakdown) HasCost ¶ added in v1.14.0
func (o *ChargebackBreakdown) HasCost() bool
HasCost returns a boolean if a field has been set.
func (*ChargebackBreakdown) HasProductName ¶ added in v1.14.0
func (o *ChargebackBreakdown) HasProductName() bool
HasProductName returns a boolean if a field has been set.
func (ChargebackBreakdown) MarshalJSON ¶ added in v1.14.0
func (o ChargebackBreakdown) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ChargebackBreakdown) SetChargeType ¶ added in v1.14.0
func (o *ChargebackBreakdown) SetChargeType(v string)
SetChargeType gets a reference to the given string and assigns it to the ChargeType field.
func (*ChargebackBreakdown) SetCost ¶ added in v1.14.0
func (o *ChargebackBreakdown) SetCost(v float64)
SetCost gets a reference to the given float64 and assigns it to the Cost field.
func (*ChargebackBreakdown) SetProductName ¶ added in v1.14.0
func (o *ChargebackBreakdown) SetProductName(v string)
SetProductName gets a reference to the given string and assigns it to the ProductName field.
func (*ChargebackBreakdown) UnmarshalJSON ¶ added in v1.14.0
func (o *ChargebackBreakdown) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleAttributes ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleAttributes struct {
// The category of the Agent rule.
Category *string `json:"category,omitempty"`
// When the Agent rule was created, timestamp in milliseconds.
CreationDate *int64 `json:"creationDate,omitempty"`
// The attributes of the user who created the Agent rule.
Creator *CloudWorkloadSecurityAgentRuleCreatorAttributes `json:"creator,omitempty"`
// Whether the rule is included by default.
DefaultRule *bool `json:"defaultRule,omitempty"`
// The description of the Agent rule.
Description *string `json:"description,omitempty"`
// Whether the Agent rule is enabled.
Enabled *bool `json:"enabled,omitempty"`
// The SECL expression of the Agent rule.
Expression *string `json:"expression,omitempty"`
// The name of the Agent rule.
Name *string `json:"name,omitempty"`
// When the Agent rule was last updated, timestamp in milliseconds.
UpdatedAt *int64 `json:"updatedAt,omitempty"`
// The attributes of the user who last updated the Agent rule.
Updater *CloudWorkloadSecurityAgentRuleUpdaterAttributes `json:"updater,omitempty"`
// The version of the Agent rule.
Version *int64 `json:"version,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRuleAttributes A Cloud Workload Security Agent rule returned by the API.
func NewCloudWorkloadSecurityAgentRuleAttributes ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleAttributes() *CloudWorkloadSecurityAgentRuleAttributes
NewCloudWorkloadSecurityAgentRuleAttributes instantiates a new CloudWorkloadSecurityAgentRuleAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCloudWorkloadSecurityAgentRuleAttributesWithDefaults ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleAttributes
NewCloudWorkloadSecurityAgentRuleAttributesWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CloudWorkloadSecurityAgentRuleAttributes) GetCategory ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCategory() string
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCreator() CloudWorkloadSecurityAgentRuleCreatorAttributes
GetCreator returns the Creator field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleAttributes) GetCreatorOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) GetCreatorOk() (*CloudWorkloadSecurityAgentRuleCreatorAttributes, bool)
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) GetDescription() string
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) GetEnabled() bool
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) GetExpression() string
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleAttributes) GetNameOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) 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 (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAt ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) GetUpdatedAt() int64
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) GetUpdater() CloudWorkloadSecurityAgentRuleUpdaterAttributes
GetUpdater returns the Updater field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleAttributes) GetUpdaterOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) GetUpdaterOk() (*CloudWorkloadSecurityAgentRuleUpdaterAttributes, bool)
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) GetVersion() int64
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) HasCategory() bool
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) HasCreator() bool
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*CloudWorkloadSecurityAgentRuleAttributes) HasExpression ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) HasExpression() bool
HasExpression returns a boolean if a field has been set.
func (*CloudWorkloadSecurityAgentRuleAttributes) HasName ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*CloudWorkloadSecurityAgentRuleAttributes) HasUpdatedAt ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*CloudWorkloadSecurityAgentRuleAttributes) HasUpdater ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) HasUpdater() bool
HasUpdater returns a boolean if a field has been set.
func (*CloudWorkloadSecurityAgentRuleAttributes) HasVersion ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (CloudWorkloadSecurityAgentRuleAttributes) MarshalJSON ¶ added in v1.8.0
func (o CloudWorkloadSecurityAgentRuleAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRuleAttributes) SetCategory ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) SetCategory(v string)
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) SetCreator(v CloudWorkloadSecurityAgentRuleCreatorAttributes)
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
func (o *CloudWorkloadSecurityAgentRuleAttributes) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*CloudWorkloadSecurityAgentRuleAttributes) SetExpression ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) SetExpression(v string)
SetExpression gets a reference to the given string and assigns it to the Expression field.
func (*CloudWorkloadSecurityAgentRuleAttributes) SetName ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CloudWorkloadSecurityAgentRuleAttributes) SetUpdatedAt ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) SetUpdatedAt(v int64)
SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.
func (*CloudWorkloadSecurityAgentRuleAttributes) SetUpdater ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) SetUpdater(v CloudWorkloadSecurityAgentRuleUpdaterAttributes)
SetUpdater gets a reference to the given CloudWorkloadSecurityAgentRuleUpdaterAttributes and assigns it to the Updater field.
func (*CloudWorkloadSecurityAgentRuleAttributes) SetVersion ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) SetVersion(v int64)
SetVersion gets a reference to the given int64 and assigns it to the Version field.
func (*CloudWorkloadSecurityAgentRuleAttributes) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleCreateAttributes ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleCreateAttributes struct {
// The description of the Agent rule.
Description *string `json:"description,omitempty"`
// Whether the Agent rule is enabled.
Enabled *bool `json:"enabled,omitempty"`
// The SECL expression of the Agent rule.
Expression string `json:"expression"`
// The name of the Agent rule.
Name string `json:"name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRuleCreateAttributes Create a new Cloud Workload Security Agent rule.
func NewCloudWorkloadSecurityAgentRuleCreateAttributes ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleCreateAttributes(expression string, name string) *CloudWorkloadSecurityAgentRuleCreateAttributes
NewCloudWorkloadSecurityAgentRuleCreateAttributes instantiates a new CloudWorkloadSecurityAgentRuleCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCloudWorkloadSecurityAgentRuleCreateAttributesWithDefaults ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleCreateAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleCreateAttributes
NewCloudWorkloadSecurityAgentRuleCreateAttributesWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetDescription ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetDescriptionOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) 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 (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetEnabled ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetEnabledOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) 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 (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetExpression ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetExpression() string
GetExpression returns the Expression field value.
func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetExpressionOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetExpressionOk() (*string, bool)
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
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetName() string
GetName returns the Name field value.
func (*CloudWorkloadSecurityAgentRuleCreateAttributes) GetNameOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) GetNameOk() (*string, bool)
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
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CloudWorkloadSecurityAgentRuleCreateAttributes) HasEnabled ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (CloudWorkloadSecurityAgentRuleCreateAttributes) MarshalJSON ¶ added in v1.8.0
func (o CloudWorkloadSecurityAgentRuleCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetDescription ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetEnabled ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetExpression ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) SetExpression(v string)
SetExpression sets field value.
func (*CloudWorkloadSecurityAgentRuleCreateAttributes) SetName ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) SetName(v string)
SetName sets field value.
func (*CloudWorkloadSecurityAgentRuleCreateAttributes) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleCreateData ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleCreateData struct {
// Create a new Cloud Workload Security Agent rule.
Attributes CloudWorkloadSecurityAgentRuleCreateAttributes `json:"attributes"`
// The type of the resource. The value should always be `agent_rule`.
Type CloudWorkloadSecurityAgentRuleType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRuleCreateData Object for a single Agent rule.
func NewCloudWorkloadSecurityAgentRuleCreateData ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleCreateData(attributes CloudWorkloadSecurityAgentRuleCreateAttributes, typeVar CloudWorkloadSecurityAgentRuleType) *CloudWorkloadSecurityAgentRuleCreateData
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
func (o *CloudWorkloadSecurityAgentRuleCreateData) GetAttributes() CloudWorkloadSecurityAgentRuleCreateAttributes
GetAttributes returns the Attributes field value.
func (*CloudWorkloadSecurityAgentRuleCreateData) GetAttributesOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateData) GetAttributesOk() (*CloudWorkloadSecurityAgentRuleCreateAttributes, bool)
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
func (o *CloudWorkloadSecurityAgentRuleCreateData) GetType() CloudWorkloadSecurityAgentRuleType
GetType returns the Type field value.
func (*CloudWorkloadSecurityAgentRuleCreateData) GetTypeOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateData) GetTypeOk() (*CloudWorkloadSecurityAgentRuleType, bool)
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 (o CloudWorkloadSecurityAgentRuleCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRuleCreateData) SetAttributes ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateData) SetAttributes(v CloudWorkloadSecurityAgentRuleCreateAttributes)
SetAttributes sets field value.
func (*CloudWorkloadSecurityAgentRuleCreateData) SetType ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateData) SetType(v CloudWorkloadSecurityAgentRuleType)
SetType sets field value.
func (*CloudWorkloadSecurityAgentRuleCreateData) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleCreateRequest ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleCreateRequest struct {
// Object for a single Agent rule.
Data CloudWorkloadSecurityAgentRuleCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRuleCreateRequest Request object that includes the Agent rule to create.
func NewCloudWorkloadSecurityAgentRuleCreateRequest ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleCreateRequest(data CloudWorkloadSecurityAgentRuleCreateData) *CloudWorkloadSecurityAgentRuleCreateRequest
NewCloudWorkloadSecurityAgentRuleCreateRequest instantiates a new CloudWorkloadSecurityAgentRuleCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCloudWorkloadSecurityAgentRuleCreateRequestWithDefaults ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleCreateRequestWithDefaults() *CloudWorkloadSecurityAgentRuleCreateRequest
NewCloudWorkloadSecurityAgentRuleCreateRequestWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CloudWorkloadSecurityAgentRuleCreateRequest) GetData ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateRequest) GetData() CloudWorkloadSecurityAgentRuleCreateData
GetData returns the Data field value.
func (*CloudWorkloadSecurityAgentRuleCreateRequest) GetDataOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateRequest) GetDataOk() (*CloudWorkloadSecurityAgentRuleCreateData, bool)
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 (o CloudWorkloadSecurityAgentRuleCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRuleCreateRequest) SetData ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateRequest) SetData(v CloudWorkloadSecurityAgentRuleCreateData)
SetData sets field value.
func (*CloudWorkloadSecurityAgentRuleCreateRequest) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleCreatorAttributes ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleCreatorAttributes struct {
// The handle of the user.
Handle *string `json:"handle,omitempty"`
// The name of the user.
Name *string `json:"name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRuleCreatorAttributes The attributes of the user who created the Agent rule.
func NewCloudWorkloadSecurityAgentRuleCreatorAttributes ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleCreatorAttributes() *CloudWorkloadSecurityAgentRuleCreatorAttributes
NewCloudWorkloadSecurityAgentRuleCreatorAttributes instantiates a new CloudWorkloadSecurityAgentRuleCreatorAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCloudWorkloadSecurityAgentRuleCreatorAttributesWithDefaults ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleCreatorAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleCreatorAttributes
NewCloudWorkloadSecurityAgentRuleCreatorAttributesWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleCreatorAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetHandle ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) GetHandle() string
GetHandle returns the Handle field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetHandleOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) 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 (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetName ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) GetNameOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) 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 (*CloudWorkloadSecurityAgentRuleCreatorAttributes) HasHandle ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) HasHandle() bool
HasHandle returns a boolean if a field has been set.
func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) HasName ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (CloudWorkloadSecurityAgentRuleCreatorAttributes) MarshalJSON ¶ added in v1.8.0
func (o CloudWorkloadSecurityAgentRuleCreatorAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) SetHandle ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) SetHandle(v string)
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) SetName ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CloudWorkloadSecurityAgentRuleCreatorAttributes) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleCreatorAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleData ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleData struct {
// A Cloud Workload Security Agent rule returned by the API.
Attributes *CloudWorkloadSecurityAgentRuleAttributes `json:"attributes,omitempty"`
// The ID of the Agent rule.
Id *string `json:"id,omitempty"`
// The type of the resource. The value should always be `agent_rule`.
Type *CloudWorkloadSecurityAgentRuleType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRuleData Object for a single Agent rule.
func NewCloudWorkloadSecurityAgentRuleData ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleData() *CloudWorkloadSecurityAgentRuleData
NewCloudWorkloadSecurityAgentRuleData instantiates a new CloudWorkloadSecurityAgentRuleData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCloudWorkloadSecurityAgentRuleDataWithDefaults ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleDataWithDefaults() *CloudWorkloadSecurityAgentRuleData
NewCloudWorkloadSecurityAgentRuleDataWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CloudWorkloadSecurityAgentRuleData) GetAttributes ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleData) GetAttributes() CloudWorkloadSecurityAgentRuleAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleData) GetAttributesOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleData) GetAttributesOk() (*CloudWorkloadSecurityAgentRuleAttributes, 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 (*CloudWorkloadSecurityAgentRuleData) GetId ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleData) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleData) GetIdOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleData) 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 (*CloudWorkloadSecurityAgentRuleData) GetType ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleData) GetType() CloudWorkloadSecurityAgentRuleType
GetType returns the Type field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleData) GetTypeOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleData) GetTypeOk() (*CloudWorkloadSecurityAgentRuleType, 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 (*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
func (o *CloudWorkloadSecurityAgentRuleData) HasId() bool
HasId returns a boolean if a field has been set.
func (*CloudWorkloadSecurityAgentRuleData) HasType ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleData) HasType() bool
HasType returns a boolean if a field has been set.
func (CloudWorkloadSecurityAgentRuleData) MarshalJSON ¶ added in v1.8.0
func (o CloudWorkloadSecurityAgentRuleData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRuleData) SetAttributes ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleData) SetAttributes(v CloudWorkloadSecurityAgentRuleAttributes)
SetAttributes gets a reference to the given CloudWorkloadSecurityAgentRuleAttributes and assigns it to the Attributes field.
func (*CloudWorkloadSecurityAgentRuleData) SetId ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleData) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*CloudWorkloadSecurityAgentRuleData) SetType ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleData) SetType(v CloudWorkloadSecurityAgentRuleType)
SetType gets a reference to the given CloudWorkloadSecurityAgentRuleType and assigns it to the Type field.
func (*CloudWorkloadSecurityAgentRuleData) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleResponse ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleResponse struct {
// Object for a single Agent rule.
Data *CloudWorkloadSecurityAgentRuleData `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRuleResponse Response object that includes an Agent rule.
func NewCloudWorkloadSecurityAgentRuleResponse ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleResponse() *CloudWorkloadSecurityAgentRuleResponse
NewCloudWorkloadSecurityAgentRuleResponse instantiates a new CloudWorkloadSecurityAgentRuleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCloudWorkloadSecurityAgentRuleResponseWithDefaults ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleResponseWithDefaults() *CloudWorkloadSecurityAgentRuleResponse
NewCloudWorkloadSecurityAgentRuleResponseWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CloudWorkloadSecurityAgentRuleResponse) GetData ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleResponse) GetData() CloudWorkloadSecurityAgentRuleData
GetData returns the Data field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleResponse) GetDataOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleResponse) GetDataOk() (*CloudWorkloadSecurityAgentRuleData, 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 (*CloudWorkloadSecurityAgentRuleResponse) HasData ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (CloudWorkloadSecurityAgentRuleResponse) MarshalJSON ¶ added in v1.8.0
func (o CloudWorkloadSecurityAgentRuleResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRuleResponse) SetData ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleResponse) SetData(v CloudWorkloadSecurityAgentRuleData)
SetData gets a reference to the given CloudWorkloadSecurityAgentRuleData and assigns it to the Data field.
func (*CloudWorkloadSecurityAgentRuleResponse) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleType ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleType string
CloudWorkloadSecurityAgentRuleType The type of the resource. The value should always be `agent_rule`.
const (
CLOUDWORKLOADSECURITYAGENTRULETYPE_AGENT_RULE CloudWorkloadSecurityAgentRuleType = "agent_rule"
)
List of CloudWorkloadSecurityAgentRuleType.
func NewCloudWorkloadSecurityAgentRuleTypeFromValue ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleTypeFromValue(v string) (*CloudWorkloadSecurityAgentRuleType, error)
NewCloudWorkloadSecurityAgentRuleTypeFromValue returns a pointer to a valid CloudWorkloadSecurityAgentRuleType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*CloudWorkloadSecurityAgentRuleType) GetAllowedValues ¶ added in v1.8.0
func (v *CloudWorkloadSecurityAgentRuleType) GetAllowedValues() []CloudWorkloadSecurityAgentRuleType
GetAllowedValues reeturns the list of possible values.
func (CloudWorkloadSecurityAgentRuleType) IsValid ¶ added in v1.8.0
func (v CloudWorkloadSecurityAgentRuleType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (CloudWorkloadSecurityAgentRuleType) Ptr ¶ added in v1.8.0
func (v CloudWorkloadSecurityAgentRuleType) Ptr() *CloudWorkloadSecurityAgentRuleType
Ptr returns reference to CloudWorkloadSecurityAgentRuleType value.
func (*CloudWorkloadSecurityAgentRuleType) UnmarshalJSON ¶ added in v1.8.0
func (v *CloudWorkloadSecurityAgentRuleType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleUpdateAttributes ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleUpdateAttributes struct {
// The description of the Agent rule.
Description *string `json:"description,omitempty"`
// Whether the Agent rule is enabled.
Enabled *bool `json:"enabled,omitempty"`
// The SECL expression of the Agent rule.
Expression *string `json:"expression,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRuleUpdateAttributes Update an existing Cloud Workload Security Agent rule.
func NewCloudWorkloadSecurityAgentRuleUpdateAttributes ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleUpdateAttributes() *CloudWorkloadSecurityAgentRuleUpdateAttributes
NewCloudWorkloadSecurityAgentRuleUpdateAttributes instantiates a new CloudWorkloadSecurityAgentRuleUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCloudWorkloadSecurityAgentRuleUpdateAttributesWithDefaults ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleUpdateAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleUpdateAttributes
NewCloudWorkloadSecurityAgentRuleUpdateAttributesWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetDescription ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetDescriptionOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) 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 (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetEnabled ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetEnabledOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) 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 (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetExpression ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) GetExpression() string
GetExpression returns the Expression field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) GetExpressionOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) 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 (*CloudWorkloadSecurityAgentRuleUpdateAttributes) HasDescription ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) HasEnabled ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) HasExpression ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) HasExpression() bool
HasExpression returns a boolean if a field has been set.
func (CloudWorkloadSecurityAgentRuleUpdateAttributes) MarshalJSON ¶ added in v1.8.0
func (o CloudWorkloadSecurityAgentRuleUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetDescription ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetEnabled ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) SetExpression ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) SetExpression(v string)
SetExpression gets a reference to the given string and assigns it to the Expression field.
func (*CloudWorkloadSecurityAgentRuleUpdateAttributes) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleUpdateData ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleUpdateData struct {
// Update an existing Cloud Workload Security Agent rule.
Attributes CloudWorkloadSecurityAgentRuleUpdateAttributes `json:"attributes"`
// The type of the resource. The value should always be `agent_rule`.
Type CloudWorkloadSecurityAgentRuleType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRuleUpdateData Object for a single Agent rule.
func NewCloudWorkloadSecurityAgentRuleUpdateData ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleUpdateData(attributes CloudWorkloadSecurityAgentRuleUpdateAttributes, typeVar CloudWorkloadSecurityAgentRuleType) *CloudWorkloadSecurityAgentRuleUpdateData
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
func (o *CloudWorkloadSecurityAgentRuleUpdateData) GetAttributes() CloudWorkloadSecurityAgentRuleUpdateAttributes
GetAttributes returns the Attributes field value.
func (*CloudWorkloadSecurityAgentRuleUpdateData) GetAttributesOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateData) GetAttributesOk() (*CloudWorkloadSecurityAgentRuleUpdateAttributes, bool)
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
func (o *CloudWorkloadSecurityAgentRuleUpdateData) GetType() CloudWorkloadSecurityAgentRuleType
GetType returns the Type field value.
func (*CloudWorkloadSecurityAgentRuleUpdateData) GetTypeOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateData) GetTypeOk() (*CloudWorkloadSecurityAgentRuleType, bool)
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 (o CloudWorkloadSecurityAgentRuleUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRuleUpdateData) SetAttributes ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateData) SetAttributes(v CloudWorkloadSecurityAgentRuleUpdateAttributes)
SetAttributes sets field value.
func (*CloudWorkloadSecurityAgentRuleUpdateData) SetType ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateData) SetType(v CloudWorkloadSecurityAgentRuleType)
SetType sets field value.
func (*CloudWorkloadSecurityAgentRuleUpdateData) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleUpdateRequest ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleUpdateRequest struct {
// Object for a single Agent rule.
Data CloudWorkloadSecurityAgentRuleUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRuleUpdateRequest Request object that includes the Agent rule with the attributes to update.
func NewCloudWorkloadSecurityAgentRuleUpdateRequest ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleUpdateRequest(data CloudWorkloadSecurityAgentRuleUpdateData) *CloudWorkloadSecurityAgentRuleUpdateRequest
NewCloudWorkloadSecurityAgentRuleUpdateRequest instantiates a new CloudWorkloadSecurityAgentRuleUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCloudWorkloadSecurityAgentRuleUpdateRequestWithDefaults ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleUpdateRequestWithDefaults() *CloudWorkloadSecurityAgentRuleUpdateRequest
NewCloudWorkloadSecurityAgentRuleUpdateRequestWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CloudWorkloadSecurityAgentRuleUpdateRequest) GetData ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateRequest) GetData() CloudWorkloadSecurityAgentRuleUpdateData
GetData returns the Data field value.
func (*CloudWorkloadSecurityAgentRuleUpdateRequest) GetDataOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateRequest) GetDataOk() (*CloudWorkloadSecurityAgentRuleUpdateData, bool)
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 (o CloudWorkloadSecurityAgentRuleUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRuleUpdateRequest) SetData ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateRequest) SetData(v CloudWorkloadSecurityAgentRuleUpdateData)
SetData sets field value.
func (*CloudWorkloadSecurityAgentRuleUpdateRequest) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRuleUpdaterAttributes ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRuleUpdaterAttributes struct {
// The handle of the user.
Handle *string `json:"handle,omitempty"`
// The name of the user.
Name *string `json:"name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRuleUpdaterAttributes The attributes of the user who last updated the Agent rule.
func NewCloudWorkloadSecurityAgentRuleUpdaterAttributes ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleUpdaterAttributes() *CloudWorkloadSecurityAgentRuleUpdaterAttributes
NewCloudWorkloadSecurityAgentRuleUpdaterAttributes instantiates a new CloudWorkloadSecurityAgentRuleUpdaterAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCloudWorkloadSecurityAgentRuleUpdaterAttributesWithDefaults ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRuleUpdaterAttributesWithDefaults() *CloudWorkloadSecurityAgentRuleUpdaterAttributes
NewCloudWorkloadSecurityAgentRuleUpdaterAttributesWithDefaults instantiates a new CloudWorkloadSecurityAgentRuleUpdaterAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetHandle ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetHandle() string
GetHandle returns the Handle field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetHandleOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) 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 (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetName ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) GetNameOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) 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 (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasHandle ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasHandle() bool
HasHandle returns a boolean if a field has been set.
func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasName ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (CloudWorkloadSecurityAgentRuleUpdaterAttributes) MarshalJSON ¶ added in v1.8.0
func (o CloudWorkloadSecurityAgentRuleUpdaterAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetHandle ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetHandle(v string)
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetName ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CloudWorkloadSecurityAgentRuleUpdaterAttributes) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRuleUpdaterAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityAgentRulesListResponse ¶ added in v1.8.0
type CloudWorkloadSecurityAgentRulesListResponse struct {
// A list of Agent rules objects.
Data []CloudWorkloadSecurityAgentRuleData `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CloudWorkloadSecurityAgentRulesListResponse Response object that includes a list of Agent rule.
func NewCloudWorkloadSecurityAgentRulesListResponse ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRulesListResponse() *CloudWorkloadSecurityAgentRulesListResponse
NewCloudWorkloadSecurityAgentRulesListResponse instantiates a new CloudWorkloadSecurityAgentRulesListResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCloudWorkloadSecurityAgentRulesListResponseWithDefaults ¶ added in v1.8.0
func NewCloudWorkloadSecurityAgentRulesListResponseWithDefaults() *CloudWorkloadSecurityAgentRulesListResponse
NewCloudWorkloadSecurityAgentRulesListResponseWithDefaults instantiates a new CloudWorkloadSecurityAgentRulesListResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CloudWorkloadSecurityAgentRulesListResponse) GetData ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRulesListResponse) GetData() []CloudWorkloadSecurityAgentRuleData
GetData returns the Data field value if set, zero value otherwise.
func (*CloudWorkloadSecurityAgentRulesListResponse) GetDataOk ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRulesListResponse) GetDataOk() (*[]CloudWorkloadSecurityAgentRuleData, 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 (*CloudWorkloadSecurityAgentRulesListResponse) HasData ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRulesListResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (CloudWorkloadSecurityAgentRulesListResponse) MarshalJSON ¶ added in v1.8.0
func (o CloudWorkloadSecurityAgentRulesListResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CloudWorkloadSecurityAgentRulesListResponse) SetData ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRulesListResponse) SetData(v []CloudWorkloadSecurityAgentRuleData)
SetData gets a reference to the given []CloudWorkloadSecurityAgentRuleData and assigns it to the Data field.
func (*CloudWorkloadSecurityAgentRulesListResponse) UnmarshalJSON ¶ added in v1.8.0
func (o *CloudWorkloadSecurityAgentRulesListResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CloudWorkloadSecurityApiService ¶ added in v1.8.0
type CloudWorkloadSecurityApiService service
CloudWorkloadSecurityApiService CloudWorkloadSecurityApi service.
func (*CloudWorkloadSecurityApiService) CreateCloudWorkloadSecurityAgentRule ¶ added in v1.8.0
func (a *CloudWorkloadSecurityApiService) CreateCloudWorkloadSecurityAgentRule(ctx _context.Context, body CloudWorkloadSecurityAgentRuleCreateRequest) (CloudWorkloadSecurityAgentRuleResponse, *_nethttp.Response, error)
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
func (a *CloudWorkloadSecurityApiService) ListCloudWorkloadSecurityAgentRules(ctx _context.Context) (CloudWorkloadSecurityAgentRulesListResponse, *_nethttp.Response, error)
ListCloudWorkloadSecurityAgentRules Get all Cloud Workload Security Agent rules. Get the list of Agent rules.
func (*CloudWorkloadSecurityApiService) UpdateCloudWorkloadSecurityAgentRule ¶ added in v1.8.0
func (a *CloudWorkloadSecurityApiService) UpdateCloudWorkloadSecurityAgentRule(ctx _context.Context, agentRuleId string, body CloudWorkloadSecurityAgentRuleUpdateRequest) (CloudWorkloadSecurityAgentRuleResponse, *_nethttp.Response, error)
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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint.
func (*Configuration) SetUnstableOperationEnabled ¶
func (c *Configuration) SetUnstableOperationEnabled(operation string, enabled bool) bool
SetUnstableOperationEnabled sets an unstable operation as enabled (true) or disabled (false). This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" Returns true if the operation is marked as unstable and thus was enabled/disabled, false otherwise.
type ContentEncoding ¶ added in v1.6.0
type ContentEncoding string
ContentEncoding HTTP header used to compress the media-type.
const ( CONTENTENCODING_GZIP ContentEncoding = "gzip" CONTENTENCODING_DEFLATE ContentEncoding = "deflate" )
List of ContentEncoding.
func NewContentEncodingFromValue ¶ added in v1.6.0
func NewContentEncodingFromValue(v string) (*ContentEncoding, error)
NewContentEncodingFromValue returns a pointer to a valid ContentEncoding for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*ContentEncoding) GetAllowedValues ¶ added in v1.6.0
func (v *ContentEncoding) GetAllowedValues() []ContentEncoding
GetAllowedValues reeturns the list of possible values.
func (ContentEncoding) IsValid ¶ added in v1.6.0
func (v ContentEncoding) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ContentEncoding) Ptr ¶ added in v1.6.0
func (v ContentEncoding) Ptr() *ContentEncoding
Ptr returns reference to ContentEncoding value.
func (*ContentEncoding) UnmarshalJSON ¶ added in v1.6.0
func (v *ContentEncoding) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type CostByOrg ¶ added in v1.14.0
type CostByOrg struct {
// Cost attributes data.
Attributes *CostByOrgAttributes `json:"attributes,omitempty"`
// Unique ID of the response.
Id *string `json:"id,omitempty"`
// Type of cost data.
Type *CostByOrgType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CostByOrg Cost data.
func NewCostByOrg ¶ added in v1.14.0
func NewCostByOrg() *CostByOrg
NewCostByOrg instantiates a new CostByOrg object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCostByOrgWithDefaults ¶ added in v1.14.0
func NewCostByOrgWithDefaults() *CostByOrg
NewCostByOrgWithDefaults instantiates a new CostByOrg object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CostByOrg) GetAttributes ¶ added in v1.14.0
func (o *CostByOrg) GetAttributes() CostByOrgAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*CostByOrg) GetAttributesOk ¶ added in v1.14.0
func (o *CostByOrg) GetAttributesOk() (*CostByOrgAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CostByOrg) GetId ¶ added in v1.14.0
GetId returns the Id field value if set, zero value otherwise.
func (*CostByOrg) GetIdOk ¶ added in v1.14.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 (*CostByOrg) GetType ¶ added in v1.14.0
func (o *CostByOrg) GetType() CostByOrgType
GetType returns the Type field value if set, zero value otherwise.
func (*CostByOrg) GetTypeOk ¶ added in v1.14.0
func (o *CostByOrg) GetTypeOk() (*CostByOrgType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CostByOrg) HasAttributes ¶ added in v1.14.0
HasAttributes returns a boolean if a field has been set.
func (CostByOrg) MarshalJSON ¶ added in v1.14.0
MarshalJSON serializes the struct using spec logic.
func (*CostByOrg) SetAttributes ¶ added in v1.14.0
func (o *CostByOrg) SetAttributes(v CostByOrgAttributes)
SetAttributes gets a reference to the given CostByOrgAttributes and assigns it to the Attributes field.
func (*CostByOrg) SetId ¶ added in v1.14.0
SetId gets a reference to the given string and assigns it to the Id field.
func (*CostByOrg) SetType ¶ added in v1.14.0
func (o *CostByOrg) SetType(v CostByOrgType)
SetType gets a reference to the given CostByOrgType and assigns it to the Type field.
func (*CostByOrg) UnmarshalJSON ¶ added in v1.14.0
UnmarshalJSON deserializes the given payload.
type CostByOrgAttributes ¶ added in v1.14.0
type CostByOrgAttributes struct {
// List of charges data reported for the requested month.
Charges []ChargebackBreakdown `json:"charges,omitempty"`
// The month requested.
Date *time.Time `json:"date,omitempty"`
// The organization name.
OrgName *string `json:"org_name,omitempty"`
// The organization public ID.
PublicId *string `json:"public_id,omitempty"`
// The total cost of products for the month.
TotalCost *float64 `json:"total_cost,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CostByOrgAttributes Cost attributes data.
func NewCostByOrgAttributes ¶ added in v1.14.0
func NewCostByOrgAttributes() *CostByOrgAttributes
NewCostByOrgAttributes instantiates a new CostByOrgAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCostByOrgAttributesWithDefaults ¶ added in v1.14.0
func NewCostByOrgAttributesWithDefaults() *CostByOrgAttributes
NewCostByOrgAttributesWithDefaults instantiates a new CostByOrgAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CostByOrgAttributes) GetCharges ¶ added in v1.14.0
func (o *CostByOrgAttributes) GetCharges() []ChargebackBreakdown
GetCharges returns the Charges field value if set, zero value otherwise.
func (*CostByOrgAttributes) GetChargesOk ¶ added in v1.14.0
func (o *CostByOrgAttributes) GetChargesOk() (*[]ChargebackBreakdown, bool)
GetChargesOk returns a tuple with the Charges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CostByOrgAttributes) GetDate ¶ added in v1.14.0
func (o *CostByOrgAttributes) GetDate() time.Time
GetDate returns the Date field value if set, zero value otherwise.
func (*CostByOrgAttributes) GetDateOk ¶ added in v1.14.0
func (o *CostByOrgAttributes) GetDateOk() (*time.Time, bool)
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CostByOrgAttributes) GetOrgName ¶ added in v1.14.0
func (o *CostByOrgAttributes) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*CostByOrgAttributes) GetOrgNameOk ¶ added in v1.14.0
func (o *CostByOrgAttributes) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CostByOrgAttributes) GetPublicId ¶ added in v1.14.0
func (o *CostByOrgAttributes) GetPublicId() string
GetPublicId returns the PublicId field value if set, zero value otherwise.
func (*CostByOrgAttributes) GetPublicIdOk ¶ added in v1.14.0
func (o *CostByOrgAttributes) GetPublicIdOk() (*string, bool)
GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CostByOrgAttributes) GetTotalCost ¶ added in v1.14.0
func (o *CostByOrgAttributes) GetTotalCost() float64
GetTotalCost returns the TotalCost field value if set, zero value otherwise.
func (*CostByOrgAttributes) GetTotalCostOk ¶ added in v1.14.0
func (o *CostByOrgAttributes) GetTotalCostOk() (*float64, bool)
GetTotalCostOk returns a tuple with the TotalCost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CostByOrgAttributes) HasCharges ¶ added in v1.14.0
func (o *CostByOrgAttributes) HasCharges() bool
HasCharges returns a boolean if a field has been set.
func (*CostByOrgAttributes) HasDate ¶ added in v1.14.0
func (o *CostByOrgAttributes) HasDate() bool
HasDate returns a boolean if a field has been set.
func (*CostByOrgAttributes) HasOrgName ¶ added in v1.14.0
func (o *CostByOrgAttributes) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*CostByOrgAttributes) HasPublicId ¶ added in v1.14.0
func (o *CostByOrgAttributes) HasPublicId() bool
HasPublicId returns a boolean if a field has been set.
func (*CostByOrgAttributes) HasTotalCost ¶ added in v1.14.0
func (o *CostByOrgAttributes) HasTotalCost() bool
HasTotalCost returns a boolean if a field has been set.
func (CostByOrgAttributes) MarshalJSON ¶ added in v1.14.0
func (o CostByOrgAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CostByOrgAttributes) SetCharges ¶ added in v1.14.0
func (o *CostByOrgAttributes) SetCharges(v []ChargebackBreakdown)
SetCharges gets a reference to the given []ChargebackBreakdown and assigns it to the Charges field.
func (*CostByOrgAttributes) SetDate ¶ added in v1.14.0
func (o *CostByOrgAttributes) SetDate(v time.Time)
SetDate gets a reference to the given time.Time and assigns it to the Date field.
func (*CostByOrgAttributes) SetOrgName ¶ added in v1.14.0
func (o *CostByOrgAttributes) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*CostByOrgAttributes) SetPublicId ¶ added in v1.14.0
func (o *CostByOrgAttributes) SetPublicId(v string)
SetPublicId gets a reference to the given string and assigns it to the PublicId field.
func (*CostByOrgAttributes) SetTotalCost ¶ added in v1.14.0
func (o *CostByOrgAttributes) SetTotalCost(v float64)
SetTotalCost gets a reference to the given float64 and assigns it to the TotalCost field.
func (*CostByOrgAttributes) UnmarshalJSON ¶ added in v1.14.0
func (o *CostByOrgAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CostByOrgResponse ¶ added in v1.14.0
type CostByOrgResponse struct {
// Response containing Chargeback Summary.
Data []CostByOrg `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
CostByOrgResponse Chargeback Summary response.
func NewCostByOrgResponse ¶ added in v1.14.0
func NewCostByOrgResponse() *CostByOrgResponse
NewCostByOrgResponse instantiates a new CostByOrgResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCostByOrgResponseWithDefaults ¶ added in v1.14.0
func NewCostByOrgResponseWithDefaults() *CostByOrgResponse
NewCostByOrgResponseWithDefaults instantiates a new CostByOrgResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CostByOrgResponse) GetData ¶ added in v1.14.0
func (o *CostByOrgResponse) GetData() []CostByOrg
GetData returns the Data field value if set, zero value otherwise.
func (*CostByOrgResponse) GetDataOk ¶ added in v1.14.0
func (o *CostByOrgResponse) GetDataOk() (*[]CostByOrg, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CostByOrgResponse) HasData ¶ added in v1.14.0
func (o *CostByOrgResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (CostByOrgResponse) MarshalJSON ¶ added in v1.14.0
func (o CostByOrgResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*CostByOrgResponse) SetData ¶ added in v1.14.0
func (o *CostByOrgResponse) SetData(v []CostByOrg)
SetData gets a reference to the given []CostByOrg and assigns it to the Data field.
func (*CostByOrgResponse) UnmarshalJSON ¶ added in v1.14.0
func (o *CostByOrgResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CostByOrgType ¶ added in v1.14.0
type CostByOrgType string
CostByOrgType Type of cost data.
const (
COSTBYORGTYPE_COST_BY_ORG CostByOrgType = "cost_by_org"
)
List of CostByOrgType.
func NewCostByOrgTypeFromValue ¶ added in v1.14.0
func NewCostByOrgTypeFromValue(v string) (*CostByOrgType, error)
NewCostByOrgTypeFromValue returns a pointer to a valid CostByOrgType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*CostByOrgType) GetAllowedValues ¶ added in v1.14.0
func (v *CostByOrgType) GetAllowedValues() []CostByOrgType
GetAllowedValues reeturns the list of possible values.
func (CostByOrgType) IsValid ¶ added in v1.14.0
func (v CostByOrgType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (CostByOrgType) Ptr ¶ added in v1.14.0
func (v CostByOrgType) Ptr() *CostByOrgType
Ptr returns reference to CostByOrgType value.
func (*CostByOrgType) UnmarshalJSON ¶ added in v1.14.0
func (v *CostByOrgType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type Creator ¶
type Creator struct {
// Email of the creator.
Email *string `json:"email,omitempty"`
// Handle of the creator.
Handle *string `json:"handle,omitempty"`
// Name of the creator.
Name *string `json:"name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
Creator Creator of the object.
func NewCreator ¶
func NewCreator() *Creator
NewCreator instantiates a new Creator object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCreatorWithDefaults ¶
func NewCreatorWithDefaults() *Creator
NewCreatorWithDefaults instantiates a new Creator object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Creator) GetEmailOk ¶
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) GetHandleOk ¶
GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Creator) 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 (Creator) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Creator) SetEmail ¶
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*Creator) SetHandle ¶
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*Creator) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Creator) UnmarshalJSON ¶ added in v1.3.0
UnmarshalJSON deserializes the given payload.
type DashboardListAddItemsRequest ¶
type DashboardListAddItemsRequest struct {
// List of dashboards to add the dashboard list.
Dashboards []DashboardListItemRequest `json:"dashboards,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
DashboardListAddItemsRequest Request containing a list of dashboards to add.
func NewDashboardListAddItemsRequest ¶
func NewDashboardListAddItemsRequest() *DashboardListAddItemsRequest
NewDashboardListAddItemsRequest instantiates a new DashboardListAddItemsRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardListAddItemsRequestWithDefaults ¶
func NewDashboardListAddItemsRequestWithDefaults() *DashboardListAddItemsRequest
NewDashboardListAddItemsRequestWithDefaults instantiates a new DashboardListAddItemsRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardListAddItemsRequest) GetDashboards ¶
func (o *DashboardListAddItemsRequest) GetDashboards() []DashboardListItemRequest
GetDashboards returns the Dashboards field value if set, zero value otherwise.
func (*DashboardListAddItemsRequest) GetDashboardsOk ¶
func (o *DashboardListAddItemsRequest) GetDashboardsOk() (*[]DashboardListItemRequest, bool)
GetDashboardsOk returns a tuple with the Dashboards field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListAddItemsRequest) HasDashboards ¶
func (o *DashboardListAddItemsRequest) HasDashboards() bool
HasDashboards returns a boolean if a field has been set.
func (DashboardListAddItemsRequest) MarshalJSON ¶
func (o DashboardListAddItemsRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardListAddItemsRequest) SetDashboards ¶
func (o *DashboardListAddItemsRequest) SetDashboards(v []DashboardListItemRequest)
SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.
func (*DashboardListAddItemsRequest) UnmarshalJSON ¶ added in v1.3.0
func (o *DashboardListAddItemsRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardListAddItemsResponse ¶
type DashboardListAddItemsResponse struct {
// List of dashboards added to the dashboard list.
AddedDashboardsToList []DashboardListItemResponse `json:"added_dashboards_to_list,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
DashboardListAddItemsResponse Response containing a list of added dashboards.
func NewDashboardListAddItemsResponse ¶
func NewDashboardListAddItemsResponse() *DashboardListAddItemsResponse
NewDashboardListAddItemsResponse instantiates a new DashboardListAddItemsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardListAddItemsResponseWithDefaults ¶
func NewDashboardListAddItemsResponseWithDefaults() *DashboardListAddItemsResponse
NewDashboardListAddItemsResponseWithDefaults instantiates a new DashboardListAddItemsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardListAddItemsResponse) GetAddedDashboardsToList ¶
func (o *DashboardListAddItemsResponse) GetAddedDashboardsToList() []DashboardListItemResponse
GetAddedDashboardsToList returns the AddedDashboardsToList field value if set, zero value otherwise.
func (*DashboardListAddItemsResponse) GetAddedDashboardsToListOk ¶
func (o *DashboardListAddItemsResponse) GetAddedDashboardsToListOk() (*[]DashboardListItemResponse, bool)
GetAddedDashboardsToListOk returns a tuple with the AddedDashboardsToList field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListAddItemsResponse) HasAddedDashboardsToList ¶
func (o *DashboardListAddItemsResponse) HasAddedDashboardsToList() bool
HasAddedDashboardsToList returns a boolean if a field has been set.
func (DashboardListAddItemsResponse) MarshalJSON ¶
func (o DashboardListAddItemsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardListAddItemsResponse) SetAddedDashboardsToList ¶
func (o *DashboardListAddItemsResponse) SetAddedDashboardsToList(v []DashboardListItemResponse)
SetAddedDashboardsToList gets a reference to the given []DashboardListItemResponse and assigns it to the AddedDashboardsToList field.
func (*DashboardListAddItemsResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *DashboardListAddItemsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardListDeleteItemsRequest ¶
type DashboardListDeleteItemsRequest struct {
// List of dashboards to delete from the dashboard list.
Dashboards []DashboardListItemRequest `json:"dashboards,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
DashboardListDeleteItemsRequest Request containing a list of dashboards to delete.
func NewDashboardListDeleteItemsRequest ¶
func NewDashboardListDeleteItemsRequest() *DashboardListDeleteItemsRequest
NewDashboardListDeleteItemsRequest instantiates a new DashboardListDeleteItemsRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardListDeleteItemsRequestWithDefaults ¶
func NewDashboardListDeleteItemsRequestWithDefaults() *DashboardListDeleteItemsRequest
NewDashboardListDeleteItemsRequestWithDefaults instantiates a new DashboardListDeleteItemsRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardListDeleteItemsRequest) GetDashboards ¶
func (o *DashboardListDeleteItemsRequest) GetDashboards() []DashboardListItemRequest
GetDashboards returns the Dashboards field value if set, zero value otherwise.
func (*DashboardListDeleteItemsRequest) GetDashboardsOk ¶
func (o *DashboardListDeleteItemsRequest) 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 (*DashboardListDeleteItemsRequest) HasDashboards ¶
func (o *DashboardListDeleteItemsRequest) HasDashboards() bool
HasDashboards returns a boolean if a field has been set.
func (DashboardListDeleteItemsRequest) MarshalJSON ¶
func (o DashboardListDeleteItemsRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardListDeleteItemsRequest) SetDashboards ¶
func (o *DashboardListDeleteItemsRequest) SetDashboards(v []DashboardListItemRequest)
SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.
func (*DashboardListDeleteItemsRequest) UnmarshalJSON ¶ added in v1.3.0
func (o *DashboardListDeleteItemsRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardListDeleteItemsResponse ¶
type DashboardListDeleteItemsResponse struct {
// List of dashboards deleted from the dashboard list.
DeletedDashboardsFromList []DashboardListItemResponse `json:"deleted_dashboards_from_list,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
DashboardListDeleteItemsResponse Response containing a list of deleted dashboards.
func NewDashboardListDeleteItemsResponse ¶
func NewDashboardListDeleteItemsResponse() *DashboardListDeleteItemsResponse
NewDashboardListDeleteItemsResponse instantiates a new DashboardListDeleteItemsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardListDeleteItemsResponseWithDefaults ¶
func NewDashboardListDeleteItemsResponseWithDefaults() *DashboardListDeleteItemsResponse
NewDashboardListDeleteItemsResponseWithDefaults instantiates a new DashboardListDeleteItemsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardListDeleteItemsResponse) GetDeletedDashboardsFromList ¶
func (o *DashboardListDeleteItemsResponse) GetDeletedDashboardsFromList() []DashboardListItemResponse
GetDeletedDashboardsFromList returns the DeletedDashboardsFromList field value if set, zero value otherwise.
func (*DashboardListDeleteItemsResponse) GetDeletedDashboardsFromListOk ¶
func (o *DashboardListDeleteItemsResponse) GetDeletedDashboardsFromListOk() (*[]DashboardListItemResponse, bool)
GetDeletedDashboardsFromListOk returns a tuple with the DeletedDashboardsFromList field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListDeleteItemsResponse) HasDeletedDashboardsFromList ¶
func (o *DashboardListDeleteItemsResponse) HasDeletedDashboardsFromList() bool
HasDeletedDashboardsFromList returns a boolean if a field has been set.
func (DashboardListDeleteItemsResponse) MarshalJSON ¶
func (o DashboardListDeleteItemsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardListDeleteItemsResponse) SetDeletedDashboardsFromList ¶
func (o *DashboardListDeleteItemsResponse) SetDeletedDashboardsFromList(v []DashboardListItemResponse)
SetDeletedDashboardsFromList gets a reference to the given []DashboardListItemResponse and assigns it to the DeletedDashboardsFromList field.
func (*DashboardListDeleteItemsResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *DashboardListDeleteItemsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardListItem ¶
type DashboardListItem struct {
// Creator of the object.
Author *Creator `json:"author,omitempty"`
// Date of creation of the dashboard.
Created *time.Time `json:"created,omitempty"`
// URL to the icon of the dashboard.
Icon *string `json:"icon,omitempty"`
// ID of the dashboard.
Id string `json:"id"`
// Whether or not the dashboard is in the favorites.
IsFavorite *bool `json:"is_favorite,omitempty"`
// Whether or not the dashboard is read only.
IsReadOnly *bool `json:"is_read_only,omitempty"`
IsShared *bool `json:"is_shared,omitempty"`
// Date of last edition of the dashboard.
Modified *time.Time `json:"modified,omitempty"`
// Popularity of the dashboard.
Popularity *int32 `json:"popularity,omitempty"`
// Title of the dashboard.
Title *string `json:"title,omitempty"`
// The type of the dashboard.
Type DashboardType `json:"type"`
// URL path to the dashboard.
Url *string `json:"url,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
DashboardListItem A dashboard within a list.
func NewDashboardListItem ¶
func NewDashboardListItem(id string, typeVar DashboardType) *DashboardListItem
NewDashboardListItem instantiates a new DashboardListItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardListItemWithDefaults ¶
func NewDashboardListItemWithDefaults() *DashboardListItem
NewDashboardListItemWithDefaults instantiates a new DashboardListItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardListItem) GetAuthor ¶
func (o *DashboardListItem) GetAuthor() Creator
GetAuthor returns the Author field value if set, zero value otherwise.
func (*DashboardListItem) GetAuthorOk ¶
func (o *DashboardListItem) GetAuthorOk() (*Creator, bool)
GetAuthorOk returns a tuple with the Author field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListItem) GetCreated ¶
func (o *DashboardListItem) GetCreated() time.Time
GetCreated returns the Created field value if set, zero value otherwise.
func (*DashboardListItem) GetCreatedOk ¶
func (o *DashboardListItem) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListItem) GetIcon ¶
func (o *DashboardListItem) GetIcon() string
GetIcon returns the Icon field value if set, zero value otherwise.
func (*DashboardListItem) GetIconOk ¶
func (o *DashboardListItem) GetIconOk() (*string, bool)
GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListItem) GetId ¶
func (o *DashboardListItem) GetId() string
GetId returns the Id field value.
func (*DashboardListItem) GetIdOk ¶
func (o *DashboardListItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*DashboardListItem) GetIsFavorite ¶
func (o *DashboardListItem) GetIsFavorite() bool
GetIsFavorite returns the IsFavorite field value if set, zero value otherwise.
func (*DashboardListItem) GetIsFavoriteOk ¶
func (o *DashboardListItem) GetIsFavoriteOk() (*bool, bool)
GetIsFavoriteOk returns a tuple with the IsFavorite field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListItem) GetIsReadOnly ¶
func (o *DashboardListItem) GetIsReadOnly() bool
GetIsReadOnly returns the IsReadOnly field value if set, zero value otherwise.
func (*DashboardListItem) GetIsReadOnlyOk ¶
func (o *DashboardListItem) GetIsReadOnlyOk() (*bool, bool)
GetIsReadOnlyOk returns a tuple with the IsReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListItem) GetIsShared ¶
func (o *DashboardListItem) GetIsShared() bool
GetIsShared returns the IsShared field value if set, zero value otherwise.
func (*DashboardListItem) GetIsSharedOk ¶
func (o *DashboardListItem) GetIsSharedOk() (*bool, bool)
GetIsSharedOk returns a tuple with the IsShared field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListItem) GetModified ¶
func (o *DashboardListItem) GetModified() time.Time
GetModified returns the Modified field value if set, zero value otherwise.
func (*DashboardListItem) GetModifiedOk ¶
func (o *DashboardListItem) GetModifiedOk() (*time.Time, bool)
GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListItem) GetPopularity ¶
func (o *DashboardListItem) GetPopularity() int32
GetPopularity returns the Popularity field value if set, zero value otherwise.
func (*DashboardListItem) GetPopularityOk ¶
func (o *DashboardListItem) GetPopularityOk() (*int32, bool)
GetPopularityOk returns a tuple with the Popularity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListItem) GetTitle ¶
func (o *DashboardListItem) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*DashboardListItem) GetTitleOk ¶
func (o *DashboardListItem) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListItem) GetType ¶
func (o *DashboardListItem) GetType() DashboardType
GetType returns the Type field value.
func (*DashboardListItem) GetTypeOk ¶
func (o *DashboardListItem) GetTypeOk() (*DashboardType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*DashboardListItem) GetUrl ¶
func (o *DashboardListItem) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*DashboardListItem) GetUrlOk ¶
func (o *DashboardListItem) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListItem) HasAuthor ¶
func (o *DashboardListItem) HasAuthor() bool
HasAuthor returns a boolean if a field has been set.
func (*DashboardListItem) HasCreated ¶
func (o *DashboardListItem) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*DashboardListItem) HasIcon ¶
func (o *DashboardListItem) HasIcon() bool
HasIcon returns a boolean if a field has been set.
func (*DashboardListItem) HasIsFavorite ¶
func (o *DashboardListItem) HasIsFavorite() bool
HasIsFavorite returns a boolean if a field has been set.
func (*DashboardListItem) HasIsReadOnly ¶
func (o *DashboardListItem) HasIsReadOnly() bool
HasIsReadOnly returns a boolean if a field has been set.
func (*DashboardListItem) HasIsShared ¶
func (o *DashboardListItem) HasIsShared() bool
HasIsShared returns a boolean if a field has been set.
func (*DashboardListItem) HasModified ¶
func (o *DashboardListItem) HasModified() bool
HasModified returns a boolean if a field has been set.
func (*DashboardListItem) HasPopularity ¶
func (o *DashboardListItem) HasPopularity() bool
HasPopularity returns a boolean if a field has been set.
func (*DashboardListItem) HasTitle ¶
func (o *DashboardListItem) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*DashboardListItem) HasUrl ¶
func (o *DashboardListItem) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (DashboardListItem) MarshalJSON ¶
func (o DashboardListItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardListItem) SetAuthor ¶
func (o *DashboardListItem) SetAuthor(v Creator)
SetAuthor gets a reference to the given Creator and assigns it to the Author field.
func (*DashboardListItem) SetCreated ¶
func (o *DashboardListItem) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (*DashboardListItem) SetIcon ¶
func (o *DashboardListItem) SetIcon(v string)
SetIcon gets a reference to the given string and assigns it to the Icon field.
func (*DashboardListItem) SetId ¶
func (o *DashboardListItem) SetId(v string)
SetId sets field value.
func (*DashboardListItem) SetIsFavorite ¶
func (o *DashboardListItem) SetIsFavorite(v bool)
SetIsFavorite gets a reference to the given bool and assigns it to the IsFavorite field.
func (*DashboardListItem) SetIsReadOnly ¶
func (o *DashboardListItem) SetIsReadOnly(v bool)
SetIsReadOnly gets a reference to the given bool and assigns it to the IsReadOnly field.
func (*DashboardListItem) SetIsShared ¶
func (o *DashboardListItem) SetIsShared(v bool)
SetIsShared gets a reference to the given bool and assigns it to the IsShared field.
func (*DashboardListItem) SetModified ¶
func (o *DashboardListItem) SetModified(v time.Time)
SetModified gets a reference to the given time.Time and assigns it to the Modified field.
func (*DashboardListItem) SetPopularity ¶
func (o *DashboardListItem) SetPopularity(v int32)
SetPopularity gets a reference to the given int32 and assigns it to the Popularity field.
func (*DashboardListItem) SetTitle ¶
func (o *DashboardListItem) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*DashboardListItem) SetType ¶
func (o *DashboardListItem) SetType(v DashboardType)
SetType sets field value.
func (*DashboardListItem) SetUrl ¶
func (o *DashboardListItem) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*DashboardListItem) UnmarshalJSON ¶
func (o *DashboardListItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardListItemRequest ¶
type DashboardListItemRequest struct {
// ID of the dashboard.
Id string `json:"id"`
// The type of the dashboard.
Type DashboardType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
DashboardListItemRequest A dashboard within a list.
func NewDashboardListItemRequest ¶
func NewDashboardListItemRequest(id string, typeVar DashboardType) *DashboardListItemRequest
NewDashboardListItemRequest instantiates a new DashboardListItemRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardListItemRequestWithDefaults ¶
func NewDashboardListItemRequestWithDefaults() *DashboardListItemRequest
NewDashboardListItemRequestWithDefaults instantiates a new DashboardListItemRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardListItemRequest) GetId ¶
func (o *DashboardListItemRequest) GetId() string
GetId returns the Id field value.
func (*DashboardListItemRequest) GetIdOk ¶
func (o *DashboardListItemRequest) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*DashboardListItemRequest) GetType ¶
func (o *DashboardListItemRequest) GetType() DashboardType
GetType returns the Type field value.
func (*DashboardListItemRequest) GetTypeOk ¶
func (o *DashboardListItemRequest) GetTypeOk() (*DashboardType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (DashboardListItemRequest) MarshalJSON ¶
func (o DashboardListItemRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardListItemRequest) SetId ¶
func (o *DashboardListItemRequest) SetId(v string)
SetId sets field value.
func (*DashboardListItemRequest) SetType ¶
func (o *DashboardListItemRequest) SetType(v DashboardType)
SetType sets field value.
func (*DashboardListItemRequest) UnmarshalJSON ¶
func (o *DashboardListItemRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardListItemResponse ¶
type DashboardListItemResponse struct {
// ID of the dashboard.
Id string `json:"id"`
// The type of the dashboard.
Type DashboardType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
DashboardListItemResponse A dashboard within a list.
func NewDashboardListItemResponse ¶
func NewDashboardListItemResponse(id string, typeVar DashboardType) *DashboardListItemResponse
NewDashboardListItemResponse instantiates a new DashboardListItemResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardListItemResponseWithDefaults ¶
func NewDashboardListItemResponseWithDefaults() *DashboardListItemResponse
NewDashboardListItemResponseWithDefaults instantiates a new DashboardListItemResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardListItemResponse) GetId ¶
func (o *DashboardListItemResponse) GetId() string
GetId returns the Id field value.
func (*DashboardListItemResponse) GetIdOk ¶
func (o *DashboardListItemResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*DashboardListItemResponse) GetType ¶
func (o *DashboardListItemResponse) GetType() DashboardType
GetType returns the Type field value.
func (*DashboardListItemResponse) GetTypeOk ¶
func (o *DashboardListItemResponse) GetTypeOk() (*DashboardType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (DashboardListItemResponse) MarshalJSON ¶
func (o DashboardListItemResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardListItemResponse) SetId ¶
func (o *DashboardListItemResponse) SetId(v string)
SetId sets field value.
func (*DashboardListItemResponse) SetType ¶
func (o *DashboardListItemResponse) SetType(v DashboardType)
SetType sets field value.
func (*DashboardListItemResponse) UnmarshalJSON ¶
func (o *DashboardListItemResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardListItems ¶
type DashboardListItems struct {
// List of dashboards in the dashboard list.
Dashboards []DashboardListItem `json:"dashboards"`
// Number of dashboards in the dashboard list.
Total *int64 `json:"total,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
DashboardListItems Dashboards within a list.
func NewDashboardListItems ¶
func NewDashboardListItems(dashboards []DashboardListItem) *DashboardListItems
NewDashboardListItems instantiates a new DashboardListItems object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardListItemsWithDefaults ¶
func NewDashboardListItemsWithDefaults() *DashboardListItems
NewDashboardListItemsWithDefaults instantiates a new DashboardListItems object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardListItems) GetDashboards ¶
func (o *DashboardListItems) GetDashboards() []DashboardListItem
GetDashboards returns the Dashboards field value.
func (*DashboardListItems) GetDashboardsOk ¶
func (o *DashboardListItems) GetDashboardsOk() (*[]DashboardListItem, bool)
GetDashboardsOk returns a tuple with the Dashboards field value and a boolean to check if the value has been set.
func (*DashboardListItems) GetTotal ¶
func (o *DashboardListItems) GetTotal() int64
GetTotal returns the Total field value if set, zero value otherwise.
func (*DashboardListItems) GetTotalOk ¶
func (o *DashboardListItems) GetTotalOk() (*int64, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardListItems) HasTotal ¶
func (o *DashboardListItems) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (DashboardListItems) MarshalJSON ¶
func (o DashboardListItems) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardListItems) SetDashboards ¶
func (o *DashboardListItems) SetDashboards(v []DashboardListItem)
SetDashboards sets field value.
func (*DashboardListItems) SetTotal ¶
func (o *DashboardListItems) SetTotal(v int64)
SetTotal gets a reference to the given int64 and assigns it to the Total field.
func (*DashboardListItems) UnmarshalJSON ¶
func (o *DashboardListItems) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardListUpdateItemsRequest ¶
type DashboardListUpdateItemsRequest struct {
// List of dashboards to update the dashboard list to.
Dashboards []DashboardListItemRequest `json:"dashboards,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
DashboardListUpdateItemsRequest Request containing the list of dashboards to update to.
func NewDashboardListUpdateItemsRequest ¶
func NewDashboardListUpdateItemsRequest() *DashboardListUpdateItemsRequest
NewDashboardListUpdateItemsRequest instantiates a new DashboardListUpdateItemsRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardListUpdateItemsRequestWithDefaults ¶
func NewDashboardListUpdateItemsRequestWithDefaults() *DashboardListUpdateItemsRequest
NewDashboardListUpdateItemsRequestWithDefaults instantiates a new DashboardListUpdateItemsRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardListUpdateItemsRequest) GetDashboards ¶
func (o *DashboardListUpdateItemsRequest) GetDashboards() []DashboardListItemRequest
GetDashboards returns the Dashboards field value if set, zero value otherwise.
func (*DashboardListUpdateItemsRequest) GetDashboardsOk ¶
func (o *DashboardListUpdateItemsRequest) 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 (*DashboardListUpdateItemsRequest) HasDashboards ¶
func (o *DashboardListUpdateItemsRequest) HasDashboards() bool
HasDashboards returns a boolean if a field has been set.
func (DashboardListUpdateItemsRequest) MarshalJSON ¶
func (o DashboardListUpdateItemsRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardListUpdateItemsRequest) SetDashboards ¶
func (o *DashboardListUpdateItemsRequest) SetDashboards(v []DashboardListItemRequest)
SetDashboards gets a reference to the given []DashboardListItemRequest and assigns it to the Dashboards field.
func (*DashboardListUpdateItemsRequest) UnmarshalJSON ¶ added in v1.3.0
func (o *DashboardListUpdateItemsRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardListUpdateItemsResponse ¶
type DashboardListUpdateItemsResponse struct {
// List of dashboards in the dashboard list.
Dashboards []DashboardListItemResponse `json:"dashboards,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
DashboardListUpdateItemsResponse Response containing a list of updated dashboards.
func NewDashboardListUpdateItemsResponse ¶
func NewDashboardListUpdateItemsResponse() *DashboardListUpdateItemsResponse
NewDashboardListUpdateItemsResponse instantiates a new DashboardListUpdateItemsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardListUpdateItemsResponseWithDefaults ¶
func NewDashboardListUpdateItemsResponseWithDefaults() *DashboardListUpdateItemsResponse
NewDashboardListUpdateItemsResponseWithDefaults instantiates a new DashboardListUpdateItemsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardListUpdateItemsResponse) GetDashboards ¶
func (o *DashboardListUpdateItemsResponse) GetDashboards() []DashboardListItemResponse
GetDashboards returns the Dashboards field value if set, zero value otherwise.
func (*DashboardListUpdateItemsResponse) GetDashboardsOk ¶
func (o *DashboardListUpdateItemsResponse) GetDashboardsOk() (*[]DashboardListItemResponse, 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 (*DashboardListUpdateItemsResponse) HasDashboards ¶
func (o *DashboardListUpdateItemsResponse) HasDashboards() bool
HasDashboards returns a boolean if a field has been set.
func (DashboardListUpdateItemsResponse) MarshalJSON ¶
func (o DashboardListUpdateItemsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardListUpdateItemsResponse) SetDashboards ¶
func (o *DashboardListUpdateItemsResponse) SetDashboards(v []DashboardListItemResponse)
SetDashboards gets a reference to the given []DashboardListItemResponse and assigns it to the Dashboards field.
func (*DashboardListUpdateItemsResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *DashboardListUpdateItemsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardListsApiService ¶
type DashboardListsApiService service
DashboardListsApiService DashboardListsApi service.
func (*DashboardListsApiService) CreateDashboardListItems ¶
func (a *DashboardListsApiService) CreateDashboardListItems(ctx _context.Context, dashboardListId int64, body DashboardListAddItemsRequest) (DashboardListAddItemsResponse, *_nethttp.Response, error)
CreateDashboardListItems Add Items to a Dashboard List. Add dashboards to an existing dashboard list.
func (*DashboardListsApiService) DeleteDashboardListItems ¶
func (a *DashboardListsApiService) DeleteDashboardListItems(ctx _context.Context, dashboardListId int64, body DashboardListDeleteItemsRequest) (DashboardListDeleteItemsResponse, *_nethttp.Response, error)
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 ¶
func (a *DashboardListsApiService) UpdateDashboardListItems(ctx _context.Context, dashboardListId int64, body DashboardListUpdateItemsRequest) (DashboardListUpdateItemsResponse, *_nethttp.Response, error)
UpdateDashboardListItems Update items of a dashboard list. Update dashboards of an existing dashboard list.
type DashboardType ¶
type DashboardType string
DashboardType The type of the dashboard.
const ( DASHBOARDTYPE_CUSTOM_TIMEBOARD DashboardType = "custom_timeboard" DASHBOARDTYPE_CUSTOM_SCREENBOARD DashboardType = "custom_screenboard" DASHBOARDTYPE_INTEGRATION_SCREENBOARD DashboardType = "integration_screenboard" DASHBOARDTYPE_INTEGRATION_TIMEBOARD DashboardType = "integration_timeboard" DASHBOARDTYPE_HOST_TIMEBOARD DashboardType = "host_timeboard" )
List of DashboardType.
func NewDashboardTypeFromValue ¶
func NewDashboardTypeFromValue(v string) (*DashboardType, error)
NewDashboardTypeFromValue returns a pointer to a valid DashboardType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*DashboardType) GetAllowedValues ¶ added in v1.1.0
func (v *DashboardType) GetAllowedValues() []DashboardType
GetAllowedValues reeturns the list of possible values.
func (DashboardType) IsValid ¶
func (v DashboardType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (DashboardType) Ptr ¶
func (v DashboardType) Ptr() *DashboardType
Ptr returns reference to DashboardType value.
func (*DashboardType) UnmarshalJSON ¶
func (v *DashboardType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type EstimateMetricsOutputSeriesOptionalParameters ¶ added in v1.14.0
type EstimateMetricsOutputSeriesOptionalParameters struct {
FilterGroups *string
FilterHoursAgo *int32
FilterNumAggregations *int32
FilterPct *bool
FilterTimespanH *int32
}
EstimateMetricsOutputSeriesOptionalParameters holds optional parameters for EstimateMetricsOutputSeries.
func NewEstimateMetricsOutputSeriesOptionalParameters ¶ added in v1.14.0
func NewEstimateMetricsOutputSeriesOptionalParameters() *EstimateMetricsOutputSeriesOptionalParameters
NewEstimateMetricsOutputSeriesOptionalParameters creates an empty struct for parameters.
func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterGroups ¶ added in v1.14.0
func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterGroups(filterGroups string) *EstimateMetricsOutputSeriesOptionalParameters
WithFilterGroups sets the corresponding parameter name and returns the struct.
func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterHoursAgo ¶ added in v1.14.0
func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterHoursAgo(filterHoursAgo int32) *EstimateMetricsOutputSeriesOptionalParameters
WithFilterHoursAgo sets the corresponding parameter name and returns the struct.
func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterNumAggregations ¶ added in v1.14.0
func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterNumAggregations(filterNumAggregations int32) *EstimateMetricsOutputSeriesOptionalParameters
WithFilterNumAggregations sets the corresponding parameter name and returns the struct.
func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterPct ¶ added in v1.14.0
func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterPct(filterPct bool) *EstimateMetricsOutputSeriesOptionalParameters
WithFilterPct sets the corresponding parameter name and returns the struct.
func (*EstimateMetricsOutputSeriesOptionalParameters) WithFilterTimespanH ¶ added in v1.14.0
func (r *EstimateMetricsOutputSeriesOptionalParameters) WithFilterTimespanH(filterTimespanH int32) *EstimateMetricsOutputSeriesOptionalParameters
WithFilterTimespanH sets the corresponding parameter name and returns the struct.
type FormFile ¶ added in v1.12.0
type FormFile struct {
// contains filtered or unexported fields
}
FormFile holds parameters for a file in multipart/form-data request.
type FullAPIKey ¶
type FullAPIKey struct {
// Attributes of a full API key.
Attributes *FullAPIKeyAttributes `json:"attributes,omitempty"`
// ID of the API key.
Id *string `json:"id,omitempty"`
// Resources related to the API key.
Relationships *APIKeyRelationships `json:"relationships,omitempty"`
// API Keys resource type.
Type *APIKeysType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
FullAPIKey Datadog API key.
func NewFullAPIKey ¶
func NewFullAPIKey() *FullAPIKey
NewFullAPIKey instantiates a new FullAPIKey object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewFullAPIKeyWithDefaults ¶
func NewFullAPIKeyWithDefaults() *FullAPIKey
NewFullAPIKeyWithDefaults instantiates a new FullAPIKey object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*FullAPIKey) GetAttributes ¶
func (o *FullAPIKey) GetAttributes() FullAPIKeyAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*FullAPIKey) GetAttributesOk ¶
func (o *FullAPIKey) GetAttributesOk() (*FullAPIKeyAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullAPIKey) GetId ¶
func (o *FullAPIKey) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*FullAPIKey) GetIdOk ¶
func (o *FullAPIKey) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullAPIKey) GetRelationships ¶
func (o *FullAPIKey) GetRelationships() APIKeyRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*FullAPIKey) GetRelationshipsOk ¶
func (o *FullAPIKey) GetRelationshipsOk() (*APIKeyRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullAPIKey) GetType ¶
func (o *FullAPIKey) GetType() APIKeysType
GetType returns the Type field value if set, zero value otherwise.
func (*FullAPIKey) GetTypeOk ¶
func (o *FullAPIKey) GetTypeOk() (*APIKeysType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullAPIKey) HasAttributes ¶
func (o *FullAPIKey) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*FullAPIKey) HasId ¶
func (o *FullAPIKey) HasId() bool
HasId returns a boolean if a field has been set.
func (*FullAPIKey) HasRelationships ¶
func (o *FullAPIKey) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (*FullAPIKey) HasType ¶
func (o *FullAPIKey) HasType() bool
HasType returns a boolean if a field has been set.
func (FullAPIKey) MarshalJSON ¶
func (o FullAPIKey) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*FullAPIKey) SetAttributes ¶
func (o *FullAPIKey) SetAttributes(v FullAPIKeyAttributes)
SetAttributes gets a reference to the given FullAPIKeyAttributes and assigns it to the Attributes field.
func (*FullAPIKey) SetId ¶
func (o *FullAPIKey) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*FullAPIKey) SetRelationships ¶
func (o *FullAPIKey) SetRelationships(v APIKeyRelationships)
SetRelationships gets a reference to the given APIKeyRelationships and assigns it to the Relationships field.
func (*FullAPIKey) SetType ¶
func (o *FullAPIKey) SetType(v APIKeysType)
SetType gets a reference to the given APIKeysType and assigns it to the Type field.
func (*FullAPIKey) UnmarshalJSON ¶ added in v1.3.0
func (o *FullAPIKey) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type FullAPIKeyAttributes ¶
type FullAPIKeyAttributes struct {
// Creation date of the API key.
CreatedAt *string `json:"created_at,omitempty"`
// The API key.
Key *string `json:"key,omitempty"`
// The last four characters of the API key.
Last4 *string `json:"last4,omitempty"`
// Date the API key was last modified.
ModifiedAt *string `json:"modified_at,omitempty"`
// Name of the API key.
Name *string `json:"name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
FullAPIKeyAttributes Attributes of a full API key.
func NewFullAPIKeyAttributes ¶
func NewFullAPIKeyAttributes() *FullAPIKeyAttributes
NewFullAPIKeyAttributes instantiates a new FullAPIKeyAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewFullAPIKeyAttributesWithDefaults ¶
func NewFullAPIKeyAttributesWithDefaults() *FullAPIKeyAttributes
NewFullAPIKeyAttributesWithDefaults instantiates a new FullAPIKeyAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*FullAPIKeyAttributes) GetCreatedAt ¶
func (o *FullAPIKeyAttributes) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*FullAPIKeyAttributes) GetCreatedAtOk ¶
func (o *FullAPIKeyAttributes) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullAPIKeyAttributes) GetKey ¶
func (o *FullAPIKeyAttributes) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*FullAPIKeyAttributes) GetKeyOk ¶
func (o *FullAPIKeyAttributes) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullAPIKeyAttributes) GetLast4 ¶
func (o *FullAPIKeyAttributes) GetLast4() string
GetLast4 returns the Last4 field value if set, zero value otherwise.
func (*FullAPIKeyAttributes) GetLast4Ok ¶
func (o *FullAPIKeyAttributes) GetLast4Ok() (*string, bool)
GetLast4Ok returns a tuple with the Last4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullAPIKeyAttributes) GetModifiedAt ¶
func (o *FullAPIKeyAttributes) GetModifiedAt() string
GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
func (*FullAPIKeyAttributes) GetModifiedAtOk ¶
func (o *FullAPIKeyAttributes) GetModifiedAtOk() (*string, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullAPIKeyAttributes) GetName ¶
func (o *FullAPIKeyAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*FullAPIKeyAttributes) GetNameOk ¶
func (o *FullAPIKeyAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullAPIKeyAttributes) HasCreatedAt ¶
func (o *FullAPIKeyAttributes) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*FullAPIKeyAttributes) HasKey ¶
func (o *FullAPIKeyAttributes) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*FullAPIKeyAttributes) HasLast4 ¶
func (o *FullAPIKeyAttributes) HasLast4() bool
HasLast4 returns a boolean if a field has been set.
func (*FullAPIKeyAttributes) HasModifiedAt ¶
func (o *FullAPIKeyAttributes) HasModifiedAt() bool
HasModifiedAt returns a boolean if a field has been set.
func (*FullAPIKeyAttributes) HasName ¶
func (o *FullAPIKeyAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (FullAPIKeyAttributes) MarshalJSON ¶
func (o FullAPIKeyAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*FullAPIKeyAttributes) SetCreatedAt ¶
func (o *FullAPIKeyAttributes) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*FullAPIKeyAttributes) SetKey ¶
func (o *FullAPIKeyAttributes) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*FullAPIKeyAttributes) SetLast4 ¶
func (o *FullAPIKeyAttributes) SetLast4(v string)
SetLast4 gets a reference to the given string and assigns it to the Last4 field.
func (*FullAPIKeyAttributes) SetModifiedAt ¶
func (o *FullAPIKeyAttributes) SetModifiedAt(v string)
SetModifiedAt gets a reference to the given string and assigns it to the ModifiedAt field.
func (*FullAPIKeyAttributes) SetName ¶
func (o *FullAPIKeyAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*FullAPIKeyAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *FullAPIKeyAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type FullApplicationKey ¶
type FullApplicationKey struct {
// Attributes of a full application key.
Attributes *FullApplicationKeyAttributes `json:"attributes,omitempty"`
// ID of the application key.
Id *string `json:"id,omitempty"`
// Resources related to the application key.
Relationships *ApplicationKeyRelationships `json:"relationships,omitempty"`
// Application Keys resource type.
Type *ApplicationKeysType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
FullApplicationKey Datadog application key.
func NewFullApplicationKey ¶
func NewFullApplicationKey() *FullApplicationKey
NewFullApplicationKey instantiates a new FullApplicationKey object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewFullApplicationKeyWithDefaults ¶
func NewFullApplicationKeyWithDefaults() *FullApplicationKey
NewFullApplicationKeyWithDefaults instantiates a new FullApplicationKey object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*FullApplicationKey) GetAttributes ¶
func (o *FullApplicationKey) GetAttributes() FullApplicationKeyAttributes
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 ¶
func (o *FullApplicationKey) GetType() ApplicationKeysType
GetType returns the Type field value if set, zero value otherwise.
func (*FullApplicationKey) GetTypeOk ¶
func (o *FullApplicationKey) GetTypeOk() (*ApplicationKeysType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullApplicationKey) HasAttributes ¶
func (o *FullApplicationKey) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*FullApplicationKey) HasId ¶
func (o *FullApplicationKey) HasId() bool
HasId returns a boolean if a field has been set.
func (*FullApplicationKey) HasRelationships ¶
func (o *FullApplicationKey) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (*FullApplicationKey) HasType ¶
func (o *FullApplicationKey) HasType() bool
HasType returns a boolean if a field has been set.
func (FullApplicationKey) MarshalJSON ¶
func (o FullApplicationKey) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*FullApplicationKey) SetAttributes ¶
func (o *FullApplicationKey) SetAttributes(v FullApplicationKeyAttributes)
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 ¶
func (o *FullApplicationKey) SetType(v ApplicationKeysType)
SetType gets a reference to the given ApplicationKeysType and assigns it to the Type field.
func (*FullApplicationKey) UnmarshalJSON ¶ added in v1.3.0
func (o *FullApplicationKey) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type FullApplicationKeyAttributes ¶
type FullApplicationKeyAttributes struct {
// Creation date of the application key.
CreatedAt *string `json:"created_at,omitempty"`
// The application key.
Key *string `json:"key,omitempty"`
// The last four characters of the application key.
Last4 *string `json:"last4,omitempty"`
// Name of the application key.
Name *string `json:"name,omitempty"`
// Array of scopes to grant the application key. This feature is in private beta, please contact Datadog support to enable scopes for your application keys.
Scopes []string `json:"scopes,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
FullApplicationKeyAttributes Attributes of a full application key.
func NewFullApplicationKeyAttributes ¶
func NewFullApplicationKeyAttributes() *FullApplicationKeyAttributes
NewFullApplicationKeyAttributes instantiates a new FullApplicationKeyAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewFullApplicationKeyAttributesWithDefaults ¶
func NewFullApplicationKeyAttributesWithDefaults() *FullApplicationKeyAttributes
NewFullApplicationKeyAttributesWithDefaults instantiates a new FullApplicationKeyAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*FullApplicationKeyAttributes) GetCreatedAt ¶
func (o *FullApplicationKeyAttributes) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*FullApplicationKeyAttributes) GetCreatedAtOk ¶
func (o *FullApplicationKeyAttributes) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullApplicationKeyAttributes) GetKey ¶
func (o *FullApplicationKeyAttributes) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*FullApplicationKeyAttributes) GetKeyOk ¶
func (o *FullApplicationKeyAttributes) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullApplicationKeyAttributes) GetLast4 ¶
func (o *FullApplicationKeyAttributes) GetLast4() string
GetLast4 returns the Last4 field value if set, zero value otherwise.
func (*FullApplicationKeyAttributes) GetLast4Ok ¶
func (o *FullApplicationKeyAttributes) GetLast4Ok() (*string, bool)
GetLast4Ok returns a tuple with the Last4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullApplicationKeyAttributes) GetName ¶
func (o *FullApplicationKeyAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*FullApplicationKeyAttributes) GetNameOk ¶
func (o *FullApplicationKeyAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FullApplicationKeyAttributes) GetScopes ¶ added in v1.8.0
func (o *FullApplicationKeyAttributes) GetScopes() []string
GetScopes returns the Scopes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FullApplicationKeyAttributes) GetScopesOk ¶ added in v1.8.0
func (o *FullApplicationKeyAttributes) GetScopesOk() (*[]string, bool)
GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*FullApplicationKeyAttributes) HasCreatedAt ¶
func (o *FullApplicationKeyAttributes) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*FullApplicationKeyAttributes) HasKey ¶
func (o *FullApplicationKeyAttributes) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*FullApplicationKeyAttributes) HasLast4 ¶
func (o *FullApplicationKeyAttributes) HasLast4() bool
HasLast4 returns a boolean if a field has been set.
func (*FullApplicationKeyAttributes) HasName ¶
func (o *FullApplicationKeyAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*FullApplicationKeyAttributes) HasScopes ¶ added in v1.8.0
func (o *FullApplicationKeyAttributes) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (FullApplicationKeyAttributes) MarshalJSON ¶
func (o FullApplicationKeyAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*FullApplicationKeyAttributes) SetCreatedAt ¶
func (o *FullApplicationKeyAttributes) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*FullApplicationKeyAttributes) SetKey ¶
func (o *FullApplicationKeyAttributes) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*FullApplicationKeyAttributes) SetLast4 ¶
func (o *FullApplicationKeyAttributes) SetLast4(v string)
SetLast4 gets a reference to the given string and assigns it to the Last4 field.
func (*FullApplicationKeyAttributes) SetName ¶
func (o *FullApplicationKeyAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*FullApplicationKeyAttributes) SetScopes ¶ added in v1.8.0
func (o *FullApplicationKeyAttributes) SetScopes(v []string)
SetScopes gets a reference to the given []string and assigns it to the Scopes field.
func (*FullApplicationKeyAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *FullApplicationKeyAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response.
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error.
type GetAPIKeyOptionalParameters ¶
type GetAPIKeyOptionalParameters struct {
Include *string
}
GetAPIKeyOptionalParameters holds optional parameters for GetAPIKey.
func NewGetAPIKeyOptionalParameters ¶
func NewGetAPIKeyOptionalParameters() *GetAPIKeyOptionalParameters
NewGetAPIKeyOptionalParameters creates an empty struct for parameters.
func (*GetAPIKeyOptionalParameters) WithInclude ¶
func (r *GetAPIKeyOptionalParameters) WithInclude(include string) *GetAPIKeyOptionalParameters
WithInclude sets the corresponding parameter name and returns the struct.
type GetApplicationKeyOptionalParameters ¶ added in v1.2.0
type GetApplicationKeyOptionalParameters struct {
Include *string
}
GetApplicationKeyOptionalParameters holds optional parameters for GetApplicationKey.
func NewGetApplicationKeyOptionalParameters ¶ added in v1.2.0
func NewGetApplicationKeyOptionalParameters() *GetApplicationKeyOptionalParameters
NewGetApplicationKeyOptionalParameters creates an empty struct for parameters.
func (*GetApplicationKeyOptionalParameters) WithInclude ¶ added in v1.2.0
func (r *GetApplicationKeyOptionalParameters) WithInclude(include string) *GetApplicationKeyOptionalParameters
WithInclude sets the corresponding parameter name and returns the struct.
type GetCostByOrgOptionalParameters ¶ added in v1.14.0
GetCostByOrgOptionalParameters holds optional parameters for GetCostByOrg.
func NewGetCostByOrgOptionalParameters ¶ added in v1.14.0
func NewGetCostByOrgOptionalParameters() *GetCostByOrgOptionalParameters
NewGetCostByOrgOptionalParameters creates an empty struct for parameters.
func (*GetCostByOrgOptionalParameters) WithEndMonth ¶ added in v1.14.0
func (r *GetCostByOrgOptionalParameters) WithEndMonth(endMonth time.Time) *GetCostByOrgOptionalParameters
WithEndMonth sets the corresponding parameter name and returns the struct.
type GetEstimatedCostByOrgOptionalParameters ¶ added in v1.15.0
type GetEstimatedCostByOrgOptionalParameters struct {
StartMonth *time.Time
EndMonth *time.Time
StartDate *time.Time
EndDate *time.Time
}
GetEstimatedCostByOrgOptionalParameters holds optional parameters for GetEstimatedCostByOrg.
func NewGetEstimatedCostByOrgOptionalParameters ¶ added in v1.15.0
func NewGetEstimatedCostByOrgOptionalParameters() *GetEstimatedCostByOrgOptionalParameters
NewGetEstimatedCostByOrgOptionalParameters creates an empty struct for parameters.
func (*GetEstimatedCostByOrgOptionalParameters) WithEndDate ¶ added in v1.15.0
func (r *GetEstimatedCostByOrgOptionalParameters) WithEndDate(endDate time.Time) *GetEstimatedCostByOrgOptionalParameters
WithEndDate sets the corresponding parameter name and returns the struct.
func (*GetEstimatedCostByOrgOptionalParameters) WithEndMonth ¶ added in v1.15.0
func (r *GetEstimatedCostByOrgOptionalParameters) WithEndMonth(endMonth time.Time) *GetEstimatedCostByOrgOptionalParameters
WithEndMonth sets the corresponding parameter name and returns the struct.
func (*GetEstimatedCostByOrgOptionalParameters) WithStartDate ¶ added in v1.15.0
func (r *GetEstimatedCostByOrgOptionalParameters) WithStartDate(startDate time.Time) *GetEstimatedCostByOrgOptionalParameters
WithStartDate sets the corresponding parameter name and returns the struct.
func (*GetEstimatedCostByOrgOptionalParameters) WithStartMonth ¶ added in v1.15.0
func (r *GetEstimatedCostByOrgOptionalParameters) WithStartMonth(startMonth time.Time) *GetEstimatedCostByOrgOptionalParameters
WithStartMonth sets the corresponding parameter name and returns the struct.
type GetHourlyUsageOptionalParameters ¶ added in v1.16.0
type GetHourlyUsageOptionalParameters struct {
FilterTimestampEnd *time.Time
FilterIncludeDescendants *bool
FilterVersions *string
PageLimit *int32
PageNextRecordId *string
}
GetHourlyUsageOptionalParameters holds optional parameters for GetHourlyUsage.
func NewGetHourlyUsageOptionalParameters ¶ added in v1.16.0
func NewGetHourlyUsageOptionalParameters() *GetHourlyUsageOptionalParameters
NewGetHourlyUsageOptionalParameters creates an empty struct for parameters.
func (*GetHourlyUsageOptionalParameters) WithFilterIncludeDescendants ¶ added in v1.16.0
func (r *GetHourlyUsageOptionalParameters) WithFilterIncludeDescendants(filterIncludeDescendants bool) *GetHourlyUsageOptionalParameters
WithFilterIncludeDescendants sets the corresponding parameter name and returns the struct.
func (*GetHourlyUsageOptionalParameters) WithFilterTimestampEnd ¶ added in v1.16.0
func (r *GetHourlyUsageOptionalParameters) WithFilterTimestampEnd(filterTimestampEnd time.Time) *GetHourlyUsageOptionalParameters
WithFilterTimestampEnd sets the corresponding parameter name and returns the struct.
func (*GetHourlyUsageOptionalParameters) WithFilterVersions ¶ added in v1.16.0
func (r *GetHourlyUsageOptionalParameters) WithFilterVersions(filterVersions string) *GetHourlyUsageOptionalParameters
WithFilterVersions sets the corresponding parameter name and returns the struct.
func (*GetHourlyUsageOptionalParameters) WithPageLimit ¶ added in v1.16.0
func (r *GetHourlyUsageOptionalParameters) WithPageLimit(pageLimit int32) *GetHourlyUsageOptionalParameters
WithPageLimit sets the corresponding parameter name and returns the struct.
func (*GetHourlyUsageOptionalParameters) WithPageNextRecordId ¶ added in v1.16.0
func (r *GetHourlyUsageOptionalParameters) WithPageNextRecordId(pageNextRecordId string) *GetHourlyUsageOptionalParameters
WithPageNextRecordId sets the corresponding parameter name and returns the struct.
type GetIncidentOptionalParameters ¶
type GetIncidentOptionalParameters struct {
Include *[]IncidentRelatedObject
}
GetIncidentOptionalParameters holds optional parameters for GetIncident.
func NewGetIncidentOptionalParameters ¶
func NewGetIncidentOptionalParameters() *GetIncidentOptionalParameters
NewGetIncidentOptionalParameters creates an empty struct for parameters.
func (*GetIncidentOptionalParameters) WithInclude ¶
func (r *GetIncidentOptionalParameters) WithInclude(include []IncidentRelatedObject) *GetIncidentOptionalParameters
WithInclude sets the corresponding parameter name and returns the struct.
type GetIncidentServiceOptionalParameters ¶
type GetIncidentServiceOptionalParameters struct {
Include *IncidentRelatedObject
}
GetIncidentServiceOptionalParameters holds optional parameters for GetIncidentService.
func NewGetIncidentServiceOptionalParameters ¶
func NewGetIncidentServiceOptionalParameters() *GetIncidentServiceOptionalParameters
NewGetIncidentServiceOptionalParameters creates an empty struct for parameters.
func (*GetIncidentServiceOptionalParameters) WithInclude ¶
func (r *GetIncidentServiceOptionalParameters) WithInclude(include IncidentRelatedObject) *GetIncidentServiceOptionalParameters
WithInclude sets the corresponding parameter name and returns the struct.
type GetIncidentTeamOptionalParameters ¶
type GetIncidentTeamOptionalParameters struct {
Include *IncidentRelatedObject
}
GetIncidentTeamOptionalParameters holds optional parameters for GetIncidentTeam.
func NewGetIncidentTeamOptionalParameters ¶
func NewGetIncidentTeamOptionalParameters() *GetIncidentTeamOptionalParameters
NewGetIncidentTeamOptionalParameters creates an empty struct for parameters.
func (*GetIncidentTeamOptionalParameters) WithInclude ¶
func (r *GetIncidentTeamOptionalParameters) WithInclude(include IncidentRelatedObject) *GetIncidentTeamOptionalParameters
WithInclude sets the corresponding parameter name and returns the struct.
type GetUsageApplicationSecurityMonitoringOptionalParameters ¶ added in v1.14.0
GetUsageApplicationSecurityMonitoringOptionalParameters holds optional parameters for GetUsageApplicationSecurityMonitoring.
func NewGetUsageApplicationSecurityMonitoringOptionalParameters ¶ added in v1.14.0
func NewGetUsageApplicationSecurityMonitoringOptionalParameters() *GetUsageApplicationSecurityMonitoringOptionalParameters
NewGetUsageApplicationSecurityMonitoringOptionalParameters creates an empty struct for parameters.
func (*GetUsageApplicationSecurityMonitoringOptionalParameters) WithEndHr ¶ added in v1.14.0
func (r *GetUsageApplicationSecurityMonitoringOptionalParameters) WithEndHr(endHr time.Time) *GetUsageApplicationSecurityMonitoringOptionalParameters
WithEndHr sets the corresponding parameter name and returns the struct.
type GetUsageLambdaTracedInvocationsOptionalParameters ¶ added in v1.14.0
GetUsageLambdaTracedInvocationsOptionalParameters holds optional parameters for GetUsageLambdaTracedInvocations.
func NewGetUsageLambdaTracedInvocationsOptionalParameters ¶ added in v1.14.0
func NewGetUsageLambdaTracedInvocationsOptionalParameters() *GetUsageLambdaTracedInvocationsOptionalParameters
NewGetUsageLambdaTracedInvocationsOptionalParameters creates an empty struct for parameters.
func (*GetUsageLambdaTracedInvocationsOptionalParameters) WithEndHr ¶ added in v1.14.0
func (r *GetUsageLambdaTracedInvocationsOptionalParameters) WithEndHr(endHr time.Time) *GetUsageLambdaTracedInvocationsOptionalParameters
WithEndHr sets the corresponding parameter name and returns the struct.
type GetUsageObservabilityPipelinesOptionalParameters ¶ added in v1.14.0
GetUsageObservabilityPipelinesOptionalParameters holds optional parameters for GetUsageObservabilityPipelines.
func NewGetUsageObservabilityPipelinesOptionalParameters ¶ added in v1.14.0
func NewGetUsageObservabilityPipelinesOptionalParameters() *GetUsageObservabilityPipelinesOptionalParameters
NewGetUsageObservabilityPipelinesOptionalParameters creates an empty struct for parameters.
func (*GetUsageObservabilityPipelinesOptionalParameters) WithEndHr ¶ added in v1.14.0
func (r *GetUsageObservabilityPipelinesOptionalParameters) WithEndHr(endHr time.Time) *GetUsageObservabilityPipelinesOptionalParameters
WithEndHr sets the corresponding parameter name and returns the struct.
type HTTPLogError ¶ added in v1.6.0
type HTTPLogError struct {
// Error message.
Detail *string `json:"detail,omitempty"`
// Error code.
Status *string `json:"status,omitempty"`
// Error title.
Title *string `json:"title,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
HTTPLogError List of errors.
func NewHTTPLogError ¶ added in v1.6.0
func NewHTTPLogError() *HTTPLogError
NewHTTPLogError instantiates a new HTTPLogError object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewHTTPLogErrorWithDefaults ¶ added in v1.6.0
func NewHTTPLogErrorWithDefaults() *HTTPLogError
NewHTTPLogErrorWithDefaults instantiates a new HTTPLogError object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*HTTPLogError) GetDetail ¶ added in v1.6.0
func (o *HTTPLogError) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*HTTPLogError) GetDetailOk ¶ added in v1.6.0
func (o *HTTPLogError) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPLogError) GetStatus ¶ added in v1.6.0
func (o *HTTPLogError) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*HTTPLogError) GetStatusOk ¶ added in v1.6.0
func (o *HTTPLogError) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPLogError) GetTitle ¶ added in v1.6.0
func (o *HTTPLogError) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*HTTPLogError) GetTitleOk ¶ added in v1.6.0
func (o *HTTPLogError) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPLogError) HasDetail ¶ added in v1.6.0
func (o *HTTPLogError) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*HTTPLogError) HasStatus ¶ added in v1.6.0
func (o *HTTPLogError) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*HTTPLogError) HasTitle ¶ added in v1.6.0
func (o *HTTPLogError) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (HTTPLogError) MarshalJSON ¶ added in v1.6.0
func (o HTTPLogError) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*HTTPLogError) SetDetail ¶ added in v1.6.0
func (o *HTTPLogError) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*HTTPLogError) SetStatus ¶ added in v1.6.0
func (o *HTTPLogError) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*HTTPLogError) SetTitle ¶ added in v1.6.0
func (o *HTTPLogError) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*HTTPLogError) UnmarshalJSON ¶ added in v1.6.0
func (o *HTTPLogError) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type HTTPLogErrors ¶ added in v1.6.0
type HTTPLogErrors struct {
// Structured errors.
Errors []HTTPLogError `json:"errors,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
HTTPLogErrors Invalid query performed.
func NewHTTPLogErrors ¶ added in v1.6.0
func NewHTTPLogErrors() *HTTPLogErrors
NewHTTPLogErrors instantiates a new HTTPLogErrors object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewHTTPLogErrorsWithDefaults ¶ added in v1.6.0
func NewHTTPLogErrorsWithDefaults() *HTTPLogErrors
NewHTTPLogErrorsWithDefaults instantiates a new HTTPLogErrors object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*HTTPLogErrors) GetErrors ¶ added in v1.6.0
func (o *HTTPLogErrors) GetErrors() []HTTPLogError
GetErrors returns the Errors field value if set, zero value otherwise.
func (*HTTPLogErrors) GetErrorsOk ¶ added in v1.6.0
func (o *HTTPLogErrors) GetErrorsOk() (*[]HTTPLogError, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPLogErrors) HasErrors ¶ added in v1.6.0
func (o *HTTPLogErrors) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (HTTPLogErrors) MarshalJSON ¶ added in v1.6.0
func (o HTTPLogErrors) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*HTTPLogErrors) SetErrors ¶ added in v1.6.0
func (o *HTTPLogErrors) SetErrors(v []HTTPLogError)
SetErrors gets a reference to the given []HTTPLogError and assigns it to the Errors field.
func (*HTTPLogErrors) UnmarshalJSON ¶ added in v1.6.0
func (o *HTTPLogErrors) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type HTTPLogItem ¶ added in v1.6.0
type HTTPLogItem struct {
// The integration name associated with your log: the technology from which the log originated.
// When it matches an integration name, Datadog automatically installs the corresponding parsers and facets.
// See [reserved attributes](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes).
Ddsource *string `json:"ddsource,omitempty"`
Ddtags *string `json:"ddtags,omitempty"`
// The name of the originating host of the log.
Hostname *string `json:"hostname,omitempty"`
// The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes)
// of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry.
// That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.
Message string `json:"message"`
// The name of the application or service generating the log events.
// It is used to switch from Logs to APM, so make sure you define the same value when you use both products.
// See [reserved attributes](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes).
Service *string `json:"service,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]string
}
HTTPLogItem Logs that are sent over HTTP.
func NewHTTPLogItem ¶ added in v1.6.0
func NewHTTPLogItem(message string) *HTTPLogItem
NewHTTPLogItem instantiates a new HTTPLogItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewHTTPLogItemWithDefaults ¶ added in v1.6.0
func NewHTTPLogItemWithDefaults() *HTTPLogItem
NewHTTPLogItemWithDefaults instantiates a new HTTPLogItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*HTTPLogItem) GetDdsource ¶ added in v1.6.0
func (o *HTTPLogItem) GetDdsource() string
GetDdsource returns the Ddsource field value if set, zero value otherwise.
func (*HTTPLogItem) GetDdsourceOk ¶ added in v1.6.0
func (o *HTTPLogItem) GetDdsourceOk() (*string, bool)
GetDdsourceOk returns a tuple with the Ddsource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPLogItem) GetDdtags ¶ added in v1.6.0
func (o *HTTPLogItem) GetDdtags() string
GetDdtags returns the Ddtags field value if set, zero value otherwise.
func (*HTTPLogItem) GetDdtagsOk ¶ added in v1.6.0
func (o *HTTPLogItem) GetDdtagsOk() (*string, bool)
GetDdtagsOk returns a tuple with the Ddtags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPLogItem) GetHostname ¶ added in v1.6.0
func (o *HTTPLogItem) GetHostname() string
GetHostname returns the Hostname field value if set, zero value otherwise.
func (*HTTPLogItem) GetHostnameOk ¶ added in v1.6.0
func (o *HTTPLogItem) GetHostnameOk() (*string, bool)
GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPLogItem) GetMessage ¶ added in v1.6.0
func (o *HTTPLogItem) GetMessage() string
GetMessage returns the Message field value.
func (*HTTPLogItem) GetMessageOk ¶ added in v1.6.0
func (o *HTTPLogItem) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*HTTPLogItem) GetService ¶ added in v1.6.0
func (o *HTTPLogItem) GetService() string
GetService returns the Service field value if set, zero value otherwise.
func (*HTTPLogItem) GetServiceOk ¶ added in v1.6.0
func (o *HTTPLogItem) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPLogItem) HasDdsource ¶ added in v1.6.0
func (o *HTTPLogItem) HasDdsource() bool
HasDdsource returns a boolean if a field has been set.
func (*HTTPLogItem) HasDdtags ¶ added in v1.6.0
func (o *HTTPLogItem) HasDdtags() bool
HasDdtags returns a boolean if a field has been set.
func (*HTTPLogItem) HasHostname ¶ added in v1.6.0
func (o *HTTPLogItem) HasHostname() bool
HasHostname returns a boolean if a field has been set.
func (*HTTPLogItem) HasService ¶ added in v1.6.0
func (o *HTTPLogItem) HasService() bool
HasService returns a boolean if a field has been set.
func (HTTPLogItem) MarshalJSON ¶ added in v1.6.0
func (o HTTPLogItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*HTTPLogItem) SetDdsource ¶ added in v1.6.0
func (o *HTTPLogItem) SetDdsource(v string)
SetDdsource gets a reference to the given string and assigns it to the Ddsource field.
func (*HTTPLogItem) SetDdtags ¶ added in v1.6.0
func (o *HTTPLogItem) SetDdtags(v string)
SetDdtags gets a reference to the given string and assigns it to the Ddtags field.
func (*HTTPLogItem) SetHostname ¶ added in v1.6.0
func (o *HTTPLogItem) SetHostname(v string)
SetHostname gets a reference to the given string and assigns it to the Hostname field.
func (*HTTPLogItem) SetMessage ¶ added in v1.6.0
func (o *HTTPLogItem) SetMessage(v string)
SetMessage sets field value.
func (*HTTPLogItem) SetService ¶ added in v1.6.0
func (o *HTTPLogItem) SetService(v string)
SetService gets a reference to the given string and assigns it to the Service field.
func (*HTTPLogItem) UnmarshalJSON ¶ added in v1.6.0
func (o *HTTPLogItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type HourlyUsage ¶ added in v1.16.0
type HourlyUsage struct {
// Attributes of hourly usage for a product family for an org for a time period.
Attributes *HourlyUsageAttributes `json:"attributes,omitempty"`
// Unique ID of the response.
Id *string `json:"id,omitempty"`
// Type of usage data.
Type *UsageTimeSeriesType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
HourlyUsage Hourly usage for a product family for an org.
func NewHourlyUsage ¶ added in v1.16.0
func NewHourlyUsage() *HourlyUsage
NewHourlyUsage instantiates a new HourlyUsage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewHourlyUsageWithDefaults ¶ added in v1.16.0
func NewHourlyUsageWithDefaults() *HourlyUsage
NewHourlyUsageWithDefaults instantiates a new HourlyUsage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*HourlyUsage) GetAttributes ¶ added in v1.16.0
func (o *HourlyUsage) GetAttributes() HourlyUsageAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*HourlyUsage) GetAttributesOk ¶ added in v1.16.0
func (o *HourlyUsage) GetAttributesOk() (*HourlyUsageAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsage) GetId ¶ added in v1.16.0
func (o *HourlyUsage) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*HourlyUsage) GetIdOk ¶ added in v1.16.0
func (o *HourlyUsage) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsage) GetType ¶ added in v1.16.0
func (o *HourlyUsage) GetType() UsageTimeSeriesType
GetType returns the Type field value if set, zero value otherwise.
func (*HourlyUsage) GetTypeOk ¶ added in v1.16.0
func (o *HourlyUsage) GetTypeOk() (*UsageTimeSeriesType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsage) HasAttributes ¶ added in v1.16.0
func (o *HourlyUsage) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*HourlyUsage) HasId ¶ added in v1.16.0
func (o *HourlyUsage) HasId() bool
HasId returns a boolean if a field has been set.
func (*HourlyUsage) HasType ¶ added in v1.16.0
func (o *HourlyUsage) HasType() bool
HasType returns a boolean if a field has been set.
func (HourlyUsage) MarshalJSON ¶ added in v1.16.0
func (o HourlyUsage) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*HourlyUsage) SetAttributes ¶ added in v1.16.0
func (o *HourlyUsage) SetAttributes(v HourlyUsageAttributes)
SetAttributes gets a reference to the given HourlyUsageAttributes and assigns it to the Attributes field.
func (*HourlyUsage) SetId ¶ added in v1.16.0
func (o *HourlyUsage) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*HourlyUsage) SetType ¶ added in v1.16.0
func (o *HourlyUsage) SetType(v UsageTimeSeriesType)
SetType gets a reference to the given UsageTimeSeriesType and assigns it to the Type field.
func (*HourlyUsage) UnmarshalJSON ¶ added in v1.16.0
func (o *HourlyUsage) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type HourlyUsageAttributes ¶ added in v1.16.0
type HourlyUsageAttributes struct {
// List of the measured usage values for the product family for the org for the time period.
Measurements []HourlyUsageMeasurement `json:"measurements,omitempty"`
// The organization name.
OrgName *string `json:"org_name,omitempty"`
// The product for which usage is being reported.
ProductFamily *string `json:"product_family,omitempty"`
// The organization public ID.
PublicId *string `json:"public_id,omitempty"`
// The region of the Datadog instance that the organization belongs to.
Region *string `json:"region,omitempty"`
// Datetime in ISO-8601 format, UTC. The hour for the usage.
Timestamp *time.Time `json:"timestamp,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
HourlyUsageAttributes Attributes of hourly usage for a product family for an org for a time period.
func NewHourlyUsageAttributes ¶ added in v1.16.0
func NewHourlyUsageAttributes() *HourlyUsageAttributes
NewHourlyUsageAttributes instantiates a new HourlyUsageAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewHourlyUsageAttributesWithDefaults ¶ added in v1.16.0
func NewHourlyUsageAttributesWithDefaults() *HourlyUsageAttributes
NewHourlyUsageAttributesWithDefaults instantiates a new HourlyUsageAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*HourlyUsageAttributes) GetMeasurements ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetMeasurements() []HourlyUsageMeasurement
GetMeasurements returns the Measurements field value if set, zero value otherwise.
func (*HourlyUsageAttributes) GetMeasurementsOk ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetMeasurementsOk() (*[]HourlyUsageMeasurement, bool)
GetMeasurementsOk returns a tuple with the Measurements field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsageAttributes) GetOrgName ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*HourlyUsageAttributes) GetOrgNameOk ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsageAttributes) GetProductFamily ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetProductFamily() string
GetProductFamily returns the ProductFamily field value if set, zero value otherwise.
func (*HourlyUsageAttributes) GetProductFamilyOk ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetProductFamilyOk() (*string, bool)
GetProductFamilyOk returns a tuple with the ProductFamily field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsageAttributes) GetPublicId ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetPublicId() string
GetPublicId returns the PublicId field value if set, zero value otherwise.
func (*HourlyUsageAttributes) GetPublicIdOk ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetPublicIdOk() (*string, bool)
GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsageAttributes) GetRegion ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*HourlyUsageAttributes) GetRegionOk ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsageAttributes) GetTimestamp ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*HourlyUsageAttributes) GetTimestampOk ¶ added in v1.16.0
func (o *HourlyUsageAttributes) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsageAttributes) HasMeasurements ¶ added in v1.16.0
func (o *HourlyUsageAttributes) HasMeasurements() bool
HasMeasurements returns a boolean if a field has been set.
func (*HourlyUsageAttributes) HasOrgName ¶ added in v1.16.0
func (o *HourlyUsageAttributes) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*HourlyUsageAttributes) HasProductFamily ¶ added in v1.16.0
func (o *HourlyUsageAttributes) HasProductFamily() bool
HasProductFamily returns a boolean if a field has been set.
func (*HourlyUsageAttributes) HasPublicId ¶ added in v1.16.0
func (o *HourlyUsageAttributes) HasPublicId() bool
HasPublicId returns a boolean if a field has been set.
func (*HourlyUsageAttributes) HasRegion ¶ added in v1.16.0
func (o *HourlyUsageAttributes) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*HourlyUsageAttributes) HasTimestamp ¶ added in v1.16.0
func (o *HourlyUsageAttributes) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (HourlyUsageAttributes) MarshalJSON ¶ added in v1.16.0
func (o HourlyUsageAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*HourlyUsageAttributes) SetMeasurements ¶ added in v1.16.0
func (o *HourlyUsageAttributes) SetMeasurements(v []HourlyUsageMeasurement)
SetMeasurements gets a reference to the given []HourlyUsageMeasurement and assigns it to the Measurements field.
func (*HourlyUsageAttributes) SetOrgName ¶ added in v1.16.0
func (o *HourlyUsageAttributes) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*HourlyUsageAttributes) SetProductFamily ¶ added in v1.16.0
func (o *HourlyUsageAttributes) SetProductFamily(v string)
SetProductFamily gets a reference to the given string and assigns it to the ProductFamily field.
func (*HourlyUsageAttributes) SetPublicId ¶ added in v1.16.0
func (o *HourlyUsageAttributes) SetPublicId(v string)
SetPublicId gets a reference to the given string and assigns it to the PublicId field.
func (*HourlyUsageAttributes) SetRegion ¶ added in v1.16.0
func (o *HourlyUsageAttributes) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*HourlyUsageAttributes) SetTimestamp ¶ added in v1.16.0
func (o *HourlyUsageAttributes) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
func (*HourlyUsageAttributes) UnmarshalJSON ¶ added in v1.16.0
func (o *HourlyUsageAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type HourlyUsageMeasurement ¶ added in v1.16.0
type HourlyUsageMeasurement struct {
// Type of usage.
UsageType *string `json:"usage_type,omitempty"`
// Contains the number measured for the given usage_type during the hour.
Value NullableInt64 `json:"value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
HourlyUsageMeasurement Usage amount for a given usage type.
func NewHourlyUsageMeasurement ¶ added in v1.16.0
func NewHourlyUsageMeasurement() *HourlyUsageMeasurement
NewHourlyUsageMeasurement instantiates a new HourlyUsageMeasurement object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewHourlyUsageMeasurementWithDefaults ¶ added in v1.16.0
func NewHourlyUsageMeasurementWithDefaults() *HourlyUsageMeasurement
NewHourlyUsageMeasurementWithDefaults instantiates a new HourlyUsageMeasurement object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*HourlyUsageMeasurement) GetUsageType ¶ added in v1.16.0
func (o *HourlyUsageMeasurement) GetUsageType() string
GetUsageType returns the UsageType field value if set, zero value otherwise.
func (*HourlyUsageMeasurement) GetUsageTypeOk ¶ added in v1.16.0
func (o *HourlyUsageMeasurement) GetUsageTypeOk() (*string, bool)
GetUsageTypeOk returns a tuple with the UsageType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsageMeasurement) GetValue ¶ added in v1.16.0
func (o *HourlyUsageMeasurement) GetValue() int64
GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).
func (*HourlyUsageMeasurement) GetValueOk ¶ added in v1.16.0
func (o *HourlyUsageMeasurement) GetValueOk() (*int64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*HourlyUsageMeasurement) HasUsageType ¶ added in v1.16.0
func (o *HourlyUsageMeasurement) HasUsageType() bool
HasUsageType returns a boolean if a field has been set.
func (*HourlyUsageMeasurement) HasValue ¶ added in v1.16.0
func (o *HourlyUsageMeasurement) HasValue() bool
HasValue returns a boolean if a field has been set.
func (HourlyUsageMeasurement) MarshalJSON ¶ added in v1.16.0
func (o HourlyUsageMeasurement) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*HourlyUsageMeasurement) SetUsageType ¶ added in v1.16.0
func (o *HourlyUsageMeasurement) SetUsageType(v string)
SetUsageType gets a reference to the given string and assigns it to the UsageType field.
func (*HourlyUsageMeasurement) SetValue ¶ added in v1.16.0
func (o *HourlyUsageMeasurement) SetValue(v int64)
SetValue gets a reference to the given NullableInt64 and assigns it to the Value field.
func (*HourlyUsageMeasurement) SetValueNil ¶ added in v1.16.0
func (o *HourlyUsageMeasurement) SetValueNil()
SetValueNil sets the value for Value to be an explicit nil.
func (*HourlyUsageMeasurement) UnmarshalJSON ¶ added in v1.16.0
func (o *HourlyUsageMeasurement) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*HourlyUsageMeasurement) UnsetValue ¶ added in v1.16.0
func (o *HourlyUsageMeasurement) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil.
type HourlyUsageMetadata ¶ added in v1.16.0
type HourlyUsageMetadata struct {
// The metadata for the current pagination.
Pagination *HourlyUsagePagination `json:"pagination,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
HourlyUsageMetadata The object containing document metadata.
func NewHourlyUsageMetadata ¶ added in v1.16.0
func NewHourlyUsageMetadata() *HourlyUsageMetadata
NewHourlyUsageMetadata instantiates a new HourlyUsageMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewHourlyUsageMetadataWithDefaults ¶ added in v1.16.0
func NewHourlyUsageMetadataWithDefaults() *HourlyUsageMetadata
NewHourlyUsageMetadataWithDefaults instantiates a new HourlyUsageMetadata object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*HourlyUsageMetadata) GetPagination ¶ added in v1.16.0
func (o *HourlyUsageMetadata) GetPagination() HourlyUsagePagination
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*HourlyUsageMetadata) GetPaginationOk ¶ added in v1.16.0
func (o *HourlyUsageMetadata) GetPaginationOk() (*HourlyUsagePagination, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsageMetadata) HasPagination ¶ added in v1.16.0
func (o *HourlyUsageMetadata) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (HourlyUsageMetadata) MarshalJSON ¶ added in v1.16.0
func (o HourlyUsageMetadata) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*HourlyUsageMetadata) SetPagination ¶ added in v1.16.0
func (o *HourlyUsageMetadata) SetPagination(v HourlyUsagePagination)
SetPagination gets a reference to the given HourlyUsagePagination and assigns it to the Pagination field.
func (*HourlyUsageMetadata) UnmarshalJSON ¶ added in v1.16.0
func (o *HourlyUsageMetadata) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type HourlyUsagePagination ¶ added in v1.16.0
type HourlyUsagePagination struct {
// The cursor to get the next results (if any). To make the next request, use the same parameters and add `next_record_id`.
NextRecordId NullableString `json:"next_record_id,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
HourlyUsagePagination The metadata for the current pagination.
func NewHourlyUsagePagination ¶ added in v1.16.0
func NewHourlyUsagePagination() *HourlyUsagePagination
NewHourlyUsagePagination instantiates a new HourlyUsagePagination object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewHourlyUsagePaginationWithDefaults ¶ added in v1.16.0
func NewHourlyUsagePaginationWithDefaults() *HourlyUsagePagination
NewHourlyUsagePaginationWithDefaults instantiates a new HourlyUsagePagination object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*HourlyUsagePagination) GetNextRecordId ¶ added in v1.16.0
func (o *HourlyUsagePagination) GetNextRecordId() string
GetNextRecordId returns the NextRecordId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*HourlyUsagePagination) GetNextRecordIdOk ¶ added in v1.16.0
func (o *HourlyUsagePagination) GetNextRecordIdOk() (*string, bool)
GetNextRecordIdOk returns a tuple with the NextRecordId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*HourlyUsagePagination) HasNextRecordId ¶ added in v1.16.0
func (o *HourlyUsagePagination) HasNextRecordId() bool
HasNextRecordId returns a boolean if a field has been set.
func (HourlyUsagePagination) MarshalJSON ¶ added in v1.16.0
func (o HourlyUsagePagination) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*HourlyUsagePagination) SetNextRecordId ¶ added in v1.16.0
func (o *HourlyUsagePagination) SetNextRecordId(v string)
SetNextRecordId gets a reference to the given NullableString and assigns it to the NextRecordId field.
func (*HourlyUsagePagination) SetNextRecordIdNil ¶ added in v1.16.0
func (o *HourlyUsagePagination) SetNextRecordIdNil()
SetNextRecordIdNil sets the value for NextRecordId to be an explicit nil.
func (*HourlyUsagePagination) UnmarshalJSON ¶ added in v1.16.0
func (o *HourlyUsagePagination) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*HourlyUsagePagination) UnsetNextRecordId ¶ added in v1.16.0
func (o *HourlyUsagePagination) UnsetNextRecordId()
UnsetNextRecordId ensures that no value is present for NextRecordId, not even an explicit nil.
type HourlyUsageResponse ¶ added in v1.16.0
type HourlyUsageResponse struct {
// Response containing hourly usage.
Data []HourlyUsage `json:"data,omitempty"`
// The object containing document metadata.
Meta *HourlyUsageMetadata `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
HourlyUsageResponse Hourly usage response.
func NewHourlyUsageResponse ¶ added in v1.16.0
func NewHourlyUsageResponse() *HourlyUsageResponse
NewHourlyUsageResponse instantiates a new HourlyUsageResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewHourlyUsageResponseWithDefaults ¶ added in v1.16.0
func NewHourlyUsageResponseWithDefaults() *HourlyUsageResponse
NewHourlyUsageResponseWithDefaults instantiates a new HourlyUsageResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*HourlyUsageResponse) GetData ¶ added in v1.16.0
func (o *HourlyUsageResponse) GetData() []HourlyUsage
GetData returns the Data field value if set, zero value otherwise.
func (*HourlyUsageResponse) GetDataOk ¶ added in v1.16.0
func (o *HourlyUsageResponse) GetDataOk() (*[]HourlyUsage, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsageResponse) GetMeta ¶ added in v1.16.0
func (o *HourlyUsageResponse) GetMeta() HourlyUsageMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*HourlyUsageResponse) GetMetaOk ¶ added in v1.16.0
func (o *HourlyUsageResponse) GetMetaOk() (*HourlyUsageMetadata, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HourlyUsageResponse) HasData ¶ added in v1.16.0
func (o *HourlyUsageResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*HourlyUsageResponse) HasMeta ¶ added in v1.16.0
func (o *HourlyUsageResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (HourlyUsageResponse) MarshalJSON ¶ added in v1.16.0
func (o HourlyUsageResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*HourlyUsageResponse) SetData ¶ added in v1.16.0
func (o *HourlyUsageResponse) SetData(v []HourlyUsage)
SetData gets a reference to the given []HourlyUsage and assigns it to the Data field.
func (*HourlyUsageResponse) SetMeta ¶ added in v1.16.0
func (o *HourlyUsageResponse) SetMeta(v HourlyUsageMetadata)
SetMeta gets a reference to the given HourlyUsageMetadata and assigns it to the Meta field.
func (*HourlyUsageResponse) UnmarshalJSON ¶ added in v1.16.0
func (o *HourlyUsageResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type HourlyUsageType ¶ added in v1.14.0
type HourlyUsageType string
HourlyUsageType Usage type that is being measured.
const ( HOURLYUSAGETYPE_APP_SEC_HOST_COUNT HourlyUsageType = "app_sec_host_count" HOURLYUSAGETYPE_OBSERVABILITY_PIPELINES_BYTES_PROCESSSED HourlyUsageType = "observability_pipelines_bytes_processed" HOURLYUSAGETYPE_LAMBDA_TRACED_INVOCATIONS_COUNT HourlyUsageType = "lambda_traced_invocations_count" )
List of HourlyUsageType.
func NewHourlyUsageTypeFromValue ¶ added in v1.14.0
func NewHourlyUsageTypeFromValue(v string) (*HourlyUsageType, error)
NewHourlyUsageTypeFromValue returns a pointer to a valid HourlyUsageType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*HourlyUsageType) GetAllowedValues ¶ added in v1.14.0
func (v *HourlyUsageType) GetAllowedValues() []HourlyUsageType
GetAllowedValues reeturns the list of possible values.
func (HourlyUsageType) IsValid ¶ added in v1.14.0
func (v HourlyUsageType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (HourlyUsageType) Ptr ¶ added in v1.14.0
func (v HourlyUsageType) Ptr() *HourlyUsageType
Ptr returns reference to HourlyUsageType value.
func (*HourlyUsageType) UnmarshalJSON ¶ added in v1.14.0
func (v *HourlyUsageType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type IdPMetadataFormData ¶ added in v1.13.0
type IdPMetadataFormData struct {
// The IdP metadata XML file
IdpFile **os.File `json:"idp_file,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IdPMetadataFormData The form data submitted to upload IdP metadata
func NewIdPMetadataFormData ¶ added in v1.13.0
func NewIdPMetadataFormData() *IdPMetadataFormData
NewIdPMetadataFormData instantiates a new IdPMetadataFormData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIdPMetadataFormDataWithDefaults ¶ added in v1.13.0
func NewIdPMetadataFormDataWithDefaults() *IdPMetadataFormData
NewIdPMetadataFormDataWithDefaults instantiates a new IdPMetadataFormData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IdPMetadataFormData) GetIdpFile ¶ added in v1.13.0
func (o *IdPMetadataFormData) GetIdpFile() *os.File
GetIdpFile returns the IdpFile field value if set, zero value otherwise.
func (*IdPMetadataFormData) GetIdpFileOk ¶ added in v1.13.0
func (o *IdPMetadataFormData) GetIdpFileOk() (**os.File, bool)
GetIdpFileOk returns a tuple with the IdpFile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IdPMetadataFormData) HasIdpFile ¶ added in v1.13.0
func (o *IdPMetadataFormData) HasIdpFile() bool
HasIdpFile returns a boolean if a field has been set.
func (IdPMetadataFormData) MarshalJSON ¶ added in v1.13.0
func (o IdPMetadataFormData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IdPMetadataFormData) SetIdpFile ¶ added in v1.13.0
func (o *IdPMetadataFormData) SetIdpFile(v *os.File)
SetIdpFile gets a reference to the given *os.File and assigns it to the IdpFile field.
func (*IdPMetadataFormData) UnmarshalJSON ¶ added in v1.13.0
func (o *IdPMetadataFormData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentCreateAttributes ¶
type IncidentCreateAttributes struct {
// A flag indicating whether the incident caused customer impact.
CustomerImpacted bool `json:"customer_impacted"`
// A condensed view of the user-defined fields for which to create initial selections.
Fields map[string]IncidentFieldAttributes `json:"fields,omitempty"`
// An array of initial timeline cells to be placed at the beginning of the incident timeline.
InitialCells []IncidentTimelineCellCreateAttributes `json:"initial_cells,omitempty"`
// Notification handles that will be notified of the incident at creation.
NotificationHandles []IncidentNotificationHandle `json:"notification_handles,omitempty"`
// The title of the incident, which summarizes what happened.
Title string `json:"title"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentCreateAttributes The incident's attributes for a create request.
func NewIncidentCreateAttributes ¶
func NewIncidentCreateAttributes(customerImpacted bool, title string) *IncidentCreateAttributes
NewIncidentCreateAttributes instantiates a new IncidentCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentCreateAttributesWithDefaults ¶
func NewIncidentCreateAttributesWithDefaults() *IncidentCreateAttributes
NewIncidentCreateAttributesWithDefaults instantiates a new IncidentCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentCreateAttributes) GetCustomerImpacted ¶
func (o *IncidentCreateAttributes) GetCustomerImpacted() bool
GetCustomerImpacted returns the CustomerImpacted field value.
func (*IncidentCreateAttributes) GetCustomerImpactedOk ¶
func (o *IncidentCreateAttributes) GetCustomerImpactedOk() (*bool, bool)
GetCustomerImpactedOk returns a tuple with the CustomerImpacted field value and a boolean to check if the value has been set.
func (*IncidentCreateAttributes) GetFields ¶
func (o *IncidentCreateAttributes) GetFields() map[string]IncidentFieldAttributes
GetFields returns the Fields field value if set, zero value otherwise.
func (*IncidentCreateAttributes) GetFieldsOk ¶
func (o *IncidentCreateAttributes) GetFieldsOk() (*map[string]IncidentFieldAttributes, bool)
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
func (o *IncidentCreateAttributes) GetInitialCells() []IncidentTimelineCellCreateAttributes
GetInitialCells returns the InitialCells field value if set, zero value otherwise.
func (*IncidentCreateAttributes) GetInitialCellsOk ¶ added in v1.3.0
func (o *IncidentCreateAttributes) GetInitialCellsOk() (*[]IncidentTimelineCellCreateAttributes, bool)
GetInitialCellsOk returns a tuple with the InitialCells field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentCreateAttributes) GetNotificationHandles ¶
func (o *IncidentCreateAttributes) GetNotificationHandles() []IncidentNotificationHandle
GetNotificationHandles returns the NotificationHandles field value if set, zero value otherwise.
func (*IncidentCreateAttributes) GetNotificationHandlesOk ¶
func (o *IncidentCreateAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)
GetNotificationHandlesOk returns a tuple with the NotificationHandles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentCreateAttributes) GetTitle ¶
func (o *IncidentCreateAttributes) GetTitle() string
GetTitle returns the Title field value.
func (*IncidentCreateAttributes) GetTitleOk ¶
func (o *IncidentCreateAttributes) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*IncidentCreateAttributes) HasFields ¶
func (o *IncidentCreateAttributes) HasFields() bool
HasFields returns a boolean if a field has been set.
func (*IncidentCreateAttributes) HasInitialCells ¶ added in v1.3.0
func (o *IncidentCreateAttributes) HasInitialCells() bool
HasInitialCells returns a boolean if a field has been set.
func (*IncidentCreateAttributes) HasNotificationHandles ¶
func (o *IncidentCreateAttributes) HasNotificationHandles() bool
HasNotificationHandles returns a boolean if a field has been set.
func (IncidentCreateAttributes) MarshalJSON ¶
func (o IncidentCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentCreateAttributes) SetCustomerImpacted ¶
func (o *IncidentCreateAttributes) SetCustomerImpacted(v bool)
SetCustomerImpacted sets field value.
func (*IncidentCreateAttributes) SetFields ¶
func (o *IncidentCreateAttributes) SetFields(v map[string]IncidentFieldAttributes)
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
func (o *IncidentCreateAttributes) SetInitialCells(v []IncidentTimelineCellCreateAttributes)
SetInitialCells gets a reference to the given []IncidentTimelineCellCreateAttributes and assigns it to the InitialCells field.
func (*IncidentCreateAttributes) SetNotificationHandles ¶
func (o *IncidentCreateAttributes) SetNotificationHandles(v []IncidentNotificationHandle)
SetNotificationHandles gets a reference to the given []IncidentNotificationHandle and assigns it to the NotificationHandles field.
func (*IncidentCreateAttributes) SetTitle ¶
func (o *IncidentCreateAttributes) SetTitle(v string)
SetTitle sets field value.
func (*IncidentCreateAttributes) UnmarshalJSON ¶
func (o *IncidentCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentCreateData ¶
type IncidentCreateData struct {
// The incident's attributes for a create request.
Attributes IncidentCreateAttributes `json:"attributes"`
// The relationships the incident will have with other resources once created.
Relationships *IncidentCreateRelationships `json:"relationships,omitempty"`
// Incident resource type.
Type IncidentType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentCreateData Incident data for a create request.
func NewIncidentCreateData ¶
func NewIncidentCreateData(attributes IncidentCreateAttributes, typeVar IncidentType) *IncidentCreateData
NewIncidentCreateData instantiates a new IncidentCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentCreateDataWithDefaults ¶
func NewIncidentCreateDataWithDefaults() *IncidentCreateData
NewIncidentCreateDataWithDefaults instantiates a new IncidentCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentCreateData) GetAttributes ¶
func (o *IncidentCreateData) GetAttributes() IncidentCreateAttributes
GetAttributes returns the Attributes field value.
func (*IncidentCreateData) GetAttributesOk ¶
func (o *IncidentCreateData) GetAttributesOk() (*IncidentCreateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*IncidentCreateData) GetRelationships ¶
func (o *IncidentCreateData) GetRelationships() IncidentCreateRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*IncidentCreateData) GetRelationshipsOk ¶
func (o *IncidentCreateData) GetRelationshipsOk() (*IncidentCreateRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentCreateData) GetType ¶
func (o *IncidentCreateData) GetType() IncidentType
GetType returns the Type field value.
func (*IncidentCreateData) GetTypeOk ¶
func (o *IncidentCreateData) GetTypeOk() (*IncidentType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IncidentCreateData) HasRelationships ¶
func (o *IncidentCreateData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (IncidentCreateData) MarshalJSON ¶
func (o IncidentCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentCreateData) SetAttributes ¶
func (o *IncidentCreateData) SetAttributes(v IncidentCreateAttributes)
SetAttributes sets field value.
func (*IncidentCreateData) SetRelationships ¶
func (o *IncidentCreateData) SetRelationships(v IncidentCreateRelationships)
SetRelationships gets a reference to the given IncidentCreateRelationships and assigns it to the Relationships field.
func (*IncidentCreateData) SetType ¶
func (o *IncidentCreateData) SetType(v IncidentType)
SetType sets field value.
func (*IncidentCreateData) UnmarshalJSON ¶
func (o *IncidentCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentCreateRelationships ¶
type IncidentCreateRelationships struct {
// Relationship to user.
CommanderUser NullableRelationshipToUser `json:"commander_user"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentCreateRelationships The relationships the incident will have with other resources once created.
func NewIncidentCreateRelationships ¶
func NewIncidentCreateRelationships(commanderUser NullableRelationshipToUser) *IncidentCreateRelationships
NewIncidentCreateRelationships instantiates a new IncidentCreateRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentCreateRelationshipsWithDefaults ¶
func NewIncidentCreateRelationshipsWithDefaults() *IncidentCreateRelationships
NewIncidentCreateRelationshipsWithDefaults instantiates a new IncidentCreateRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentCreateRelationships) GetCommanderUser ¶ added in v1.9.0
func (o *IncidentCreateRelationships) GetCommanderUser() NullableRelationshipToUser
GetCommanderUser returns the CommanderUser field value.
func (*IncidentCreateRelationships) GetCommanderUserOk ¶ added in v1.9.0
func (o *IncidentCreateRelationships) GetCommanderUserOk() (*NullableRelationshipToUser, bool)
GetCommanderUserOk returns a tuple with the CommanderUser field value and a boolean to check if the value has been set.
func (IncidentCreateRelationships) MarshalJSON ¶
func (o IncidentCreateRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentCreateRelationships) SetCommanderUser ¶ added in v1.9.0
func (o *IncidentCreateRelationships) SetCommanderUser(v NullableRelationshipToUser)
SetCommanderUser sets field value.
func (*IncidentCreateRelationships) UnmarshalJSON ¶
func (o *IncidentCreateRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentCreateRequest ¶
type IncidentCreateRequest struct {
// Incident data for a create request.
Data IncidentCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentCreateRequest Create request for an incident.
func NewIncidentCreateRequest ¶
func NewIncidentCreateRequest(data IncidentCreateData) *IncidentCreateRequest
NewIncidentCreateRequest instantiates a new IncidentCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentCreateRequestWithDefaults ¶
func NewIncidentCreateRequestWithDefaults() *IncidentCreateRequest
NewIncidentCreateRequestWithDefaults instantiates a new IncidentCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentCreateRequest) GetData ¶
func (o *IncidentCreateRequest) GetData() IncidentCreateData
GetData returns the Data field value.
func (*IncidentCreateRequest) GetDataOk ¶
func (o *IncidentCreateRequest) GetDataOk() (*IncidentCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (IncidentCreateRequest) MarshalJSON ¶
func (o IncidentCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentCreateRequest) SetData ¶
func (o *IncidentCreateRequest) SetData(v IncidentCreateData)
SetData sets field value.
func (*IncidentCreateRequest) UnmarshalJSON ¶
func (o *IncidentCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentFieldAttributes ¶
type IncidentFieldAttributes struct {
IncidentFieldAttributesSingleValue *IncidentFieldAttributesSingleValue
IncidentFieldAttributesMultipleValue *IncidentFieldAttributesMultipleValue
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
IncidentFieldAttributes - Dynamic fields for which selections can be made, with field names as keys.
func IncidentFieldAttributesMultipleValueAsIncidentFieldAttributes ¶
func IncidentFieldAttributesMultipleValueAsIncidentFieldAttributes(v *IncidentFieldAttributesMultipleValue) IncidentFieldAttributes
IncidentFieldAttributesMultipleValueAsIncidentFieldAttributes is a convenience function that returns IncidentFieldAttributesMultipleValue wrapped in IncidentFieldAttributes.
func IncidentFieldAttributesSingleValueAsIncidentFieldAttributes ¶
func IncidentFieldAttributesSingleValueAsIncidentFieldAttributes(v *IncidentFieldAttributesSingleValue) IncidentFieldAttributes
IncidentFieldAttributesSingleValueAsIncidentFieldAttributes is a convenience function that returns IncidentFieldAttributesSingleValue wrapped in IncidentFieldAttributes.
func (*IncidentFieldAttributes) GetActualInstance ¶
func (obj *IncidentFieldAttributes) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (IncidentFieldAttributes) MarshalJSON ¶
func (obj IncidentFieldAttributes) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*IncidentFieldAttributes) UnmarshalJSON ¶
func (obj *IncidentFieldAttributes) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type IncidentFieldAttributesMultipleValue ¶
type IncidentFieldAttributesMultipleValue struct {
// Type of the multiple value field definitions.
Type *IncidentFieldAttributesValueType `json:"type,omitempty"`
// The multiple values selected for this field.
Value []string `json:"value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentFieldAttributesMultipleValue A field with potentially multiple values selected.
func NewIncidentFieldAttributesMultipleValue ¶
func NewIncidentFieldAttributesMultipleValue() *IncidentFieldAttributesMultipleValue
NewIncidentFieldAttributesMultipleValue instantiates a new IncidentFieldAttributesMultipleValue object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentFieldAttributesMultipleValueWithDefaults ¶
func NewIncidentFieldAttributesMultipleValueWithDefaults() *IncidentFieldAttributesMultipleValue
NewIncidentFieldAttributesMultipleValueWithDefaults instantiates a new IncidentFieldAttributesMultipleValue object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentFieldAttributesMultipleValue) GetType ¶
func (o *IncidentFieldAttributesMultipleValue) GetType() IncidentFieldAttributesValueType
GetType returns the Type field value if set, zero value otherwise.
func (*IncidentFieldAttributesMultipleValue) GetTypeOk ¶
func (o *IncidentFieldAttributesMultipleValue) GetTypeOk() (*IncidentFieldAttributesValueType, 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 (*IncidentFieldAttributesMultipleValue) GetValue ¶
func (o *IncidentFieldAttributesMultipleValue) GetValue() []string
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 ¶
func (o *IncidentFieldAttributesMultipleValue) HasType() bool
HasType returns a boolean if a field has been set.
func (*IncidentFieldAttributesMultipleValue) HasValue ¶
func (o *IncidentFieldAttributesMultipleValue) HasValue() bool
HasValue returns a boolean if a field has been set.
func (IncidentFieldAttributesMultipleValue) MarshalJSON ¶
func (o IncidentFieldAttributesMultipleValue) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentFieldAttributesMultipleValue) SetType ¶
func (o *IncidentFieldAttributesMultipleValue) SetType(v IncidentFieldAttributesValueType)
SetType gets a reference to the given IncidentFieldAttributesValueType and assigns it to the Type field.
func (*IncidentFieldAttributesMultipleValue) SetValue ¶
func (o *IncidentFieldAttributesMultipleValue) SetValue(v []string)
SetValue gets a reference to the given []string and assigns it to the Value field.
func (*IncidentFieldAttributesMultipleValue) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentFieldAttributesMultipleValue) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentFieldAttributesSingleValue ¶
type IncidentFieldAttributesSingleValue struct {
// Type of the single value field definitions.
Type *IncidentFieldAttributesSingleValueType `json:"type,omitempty"`
// The single value selected for this field.
Value NullableString `json:"value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentFieldAttributesSingleValue A field with a single value selected.
func NewIncidentFieldAttributesSingleValue ¶
func NewIncidentFieldAttributesSingleValue() *IncidentFieldAttributesSingleValue
NewIncidentFieldAttributesSingleValue instantiates a new IncidentFieldAttributesSingleValue object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentFieldAttributesSingleValueWithDefaults ¶
func NewIncidentFieldAttributesSingleValueWithDefaults() *IncidentFieldAttributesSingleValue
NewIncidentFieldAttributesSingleValueWithDefaults instantiates a new IncidentFieldAttributesSingleValue object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentFieldAttributesSingleValue) GetType ¶
func (o *IncidentFieldAttributesSingleValue) GetType() IncidentFieldAttributesSingleValueType
GetType returns the Type field value if set, zero value otherwise.
func (*IncidentFieldAttributesSingleValue) GetTypeOk ¶
func (o *IncidentFieldAttributesSingleValue) GetTypeOk() (*IncidentFieldAttributesSingleValueType, 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 (*IncidentFieldAttributesSingleValue) GetValue ¶
func (o *IncidentFieldAttributesSingleValue) GetValue() string
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 ¶
func (o *IncidentFieldAttributesSingleValue) HasType() bool
HasType returns a boolean if a field has been set.
func (*IncidentFieldAttributesSingleValue) HasValue ¶
func (o *IncidentFieldAttributesSingleValue) HasValue() bool
HasValue returns a boolean if a field has been set.
func (IncidentFieldAttributesSingleValue) MarshalJSON ¶
func (o IncidentFieldAttributesSingleValue) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentFieldAttributesSingleValue) SetType ¶
func (o *IncidentFieldAttributesSingleValue) SetType(v IncidentFieldAttributesSingleValueType)
SetType gets a reference to the given IncidentFieldAttributesSingleValueType and assigns it to the Type field.
func (*IncidentFieldAttributesSingleValue) SetValue ¶
func (o *IncidentFieldAttributesSingleValue) SetValue(v string)
SetValue gets a reference to the given NullableString and assigns it to the Value field.
func (*IncidentFieldAttributesSingleValue) SetValueNil ¶ added in v1.5.0
func (o *IncidentFieldAttributesSingleValue) SetValueNil()
SetValueNil sets the value for Value to be an explicit nil.
func (*IncidentFieldAttributesSingleValue) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentFieldAttributesSingleValue) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*IncidentFieldAttributesSingleValue) UnsetValue ¶ added in v1.5.0
func (o *IncidentFieldAttributesSingleValue) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil.
type IncidentFieldAttributesSingleValueType ¶
type IncidentFieldAttributesSingleValueType string
IncidentFieldAttributesSingleValueType Type of the single value field definitions.
const ( INCIDENTFIELDATTRIBUTESSINGLEVALUETYPE_DROPDOWN IncidentFieldAttributesSingleValueType = "dropdown" INCIDENTFIELDATTRIBUTESSINGLEVALUETYPE_TEXTBOX IncidentFieldAttributesSingleValueType = "textbox" )
List of IncidentFieldAttributesSingleValueType.
func NewIncidentFieldAttributesSingleValueTypeFromValue ¶
func NewIncidentFieldAttributesSingleValueTypeFromValue(v string) (*IncidentFieldAttributesSingleValueType, error)
NewIncidentFieldAttributesSingleValueTypeFromValue returns a pointer to a valid IncidentFieldAttributesSingleValueType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*IncidentFieldAttributesSingleValueType) GetAllowedValues ¶ added in v1.1.0
func (v *IncidentFieldAttributesSingleValueType) GetAllowedValues() []IncidentFieldAttributesSingleValueType
GetAllowedValues reeturns the list of possible values.
func (IncidentFieldAttributesSingleValueType) IsValid ¶
func (v IncidentFieldAttributesSingleValueType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (IncidentFieldAttributesSingleValueType) Ptr ¶
Ptr returns reference to IncidentFieldAttributesSingleValueType value.
func (*IncidentFieldAttributesSingleValueType) UnmarshalJSON ¶
func (v *IncidentFieldAttributesSingleValueType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type IncidentFieldAttributesValueType ¶
type IncidentFieldAttributesValueType string
IncidentFieldAttributesValueType Type of the multiple value field definitions.
const ( INCIDENTFIELDATTRIBUTESVALUETYPE_MULTISELECT IncidentFieldAttributesValueType = "multiselect" INCIDENTFIELDATTRIBUTESVALUETYPE_TEXTARRAY IncidentFieldAttributesValueType = "textarray" INCIDENTFIELDATTRIBUTESVALUETYPE_METRICTAG IncidentFieldAttributesValueType = "metrictag" INCIDENTFIELDATTRIBUTESVALUETYPE_AUTOCOMPLETE IncidentFieldAttributesValueType = "autocomplete" )
List of IncidentFieldAttributesValueType.
func NewIncidentFieldAttributesValueTypeFromValue ¶
func NewIncidentFieldAttributesValueTypeFromValue(v string) (*IncidentFieldAttributesValueType, error)
NewIncidentFieldAttributesValueTypeFromValue returns a pointer to a valid IncidentFieldAttributesValueType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*IncidentFieldAttributesValueType) GetAllowedValues ¶ added in v1.1.0
func (v *IncidentFieldAttributesValueType) GetAllowedValues() []IncidentFieldAttributesValueType
GetAllowedValues reeturns the list of possible values.
func (IncidentFieldAttributesValueType) IsValid ¶
func (v IncidentFieldAttributesValueType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (IncidentFieldAttributesValueType) Ptr ¶
func (v IncidentFieldAttributesValueType) Ptr() *IncidentFieldAttributesValueType
Ptr returns reference to IncidentFieldAttributesValueType value.
func (*IncidentFieldAttributesValueType) UnmarshalJSON ¶
func (v *IncidentFieldAttributesValueType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type IncidentIntegrationMetadataType ¶
type IncidentIntegrationMetadataType string
IncidentIntegrationMetadataType Integration metadata resource type.
const (
INCIDENTINTEGRATIONMETADATATYPE_INCIDENT_INTEGRATIONS IncidentIntegrationMetadataType = "incident_integrations"
)
List of IncidentIntegrationMetadataType.
func NewIncidentIntegrationMetadataTypeFromValue ¶
func NewIncidentIntegrationMetadataTypeFromValue(v string) (*IncidentIntegrationMetadataType, error)
NewIncidentIntegrationMetadataTypeFromValue returns a pointer to a valid IncidentIntegrationMetadataType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*IncidentIntegrationMetadataType) GetAllowedValues ¶ added in v1.1.0
func (v *IncidentIntegrationMetadataType) GetAllowedValues() []IncidentIntegrationMetadataType
GetAllowedValues reeturns the list of possible values.
func (IncidentIntegrationMetadataType) IsValid ¶
func (v IncidentIntegrationMetadataType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (IncidentIntegrationMetadataType) Ptr ¶
func (v IncidentIntegrationMetadataType) Ptr() *IncidentIntegrationMetadataType
Ptr returns reference to IncidentIntegrationMetadataType value.
func (*IncidentIntegrationMetadataType) UnmarshalJSON ¶
func (v *IncidentIntegrationMetadataType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type IncidentNotificationHandle ¶ added in v1.3.0
type IncidentNotificationHandle struct {
// The name of the notified handle.
DisplayName *string `json:"display_name,omitempty"`
// The email address used for the notification.
Handle *string `json:"handle,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentNotificationHandle A notification handle that will be notified at incident creation.
func NewIncidentNotificationHandle ¶ added in v1.3.0
func NewIncidentNotificationHandle() *IncidentNotificationHandle
NewIncidentNotificationHandle instantiates a new IncidentNotificationHandle object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentNotificationHandleWithDefaults ¶ added in v1.3.0
func NewIncidentNotificationHandleWithDefaults() *IncidentNotificationHandle
NewIncidentNotificationHandleWithDefaults instantiates a new IncidentNotificationHandle object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentNotificationHandle) GetDisplayName ¶ added in v1.3.0
func (o *IncidentNotificationHandle) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*IncidentNotificationHandle) GetDisplayNameOk ¶ added in v1.3.0
func (o *IncidentNotificationHandle) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentNotificationHandle) GetHandle ¶ added in v1.3.0
func (o *IncidentNotificationHandle) GetHandle() string
GetHandle returns the Handle field value if set, zero value otherwise.
func (*IncidentNotificationHandle) GetHandleOk ¶ added in v1.3.0
func (o *IncidentNotificationHandle) GetHandleOk() (*string, bool)
GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentNotificationHandle) HasDisplayName ¶ added in v1.3.0
func (o *IncidentNotificationHandle) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*IncidentNotificationHandle) HasHandle ¶ added in v1.3.0
func (o *IncidentNotificationHandle) HasHandle() bool
HasHandle returns a boolean if a field has been set.
func (IncidentNotificationHandle) MarshalJSON ¶ added in v1.3.0
func (o IncidentNotificationHandle) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentNotificationHandle) SetDisplayName ¶ added in v1.3.0
func (o *IncidentNotificationHandle) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*IncidentNotificationHandle) SetHandle ¶ added in v1.3.0
func (o *IncidentNotificationHandle) SetHandle(v string)
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*IncidentNotificationHandle) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentNotificationHandle) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentPostmortemType ¶
type IncidentPostmortemType string
IncidentPostmortemType Incident postmortem resource type.
const (
INCIDENTPOSTMORTEMTYPE_INCIDENT_POSTMORTEMS IncidentPostmortemType = "incident_postmortems"
)
List of IncidentPostmortemType.
func NewIncidentPostmortemTypeFromValue ¶
func NewIncidentPostmortemTypeFromValue(v string) (*IncidentPostmortemType, error)
NewIncidentPostmortemTypeFromValue returns a pointer to a valid IncidentPostmortemType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*IncidentPostmortemType) GetAllowedValues ¶ added in v1.1.0
func (v *IncidentPostmortemType) GetAllowedValues() []IncidentPostmortemType
GetAllowedValues reeturns the list of possible values.
func (IncidentPostmortemType) IsValid ¶
func (v IncidentPostmortemType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (IncidentPostmortemType) Ptr ¶
func (v IncidentPostmortemType) Ptr() *IncidentPostmortemType
Ptr returns reference to IncidentPostmortemType value.
func (*IncidentPostmortemType) UnmarshalJSON ¶
func (v *IncidentPostmortemType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type IncidentRelatedObject ¶
type IncidentRelatedObject string
IncidentRelatedObject Object related to an incident.
const (
INCIDENTRELATEDOBJECT_USERS IncidentRelatedObject = "users"
)
List of IncidentRelatedObject.
func NewIncidentRelatedObjectFromValue ¶
func NewIncidentRelatedObjectFromValue(v string) (*IncidentRelatedObject, error)
NewIncidentRelatedObjectFromValue returns a pointer to a valid IncidentRelatedObject for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*IncidentRelatedObject) GetAllowedValues ¶ added in v1.1.0
func (v *IncidentRelatedObject) GetAllowedValues() []IncidentRelatedObject
GetAllowedValues reeturns the list of possible values.
func (IncidentRelatedObject) IsValid ¶
func (v IncidentRelatedObject) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (IncidentRelatedObject) Ptr ¶
func (v IncidentRelatedObject) Ptr() *IncidentRelatedObject
Ptr returns reference to IncidentRelatedObject value.
func (*IncidentRelatedObject) UnmarshalJSON ¶
func (v *IncidentRelatedObject) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type IncidentResponse ¶
type IncidentResponse struct {
// Incident data from a response.
Data IncidentResponseData `json:"data"`
// Included related resources that the user requested.
Included []IncidentResponseIncludedItem `json:"included,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentResponse Response with an incident.
func NewIncidentResponse ¶
func NewIncidentResponse(data IncidentResponseData) *IncidentResponse
NewIncidentResponse instantiates a new IncidentResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentResponseWithDefaults ¶
func NewIncidentResponseWithDefaults() *IncidentResponse
NewIncidentResponseWithDefaults instantiates a new IncidentResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentResponse) GetData ¶
func (o *IncidentResponse) GetData() IncidentResponseData
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 ¶
func (o *IncidentResponse) GetIncluded() []IncidentResponseIncludedItem
GetIncluded returns the Included field value if set, zero value otherwise.
func (*IncidentResponse) GetIncludedOk ¶
func (o *IncidentResponse) GetIncludedOk() (*[]IncidentResponseIncludedItem, bool)
GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponse) HasIncluded ¶
func (o *IncidentResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (IncidentResponse) MarshalJSON ¶
func (o IncidentResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentResponse) SetData ¶
func (o *IncidentResponse) SetData(v IncidentResponseData)
SetData sets field value.
func (*IncidentResponse) SetIncluded ¶
func (o *IncidentResponse) SetIncluded(v []IncidentResponseIncludedItem)
SetIncluded gets a reference to the given []IncidentResponseIncludedItem and assigns it to the Included field.
func (*IncidentResponse) UnmarshalJSON ¶
func (o *IncidentResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentResponseAttributes ¶
type IncidentResponseAttributes struct {
// Timestamp when the incident was created.
Created *time.Time `json:"created,omitempty"`
// Length of the incident's customer impact in seconds.
// Equals the difference between `customer_impact_start` and `customer_impact_end`.
CustomerImpactDuration *int64 `json:"customer_impact_duration,omitempty"`
// Timestamp when customers were no longer impacted by the incident.
CustomerImpactEnd NullableTime `json:"customer_impact_end,omitempty"`
// A summary of the impact customers experienced during the incident.
CustomerImpactScope NullableString `json:"customer_impact_scope,omitempty"`
// Timestamp when customers began being impacted by the incident.
CustomerImpactStart NullableTime `json:"customer_impact_start,omitempty"`
// A flag indicating whether the incident caused customer impact.
CustomerImpacted *bool `json:"customer_impacted,omitempty"`
// Timestamp when the incident was detected.
Detected NullableTime `json:"detected,omitempty"`
// A condensed view of the user-defined fields attached to incidents.
Fields map[string]IncidentFieldAttributes `json:"fields,omitempty"`
// Timestamp when the incident was last modified.
Modified *time.Time `json:"modified,omitempty"`
// Notification handles that will be notified of the incident during update.
NotificationHandles []IncidentNotificationHandle `json:"notification_handles,omitempty"`
// The UUID of the postmortem object attached to the incident.
PostmortemId *string `json:"postmortem_id,omitempty"`
// The monotonically increasing integer ID for the incident.
PublicId *int64 `json:"public_id,omitempty"`
// Timestamp when the incident's state was set to resolved.
Resolved NullableTime `json:"resolved,omitempty"`
// The amount of time in seconds to detect the incident.
// Equals the difference between `customer_impact_start` and `detected`.
TimeToDetect *int64 `json:"time_to_detect,omitempty"`
// The amount of time in seconds to call incident after detection. Equals the difference of `detected` and `created`.
TimeToInternalResponse *int64 `json:"time_to_internal_response,omitempty"`
// The amount of time in seconds to resolve customer impact after detecting the issue. Equals the difference between `customer_impact_end` and `detected`.
TimeToRepair *int64 `json:"time_to_repair,omitempty"`
// The amount of time in seconds to resolve the incident after it was created. Equals the difference between `created` and `resolved`.
TimeToResolve *int64 `json:"time_to_resolve,omitempty"`
// The title of the incident, which summarizes what happened.
Title string `json:"title"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentResponseAttributes The incident's attributes from a response.
func NewIncidentResponseAttributes ¶
func NewIncidentResponseAttributes(title string) *IncidentResponseAttributes
NewIncidentResponseAttributes instantiates a new IncidentResponseAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentResponseAttributesWithDefaults ¶
func NewIncidentResponseAttributesWithDefaults() *IncidentResponseAttributes
NewIncidentResponseAttributesWithDefaults instantiates a new IncidentResponseAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentResponseAttributes) GetCreated ¶
func (o *IncidentResponseAttributes) GetCreated() time.Time
GetCreated returns the Created field value if set, zero value otherwise.
func (*IncidentResponseAttributes) GetCreatedOk ¶
func (o *IncidentResponseAttributes) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) GetCustomerImpactDuration ¶
func (o *IncidentResponseAttributes) GetCustomerImpactDuration() int64
GetCustomerImpactDuration returns the CustomerImpactDuration field value if set, zero value otherwise.
func (*IncidentResponseAttributes) GetCustomerImpactDurationOk ¶
func (o *IncidentResponseAttributes) GetCustomerImpactDurationOk() (*int64, bool)
GetCustomerImpactDurationOk returns a tuple with the CustomerImpactDuration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) GetCustomerImpactEnd ¶
func (o *IncidentResponseAttributes) GetCustomerImpactEnd() time.Time
GetCustomerImpactEnd returns the CustomerImpactEnd field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IncidentResponseAttributes) GetCustomerImpactEndOk ¶
func (o *IncidentResponseAttributes) GetCustomerImpactEndOk() (*time.Time, bool)
GetCustomerImpactEndOk returns a tuple with the CustomerImpactEnd field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*IncidentResponseAttributes) GetCustomerImpactScope ¶
func (o *IncidentResponseAttributes) GetCustomerImpactScope() string
GetCustomerImpactScope returns the CustomerImpactScope field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IncidentResponseAttributes) GetCustomerImpactScopeOk ¶
func (o *IncidentResponseAttributes) GetCustomerImpactScopeOk() (*string, bool)
GetCustomerImpactScopeOk returns a tuple with the CustomerImpactScope field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*IncidentResponseAttributes) GetCustomerImpactStart ¶
func (o *IncidentResponseAttributes) GetCustomerImpactStart() time.Time
GetCustomerImpactStart returns the CustomerImpactStart field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IncidentResponseAttributes) GetCustomerImpactStartOk ¶
func (o *IncidentResponseAttributes) GetCustomerImpactStartOk() (*time.Time, bool)
GetCustomerImpactStartOk returns a tuple with the CustomerImpactStart field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*IncidentResponseAttributes) GetCustomerImpacted ¶
func (o *IncidentResponseAttributes) GetCustomerImpacted() bool
GetCustomerImpacted returns the CustomerImpacted field value if set, zero value otherwise.
func (*IncidentResponseAttributes) GetCustomerImpactedOk ¶
func (o *IncidentResponseAttributes) GetCustomerImpactedOk() (*bool, bool)
GetCustomerImpactedOk returns a tuple with the CustomerImpacted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) GetDetected ¶
func (o *IncidentResponseAttributes) GetDetected() time.Time
GetDetected returns the Detected field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IncidentResponseAttributes) GetDetectedOk ¶
func (o *IncidentResponseAttributes) GetDetectedOk() (*time.Time, bool)
GetDetectedOk returns a tuple with the Detected field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*IncidentResponseAttributes) GetFields ¶
func (o *IncidentResponseAttributes) GetFields() map[string]IncidentFieldAttributes
GetFields returns the Fields field value if set, zero value otherwise.
func (*IncidentResponseAttributes) GetFieldsOk ¶
func (o *IncidentResponseAttributes) GetFieldsOk() (*map[string]IncidentFieldAttributes, bool)
GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) GetModified ¶
func (o *IncidentResponseAttributes) GetModified() time.Time
GetModified returns the Modified field value if set, zero value otherwise.
func (*IncidentResponseAttributes) GetModifiedOk ¶
func (o *IncidentResponseAttributes) GetModifiedOk() (*time.Time, bool)
GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) GetNotificationHandles ¶
func (o *IncidentResponseAttributes) GetNotificationHandles() []IncidentNotificationHandle
GetNotificationHandles returns the NotificationHandles field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IncidentResponseAttributes) GetNotificationHandlesOk ¶
func (o *IncidentResponseAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)
GetNotificationHandlesOk returns a tuple with the NotificationHandles field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*IncidentResponseAttributes) GetPostmortemId ¶
func (o *IncidentResponseAttributes) GetPostmortemId() string
GetPostmortemId returns the PostmortemId field value if set, zero value otherwise.
func (*IncidentResponseAttributes) GetPostmortemIdOk ¶
func (o *IncidentResponseAttributes) GetPostmortemIdOk() (*string, bool)
GetPostmortemIdOk returns a tuple with the PostmortemId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) GetPublicId ¶
func (o *IncidentResponseAttributes) GetPublicId() int64
GetPublicId returns the PublicId field value if set, zero value otherwise.
func (*IncidentResponseAttributes) GetPublicIdOk ¶
func (o *IncidentResponseAttributes) GetPublicIdOk() (*int64, bool)
GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) GetResolved ¶
func (o *IncidentResponseAttributes) GetResolved() time.Time
GetResolved returns the Resolved field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IncidentResponseAttributes) GetResolvedOk ¶
func (o *IncidentResponseAttributes) GetResolvedOk() (*time.Time, bool)
GetResolvedOk returns a tuple with the Resolved field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*IncidentResponseAttributes) GetTimeToDetect ¶
func (o *IncidentResponseAttributes) GetTimeToDetect() int64
GetTimeToDetect returns the TimeToDetect field value if set, zero value otherwise.
func (*IncidentResponseAttributes) GetTimeToDetectOk ¶
func (o *IncidentResponseAttributes) GetTimeToDetectOk() (*int64, bool)
GetTimeToDetectOk returns a tuple with the TimeToDetect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) GetTimeToInternalResponse ¶
func (o *IncidentResponseAttributes) GetTimeToInternalResponse() int64
GetTimeToInternalResponse returns the TimeToInternalResponse field value if set, zero value otherwise.
func (*IncidentResponseAttributes) GetTimeToInternalResponseOk ¶
func (o *IncidentResponseAttributes) GetTimeToInternalResponseOk() (*int64, bool)
GetTimeToInternalResponseOk returns a tuple with the TimeToInternalResponse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) GetTimeToRepair ¶
func (o *IncidentResponseAttributes) GetTimeToRepair() int64
GetTimeToRepair returns the TimeToRepair field value if set, zero value otherwise.
func (*IncidentResponseAttributes) GetTimeToRepairOk ¶
func (o *IncidentResponseAttributes) GetTimeToRepairOk() (*int64, bool)
GetTimeToRepairOk returns a tuple with the TimeToRepair field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) GetTimeToResolve ¶
func (o *IncidentResponseAttributes) GetTimeToResolve() int64
GetTimeToResolve returns the TimeToResolve field value if set, zero value otherwise.
func (*IncidentResponseAttributes) GetTimeToResolveOk ¶
func (o *IncidentResponseAttributes) GetTimeToResolveOk() (*int64, bool)
GetTimeToResolveOk returns a tuple with the TimeToResolve field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) GetTitle ¶
func (o *IncidentResponseAttributes) GetTitle() string
GetTitle returns the Title field value.
func (*IncidentResponseAttributes) GetTitleOk ¶
func (o *IncidentResponseAttributes) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*IncidentResponseAttributes) HasCreated ¶
func (o *IncidentResponseAttributes) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasCustomerImpactDuration ¶
func (o *IncidentResponseAttributes) HasCustomerImpactDuration() bool
HasCustomerImpactDuration returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasCustomerImpactEnd ¶
func (o *IncidentResponseAttributes) HasCustomerImpactEnd() bool
HasCustomerImpactEnd returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasCustomerImpactScope ¶
func (o *IncidentResponseAttributes) HasCustomerImpactScope() bool
HasCustomerImpactScope returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasCustomerImpactStart ¶
func (o *IncidentResponseAttributes) HasCustomerImpactStart() bool
HasCustomerImpactStart returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasCustomerImpacted ¶
func (o *IncidentResponseAttributes) HasCustomerImpacted() bool
HasCustomerImpacted returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasDetected ¶
func (o *IncidentResponseAttributes) HasDetected() bool
HasDetected returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasFields ¶
func (o *IncidentResponseAttributes) HasFields() bool
HasFields returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasModified ¶
func (o *IncidentResponseAttributes) HasModified() bool
HasModified returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasNotificationHandles ¶
func (o *IncidentResponseAttributes) HasNotificationHandles() bool
HasNotificationHandles returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasPostmortemId ¶
func (o *IncidentResponseAttributes) HasPostmortemId() bool
HasPostmortemId returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasPublicId ¶
func (o *IncidentResponseAttributes) HasPublicId() bool
HasPublicId returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasResolved ¶
func (o *IncidentResponseAttributes) HasResolved() bool
HasResolved returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasTimeToDetect ¶
func (o *IncidentResponseAttributes) HasTimeToDetect() bool
HasTimeToDetect returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasTimeToInternalResponse ¶
func (o *IncidentResponseAttributes) HasTimeToInternalResponse() bool
HasTimeToInternalResponse returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasTimeToRepair ¶
func (o *IncidentResponseAttributes) HasTimeToRepair() bool
HasTimeToRepair returns a boolean if a field has been set.
func (*IncidentResponseAttributes) HasTimeToResolve ¶
func (o *IncidentResponseAttributes) HasTimeToResolve() bool
HasTimeToResolve returns a boolean if a field has been set.
func (IncidentResponseAttributes) MarshalJSON ¶
func (o IncidentResponseAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentResponseAttributes) SetCreated ¶
func (o *IncidentResponseAttributes) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (*IncidentResponseAttributes) SetCustomerImpactDuration ¶
func (o *IncidentResponseAttributes) SetCustomerImpactDuration(v int64)
SetCustomerImpactDuration gets a reference to the given int64 and assigns it to the CustomerImpactDuration field.
func (*IncidentResponseAttributes) SetCustomerImpactEnd ¶
func (o *IncidentResponseAttributes) SetCustomerImpactEnd(v time.Time)
SetCustomerImpactEnd gets a reference to the given NullableTime and assigns it to the CustomerImpactEnd field.
func (*IncidentResponseAttributes) SetCustomerImpactEndNil ¶
func (o *IncidentResponseAttributes) SetCustomerImpactEndNil()
SetCustomerImpactEndNil sets the value for CustomerImpactEnd to be an explicit nil.
func (*IncidentResponseAttributes) SetCustomerImpactScope ¶
func (o *IncidentResponseAttributes) SetCustomerImpactScope(v string)
SetCustomerImpactScope gets a reference to the given NullableString and assigns it to the CustomerImpactScope field.
func (*IncidentResponseAttributes) SetCustomerImpactScopeNil ¶
func (o *IncidentResponseAttributes) SetCustomerImpactScopeNil()
SetCustomerImpactScopeNil sets the value for CustomerImpactScope to be an explicit nil.
func (*IncidentResponseAttributes) SetCustomerImpactStart ¶
func (o *IncidentResponseAttributes) SetCustomerImpactStart(v time.Time)
SetCustomerImpactStart gets a reference to the given NullableTime and assigns it to the CustomerImpactStart field.
func (*IncidentResponseAttributes) SetCustomerImpactStartNil ¶
func (o *IncidentResponseAttributes) SetCustomerImpactStartNil()
SetCustomerImpactStartNil sets the value for CustomerImpactStart to be an explicit nil.
func (*IncidentResponseAttributes) SetCustomerImpacted ¶
func (o *IncidentResponseAttributes) SetCustomerImpacted(v bool)
SetCustomerImpacted gets a reference to the given bool and assigns it to the CustomerImpacted field.
func (*IncidentResponseAttributes) SetDetected ¶
func (o *IncidentResponseAttributes) SetDetected(v time.Time)
SetDetected gets a reference to the given NullableTime and assigns it to the Detected field.
func (*IncidentResponseAttributes) SetDetectedNil ¶
func (o *IncidentResponseAttributes) SetDetectedNil()
SetDetectedNil sets the value for Detected to be an explicit nil.
func (*IncidentResponseAttributes) SetFields ¶
func (o *IncidentResponseAttributes) SetFields(v map[string]IncidentFieldAttributes)
SetFields gets a reference to the given map[string]IncidentFieldAttributes and assigns it to the Fields field.
func (*IncidentResponseAttributes) SetModified ¶
func (o *IncidentResponseAttributes) SetModified(v time.Time)
SetModified gets a reference to the given time.Time and assigns it to the Modified field.
func (*IncidentResponseAttributes) SetNotificationHandles ¶
func (o *IncidentResponseAttributes) SetNotificationHandles(v []IncidentNotificationHandle)
SetNotificationHandles gets a reference to the given []IncidentNotificationHandle and assigns it to the NotificationHandles field.
func (*IncidentResponseAttributes) SetPostmortemId ¶
func (o *IncidentResponseAttributes) SetPostmortemId(v string)
SetPostmortemId gets a reference to the given string and assigns it to the PostmortemId field.
func (*IncidentResponseAttributes) SetPublicId ¶
func (o *IncidentResponseAttributes) SetPublicId(v int64)
SetPublicId gets a reference to the given int64 and assigns it to the PublicId field.
func (*IncidentResponseAttributes) SetResolved ¶
func (o *IncidentResponseAttributes) SetResolved(v time.Time)
SetResolved gets a reference to the given NullableTime and assigns it to the Resolved field.
func (*IncidentResponseAttributes) SetResolvedNil ¶
func (o *IncidentResponseAttributes) SetResolvedNil()
SetResolvedNil sets the value for Resolved to be an explicit nil.
func (*IncidentResponseAttributes) SetTimeToDetect ¶
func (o *IncidentResponseAttributes) SetTimeToDetect(v int64)
SetTimeToDetect gets a reference to the given int64 and assigns it to the TimeToDetect field.
func (*IncidentResponseAttributes) SetTimeToInternalResponse ¶
func (o *IncidentResponseAttributes) SetTimeToInternalResponse(v int64)
SetTimeToInternalResponse gets a reference to the given int64 and assigns it to the TimeToInternalResponse field.
func (*IncidentResponseAttributes) SetTimeToRepair ¶
func (o *IncidentResponseAttributes) SetTimeToRepair(v int64)
SetTimeToRepair gets a reference to the given int64 and assigns it to the TimeToRepair field.
func (*IncidentResponseAttributes) SetTimeToResolve ¶
func (o *IncidentResponseAttributes) SetTimeToResolve(v int64)
SetTimeToResolve gets a reference to the given int64 and assigns it to the TimeToResolve field.
func (*IncidentResponseAttributes) SetTitle ¶
func (o *IncidentResponseAttributes) SetTitle(v string)
SetTitle sets field value.
func (*IncidentResponseAttributes) UnmarshalJSON ¶
func (o *IncidentResponseAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*IncidentResponseAttributes) UnsetCustomerImpactEnd ¶
func (o *IncidentResponseAttributes) UnsetCustomerImpactEnd()
UnsetCustomerImpactEnd ensures that no value is present for CustomerImpactEnd, not even an explicit nil.
func (*IncidentResponseAttributes) UnsetCustomerImpactScope ¶
func (o *IncidentResponseAttributes) UnsetCustomerImpactScope()
UnsetCustomerImpactScope ensures that no value is present for CustomerImpactScope, not even an explicit nil.
func (*IncidentResponseAttributes) UnsetCustomerImpactStart ¶
func (o *IncidentResponseAttributes) UnsetCustomerImpactStart()
UnsetCustomerImpactStart ensures that no value is present for CustomerImpactStart, not even an explicit nil.
func (*IncidentResponseAttributes) UnsetDetected ¶
func (o *IncidentResponseAttributes) UnsetDetected()
UnsetDetected ensures that no value is present for Detected, not even an explicit nil.
func (*IncidentResponseAttributes) UnsetResolved ¶
func (o *IncidentResponseAttributes) UnsetResolved()
UnsetResolved ensures that no value is present for Resolved, not even an explicit nil.
type IncidentResponseData ¶
type IncidentResponseData struct {
// The incident's attributes from a response.
Attributes *IncidentResponseAttributes `json:"attributes,omitempty"`
// The incident's ID.
Id string `json:"id"`
// The incident's relationships from a response.
Relationships *IncidentResponseRelationships `json:"relationships,omitempty"`
// Incident resource type.
Type IncidentType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentResponseData Incident data from a response.
func NewIncidentResponseData ¶
func NewIncidentResponseData(id string, typeVar IncidentType) *IncidentResponseData
NewIncidentResponseData instantiates a new IncidentResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentResponseDataWithDefaults ¶
func NewIncidentResponseDataWithDefaults() *IncidentResponseData
NewIncidentResponseDataWithDefaults instantiates a new IncidentResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentResponseData) GetAttributes ¶
func (o *IncidentResponseData) GetAttributes() IncidentResponseAttributes
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 ¶
func (o *IncidentResponseData) GetRelationships() IncidentResponseRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*IncidentResponseData) GetRelationshipsOk ¶
func (o *IncidentResponseData) GetRelationshipsOk() (*IncidentResponseRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseData) GetType ¶
func (o *IncidentResponseData) GetType() IncidentType
GetType returns the Type field value.
func (*IncidentResponseData) GetTypeOk ¶
func (o *IncidentResponseData) GetTypeOk() (*IncidentType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IncidentResponseData) HasAttributes ¶
func (o *IncidentResponseData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*IncidentResponseData) HasRelationships ¶
func (o *IncidentResponseData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (IncidentResponseData) MarshalJSON ¶
func (o IncidentResponseData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentResponseData) SetAttributes ¶
func (o *IncidentResponseData) SetAttributes(v IncidentResponseAttributes)
SetAttributes gets a reference to the given IncidentResponseAttributes and assigns it to the Attributes field.
func (*IncidentResponseData) SetId ¶
func (o *IncidentResponseData) SetId(v string)
SetId sets field value.
func (*IncidentResponseData) SetRelationships ¶
func (o *IncidentResponseData) SetRelationships(v IncidentResponseRelationships)
SetRelationships gets a reference to the given IncidentResponseRelationships and assigns it to the Relationships field.
func (*IncidentResponseData) SetType ¶
func (o *IncidentResponseData) SetType(v IncidentType)
SetType sets field value.
func (*IncidentResponseData) UnmarshalJSON ¶
func (o *IncidentResponseData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentResponseIncludedItem ¶
type IncidentResponseIncludedItem struct {
User *User
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
IncidentResponseIncludedItem - An object related to an incident that is included in the response.
func UserAsIncidentResponseIncludedItem ¶
func UserAsIncidentResponseIncludedItem(v *User) IncidentResponseIncludedItem
UserAsIncidentResponseIncludedItem is a convenience function that returns User wrapped in IncidentResponseIncludedItem.
func (*IncidentResponseIncludedItem) GetActualInstance ¶
func (obj *IncidentResponseIncludedItem) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (IncidentResponseIncludedItem) MarshalJSON ¶
func (obj IncidentResponseIncludedItem) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*IncidentResponseIncludedItem) UnmarshalJSON ¶
func (obj *IncidentResponseIncludedItem) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type IncidentResponseMeta ¶ added in v1.9.0
type IncidentResponseMeta struct {
// Pagination properties.
Pagination *IncidentResponseMetaPagination `json:"pagination,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentResponseMeta The metadata object containing pagination metadata.
func NewIncidentResponseMeta ¶ added in v1.9.0
func NewIncidentResponseMeta() *IncidentResponseMeta
NewIncidentResponseMeta instantiates a new IncidentResponseMeta object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentResponseMetaWithDefaults ¶ added in v1.9.0
func NewIncidentResponseMetaWithDefaults() *IncidentResponseMeta
NewIncidentResponseMetaWithDefaults instantiates a new IncidentResponseMeta object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentResponseMeta) GetPagination ¶ added in v1.9.0
func (o *IncidentResponseMeta) GetPagination() IncidentResponseMetaPagination
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*IncidentResponseMeta) GetPaginationOk ¶ added in v1.9.0
func (o *IncidentResponseMeta) GetPaginationOk() (*IncidentResponseMetaPagination, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseMeta) HasPagination ¶ added in v1.9.0
func (o *IncidentResponseMeta) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (IncidentResponseMeta) MarshalJSON ¶ added in v1.9.0
func (o IncidentResponseMeta) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentResponseMeta) SetPagination ¶ added in v1.9.0
func (o *IncidentResponseMeta) SetPagination(v IncidentResponseMetaPagination)
SetPagination gets a reference to the given IncidentResponseMetaPagination and assigns it to the Pagination field.
func (*IncidentResponseMeta) UnmarshalJSON ¶ added in v1.9.0
func (o *IncidentResponseMeta) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentResponseMetaPagination ¶ added in v1.9.0
type IncidentResponseMetaPagination struct {
// The index of the first element in the next page of results. Equal to page size added to the current offset.
NextOffset *int64 `json:"next_offset,omitempty"`
// The index of the first element in the results.
Offset *int64 `json:"offset,omitempty"`
// Maximum size of pages to return.
Size *int64 `json:"size,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentResponseMetaPagination Pagination properties.
func NewIncidentResponseMetaPagination ¶ added in v1.9.0
func NewIncidentResponseMetaPagination() *IncidentResponseMetaPagination
NewIncidentResponseMetaPagination instantiates a new IncidentResponseMetaPagination object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentResponseMetaPaginationWithDefaults ¶ added in v1.9.0
func NewIncidentResponseMetaPaginationWithDefaults() *IncidentResponseMetaPagination
NewIncidentResponseMetaPaginationWithDefaults instantiates a new IncidentResponseMetaPagination object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentResponseMetaPagination) GetNextOffset ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) GetNextOffset() int64
GetNextOffset returns the NextOffset field value if set, zero value otherwise.
func (*IncidentResponseMetaPagination) GetNextOffsetOk ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) GetNextOffsetOk() (*int64, bool)
GetNextOffsetOk returns a tuple with the NextOffset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseMetaPagination) GetOffset ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) GetOffset() int64
GetOffset returns the Offset field value if set, zero value otherwise.
func (*IncidentResponseMetaPagination) GetOffsetOk ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) GetOffsetOk() (*int64, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseMetaPagination) GetSize ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*IncidentResponseMetaPagination) GetSizeOk ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseMetaPagination) HasNextOffset ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) HasNextOffset() bool
HasNextOffset returns a boolean if a field has been set.
func (*IncidentResponseMetaPagination) HasOffset ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*IncidentResponseMetaPagination) HasSize ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) HasSize() bool
HasSize returns a boolean if a field has been set.
func (IncidentResponseMetaPagination) MarshalJSON ¶ added in v1.9.0
func (o IncidentResponseMetaPagination) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentResponseMetaPagination) SetNextOffset ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) SetNextOffset(v int64)
SetNextOffset gets a reference to the given int64 and assigns it to the NextOffset field.
func (*IncidentResponseMetaPagination) SetOffset ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) SetOffset(v int64)
SetOffset gets a reference to the given int64 and assigns it to the Offset field.
func (*IncidentResponseMetaPagination) SetSize ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*IncidentResponseMetaPagination) UnmarshalJSON ¶ added in v1.9.0
func (o *IncidentResponseMetaPagination) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentResponseRelationships ¶
type IncidentResponseRelationships struct {
// Relationship to user.
CommanderUser *NullableRelationshipToUser `json:"commander_user,omitempty"`
// Relationship to user.
CreatedByUser *RelationshipToUser `json:"created_by_user,omitempty"`
// A relationship reference for multiple integration metadata objects.
Integrations *RelationshipToIncidentIntegrationMetadatas `json:"integrations,omitempty"`
// Relationship to user.
LastModifiedByUser *RelationshipToUser `json:"last_modified_by_user,omitempty"`
// A relationship reference for postmortems.
Postmortem *RelationshipToIncidentPostmortem `json:"postmortem,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentResponseRelationships The incident's relationships from a response.
func NewIncidentResponseRelationships ¶
func NewIncidentResponseRelationships() *IncidentResponseRelationships
NewIncidentResponseRelationships instantiates a new IncidentResponseRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentResponseRelationshipsWithDefaults ¶
func NewIncidentResponseRelationshipsWithDefaults() *IncidentResponseRelationships
NewIncidentResponseRelationshipsWithDefaults instantiates a new IncidentResponseRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentResponseRelationships) GetCommanderUser ¶
func (o *IncidentResponseRelationships) GetCommanderUser() NullableRelationshipToUser
GetCommanderUser returns the CommanderUser field value if set, zero value otherwise.
func (*IncidentResponseRelationships) GetCommanderUserOk ¶
func (o *IncidentResponseRelationships) 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 (*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 ¶
func (o *IncidentResponseRelationships) GetIntegrations() RelationshipToIncidentIntegrationMetadatas
GetIntegrations returns the Integrations field value if set, zero value otherwise.
func (*IncidentResponseRelationships) GetIntegrationsOk ¶
func (o *IncidentResponseRelationships) GetIntegrationsOk() (*RelationshipToIncidentIntegrationMetadatas, bool)
GetIntegrationsOk returns a tuple with the Integrations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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 ¶
func (o *IncidentResponseRelationships) GetPostmortem() RelationshipToIncidentPostmortem
GetPostmortem returns the Postmortem field value if set, zero value otherwise.
func (*IncidentResponseRelationships) GetPostmortemOk ¶
func (o *IncidentResponseRelationships) GetPostmortemOk() (*RelationshipToIncidentPostmortem, bool)
GetPostmortemOk returns a tuple with the Postmortem field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentResponseRelationships) HasCommanderUser ¶
func (o *IncidentResponseRelationships) HasCommanderUser() bool
HasCommanderUser returns a boolean if a field has been set.
func (*IncidentResponseRelationships) HasCreatedByUser ¶
func (o *IncidentResponseRelationships) HasCreatedByUser() bool
HasCreatedByUser returns a boolean if a field has been set.
func (*IncidentResponseRelationships) HasIntegrations ¶
func (o *IncidentResponseRelationships) HasIntegrations() bool
HasIntegrations returns a boolean if a field has been set.
func (*IncidentResponseRelationships) HasLastModifiedByUser ¶
func (o *IncidentResponseRelationships) HasLastModifiedByUser() bool
HasLastModifiedByUser returns a boolean if a field has been set.
func (*IncidentResponseRelationships) HasPostmortem ¶
func (o *IncidentResponseRelationships) HasPostmortem() bool
HasPostmortem returns a boolean if a field has been set.
func (IncidentResponseRelationships) MarshalJSON ¶
func (o IncidentResponseRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentResponseRelationships) SetCommanderUser ¶
func (o *IncidentResponseRelationships) SetCommanderUser(v NullableRelationshipToUser)
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 ¶
func (o *IncidentResponseRelationships) SetIntegrations(v RelationshipToIncidentIntegrationMetadatas)
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 ¶
func (o *IncidentResponseRelationships) SetPostmortem(v RelationshipToIncidentPostmortem)
SetPostmortem gets a reference to the given RelationshipToIncidentPostmortem and assigns it to the Postmortem field.
func (*IncidentResponseRelationships) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentResponseRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentServiceCreateAttributes ¶
type IncidentServiceCreateAttributes struct {
// Name of the incident service.
Name string `json:"name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentServiceCreateAttributes The incident service's attributes for a create request.
func NewIncidentServiceCreateAttributes ¶
func NewIncidentServiceCreateAttributes(name string) *IncidentServiceCreateAttributes
NewIncidentServiceCreateAttributes instantiates a new IncidentServiceCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentServiceCreateAttributesWithDefaults ¶
func NewIncidentServiceCreateAttributesWithDefaults() *IncidentServiceCreateAttributes
NewIncidentServiceCreateAttributesWithDefaults instantiates a new IncidentServiceCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentServiceCreateAttributes) GetName ¶
func (o *IncidentServiceCreateAttributes) GetName() string
GetName returns the Name field value.
func (*IncidentServiceCreateAttributes) GetNameOk ¶
func (o *IncidentServiceCreateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (IncidentServiceCreateAttributes) MarshalJSON ¶
func (o IncidentServiceCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentServiceCreateAttributes) SetName ¶
func (o *IncidentServiceCreateAttributes) SetName(v string)
SetName sets field value.
func (*IncidentServiceCreateAttributes) UnmarshalJSON ¶
func (o *IncidentServiceCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentServiceCreateData ¶
type IncidentServiceCreateData struct {
// The incident service's attributes for a create request.
Attributes *IncidentServiceCreateAttributes `json:"attributes,omitempty"`
// The incident service's relationships.
Relationships *IncidentServiceRelationships `json:"relationships,omitempty"`
// Incident service resource type.
Type IncidentServiceType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentServiceCreateData Incident Service payload for create requests.
func NewIncidentServiceCreateData ¶
func NewIncidentServiceCreateData(typeVar IncidentServiceType) *IncidentServiceCreateData
NewIncidentServiceCreateData instantiates a new IncidentServiceCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentServiceCreateDataWithDefaults ¶
func NewIncidentServiceCreateDataWithDefaults() *IncidentServiceCreateData
NewIncidentServiceCreateDataWithDefaults instantiates a new IncidentServiceCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentServiceCreateData) GetAttributes ¶
func (o *IncidentServiceCreateData) GetAttributes() IncidentServiceCreateAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*IncidentServiceCreateData) GetAttributesOk ¶
func (o *IncidentServiceCreateData) GetAttributesOk() (*IncidentServiceCreateAttributes, 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 (*IncidentServiceCreateData) GetRelationships ¶
func (o *IncidentServiceCreateData) GetRelationships() IncidentServiceRelationships
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 ¶
func (o *IncidentServiceCreateData) GetType() IncidentServiceType
GetType returns the Type field value.
func (*IncidentServiceCreateData) GetTypeOk ¶
func (o *IncidentServiceCreateData) GetTypeOk() (*IncidentServiceType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IncidentServiceCreateData) HasAttributes ¶
func (o *IncidentServiceCreateData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*IncidentServiceCreateData) HasRelationships ¶
func (o *IncidentServiceCreateData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (IncidentServiceCreateData) MarshalJSON ¶
func (o IncidentServiceCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentServiceCreateData) SetAttributes ¶
func (o *IncidentServiceCreateData) SetAttributes(v IncidentServiceCreateAttributes)
SetAttributes gets a reference to the given IncidentServiceCreateAttributes and assigns it to the Attributes field.
func (*IncidentServiceCreateData) SetRelationships ¶
func (o *IncidentServiceCreateData) SetRelationships(v IncidentServiceRelationships)
SetRelationships gets a reference to the given IncidentServiceRelationships and assigns it to the Relationships field.
func (*IncidentServiceCreateData) SetType ¶
func (o *IncidentServiceCreateData) SetType(v IncidentServiceType)
SetType sets field value.
func (*IncidentServiceCreateData) UnmarshalJSON ¶
func (o *IncidentServiceCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentServiceCreateRequest ¶
type IncidentServiceCreateRequest struct {
// Incident Service payload for create requests.
Data IncidentServiceCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentServiceCreateRequest Create request with an incident service payload.
func NewIncidentServiceCreateRequest ¶
func NewIncidentServiceCreateRequest(data IncidentServiceCreateData) *IncidentServiceCreateRequest
NewIncidentServiceCreateRequest instantiates a new IncidentServiceCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentServiceCreateRequestWithDefaults ¶
func NewIncidentServiceCreateRequestWithDefaults() *IncidentServiceCreateRequest
NewIncidentServiceCreateRequestWithDefaults instantiates a new IncidentServiceCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentServiceCreateRequest) GetData ¶
func (o *IncidentServiceCreateRequest) GetData() IncidentServiceCreateData
GetData returns the Data field value.
func (*IncidentServiceCreateRequest) GetDataOk ¶
func (o *IncidentServiceCreateRequest) GetDataOk() (*IncidentServiceCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (IncidentServiceCreateRequest) MarshalJSON ¶
func (o IncidentServiceCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentServiceCreateRequest) SetData ¶
func (o *IncidentServiceCreateRequest) SetData(v IncidentServiceCreateData)
SetData sets field value.
func (*IncidentServiceCreateRequest) UnmarshalJSON ¶
func (o *IncidentServiceCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentServiceIncludedItems ¶
type IncidentServiceIncludedItems struct {
User *User
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
IncidentServiceIncludedItems - An object related to an incident service which is present in the included payload.
func UserAsIncidentServiceIncludedItems ¶
func UserAsIncidentServiceIncludedItems(v *User) IncidentServiceIncludedItems
UserAsIncidentServiceIncludedItems is a convenience function that returns User wrapped in IncidentServiceIncludedItems.
func (*IncidentServiceIncludedItems) GetActualInstance ¶
func (obj *IncidentServiceIncludedItems) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (IncidentServiceIncludedItems) MarshalJSON ¶
func (obj IncidentServiceIncludedItems) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*IncidentServiceIncludedItems) UnmarshalJSON ¶
func (obj *IncidentServiceIncludedItems) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type IncidentServiceRelationships ¶
type IncidentServiceRelationships struct {
// Relationship to user.
CreatedBy *RelationshipToUser `json:"created_by,omitempty"`
// Relationship to user.
LastModifiedBy *RelationshipToUser `json:"last_modified_by,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentServiceRelationships The incident service's relationships.
func NewIncidentServiceRelationships ¶
func NewIncidentServiceRelationships() *IncidentServiceRelationships
NewIncidentServiceRelationships instantiates a new IncidentServiceRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentServiceRelationshipsWithDefaults ¶
func NewIncidentServiceRelationshipsWithDefaults() *IncidentServiceRelationships
NewIncidentServiceRelationshipsWithDefaults instantiates a new IncidentServiceRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentServiceRelationships) GetCreatedBy ¶
func (o *IncidentServiceRelationships) GetCreatedBy() RelationshipToUser
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*IncidentServiceRelationships) GetCreatedByOk ¶
func (o *IncidentServiceRelationships) GetCreatedByOk() (*RelationshipToUser, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentServiceRelationships) GetLastModifiedBy ¶
func (o *IncidentServiceRelationships) GetLastModifiedBy() RelationshipToUser
GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.
func (*IncidentServiceRelationships) GetLastModifiedByOk ¶
func (o *IncidentServiceRelationships) GetLastModifiedByOk() (*RelationshipToUser, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentServiceRelationships) HasCreatedBy ¶
func (o *IncidentServiceRelationships) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*IncidentServiceRelationships) HasLastModifiedBy ¶
func (o *IncidentServiceRelationships) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (IncidentServiceRelationships) MarshalJSON ¶
func (o IncidentServiceRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentServiceRelationships) SetCreatedBy ¶
func (o *IncidentServiceRelationships) SetCreatedBy(v RelationshipToUser)
SetCreatedBy gets a reference to the given RelationshipToUser and assigns it to the CreatedBy field.
func (*IncidentServiceRelationships) SetLastModifiedBy ¶
func (o *IncidentServiceRelationships) SetLastModifiedBy(v RelationshipToUser)
SetLastModifiedBy gets a reference to the given RelationshipToUser and assigns it to the LastModifiedBy field.
func (*IncidentServiceRelationships) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentServiceRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentServiceResponse ¶
type IncidentServiceResponse struct {
// Incident Service data from responses.
Data IncidentServiceResponseData `json:"data"`
// Included objects from relationships.
Included []IncidentServiceIncludedItems `json:"included,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentServiceResponse Response with an incident service payload.
func NewIncidentServiceResponse ¶
func NewIncidentServiceResponse(data IncidentServiceResponseData) *IncidentServiceResponse
NewIncidentServiceResponse instantiates a new IncidentServiceResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentServiceResponseWithDefaults ¶
func NewIncidentServiceResponseWithDefaults() *IncidentServiceResponse
NewIncidentServiceResponseWithDefaults instantiates a new IncidentServiceResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentServiceResponse) GetData ¶
func (o *IncidentServiceResponse) GetData() IncidentServiceResponseData
GetData returns the Data field value.
func (*IncidentServiceResponse) GetDataOk ¶
func (o *IncidentServiceResponse) GetDataOk() (*IncidentServiceResponseData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*IncidentServiceResponse) GetIncluded ¶
func (o *IncidentServiceResponse) GetIncluded() []IncidentServiceIncludedItems
GetIncluded returns the Included field value if set, zero value otherwise.
func (*IncidentServiceResponse) GetIncludedOk ¶
func (o *IncidentServiceResponse) GetIncludedOk() (*[]IncidentServiceIncludedItems, 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 (*IncidentServiceResponse) HasIncluded ¶
func (o *IncidentServiceResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (IncidentServiceResponse) MarshalJSON ¶
func (o IncidentServiceResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentServiceResponse) SetData ¶
func (o *IncidentServiceResponse) SetData(v IncidentServiceResponseData)
SetData sets field value.
func (*IncidentServiceResponse) SetIncluded ¶
func (o *IncidentServiceResponse) SetIncluded(v []IncidentServiceIncludedItems)
SetIncluded gets a reference to the given []IncidentServiceIncludedItems and assigns it to the Included field.
func (*IncidentServiceResponse) UnmarshalJSON ¶
func (o *IncidentServiceResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentServiceResponseAttributes ¶
type IncidentServiceResponseAttributes struct {
// Timestamp of when the incident service was created.
Created *time.Time `json:"created,omitempty"`
// Timestamp of when the incident service was modified.
Modified *time.Time `json:"modified,omitempty"`
// Name of the incident service.
Name *string `json:"name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentServiceResponseAttributes The incident service's attributes from a response.
func NewIncidentServiceResponseAttributes ¶
func NewIncidentServiceResponseAttributes() *IncidentServiceResponseAttributes
NewIncidentServiceResponseAttributes instantiates a new IncidentServiceResponseAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentServiceResponseAttributesWithDefaults ¶
func NewIncidentServiceResponseAttributesWithDefaults() *IncidentServiceResponseAttributes
NewIncidentServiceResponseAttributesWithDefaults instantiates a new IncidentServiceResponseAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentServiceResponseAttributes) GetCreated ¶
func (o *IncidentServiceResponseAttributes) GetCreated() time.Time
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 ¶
func (o *IncidentServiceResponseAttributes) GetName() string
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 ¶
func (o *IncidentServiceResponseAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (IncidentServiceResponseAttributes) MarshalJSON ¶
func (o IncidentServiceResponseAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentServiceResponseAttributes) SetCreated ¶
func (o *IncidentServiceResponseAttributes) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (*IncidentServiceResponseAttributes) SetModified ¶
func (o *IncidentServiceResponseAttributes) SetModified(v time.Time)
SetModified gets a reference to the given time.Time and assigns it to the Modified field.
func (*IncidentServiceResponseAttributes) SetName ¶
func (o *IncidentServiceResponseAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*IncidentServiceResponseAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentServiceResponseAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentServiceResponseData ¶
type IncidentServiceResponseData struct {
// The incident service's attributes from a response.
Attributes *IncidentServiceResponseAttributes `json:"attributes,omitempty"`
// The incident service's ID.
Id string `json:"id"`
// The incident service's relationships.
Relationships *IncidentServiceRelationships `json:"relationships,omitempty"`
// Incident service resource type.
Type IncidentServiceType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentServiceResponseData Incident Service data from responses.
func NewIncidentServiceResponseData ¶
func NewIncidentServiceResponseData(id string, typeVar IncidentServiceType) *IncidentServiceResponseData
NewIncidentServiceResponseData instantiates a new IncidentServiceResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentServiceResponseDataWithDefaults ¶
func NewIncidentServiceResponseDataWithDefaults() *IncidentServiceResponseData
NewIncidentServiceResponseDataWithDefaults instantiates a new IncidentServiceResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentServiceResponseData) GetAttributes ¶
func (o *IncidentServiceResponseData) GetAttributes() IncidentServiceResponseAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*IncidentServiceResponseData) GetAttributesOk ¶
func (o *IncidentServiceResponseData) GetAttributesOk() (*IncidentServiceResponseAttributes, 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 (*IncidentServiceResponseData) GetId ¶
func (o *IncidentServiceResponseData) GetId() string
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 ¶
func (o *IncidentServiceResponseData) GetRelationships() IncidentServiceRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*IncidentServiceResponseData) GetRelationshipsOk ¶
func (o *IncidentServiceResponseData) 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 (*IncidentServiceResponseData) GetType ¶
func (o *IncidentServiceResponseData) GetType() IncidentServiceType
GetType returns the Type field value.
func (*IncidentServiceResponseData) GetTypeOk ¶
func (o *IncidentServiceResponseData) GetTypeOk() (*IncidentServiceType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IncidentServiceResponseData) HasAttributes ¶
func (o *IncidentServiceResponseData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*IncidentServiceResponseData) HasRelationships ¶
func (o *IncidentServiceResponseData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (IncidentServiceResponseData) MarshalJSON ¶
func (o IncidentServiceResponseData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentServiceResponseData) SetAttributes ¶
func (o *IncidentServiceResponseData) SetAttributes(v IncidentServiceResponseAttributes)
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 ¶
func (o *IncidentServiceResponseData) SetRelationships(v IncidentServiceRelationships)
SetRelationships gets a reference to the given IncidentServiceRelationships and assigns it to the Relationships field.
func (*IncidentServiceResponseData) SetType ¶
func (o *IncidentServiceResponseData) SetType(v IncidentServiceType)
SetType sets field value.
func (*IncidentServiceResponseData) UnmarshalJSON ¶
func (o *IncidentServiceResponseData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentServiceType ¶
type IncidentServiceType string
IncidentServiceType Incident service resource type.
const (
INCIDENTSERVICETYPE_SERVICES IncidentServiceType = "services"
)
List of IncidentServiceType.
func NewIncidentServiceTypeFromValue ¶
func NewIncidentServiceTypeFromValue(v string) (*IncidentServiceType, error)
NewIncidentServiceTypeFromValue returns a pointer to a valid IncidentServiceType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*IncidentServiceType) GetAllowedValues ¶ added in v1.1.0
func (v *IncidentServiceType) GetAllowedValues() []IncidentServiceType
GetAllowedValues reeturns the list of possible values.
func (IncidentServiceType) IsValid ¶
func (v IncidentServiceType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (IncidentServiceType) Ptr ¶
func (v IncidentServiceType) Ptr() *IncidentServiceType
Ptr returns reference to IncidentServiceType value.
func (*IncidentServiceType) UnmarshalJSON ¶
func (v *IncidentServiceType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type IncidentServiceUpdateAttributes ¶
type IncidentServiceUpdateAttributes struct {
// Name of the incident service.
Name string `json:"name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentServiceUpdateAttributes The incident service's attributes for an update request.
func NewIncidentServiceUpdateAttributes ¶
func NewIncidentServiceUpdateAttributes(name string) *IncidentServiceUpdateAttributes
NewIncidentServiceUpdateAttributes instantiates a new IncidentServiceUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentServiceUpdateAttributesWithDefaults ¶
func NewIncidentServiceUpdateAttributesWithDefaults() *IncidentServiceUpdateAttributes
NewIncidentServiceUpdateAttributesWithDefaults instantiates a new IncidentServiceUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentServiceUpdateAttributes) GetName ¶
func (o *IncidentServiceUpdateAttributes) GetName() string
GetName returns the Name field value.
func (*IncidentServiceUpdateAttributes) GetNameOk ¶
func (o *IncidentServiceUpdateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (IncidentServiceUpdateAttributes) MarshalJSON ¶
func (o IncidentServiceUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentServiceUpdateAttributes) SetName ¶
func (o *IncidentServiceUpdateAttributes) SetName(v string)
SetName sets field value.
func (*IncidentServiceUpdateAttributes) UnmarshalJSON ¶
func (o *IncidentServiceUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentServiceUpdateData ¶
type IncidentServiceUpdateData struct {
// The incident service's attributes for an update request.
Attributes *IncidentServiceUpdateAttributes `json:"attributes,omitempty"`
// The incident service's ID.
Id *string `json:"id,omitempty"`
// The incident service's relationships.
Relationships *IncidentServiceRelationships `json:"relationships,omitempty"`
// Incident service resource type.
Type IncidentServiceType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentServiceUpdateData Incident Service payload for update requests.
func NewIncidentServiceUpdateData ¶
func NewIncidentServiceUpdateData(typeVar IncidentServiceType) *IncidentServiceUpdateData
NewIncidentServiceUpdateData instantiates a new IncidentServiceUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentServiceUpdateDataWithDefaults ¶
func NewIncidentServiceUpdateDataWithDefaults() *IncidentServiceUpdateData
NewIncidentServiceUpdateDataWithDefaults instantiates a new IncidentServiceUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentServiceUpdateData) GetAttributes ¶
func (o *IncidentServiceUpdateData) GetAttributes() IncidentServiceUpdateAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*IncidentServiceUpdateData) GetAttributesOk ¶
func (o *IncidentServiceUpdateData) GetAttributesOk() (*IncidentServiceUpdateAttributes, 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 (*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 ¶
func (o *IncidentServiceUpdateData) GetRelationships() IncidentServiceRelationships
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 ¶
func (o *IncidentServiceUpdateData) GetType() IncidentServiceType
GetType returns the Type field value.
func (*IncidentServiceUpdateData) GetTypeOk ¶
func (o *IncidentServiceUpdateData) GetTypeOk() (*IncidentServiceType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IncidentServiceUpdateData) HasAttributes ¶
func (o *IncidentServiceUpdateData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*IncidentServiceUpdateData) HasId ¶
func (o *IncidentServiceUpdateData) HasId() bool
HasId returns a boolean if a field has been set.
func (*IncidentServiceUpdateData) HasRelationships ¶
func (o *IncidentServiceUpdateData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (IncidentServiceUpdateData) MarshalJSON ¶
func (o IncidentServiceUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentServiceUpdateData) SetAttributes ¶
func (o *IncidentServiceUpdateData) SetAttributes(v IncidentServiceUpdateAttributes)
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 ¶
func (o *IncidentServiceUpdateData) SetRelationships(v IncidentServiceRelationships)
SetRelationships gets a reference to the given IncidentServiceRelationships and assigns it to the Relationships field.
func (*IncidentServiceUpdateData) SetType ¶
func (o *IncidentServiceUpdateData) SetType(v IncidentServiceType)
SetType sets field value.
func (*IncidentServiceUpdateData) UnmarshalJSON ¶
func (o *IncidentServiceUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentServiceUpdateRequest ¶
type IncidentServiceUpdateRequest struct {
// Incident Service payload for update requests.
Data IncidentServiceUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentServiceUpdateRequest Update request with an incident service payload.
func NewIncidentServiceUpdateRequest ¶
func NewIncidentServiceUpdateRequest(data IncidentServiceUpdateData) *IncidentServiceUpdateRequest
NewIncidentServiceUpdateRequest instantiates a new IncidentServiceUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentServiceUpdateRequestWithDefaults ¶
func NewIncidentServiceUpdateRequestWithDefaults() *IncidentServiceUpdateRequest
NewIncidentServiceUpdateRequestWithDefaults instantiates a new IncidentServiceUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentServiceUpdateRequest) GetData ¶
func (o *IncidentServiceUpdateRequest) GetData() IncidentServiceUpdateData
GetData returns the Data field value.
func (*IncidentServiceUpdateRequest) GetDataOk ¶
func (o *IncidentServiceUpdateRequest) GetDataOk() (*IncidentServiceUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (IncidentServiceUpdateRequest) MarshalJSON ¶
func (o IncidentServiceUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentServiceUpdateRequest) SetData ¶
func (o *IncidentServiceUpdateRequest) SetData(v IncidentServiceUpdateData)
SetData sets field value.
func (*IncidentServiceUpdateRequest) UnmarshalJSON ¶
func (o *IncidentServiceUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentServicesApiService ¶
type IncidentServicesApiService service
IncidentServicesApiService IncidentServicesApi service.
func (*IncidentServicesApiService) CreateIncidentService ¶
func (a *IncidentServicesApiService) CreateIncidentService(ctx _context.Context, body IncidentServiceCreateRequest) (IncidentServiceResponse, *_nethttp.Response, error)
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 ¶
func (a *IncidentServicesApiService) GetIncidentService(ctx _context.Context, serviceId string, o ...GetIncidentServiceOptionalParameters) (IncidentServiceResponse, *_nethttp.Response, error)
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 ¶
func (a *IncidentServicesApiService) ListIncidentServices(ctx _context.Context, o ...ListIncidentServicesOptionalParameters) (IncidentServicesResponse, *_nethttp.Response, error)
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 ¶
func (a *IncidentServicesApiService) UpdateIncidentService(ctx _context.Context, serviceId string, body IncidentServiceUpdateRequest) (IncidentServiceResponse, *_nethttp.Response, error)
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 ¶
func (o *IncidentServicesResponse) GetData() []IncidentServiceResponseData
GetData returns the Data field value.
func (*IncidentServicesResponse) GetDataOk ¶
func (o *IncidentServicesResponse) GetDataOk() (*[]IncidentServiceResponseData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*IncidentServicesResponse) GetIncluded ¶
func (o *IncidentServicesResponse) GetIncluded() []IncidentServiceIncludedItems
GetIncluded returns the Included field value if set, zero value otherwise.
func (*IncidentServicesResponse) GetIncludedOk ¶
func (o *IncidentServicesResponse) GetIncludedOk() (*[]IncidentServiceIncludedItems, 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 (*IncidentServicesResponse) GetMeta ¶
func (o *IncidentServicesResponse) GetMeta() IncidentResponseMeta
GetMeta returns the Meta field value if set, zero value otherwise.
func (*IncidentServicesResponse) GetMetaOk ¶
func (o *IncidentServicesResponse) 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 (*IncidentServicesResponse) HasIncluded ¶
func (o *IncidentServicesResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (*IncidentServicesResponse) HasMeta ¶
func (o *IncidentServicesResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (IncidentServicesResponse) MarshalJSON ¶
func (o IncidentServicesResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentServicesResponse) SetData ¶
func (o *IncidentServicesResponse) SetData(v []IncidentServiceResponseData)
SetData sets field value.
func (*IncidentServicesResponse) SetIncluded ¶
func (o *IncidentServicesResponse) SetIncluded(v []IncidentServiceIncludedItems)
SetIncluded gets a reference to the given []IncidentServiceIncludedItems and assigns it to the Included field.
func (*IncidentServicesResponse) SetMeta ¶
func (o *IncidentServicesResponse) SetMeta(v IncidentResponseMeta)
SetMeta gets a reference to the given IncidentResponseMeta and assigns it to the Meta field.
func (*IncidentServicesResponse) UnmarshalJSON ¶
func (o *IncidentServicesResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTeamCreateAttributes ¶
type IncidentTeamCreateAttributes struct {
// Name of the incident team.
Name string `json:"name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTeamCreateAttributes The incident team's attributes for a create request.
func NewIncidentTeamCreateAttributes ¶
func NewIncidentTeamCreateAttributes(name string) *IncidentTeamCreateAttributes
NewIncidentTeamCreateAttributes instantiates a new IncidentTeamCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentTeamCreateAttributesWithDefaults ¶
func NewIncidentTeamCreateAttributesWithDefaults() *IncidentTeamCreateAttributes
NewIncidentTeamCreateAttributesWithDefaults instantiates a new IncidentTeamCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentTeamCreateAttributes) GetName ¶
func (o *IncidentTeamCreateAttributes) GetName() string
GetName returns the Name field value.
func (*IncidentTeamCreateAttributes) GetNameOk ¶
func (o *IncidentTeamCreateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (IncidentTeamCreateAttributes) MarshalJSON ¶
func (o IncidentTeamCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTeamCreateAttributes) SetName ¶
func (o *IncidentTeamCreateAttributes) SetName(v string)
SetName sets field value.
func (*IncidentTeamCreateAttributes) UnmarshalJSON ¶
func (o *IncidentTeamCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTeamCreateData ¶
type IncidentTeamCreateData struct {
// The incident team's attributes for a create request.
Attributes *IncidentTeamCreateAttributes `json:"attributes,omitempty"`
// The incident team's relationships.
Relationships *IncidentTeamRelationships `json:"relationships,omitempty"`
// Incident Team resource type.
Type IncidentTeamType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTeamCreateData Incident Team data for a create request.
func NewIncidentTeamCreateData ¶
func NewIncidentTeamCreateData(typeVar IncidentTeamType) *IncidentTeamCreateData
NewIncidentTeamCreateData instantiates a new IncidentTeamCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentTeamCreateDataWithDefaults ¶
func NewIncidentTeamCreateDataWithDefaults() *IncidentTeamCreateData
NewIncidentTeamCreateDataWithDefaults instantiates a new IncidentTeamCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentTeamCreateData) GetAttributes ¶
func (o *IncidentTeamCreateData) GetAttributes() IncidentTeamCreateAttributes
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 ¶
func (o *IncidentTeamCreateData) GetType() IncidentTeamType
GetType returns the Type field value.
func (*IncidentTeamCreateData) GetTypeOk ¶
func (o *IncidentTeamCreateData) GetTypeOk() (*IncidentTeamType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IncidentTeamCreateData) HasAttributes ¶
func (o *IncidentTeamCreateData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*IncidentTeamCreateData) HasRelationships ¶
func (o *IncidentTeamCreateData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (IncidentTeamCreateData) MarshalJSON ¶
func (o IncidentTeamCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTeamCreateData) SetAttributes ¶
func (o *IncidentTeamCreateData) SetAttributes(v IncidentTeamCreateAttributes)
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 ¶
func (o *IncidentTeamCreateData) SetType(v IncidentTeamType)
SetType sets field value.
func (*IncidentTeamCreateData) UnmarshalJSON ¶
func (o *IncidentTeamCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTeamCreateRequest ¶
type IncidentTeamCreateRequest struct {
// Incident Team data for a create request.
Data IncidentTeamCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTeamCreateRequest Create request with an incident team payload.
func NewIncidentTeamCreateRequest ¶
func NewIncidentTeamCreateRequest(data IncidentTeamCreateData) *IncidentTeamCreateRequest
NewIncidentTeamCreateRequest instantiates a new IncidentTeamCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentTeamCreateRequestWithDefaults ¶
func NewIncidentTeamCreateRequestWithDefaults() *IncidentTeamCreateRequest
NewIncidentTeamCreateRequestWithDefaults instantiates a new IncidentTeamCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentTeamCreateRequest) GetData ¶
func (o *IncidentTeamCreateRequest) GetData() IncidentTeamCreateData
GetData returns the Data field value.
func (*IncidentTeamCreateRequest) GetDataOk ¶
func (o *IncidentTeamCreateRequest) GetDataOk() (*IncidentTeamCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (IncidentTeamCreateRequest) MarshalJSON ¶
func (o IncidentTeamCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTeamCreateRequest) SetData ¶
func (o *IncidentTeamCreateRequest) SetData(v IncidentTeamCreateData)
SetData sets field value.
func (*IncidentTeamCreateRequest) UnmarshalJSON ¶
func (o *IncidentTeamCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTeamIncludedItems ¶
type IncidentTeamIncludedItems struct {
User *User
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
IncidentTeamIncludedItems - An object related to an incident team which is present in the included payload.
func UserAsIncidentTeamIncludedItems ¶
func UserAsIncidentTeamIncludedItems(v *User) IncidentTeamIncludedItems
UserAsIncidentTeamIncludedItems is a convenience function that returns User wrapped in IncidentTeamIncludedItems.
func (*IncidentTeamIncludedItems) GetActualInstance ¶
func (obj *IncidentTeamIncludedItems) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (IncidentTeamIncludedItems) MarshalJSON ¶
func (obj IncidentTeamIncludedItems) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*IncidentTeamIncludedItems) UnmarshalJSON ¶
func (obj *IncidentTeamIncludedItems) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type IncidentTeamRelationships ¶
type IncidentTeamRelationships struct {
// Relationship to user.
CreatedBy *RelationshipToUser `json:"created_by,omitempty"`
// Relationship to user.
LastModifiedBy *RelationshipToUser `json:"last_modified_by,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTeamRelationships The incident team's relationships.
func NewIncidentTeamRelationships ¶
func NewIncidentTeamRelationships() *IncidentTeamRelationships
NewIncidentTeamRelationships instantiates a new IncidentTeamRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentTeamRelationshipsWithDefaults ¶
func NewIncidentTeamRelationshipsWithDefaults() *IncidentTeamRelationships
NewIncidentTeamRelationshipsWithDefaults instantiates a new IncidentTeamRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentTeamRelationships) GetCreatedBy ¶
func (o *IncidentTeamRelationships) GetCreatedBy() RelationshipToUser
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*IncidentTeamRelationships) GetCreatedByOk ¶
func (o *IncidentTeamRelationships) GetCreatedByOk() (*RelationshipToUser, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentTeamRelationships) GetLastModifiedBy ¶
func (o *IncidentTeamRelationships) GetLastModifiedBy() RelationshipToUser
GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.
func (*IncidentTeamRelationships) GetLastModifiedByOk ¶
func (o *IncidentTeamRelationships) GetLastModifiedByOk() (*RelationshipToUser, bool)
GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentTeamRelationships) HasCreatedBy ¶
func (o *IncidentTeamRelationships) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*IncidentTeamRelationships) HasLastModifiedBy ¶
func (o *IncidentTeamRelationships) HasLastModifiedBy() bool
HasLastModifiedBy returns a boolean if a field has been set.
func (IncidentTeamRelationships) MarshalJSON ¶
func (o IncidentTeamRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTeamRelationships) SetCreatedBy ¶
func (o *IncidentTeamRelationships) SetCreatedBy(v RelationshipToUser)
SetCreatedBy gets a reference to the given RelationshipToUser and assigns it to the CreatedBy field.
func (*IncidentTeamRelationships) SetLastModifiedBy ¶
func (o *IncidentTeamRelationships) SetLastModifiedBy(v RelationshipToUser)
SetLastModifiedBy gets a reference to the given RelationshipToUser and assigns it to the LastModifiedBy field.
func (*IncidentTeamRelationships) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentTeamRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTeamResponse ¶
type IncidentTeamResponse struct {
// Incident Team data from a response.
Data IncidentTeamResponseData `json:"data"`
// Included objects from relationships.
Included []IncidentTeamIncludedItems `json:"included,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTeamResponse Response with an incident team payload.
func NewIncidentTeamResponse ¶
func NewIncidentTeamResponse(data IncidentTeamResponseData) *IncidentTeamResponse
NewIncidentTeamResponse instantiates a new IncidentTeamResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentTeamResponseWithDefaults ¶
func NewIncidentTeamResponseWithDefaults() *IncidentTeamResponse
NewIncidentTeamResponseWithDefaults instantiates a new IncidentTeamResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentTeamResponse) GetData ¶
func (o *IncidentTeamResponse) GetData() IncidentTeamResponseData
GetData returns the Data field value.
func (*IncidentTeamResponse) GetDataOk ¶
func (o *IncidentTeamResponse) GetDataOk() (*IncidentTeamResponseData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*IncidentTeamResponse) GetIncluded ¶
func (o *IncidentTeamResponse) GetIncluded() []IncidentTeamIncludedItems
GetIncluded returns the Included field value if set, zero value otherwise.
func (*IncidentTeamResponse) GetIncludedOk ¶
func (o *IncidentTeamResponse) GetIncludedOk() (*[]IncidentTeamIncludedItems, bool)
GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentTeamResponse) HasIncluded ¶
func (o *IncidentTeamResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (IncidentTeamResponse) MarshalJSON ¶
func (o IncidentTeamResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTeamResponse) SetData ¶
func (o *IncidentTeamResponse) SetData(v IncidentTeamResponseData)
SetData sets field value.
func (*IncidentTeamResponse) SetIncluded ¶
func (o *IncidentTeamResponse) SetIncluded(v []IncidentTeamIncludedItems)
SetIncluded gets a reference to the given []IncidentTeamIncludedItems and assigns it to the Included field.
func (*IncidentTeamResponse) UnmarshalJSON ¶
func (o *IncidentTeamResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTeamResponseAttributes ¶
type IncidentTeamResponseAttributes struct {
// Timestamp of when the incident team was created.
Created *time.Time `json:"created,omitempty"`
// Timestamp of when the incident team was modified.
Modified *time.Time `json:"modified,omitempty"`
// Name of the incident team.
Name *string `json:"name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTeamResponseAttributes The incident team's attributes from a response.
func NewIncidentTeamResponseAttributes ¶
func NewIncidentTeamResponseAttributes() *IncidentTeamResponseAttributes
NewIncidentTeamResponseAttributes instantiates a new IncidentTeamResponseAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentTeamResponseAttributesWithDefaults ¶
func NewIncidentTeamResponseAttributesWithDefaults() *IncidentTeamResponseAttributes
NewIncidentTeamResponseAttributesWithDefaults instantiates a new IncidentTeamResponseAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentTeamResponseAttributes) GetCreated ¶
func (o *IncidentTeamResponseAttributes) GetCreated() time.Time
GetCreated returns the Created field value if set, zero value otherwise.
func (*IncidentTeamResponseAttributes) GetCreatedOk ¶
func (o *IncidentTeamResponseAttributes) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentTeamResponseAttributes) GetModified ¶
func (o *IncidentTeamResponseAttributes) GetModified() time.Time
GetModified returns the Modified field value if set, zero value otherwise.
func (*IncidentTeamResponseAttributes) GetModifiedOk ¶
func (o *IncidentTeamResponseAttributes) GetModifiedOk() (*time.Time, bool)
GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentTeamResponseAttributes) GetName ¶
func (o *IncidentTeamResponseAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*IncidentTeamResponseAttributes) GetNameOk ¶
func (o *IncidentTeamResponseAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentTeamResponseAttributes) HasCreated ¶
func (o *IncidentTeamResponseAttributes) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*IncidentTeamResponseAttributes) HasModified ¶
func (o *IncidentTeamResponseAttributes) HasModified() bool
HasModified returns a boolean if a field has been set.
func (*IncidentTeamResponseAttributes) HasName ¶
func (o *IncidentTeamResponseAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (IncidentTeamResponseAttributes) MarshalJSON ¶
func (o IncidentTeamResponseAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTeamResponseAttributes) SetCreated ¶
func (o *IncidentTeamResponseAttributes) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (*IncidentTeamResponseAttributes) SetModified ¶
func (o *IncidentTeamResponseAttributes) SetModified(v time.Time)
SetModified gets a reference to the given time.Time and assigns it to the Modified field.
func (*IncidentTeamResponseAttributes) SetName ¶
func (o *IncidentTeamResponseAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*IncidentTeamResponseAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentTeamResponseAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTeamResponseData ¶
type IncidentTeamResponseData struct {
// The incident team's attributes from a response.
Attributes *IncidentTeamResponseAttributes `json:"attributes,omitempty"`
// The incident team's ID.
Id *string `json:"id,omitempty"`
// The incident team's relationships.
Relationships *IncidentTeamRelationships `json:"relationships,omitempty"`
// Incident Team resource type.
Type *IncidentTeamType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTeamResponseData Incident Team data from a response.
func NewIncidentTeamResponseData ¶
func NewIncidentTeamResponseData() *IncidentTeamResponseData
NewIncidentTeamResponseData instantiates a new IncidentTeamResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentTeamResponseDataWithDefaults ¶
func NewIncidentTeamResponseDataWithDefaults() *IncidentTeamResponseData
NewIncidentTeamResponseDataWithDefaults instantiates a new IncidentTeamResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentTeamResponseData) GetAttributes ¶
func (o *IncidentTeamResponseData) GetAttributes() IncidentTeamResponseAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*IncidentTeamResponseData) GetAttributesOk ¶
func (o *IncidentTeamResponseData) GetAttributesOk() (*IncidentTeamResponseAttributes, 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 (*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 ¶
func (o *IncidentTeamResponseData) GetRelationships() IncidentTeamRelationships
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 ¶
func (o *IncidentTeamResponseData) GetType() IncidentTeamType
GetType returns the Type field value if set, zero value otherwise.
func (*IncidentTeamResponseData) GetTypeOk ¶
func (o *IncidentTeamResponseData) GetTypeOk() (*IncidentTeamType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentTeamResponseData) HasAttributes ¶
func (o *IncidentTeamResponseData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*IncidentTeamResponseData) HasId ¶
func (o *IncidentTeamResponseData) HasId() bool
HasId returns a boolean if a field has been set.
func (*IncidentTeamResponseData) HasRelationships ¶
func (o *IncidentTeamResponseData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (*IncidentTeamResponseData) HasType ¶
func (o *IncidentTeamResponseData) HasType() bool
HasType returns a boolean if a field has been set.
func (IncidentTeamResponseData) MarshalJSON ¶
func (o IncidentTeamResponseData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTeamResponseData) SetAttributes ¶
func (o *IncidentTeamResponseData) SetAttributes(v IncidentTeamResponseAttributes)
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 ¶
func (o *IncidentTeamResponseData) SetType(v IncidentTeamType)
SetType gets a reference to the given IncidentTeamType and assigns it to the Type field.
func (*IncidentTeamResponseData) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentTeamResponseData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTeamType ¶
type IncidentTeamType string
IncidentTeamType Incident Team resource type.
const (
INCIDENTTEAMTYPE_TEAMS IncidentTeamType = "teams"
)
List of IncidentTeamType.
func NewIncidentTeamTypeFromValue ¶
func NewIncidentTeamTypeFromValue(v string) (*IncidentTeamType, error)
NewIncidentTeamTypeFromValue returns a pointer to a valid IncidentTeamType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*IncidentTeamType) GetAllowedValues ¶ added in v1.1.0
func (v *IncidentTeamType) GetAllowedValues() []IncidentTeamType
GetAllowedValues reeturns the list of possible values.
func (IncidentTeamType) IsValid ¶
func (v IncidentTeamType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (IncidentTeamType) Ptr ¶
func (v IncidentTeamType) Ptr() *IncidentTeamType
Ptr returns reference to IncidentTeamType value.
func (*IncidentTeamType) UnmarshalJSON ¶
func (v *IncidentTeamType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type IncidentTeamUpdateAttributes ¶
type IncidentTeamUpdateAttributes struct {
// Name of the incident team.
Name string `json:"name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTeamUpdateAttributes The incident team's attributes for an update request.
func NewIncidentTeamUpdateAttributes ¶
func NewIncidentTeamUpdateAttributes(name string) *IncidentTeamUpdateAttributes
NewIncidentTeamUpdateAttributes instantiates a new IncidentTeamUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentTeamUpdateAttributesWithDefaults ¶
func NewIncidentTeamUpdateAttributesWithDefaults() *IncidentTeamUpdateAttributes
NewIncidentTeamUpdateAttributesWithDefaults instantiates a new IncidentTeamUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentTeamUpdateAttributes) GetName ¶
func (o *IncidentTeamUpdateAttributes) GetName() string
GetName returns the Name field value.
func (*IncidentTeamUpdateAttributes) GetNameOk ¶
func (o *IncidentTeamUpdateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (IncidentTeamUpdateAttributes) MarshalJSON ¶
func (o IncidentTeamUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTeamUpdateAttributes) SetName ¶
func (o *IncidentTeamUpdateAttributes) SetName(v string)
SetName sets field value.
func (*IncidentTeamUpdateAttributes) UnmarshalJSON ¶
func (o *IncidentTeamUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTeamUpdateData ¶
type IncidentTeamUpdateData struct {
// The incident team's attributes for an update request.
Attributes *IncidentTeamUpdateAttributes `json:"attributes,omitempty"`
// The incident team's ID.
Id *string `json:"id,omitempty"`
// The incident team's relationships.
Relationships *IncidentTeamRelationships `json:"relationships,omitempty"`
// Incident Team resource type.
Type IncidentTeamType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTeamUpdateData Incident Team data for an update request.
func NewIncidentTeamUpdateData ¶
func NewIncidentTeamUpdateData(typeVar IncidentTeamType) *IncidentTeamUpdateData
NewIncidentTeamUpdateData instantiates a new IncidentTeamUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentTeamUpdateDataWithDefaults ¶
func NewIncidentTeamUpdateDataWithDefaults() *IncidentTeamUpdateData
NewIncidentTeamUpdateDataWithDefaults instantiates a new IncidentTeamUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentTeamUpdateData) GetAttributes ¶
func (o *IncidentTeamUpdateData) GetAttributes() IncidentTeamUpdateAttributes
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 ¶
func (o *IncidentTeamUpdateData) GetType() IncidentTeamType
GetType returns the Type field value.
func (*IncidentTeamUpdateData) GetTypeOk ¶
func (o *IncidentTeamUpdateData) GetTypeOk() (*IncidentTeamType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IncidentTeamUpdateData) HasAttributes ¶
func (o *IncidentTeamUpdateData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*IncidentTeamUpdateData) HasId ¶
func (o *IncidentTeamUpdateData) HasId() bool
HasId returns a boolean if a field has been set.
func (*IncidentTeamUpdateData) HasRelationships ¶
func (o *IncidentTeamUpdateData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (IncidentTeamUpdateData) MarshalJSON ¶
func (o IncidentTeamUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTeamUpdateData) SetAttributes ¶
func (o *IncidentTeamUpdateData) SetAttributes(v IncidentTeamUpdateAttributes)
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 ¶
func (o *IncidentTeamUpdateData) SetType(v IncidentTeamType)
SetType sets field value.
func (*IncidentTeamUpdateData) UnmarshalJSON ¶
func (o *IncidentTeamUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTeamUpdateRequest ¶
type IncidentTeamUpdateRequest struct {
// Incident Team data for an update request.
Data IncidentTeamUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTeamUpdateRequest Update request with an incident team payload.
func NewIncidentTeamUpdateRequest ¶
func NewIncidentTeamUpdateRequest(data IncidentTeamUpdateData) *IncidentTeamUpdateRequest
NewIncidentTeamUpdateRequest instantiates a new IncidentTeamUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentTeamUpdateRequestWithDefaults ¶
func NewIncidentTeamUpdateRequestWithDefaults() *IncidentTeamUpdateRequest
NewIncidentTeamUpdateRequestWithDefaults instantiates a new IncidentTeamUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentTeamUpdateRequest) GetData ¶
func (o *IncidentTeamUpdateRequest) GetData() IncidentTeamUpdateData
GetData returns the Data field value.
func (*IncidentTeamUpdateRequest) GetDataOk ¶
func (o *IncidentTeamUpdateRequest) GetDataOk() (*IncidentTeamUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (IncidentTeamUpdateRequest) MarshalJSON ¶
func (o IncidentTeamUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTeamUpdateRequest) SetData ¶
func (o *IncidentTeamUpdateRequest) SetData(v IncidentTeamUpdateData)
SetData sets field value.
func (*IncidentTeamUpdateRequest) UnmarshalJSON ¶
func (o *IncidentTeamUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTeamsApiService ¶
type IncidentTeamsApiService service
IncidentTeamsApiService IncidentTeamsApi service.
func (*IncidentTeamsApiService) CreateIncidentTeam ¶
func (a *IncidentTeamsApiService) CreateIncidentTeam(ctx _context.Context, body IncidentTeamCreateRequest) (IncidentTeamResponse, *_nethttp.Response, error)
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 ¶
func (a *IncidentTeamsApiService) GetIncidentTeam(ctx _context.Context, teamId string, o ...GetIncidentTeamOptionalParameters) (IncidentTeamResponse, *_nethttp.Response, error)
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 ¶
func (a *IncidentTeamsApiService) ListIncidentTeams(ctx _context.Context, o ...ListIncidentTeamsOptionalParameters) (IncidentTeamsResponse, *_nethttp.Response, error)
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 ¶
func (a *IncidentTeamsApiService) UpdateIncidentTeam(ctx _context.Context, teamId string, body IncidentTeamUpdateRequest) (IncidentTeamResponse, *_nethttp.Response, error)
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 ¶
func (o *IncidentTeamsResponse) GetData() []IncidentTeamResponseData
GetData returns the Data field value.
func (*IncidentTeamsResponse) GetDataOk ¶
func (o *IncidentTeamsResponse) GetDataOk() (*[]IncidentTeamResponseData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*IncidentTeamsResponse) GetIncluded ¶
func (o *IncidentTeamsResponse) GetIncluded() []IncidentTeamIncludedItems
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 ¶
func (o *IncidentTeamsResponse) GetMeta() IncidentResponseMeta
GetMeta returns the Meta field value if set, zero value otherwise.
func (*IncidentTeamsResponse) GetMetaOk ¶
func (o *IncidentTeamsResponse) GetMetaOk() (*IncidentResponseMeta, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentTeamsResponse) HasIncluded ¶
func (o *IncidentTeamsResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (*IncidentTeamsResponse) HasMeta ¶
func (o *IncidentTeamsResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (IncidentTeamsResponse) MarshalJSON ¶
func (o IncidentTeamsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTeamsResponse) SetData ¶
func (o *IncidentTeamsResponse) SetData(v []IncidentTeamResponseData)
SetData sets field value.
func (*IncidentTeamsResponse) SetIncluded ¶
func (o *IncidentTeamsResponse) SetIncluded(v []IncidentTeamIncludedItems)
SetIncluded gets a reference to the given []IncidentTeamIncludedItems and assigns it to the Included field.
func (*IncidentTeamsResponse) SetMeta ¶
func (o *IncidentTeamsResponse) SetMeta(v IncidentResponseMeta)
SetMeta gets a reference to the given IncidentResponseMeta and assigns it to the Meta field.
func (*IncidentTeamsResponse) UnmarshalJSON ¶
func (o *IncidentTeamsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTimelineCellCreateAttributes ¶
type IncidentTimelineCellCreateAttributes struct {
IncidentTimelineCellMarkdownCreateAttributes *IncidentTimelineCellMarkdownCreateAttributes
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
IncidentTimelineCellCreateAttributes - The timeline cell's attributes for a create request.
func IncidentTimelineCellMarkdownCreateAttributesAsIncidentTimelineCellCreateAttributes ¶
func IncidentTimelineCellMarkdownCreateAttributesAsIncidentTimelineCellCreateAttributes(v *IncidentTimelineCellMarkdownCreateAttributes) IncidentTimelineCellCreateAttributes
IncidentTimelineCellMarkdownCreateAttributesAsIncidentTimelineCellCreateAttributes is a convenience function that returns IncidentTimelineCellMarkdownCreateAttributes wrapped in IncidentTimelineCellCreateAttributes.
func (*IncidentTimelineCellCreateAttributes) GetActualInstance ¶
func (obj *IncidentTimelineCellCreateAttributes) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (IncidentTimelineCellCreateAttributes) MarshalJSON ¶
func (obj IncidentTimelineCellCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*IncidentTimelineCellCreateAttributes) UnmarshalJSON ¶
func (obj *IncidentTimelineCellCreateAttributes) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type IncidentTimelineCellMarkdownContentType ¶
type IncidentTimelineCellMarkdownContentType string
IncidentTimelineCellMarkdownContentType Type of the Markdown timeline cell.
const (
INCIDENTTIMELINECELLMARKDOWNCONTENTTYPE_MARKDOWN IncidentTimelineCellMarkdownContentType = "markdown"
)
List of IncidentTimelineCellMarkdownContentType.
func NewIncidentTimelineCellMarkdownContentTypeFromValue ¶
func NewIncidentTimelineCellMarkdownContentTypeFromValue(v string) (*IncidentTimelineCellMarkdownContentType, error)
NewIncidentTimelineCellMarkdownContentTypeFromValue returns a pointer to a valid IncidentTimelineCellMarkdownContentType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*IncidentTimelineCellMarkdownContentType) GetAllowedValues ¶ added in v1.1.0
func (v *IncidentTimelineCellMarkdownContentType) GetAllowedValues() []IncidentTimelineCellMarkdownContentType
GetAllowedValues reeturns the list of possible values.
func (IncidentTimelineCellMarkdownContentType) IsValid ¶
func (v IncidentTimelineCellMarkdownContentType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (IncidentTimelineCellMarkdownContentType) Ptr ¶
Ptr returns reference to IncidentTimelineCellMarkdownContentType value.
func (*IncidentTimelineCellMarkdownContentType) UnmarshalJSON ¶
func (v *IncidentTimelineCellMarkdownContentType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type IncidentTimelineCellMarkdownCreateAttributes ¶
type IncidentTimelineCellMarkdownCreateAttributes struct {
// Type of the Markdown timeline cell.
CellType IncidentTimelineCellMarkdownContentType `json:"cell_type"`
// The Markdown timeline cell contents.
Content IncidentTimelineCellMarkdownCreateAttributesContent `json:"content"`
// A flag indicating whether the timeline cell is important and should be highlighted.
Important *bool `json:"important,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTimelineCellMarkdownCreateAttributes Timeline cell data for Markdown timeline cells for a create request.
func NewIncidentTimelineCellMarkdownCreateAttributes ¶
func NewIncidentTimelineCellMarkdownCreateAttributes(cellType IncidentTimelineCellMarkdownContentType, content IncidentTimelineCellMarkdownCreateAttributesContent) *IncidentTimelineCellMarkdownCreateAttributes
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 ¶
func (o *IncidentTimelineCellMarkdownCreateAttributes) GetCellType() IncidentTimelineCellMarkdownContentType
GetCellType returns the CellType field value.
func (*IncidentTimelineCellMarkdownCreateAttributes) GetCellTypeOk ¶
func (o *IncidentTimelineCellMarkdownCreateAttributes) GetCellTypeOk() (*IncidentTimelineCellMarkdownContentType, bool)
GetCellTypeOk returns a tuple with the CellType field value and a boolean to check if the value has been set.
func (*IncidentTimelineCellMarkdownCreateAttributes) GetContent ¶
func (o *IncidentTimelineCellMarkdownCreateAttributes) GetContent() IncidentTimelineCellMarkdownCreateAttributesContent
GetContent returns the Content field value.
func (*IncidentTimelineCellMarkdownCreateAttributes) GetContentOk ¶
func (o *IncidentTimelineCellMarkdownCreateAttributes) GetContentOk() (*IncidentTimelineCellMarkdownCreateAttributesContent, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*IncidentTimelineCellMarkdownCreateAttributes) GetImportant ¶
func (o *IncidentTimelineCellMarkdownCreateAttributes) GetImportant() bool
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 ¶
func (o *IncidentTimelineCellMarkdownCreateAttributes) HasImportant() bool
HasImportant returns a boolean if a field has been set.
func (IncidentTimelineCellMarkdownCreateAttributes) MarshalJSON ¶
func (o IncidentTimelineCellMarkdownCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTimelineCellMarkdownCreateAttributes) SetCellType ¶
func (o *IncidentTimelineCellMarkdownCreateAttributes) SetCellType(v IncidentTimelineCellMarkdownContentType)
SetCellType sets field value.
func (*IncidentTimelineCellMarkdownCreateAttributes) SetContent ¶
func (o *IncidentTimelineCellMarkdownCreateAttributes) SetContent(v IncidentTimelineCellMarkdownCreateAttributesContent)
SetContent sets field value.
func (*IncidentTimelineCellMarkdownCreateAttributes) SetImportant ¶
func (o *IncidentTimelineCellMarkdownCreateAttributes) SetImportant(v bool)
SetImportant gets a reference to the given bool and assigns it to the Important field.
func (*IncidentTimelineCellMarkdownCreateAttributes) UnmarshalJSON ¶
func (o *IncidentTimelineCellMarkdownCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentTimelineCellMarkdownCreateAttributesContent ¶
type IncidentTimelineCellMarkdownCreateAttributesContent struct {
// The Markdown content of the cell.
Content *string `json:"content,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentTimelineCellMarkdownCreateAttributesContent The Markdown timeline cell contents.
func NewIncidentTimelineCellMarkdownCreateAttributesContent ¶
func NewIncidentTimelineCellMarkdownCreateAttributesContent() *IncidentTimelineCellMarkdownCreateAttributesContent
NewIncidentTimelineCellMarkdownCreateAttributesContent instantiates a new IncidentTimelineCellMarkdownCreateAttributesContent object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentTimelineCellMarkdownCreateAttributesContentWithDefaults ¶
func NewIncidentTimelineCellMarkdownCreateAttributesContentWithDefaults() *IncidentTimelineCellMarkdownCreateAttributesContent
NewIncidentTimelineCellMarkdownCreateAttributesContentWithDefaults instantiates a new IncidentTimelineCellMarkdownCreateAttributesContent object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentTimelineCellMarkdownCreateAttributesContent) GetContent ¶
func (o *IncidentTimelineCellMarkdownCreateAttributesContent) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*IncidentTimelineCellMarkdownCreateAttributesContent) GetContentOk ¶
func (o *IncidentTimelineCellMarkdownCreateAttributesContent) GetContentOk() (*string, bool)
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 ¶
func (o *IncidentTimelineCellMarkdownCreateAttributesContent) HasContent() bool
HasContent returns a boolean if a field has been set.
func (IncidentTimelineCellMarkdownCreateAttributesContent) MarshalJSON ¶
func (o IncidentTimelineCellMarkdownCreateAttributesContent) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentTimelineCellMarkdownCreateAttributesContent) SetContent ¶
func (o *IncidentTimelineCellMarkdownCreateAttributesContent) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*IncidentTimelineCellMarkdownCreateAttributesContent) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentTimelineCellMarkdownCreateAttributesContent) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentType ¶
type IncidentType string
IncidentType Incident resource type.
const (
INCIDENTTYPE_INCIDENTS IncidentType = "incidents"
)
List of IncidentType.
func NewIncidentTypeFromValue ¶
func NewIncidentTypeFromValue(v string) (*IncidentType, error)
NewIncidentTypeFromValue returns a pointer to a valid IncidentType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*IncidentType) GetAllowedValues ¶ added in v1.1.0
func (v *IncidentType) GetAllowedValues() []IncidentType
GetAllowedValues reeturns the list of possible values.
func (IncidentType) IsValid ¶
func (v IncidentType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (IncidentType) Ptr ¶
func (v IncidentType) Ptr() *IncidentType
Ptr returns reference to IncidentType value.
func (*IncidentType) UnmarshalJSON ¶
func (v *IncidentType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type IncidentUpdateAttributes ¶
type IncidentUpdateAttributes struct {
// Timestamp when customers were no longer impacted by the incident.
CustomerImpactEnd NullableTime `json:"customer_impact_end,omitempty"`
// A summary of the impact customers experienced during the incident.
CustomerImpactScope *string `json:"customer_impact_scope,omitempty"`
// Timestamp when customers began being impacted by the incident.
CustomerImpactStart NullableTime `json:"customer_impact_start,omitempty"`
// A flag indicating whether the incident caused customer impact.
CustomerImpacted *bool `json:"customer_impacted,omitempty"`
// Timestamp when the incident was detected.
Detected NullableTime `json:"detected,omitempty"`
// A condensed view of the user-defined fields for which to update selections.
Fields map[string]IncidentFieldAttributes `json:"fields,omitempty"`
// Notification handles that will be notified of the incident during update.
NotificationHandles []IncidentNotificationHandle `json:"notification_handles,omitempty"`
// Timestamp when the incident's state was set to resolved.
Resolved NullableTime `json:"resolved,omitempty"`
// The title of the incident, which summarizes what happened.
Title *string `json:"title,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentUpdateAttributes The incident's attributes for an update request.
func NewIncidentUpdateAttributes ¶
func NewIncidentUpdateAttributes() *IncidentUpdateAttributes
NewIncidentUpdateAttributes instantiates a new IncidentUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentUpdateAttributesWithDefaults ¶
func NewIncidentUpdateAttributesWithDefaults() *IncidentUpdateAttributes
NewIncidentUpdateAttributesWithDefaults instantiates a new IncidentUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentUpdateAttributes) GetCustomerImpactEnd ¶
func (o *IncidentUpdateAttributes) GetCustomerImpactEnd() time.Time
GetCustomerImpactEnd returns the CustomerImpactEnd field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IncidentUpdateAttributes) GetCustomerImpactEndOk ¶
func (o *IncidentUpdateAttributes) GetCustomerImpactEndOk() (*time.Time, bool)
GetCustomerImpactEndOk returns a tuple with the CustomerImpactEnd field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*IncidentUpdateAttributes) GetCustomerImpactScope ¶
func (o *IncidentUpdateAttributes) GetCustomerImpactScope() string
GetCustomerImpactScope returns the CustomerImpactScope field value if set, zero value otherwise.
func (*IncidentUpdateAttributes) GetCustomerImpactScopeOk ¶
func (o *IncidentUpdateAttributes) GetCustomerImpactScopeOk() (*string, bool)
GetCustomerImpactScopeOk returns a tuple with the CustomerImpactScope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentUpdateAttributes) GetCustomerImpactStart ¶
func (o *IncidentUpdateAttributes) GetCustomerImpactStart() time.Time
GetCustomerImpactStart returns the CustomerImpactStart field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IncidentUpdateAttributes) GetCustomerImpactStartOk ¶
func (o *IncidentUpdateAttributes) GetCustomerImpactStartOk() (*time.Time, bool)
GetCustomerImpactStartOk returns a tuple with the CustomerImpactStart field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*IncidentUpdateAttributes) GetCustomerImpacted ¶
func (o *IncidentUpdateAttributes) GetCustomerImpacted() bool
GetCustomerImpacted returns the CustomerImpacted field value if set, zero value otherwise.
func (*IncidentUpdateAttributes) GetCustomerImpactedOk ¶
func (o *IncidentUpdateAttributes) GetCustomerImpactedOk() (*bool, bool)
GetCustomerImpactedOk returns a tuple with the CustomerImpacted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentUpdateAttributes) GetDetected ¶
func (o *IncidentUpdateAttributes) GetDetected() time.Time
GetDetected returns the Detected field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IncidentUpdateAttributes) GetDetectedOk ¶
func (o *IncidentUpdateAttributes) GetDetectedOk() (*time.Time, bool)
GetDetectedOk returns a tuple with the Detected field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*IncidentUpdateAttributes) GetFields ¶
func (o *IncidentUpdateAttributes) GetFields() map[string]IncidentFieldAttributes
GetFields returns the Fields field value if set, zero value otherwise.
func (*IncidentUpdateAttributes) GetFieldsOk ¶
func (o *IncidentUpdateAttributes) GetFieldsOk() (*map[string]IncidentFieldAttributes, bool)
GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentUpdateAttributes) GetNotificationHandles ¶
func (o *IncidentUpdateAttributes) GetNotificationHandles() []IncidentNotificationHandle
GetNotificationHandles returns the NotificationHandles field value if set, zero value otherwise.
func (*IncidentUpdateAttributes) GetNotificationHandlesOk ¶
func (o *IncidentUpdateAttributes) GetNotificationHandlesOk() (*[]IncidentNotificationHandle, bool)
GetNotificationHandlesOk returns a tuple with the NotificationHandles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentUpdateAttributes) GetResolved ¶
func (o *IncidentUpdateAttributes) GetResolved() time.Time
GetResolved returns the Resolved field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IncidentUpdateAttributes) GetResolvedOk ¶
func (o *IncidentUpdateAttributes) GetResolvedOk() (*time.Time, bool)
GetResolvedOk returns a tuple with the Resolved field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*IncidentUpdateAttributes) GetTitle ¶
func (o *IncidentUpdateAttributes) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*IncidentUpdateAttributes) GetTitleOk ¶
func (o *IncidentUpdateAttributes) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentUpdateAttributes) HasCustomerImpactEnd ¶
func (o *IncidentUpdateAttributes) HasCustomerImpactEnd() bool
HasCustomerImpactEnd returns a boolean if a field has been set.
func (*IncidentUpdateAttributes) HasCustomerImpactScope ¶
func (o *IncidentUpdateAttributes) HasCustomerImpactScope() bool
HasCustomerImpactScope returns a boolean if a field has been set.
func (*IncidentUpdateAttributes) HasCustomerImpactStart ¶
func (o *IncidentUpdateAttributes) HasCustomerImpactStart() bool
HasCustomerImpactStart returns a boolean if a field has been set.
func (*IncidentUpdateAttributes) HasCustomerImpacted ¶
func (o *IncidentUpdateAttributes) HasCustomerImpacted() bool
HasCustomerImpacted returns a boolean if a field has been set.
func (*IncidentUpdateAttributes) HasDetected ¶
func (o *IncidentUpdateAttributes) HasDetected() bool
HasDetected returns a boolean if a field has been set.
func (*IncidentUpdateAttributes) HasFields ¶
func (o *IncidentUpdateAttributes) HasFields() bool
HasFields returns a boolean if a field has been set.
func (*IncidentUpdateAttributes) HasNotificationHandles ¶
func (o *IncidentUpdateAttributes) HasNotificationHandles() bool
HasNotificationHandles returns a boolean if a field has been set.
func (*IncidentUpdateAttributes) HasResolved ¶
func (o *IncidentUpdateAttributes) HasResolved() bool
HasResolved returns a boolean if a field has been set.
func (*IncidentUpdateAttributes) HasTitle ¶
func (o *IncidentUpdateAttributes) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (IncidentUpdateAttributes) MarshalJSON ¶
func (o IncidentUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentUpdateAttributes) SetCustomerImpactEnd ¶
func (o *IncidentUpdateAttributes) SetCustomerImpactEnd(v time.Time)
SetCustomerImpactEnd gets a reference to the given NullableTime and assigns it to the CustomerImpactEnd field.
func (*IncidentUpdateAttributes) SetCustomerImpactEndNil ¶
func (o *IncidentUpdateAttributes) SetCustomerImpactEndNil()
SetCustomerImpactEndNil sets the value for CustomerImpactEnd to be an explicit nil.
func (*IncidentUpdateAttributes) SetCustomerImpactScope ¶
func (o *IncidentUpdateAttributes) SetCustomerImpactScope(v string)
SetCustomerImpactScope gets a reference to the given string and assigns it to the CustomerImpactScope field.
func (*IncidentUpdateAttributes) SetCustomerImpactStart ¶
func (o *IncidentUpdateAttributes) SetCustomerImpactStart(v time.Time)
SetCustomerImpactStart gets a reference to the given NullableTime and assigns it to the CustomerImpactStart field.
func (*IncidentUpdateAttributes) SetCustomerImpactStartNil ¶
func (o *IncidentUpdateAttributes) SetCustomerImpactStartNil()
SetCustomerImpactStartNil sets the value for CustomerImpactStart to be an explicit nil.
func (*IncidentUpdateAttributes) SetCustomerImpacted ¶
func (o *IncidentUpdateAttributes) SetCustomerImpacted(v bool)
SetCustomerImpacted gets a reference to the given bool and assigns it to the CustomerImpacted field.
func (*IncidentUpdateAttributes) SetDetected ¶
func (o *IncidentUpdateAttributes) SetDetected(v time.Time)
SetDetected gets a reference to the given NullableTime and assigns it to the Detected field.
func (*IncidentUpdateAttributes) SetDetectedNil ¶
func (o *IncidentUpdateAttributes) SetDetectedNil()
SetDetectedNil sets the value for Detected to be an explicit nil.
func (*IncidentUpdateAttributes) SetFields ¶
func (o *IncidentUpdateAttributes) SetFields(v map[string]IncidentFieldAttributes)
SetFields gets a reference to the given map[string]IncidentFieldAttributes and assigns it to the Fields field.
func (*IncidentUpdateAttributes) SetNotificationHandles ¶
func (o *IncidentUpdateAttributes) SetNotificationHandles(v []IncidentNotificationHandle)
SetNotificationHandles gets a reference to the given []IncidentNotificationHandle and assigns it to the NotificationHandles field.
func (*IncidentUpdateAttributes) SetResolved ¶
func (o *IncidentUpdateAttributes) SetResolved(v time.Time)
SetResolved gets a reference to the given NullableTime and assigns it to the Resolved field.
func (*IncidentUpdateAttributes) SetResolvedNil ¶
func (o *IncidentUpdateAttributes) SetResolvedNil()
SetResolvedNil sets the value for Resolved to be an explicit nil.
func (*IncidentUpdateAttributes) SetTitle ¶
func (o *IncidentUpdateAttributes) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*IncidentUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*IncidentUpdateAttributes) UnsetCustomerImpactEnd ¶
func (o *IncidentUpdateAttributes) UnsetCustomerImpactEnd()
UnsetCustomerImpactEnd ensures that no value is present for CustomerImpactEnd, not even an explicit nil.
func (*IncidentUpdateAttributes) UnsetCustomerImpactStart ¶
func (o *IncidentUpdateAttributes) UnsetCustomerImpactStart()
UnsetCustomerImpactStart ensures that no value is present for CustomerImpactStart, not even an explicit nil.
func (*IncidentUpdateAttributes) UnsetDetected ¶
func (o *IncidentUpdateAttributes) UnsetDetected()
UnsetDetected ensures that no value is present for Detected, not even an explicit nil.
func (*IncidentUpdateAttributes) UnsetResolved ¶
func (o *IncidentUpdateAttributes) UnsetResolved()
UnsetResolved ensures that no value is present for Resolved, not even an explicit nil.
type IncidentUpdateData ¶
type IncidentUpdateData struct {
// The incident's attributes for an update request.
Attributes *IncidentUpdateAttributes `json:"attributes,omitempty"`
// The team's ID.
Id string `json:"id"`
// The incident's relationships for an update request.
Relationships *IncidentUpdateRelationships `json:"relationships,omitempty"`
// Incident resource type.
Type IncidentType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentUpdateData Incident data for an update request.
func NewIncidentUpdateData ¶
func NewIncidentUpdateData(id string, typeVar IncidentType) *IncidentUpdateData
NewIncidentUpdateData instantiates a new IncidentUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentUpdateDataWithDefaults ¶
func NewIncidentUpdateDataWithDefaults() *IncidentUpdateData
NewIncidentUpdateDataWithDefaults instantiates a new IncidentUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentUpdateData) GetAttributes ¶
func (o *IncidentUpdateData) GetAttributes() IncidentUpdateAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*IncidentUpdateData) GetAttributesOk ¶
func (o *IncidentUpdateData) GetAttributesOk() (*IncidentUpdateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentUpdateData) GetId ¶
func (o *IncidentUpdateData) GetId() string
GetId returns the Id field value.
func (*IncidentUpdateData) GetIdOk ¶
func (o *IncidentUpdateData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*IncidentUpdateData) GetRelationships ¶
func (o *IncidentUpdateData) GetRelationships() IncidentUpdateRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*IncidentUpdateData) GetRelationshipsOk ¶
func (o *IncidentUpdateData) GetRelationshipsOk() (*IncidentUpdateRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentUpdateData) GetType ¶
func (o *IncidentUpdateData) GetType() IncidentType
GetType returns the Type field value.
func (*IncidentUpdateData) GetTypeOk ¶
func (o *IncidentUpdateData) GetTypeOk() (*IncidentType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*IncidentUpdateData) HasAttributes ¶
func (o *IncidentUpdateData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*IncidentUpdateData) HasRelationships ¶
func (o *IncidentUpdateData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (IncidentUpdateData) MarshalJSON ¶
func (o IncidentUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentUpdateData) SetAttributes ¶
func (o *IncidentUpdateData) SetAttributes(v IncidentUpdateAttributes)
SetAttributes gets a reference to the given IncidentUpdateAttributes and assigns it to the Attributes field.
func (*IncidentUpdateData) SetId ¶
func (o *IncidentUpdateData) SetId(v string)
SetId sets field value.
func (*IncidentUpdateData) SetRelationships ¶
func (o *IncidentUpdateData) SetRelationships(v IncidentUpdateRelationships)
SetRelationships gets a reference to the given IncidentUpdateRelationships and assigns it to the Relationships field.
func (*IncidentUpdateData) SetType ¶
func (o *IncidentUpdateData) SetType(v IncidentType)
SetType sets field value.
func (*IncidentUpdateData) UnmarshalJSON ¶
func (o *IncidentUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentUpdateRelationships ¶
type IncidentUpdateRelationships struct {
// Relationship to user.
CommanderUser *NullableRelationshipToUser `json:"commander_user,omitempty"`
// A relationship reference for multiple integration metadata objects.
Integrations *RelationshipToIncidentIntegrationMetadatas `json:"integrations,omitempty"`
// A relationship reference for postmortems.
Postmortem *RelationshipToIncidentPostmortem `json:"postmortem,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentUpdateRelationships The incident's relationships for an update request.
func NewIncidentUpdateRelationships ¶
func NewIncidentUpdateRelationships() *IncidentUpdateRelationships
NewIncidentUpdateRelationships instantiates a new IncidentUpdateRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentUpdateRelationshipsWithDefaults ¶
func NewIncidentUpdateRelationshipsWithDefaults() *IncidentUpdateRelationships
NewIncidentUpdateRelationshipsWithDefaults instantiates a new IncidentUpdateRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentUpdateRelationships) GetCommanderUser ¶
func (o *IncidentUpdateRelationships) GetCommanderUser() NullableRelationshipToUser
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 ¶
func (o *IncidentUpdateRelationships) GetIntegrations() RelationshipToIncidentIntegrationMetadatas
GetIntegrations returns the Integrations field value if set, zero value otherwise.
func (*IncidentUpdateRelationships) GetIntegrationsOk ¶
func (o *IncidentUpdateRelationships) GetIntegrationsOk() (*RelationshipToIncidentIntegrationMetadatas, bool)
GetIntegrationsOk returns a tuple with the Integrations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentUpdateRelationships) GetPostmortem ¶
func (o *IncidentUpdateRelationships) GetPostmortem() RelationshipToIncidentPostmortem
GetPostmortem returns the Postmortem field value if set, zero value otherwise.
func (*IncidentUpdateRelationships) GetPostmortemOk ¶
func (o *IncidentUpdateRelationships) GetPostmortemOk() (*RelationshipToIncidentPostmortem, bool)
GetPostmortemOk returns a tuple with the Postmortem field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentUpdateRelationships) HasCommanderUser ¶
func (o *IncidentUpdateRelationships) HasCommanderUser() bool
HasCommanderUser returns a boolean if a field has been set.
func (*IncidentUpdateRelationships) HasIntegrations ¶
func (o *IncidentUpdateRelationships) HasIntegrations() bool
HasIntegrations returns a boolean if a field has been set.
func (*IncidentUpdateRelationships) HasPostmortem ¶
func (o *IncidentUpdateRelationships) HasPostmortem() bool
HasPostmortem returns a boolean if a field has been set.
func (IncidentUpdateRelationships) MarshalJSON ¶
func (o IncidentUpdateRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentUpdateRelationships) SetCommanderUser ¶
func (o *IncidentUpdateRelationships) SetCommanderUser(v NullableRelationshipToUser)
SetCommanderUser gets a reference to the given NullableRelationshipToUser and assigns it to the CommanderUser field.
func (*IncidentUpdateRelationships) SetIntegrations ¶
func (o *IncidentUpdateRelationships) SetIntegrations(v RelationshipToIncidentIntegrationMetadatas)
SetIntegrations gets a reference to the given RelationshipToIncidentIntegrationMetadatas and assigns it to the Integrations field.
func (*IncidentUpdateRelationships) SetPostmortem ¶
func (o *IncidentUpdateRelationships) SetPostmortem(v RelationshipToIncidentPostmortem)
SetPostmortem gets a reference to the given RelationshipToIncidentPostmortem and assigns it to the Postmortem field.
func (*IncidentUpdateRelationships) UnmarshalJSON ¶ added in v1.3.0
func (o *IncidentUpdateRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentUpdateRequest ¶
type IncidentUpdateRequest struct {
// Incident data for an update request.
Data IncidentUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IncidentUpdateRequest Update request for an incident.
func NewIncidentUpdateRequest ¶
func NewIncidentUpdateRequest(data IncidentUpdateData) *IncidentUpdateRequest
NewIncidentUpdateRequest instantiates a new IncidentUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIncidentUpdateRequestWithDefaults ¶
func NewIncidentUpdateRequestWithDefaults() *IncidentUpdateRequest
NewIncidentUpdateRequestWithDefaults instantiates a new IncidentUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IncidentUpdateRequest) GetData ¶
func (o *IncidentUpdateRequest) GetData() IncidentUpdateData
GetData returns the Data field value.
func (*IncidentUpdateRequest) GetDataOk ¶
func (o *IncidentUpdateRequest) GetDataOk() (*IncidentUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (IncidentUpdateRequest) MarshalJSON ¶
func (o IncidentUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentUpdateRequest) SetData ¶
func (o *IncidentUpdateRequest) SetData(v IncidentUpdateData)
SetData sets field value.
func (*IncidentUpdateRequest) UnmarshalJSON ¶
func (o *IncidentUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IncidentsApiService ¶
type IncidentsApiService service
IncidentsApiService IncidentsApi service.
func (*IncidentsApiService) CreateIncident ¶
func (a *IncidentsApiService) CreateIncident(ctx _context.Context, body IncidentCreateRequest) (IncidentResponse, *_nethttp.Response, error)
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 ¶
func (a *IncidentsApiService) GetIncident(ctx _context.Context, incidentId string, o ...GetIncidentOptionalParameters) (IncidentResponse, *_nethttp.Response, error)
GetIncident Get the details of an incident. Get the details of an incident by `incident_id`.
func (*IncidentsApiService) ListIncidents ¶
func (a *IncidentsApiService) ListIncidents(ctx _context.Context, o ...ListIncidentsOptionalParameters) (IncidentsResponse, *_nethttp.Response, error)
ListIncidents Get a list of incidents. Get all incidents for the user's organization.
func (*IncidentsApiService) ListIncidentsWithPagination ¶ added in v1.14.0
func (a *IncidentsApiService) ListIncidentsWithPagination(ctx _context.Context, o ...ListIncidentsOptionalParameters) (<-chan IncidentResponseData, func(), error)
ListIncidentsWithPagination provides a paginated version of ListIncidents returning a channel with all items.
func (*IncidentsApiService) UpdateIncident ¶
func (a *IncidentsApiService) UpdateIncident(ctx _context.Context, incidentId string, body IncidentUpdateRequest, o ...UpdateIncidentOptionalParameters) (IncidentResponse, *_nethttp.Response, error)
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 ¶
func (o *IncidentsResponse) GetIncluded() []IncidentResponseIncludedItem
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 ¶
func (o *IncidentsResponse) GetMeta() IncidentResponseMeta
GetMeta returns the Meta field value if set, zero value otherwise.
func (*IncidentsResponse) GetMetaOk ¶
func (o *IncidentsResponse) GetMetaOk() (*IncidentResponseMeta, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IncidentsResponse) HasIncluded ¶
func (o *IncidentsResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (*IncidentsResponse) HasMeta ¶
func (o *IncidentsResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (IncidentsResponse) MarshalJSON ¶
func (o IncidentsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IncidentsResponse) SetData ¶
func (o *IncidentsResponse) SetData(v []IncidentResponseData)
SetData sets field value.
func (*IncidentsResponse) SetIncluded ¶
func (o *IncidentsResponse) SetIncluded(v []IncidentResponseIncludedItem)
SetIncluded gets a reference to the given []IncidentResponseIncludedItem and assigns it to the Included field.
func (*IncidentsResponse) SetMeta ¶
func (o *IncidentsResponse) SetMeta(v IncidentResponseMeta)
SetMeta gets a reference to the given IncidentResponseMeta and assigns it to the Meta field.
func (*IncidentsResponse) UnmarshalJSON ¶
func (o *IncidentsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IntakePayloadAccepted ¶ added in v1.14.0
type IntakePayloadAccepted struct {
// A list of errors.
Errors []string `json:"errors,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
IntakePayloadAccepted The payload accepted for intake.
func NewIntakePayloadAccepted ¶ added in v1.14.0
func NewIntakePayloadAccepted() *IntakePayloadAccepted
NewIntakePayloadAccepted instantiates a new IntakePayloadAccepted object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIntakePayloadAcceptedWithDefaults ¶ added in v1.14.0
func NewIntakePayloadAcceptedWithDefaults() *IntakePayloadAccepted
NewIntakePayloadAcceptedWithDefaults instantiates a new IntakePayloadAccepted object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IntakePayloadAccepted) GetErrors ¶ added in v1.15.0
func (o *IntakePayloadAccepted) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*IntakePayloadAccepted) GetErrorsOk ¶ added in v1.15.0
func (o *IntakePayloadAccepted) GetErrorsOk() (*[]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IntakePayloadAccepted) HasErrors ¶ added in v1.15.0
func (o *IntakePayloadAccepted) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (IntakePayloadAccepted) MarshalJSON ¶ added in v1.14.0
func (o IntakePayloadAccepted) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IntakePayloadAccepted) SetErrors ¶ added in v1.15.0
func (o *IntakePayloadAccepted) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*IntakePayloadAccepted) UnmarshalJSON ¶ added in v1.14.0
func (o *IntakePayloadAccepted) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type KeyManagementApiService ¶
type KeyManagementApiService service
KeyManagementApiService KeyManagementApi service.
func (*KeyManagementApiService) CreateAPIKey ¶
func (a *KeyManagementApiService) CreateAPIKey(ctx _context.Context, body APIKeyCreateRequest) (APIKeyResponse, *_nethttp.Response, error)
CreateAPIKey Create an API key. Create an API key.
func (*KeyManagementApiService) CreateCurrentUserApplicationKey ¶
func (a *KeyManagementApiService) CreateCurrentUserApplicationKey(ctx _context.Context, body ApplicationKeyCreateRequest) (ApplicationKeyResponse, *_nethttp.Response, error)
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 ¶
func (a *KeyManagementApiService) GetAPIKey(ctx _context.Context, apiKeyId string, o ...GetAPIKeyOptionalParameters) (APIKeyResponse, *_nethttp.Response, error)
GetAPIKey Get API key. Get an API key.
func (*KeyManagementApiService) GetApplicationKey ¶ added in v1.2.0
func (a *KeyManagementApiService) GetApplicationKey(ctx _context.Context, appKeyId string, o ...GetApplicationKeyOptionalParameters) (ApplicationKeyResponse, *_nethttp.Response, error)
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 ¶
func (a *KeyManagementApiService) ListAPIKeys(ctx _context.Context, o ...ListAPIKeysOptionalParameters) (APIKeysResponse, *_nethttp.Response, error)
ListAPIKeys Get all API keys. List all API keys available for your account.
func (*KeyManagementApiService) ListApplicationKeys ¶
func (a *KeyManagementApiService) ListApplicationKeys(ctx _context.Context, o ...ListApplicationKeysOptionalParameters) (ListApplicationKeysResponse, *_nethttp.Response, error)
ListApplicationKeys Get all application keys. List all application keys available for your org
func (*KeyManagementApiService) ListCurrentUserApplicationKeys ¶
func (a *KeyManagementApiService) ListCurrentUserApplicationKeys(ctx _context.Context, o ...ListCurrentUserApplicationKeysOptionalParameters) (ListApplicationKeysResponse, *_nethttp.Response, error)
ListCurrentUserApplicationKeys Get all application keys owned by current user. List all application keys available for current user
func (*KeyManagementApiService) UpdateAPIKey ¶
func (a *KeyManagementApiService) UpdateAPIKey(ctx _context.Context, apiKeyId string, body APIKeyUpdateRequest) (APIKeyResponse, *_nethttp.Response, error)
UpdateAPIKey Edit an API key. Update an API key.
func (*KeyManagementApiService) UpdateApplicationKey ¶
func (a *KeyManagementApiService) UpdateApplicationKey(ctx _context.Context, appKeyId string, body ApplicationKeyUpdateRequest) (ApplicationKeyResponse, *_nethttp.Response, error)
UpdateApplicationKey Edit an application key. Edit an application key
func (*KeyManagementApiService) UpdateCurrentUserApplicationKey ¶
func (a *KeyManagementApiService) UpdateCurrentUserApplicationKey(ctx _context.Context, appKeyId string, body ApplicationKeyUpdateRequest) (ApplicationKeyResponse, *_nethttp.Response, error)
UpdateCurrentUserApplicationKey Edit an application key owned by current user. Edit an application key owned by current user
type ListAPIKeysOptionalParameters ¶
type ListAPIKeysOptionalParameters struct {
PageSize *int64
PageNumber *int64
Sort *APIKeysSort
Filter *string
FilterCreatedAtStart *string
FilterCreatedAtEnd *string
FilterModifiedAtStart *string
FilterModifiedAtEnd *string
Include *string
}
ListAPIKeysOptionalParameters holds optional parameters for ListAPIKeys.
func NewListAPIKeysOptionalParameters ¶
func NewListAPIKeysOptionalParameters() *ListAPIKeysOptionalParameters
NewListAPIKeysOptionalParameters creates an empty struct for parameters.
func (*ListAPIKeysOptionalParameters) WithFilter ¶
func (r *ListAPIKeysOptionalParameters) WithFilter(filter string) *ListAPIKeysOptionalParameters
WithFilter sets the corresponding parameter name and returns the struct.
func (*ListAPIKeysOptionalParameters) WithFilterCreatedAtEnd ¶
func (r *ListAPIKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListAPIKeysOptionalParameters
WithFilterCreatedAtEnd sets the corresponding parameter name and returns the struct.
func (*ListAPIKeysOptionalParameters) WithFilterCreatedAtStart ¶
func (r *ListAPIKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListAPIKeysOptionalParameters
WithFilterCreatedAtStart sets the corresponding parameter name and returns the struct.
func (*ListAPIKeysOptionalParameters) WithFilterModifiedAtEnd ¶
func (r *ListAPIKeysOptionalParameters) WithFilterModifiedAtEnd(filterModifiedAtEnd string) *ListAPIKeysOptionalParameters
WithFilterModifiedAtEnd sets the corresponding parameter name and returns the struct.
func (*ListAPIKeysOptionalParameters) WithFilterModifiedAtStart ¶
func (r *ListAPIKeysOptionalParameters) WithFilterModifiedAtStart(filterModifiedAtStart string) *ListAPIKeysOptionalParameters
WithFilterModifiedAtStart sets the corresponding parameter name and returns the struct.
func (*ListAPIKeysOptionalParameters) WithInclude ¶
func (r *ListAPIKeysOptionalParameters) WithInclude(include string) *ListAPIKeysOptionalParameters
WithInclude sets the corresponding parameter name and returns the struct.
func (*ListAPIKeysOptionalParameters) WithPageNumber ¶
func (r *ListAPIKeysOptionalParameters) WithPageNumber(pageNumber int64) *ListAPIKeysOptionalParameters
WithPageNumber sets the corresponding parameter name and returns the struct.
func (*ListAPIKeysOptionalParameters) WithPageSize ¶
func (r *ListAPIKeysOptionalParameters) WithPageSize(pageSize int64) *ListAPIKeysOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
func (*ListAPIKeysOptionalParameters) WithSort ¶
func (r *ListAPIKeysOptionalParameters) WithSort(sort APIKeysSort) *ListAPIKeysOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
type ListApplicationKeysOptionalParameters ¶
type ListApplicationKeysOptionalParameters struct {
PageSize *int64
PageNumber *int64
Sort *ApplicationKeysSort
Filter *string
FilterCreatedAtStart *string
FilterCreatedAtEnd *string
}
ListApplicationKeysOptionalParameters holds optional parameters for ListApplicationKeys.
func NewListApplicationKeysOptionalParameters ¶
func NewListApplicationKeysOptionalParameters() *ListApplicationKeysOptionalParameters
NewListApplicationKeysOptionalParameters creates an empty struct for parameters.
func (*ListApplicationKeysOptionalParameters) WithFilter ¶
func (r *ListApplicationKeysOptionalParameters) WithFilter(filter string) *ListApplicationKeysOptionalParameters
WithFilter sets the corresponding parameter name and returns the struct.
func (*ListApplicationKeysOptionalParameters) WithFilterCreatedAtEnd ¶
func (r *ListApplicationKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListApplicationKeysOptionalParameters
WithFilterCreatedAtEnd sets the corresponding parameter name and returns the struct.
func (*ListApplicationKeysOptionalParameters) WithFilterCreatedAtStart ¶
func (r *ListApplicationKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListApplicationKeysOptionalParameters
WithFilterCreatedAtStart sets the corresponding parameter name and returns the struct.
func (*ListApplicationKeysOptionalParameters) WithPageNumber ¶
func (r *ListApplicationKeysOptionalParameters) WithPageNumber(pageNumber int64) *ListApplicationKeysOptionalParameters
WithPageNumber sets the corresponding parameter name and returns the struct.
func (*ListApplicationKeysOptionalParameters) WithPageSize ¶
func (r *ListApplicationKeysOptionalParameters) WithPageSize(pageSize int64) *ListApplicationKeysOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
func (*ListApplicationKeysOptionalParameters) WithSort ¶
func (r *ListApplicationKeysOptionalParameters) WithSort(sort ApplicationKeysSort) *ListApplicationKeysOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
type ListApplicationKeysResponse ¶
type ListApplicationKeysResponse struct {
// Array of application keys.
Data []PartialApplicationKey `json:"data,omitempty"`
// Array of objects related to the application key.
Included []ApplicationKeyResponseIncludedItem `json:"included,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ListApplicationKeysResponse Response for a list of application keys.
func NewListApplicationKeysResponse ¶
func NewListApplicationKeysResponse() *ListApplicationKeysResponse
NewListApplicationKeysResponse instantiates a new ListApplicationKeysResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewListApplicationKeysResponseWithDefaults ¶
func NewListApplicationKeysResponseWithDefaults() *ListApplicationKeysResponse
NewListApplicationKeysResponseWithDefaults instantiates a new ListApplicationKeysResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ListApplicationKeysResponse) GetData ¶
func (o *ListApplicationKeysResponse) GetData() []PartialApplicationKey
GetData returns the Data field value if set, zero value otherwise.
func (*ListApplicationKeysResponse) GetDataOk ¶
func (o *ListApplicationKeysResponse) GetDataOk() (*[]PartialApplicationKey, 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 (*ListApplicationKeysResponse) GetIncluded ¶
func (o *ListApplicationKeysResponse) GetIncluded() []ApplicationKeyResponseIncludedItem
GetIncluded returns the Included field value if set, zero value otherwise.
func (*ListApplicationKeysResponse) GetIncludedOk ¶
func (o *ListApplicationKeysResponse) GetIncludedOk() (*[]ApplicationKeyResponseIncludedItem, 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 (*ListApplicationKeysResponse) HasData ¶
func (o *ListApplicationKeysResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*ListApplicationKeysResponse) HasIncluded ¶
func (o *ListApplicationKeysResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (ListApplicationKeysResponse) MarshalJSON ¶
func (o ListApplicationKeysResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ListApplicationKeysResponse) SetData ¶
func (o *ListApplicationKeysResponse) SetData(v []PartialApplicationKey)
SetData gets a reference to the given []PartialApplicationKey and assigns it to the Data field.
func (*ListApplicationKeysResponse) SetIncluded ¶
func (o *ListApplicationKeysResponse) SetIncluded(v []ApplicationKeyResponseIncludedItem)
SetIncluded gets a reference to the given []ApplicationKeyResponseIncludedItem and assigns it to the Included field.
func (*ListApplicationKeysResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *ListApplicationKeysResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ListAuditLogsOptionalParameters ¶ added in v1.11.0
type ListAuditLogsOptionalParameters struct {
FilterQuery *string
FilterFrom *time.Time
FilterTo *time.Time
Sort *AuditLogsSort
PageCursor *string
PageLimit *int32
}
ListAuditLogsOptionalParameters holds optional parameters for ListAuditLogs.
func NewListAuditLogsOptionalParameters ¶ added in v1.11.0
func NewListAuditLogsOptionalParameters() *ListAuditLogsOptionalParameters
NewListAuditLogsOptionalParameters creates an empty struct for parameters.
func (*ListAuditLogsOptionalParameters) WithFilterFrom ¶ added in v1.11.0
func (r *ListAuditLogsOptionalParameters) WithFilterFrom(filterFrom time.Time) *ListAuditLogsOptionalParameters
WithFilterFrom sets the corresponding parameter name and returns the struct.
func (*ListAuditLogsOptionalParameters) WithFilterQuery ¶ added in v1.11.0
func (r *ListAuditLogsOptionalParameters) WithFilterQuery(filterQuery string) *ListAuditLogsOptionalParameters
WithFilterQuery sets the corresponding parameter name and returns the struct.
func (*ListAuditLogsOptionalParameters) WithFilterTo ¶ added in v1.11.0
func (r *ListAuditLogsOptionalParameters) WithFilterTo(filterTo time.Time) *ListAuditLogsOptionalParameters
WithFilterTo sets the corresponding parameter name and returns the struct.
func (*ListAuditLogsOptionalParameters) WithPageCursor ¶ added in v1.11.0
func (r *ListAuditLogsOptionalParameters) WithPageCursor(pageCursor string) *ListAuditLogsOptionalParameters
WithPageCursor sets the corresponding parameter name and returns the struct.
func (*ListAuditLogsOptionalParameters) WithPageLimit ¶ added in v1.11.0
func (r *ListAuditLogsOptionalParameters) WithPageLimit(pageLimit int32) *ListAuditLogsOptionalParameters
WithPageLimit sets the corresponding parameter name and returns the struct.
func (*ListAuditLogsOptionalParameters) WithSort ¶ added in v1.11.0
func (r *ListAuditLogsOptionalParameters) WithSort(sort AuditLogsSort) *ListAuditLogsOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
type ListAuthNMappingsOptionalParameters ¶ added in v1.9.0
type ListAuthNMappingsOptionalParameters struct {
PageSize *int64
PageNumber *int64
Sort *AuthNMappingsSort
Filter *string
}
ListAuthNMappingsOptionalParameters holds optional parameters for ListAuthNMappings.
func NewListAuthNMappingsOptionalParameters ¶ added in v1.9.0
func NewListAuthNMappingsOptionalParameters() *ListAuthNMappingsOptionalParameters
NewListAuthNMappingsOptionalParameters creates an empty struct for parameters.
func (*ListAuthNMappingsOptionalParameters) WithFilter ¶ added in v1.9.0
func (r *ListAuthNMappingsOptionalParameters) WithFilter(filter string) *ListAuthNMappingsOptionalParameters
WithFilter sets the corresponding parameter name and returns the struct.
func (*ListAuthNMappingsOptionalParameters) WithPageNumber ¶ added in v1.9.0
func (r *ListAuthNMappingsOptionalParameters) WithPageNumber(pageNumber int64) *ListAuthNMappingsOptionalParameters
WithPageNumber sets the corresponding parameter name and returns the struct.
func (*ListAuthNMappingsOptionalParameters) WithPageSize ¶ added in v1.9.0
func (r *ListAuthNMappingsOptionalParameters) WithPageSize(pageSize int64) *ListAuthNMappingsOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
func (*ListAuthNMappingsOptionalParameters) WithSort ¶ added in v1.9.0
func (r *ListAuthNMappingsOptionalParameters) WithSort(sort AuthNMappingsSort) *ListAuthNMappingsOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
type ListCurrentUserApplicationKeysOptionalParameters ¶
type ListCurrentUserApplicationKeysOptionalParameters struct {
PageSize *int64
PageNumber *int64
Sort *ApplicationKeysSort
Filter *string
FilterCreatedAtStart *string
FilterCreatedAtEnd *string
}
ListCurrentUserApplicationKeysOptionalParameters holds optional parameters for ListCurrentUserApplicationKeys.
func NewListCurrentUserApplicationKeysOptionalParameters ¶
func NewListCurrentUserApplicationKeysOptionalParameters() *ListCurrentUserApplicationKeysOptionalParameters
NewListCurrentUserApplicationKeysOptionalParameters creates an empty struct for parameters.
func (*ListCurrentUserApplicationKeysOptionalParameters) WithFilter ¶
func (r *ListCurrentUserApplicationKeysOptionalParameters) WithFilter(filter string) *ListCurrentUserApplicationKeysOptionalParameters
WithFilter sets the corresponding parameter name and returns the struct.
func (*ListCurrentUserApplicationKeysOptionalParameters) WithFilterCreatedAtEnd ¶
func (r *ListCurrentUserApplicationKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListCurrentUserApplicationKeysOptionalParameters
WithFilterCreatedAtEnd sets the corresponding parameter name and returns the struct.
func (*ListCurrentUserApplicationKeysOptionalParameters) WithFilterCreatedAtStart ¶
func (r *ListCurrentUserApplicationKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListCurrentUserApplicationKeysOptionalParameters
WithFilterCreatedAtStart sets the corresponding parameter name and returns the struct.
func (*ListCurrentUserApplicationKeysOptionalParameters) WithPageNumber ¶
func (r *ListCurrentUserApplicationKeysOptionalParameters) WithPageNumber(pageNumber int64) *ListCurrentUserApplicationKeysOptionalParameters
WithPageNumber sets the corresponding parameter name and returns the struct.
func (*ListCurrentUserApplicationKeysOptionalParameters) WithPageSize ¶
func (r *ListCurrentUserApplicationKeysOptionalParameters) WithPageSize(pageSize int64) *ListCurrentUserApplicationKeysOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
func (*ListCurrentUserApplicationKeysOptionalParameters) WithSort ¶
func (r *ListCurrentUserApplicationKeysOptionalParameters) WithSort(sort ApplicationKeysSort) *ListCurrentUserApplicationKeysOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
type ListIncidentServicesOptionalParameters ¶
type ListIncidentServicesOptionalParameters struct {
Include *IncidentRelatedObject
PageSize *int64
PageOffset *int64
Filter *string
}
ListIncidentServicesOptionalParameters holds optional parameters for ListIncidentServices.
func NewListIncidentServicesOptionalParameters ¶
func NewListIncidentServicesOptionalParameters() *ListIncidentServicesOptionalParameters
NewListIncidentServicesOptionalParameters creates an empty struct for parameters.
func (*ListIncidentServicesOptionalParameters) WithFilter ¶
func (r *ListIncidentServicesOptionalParameters) WithFilter(filter string) *ListIncidentServicesOptionalParameters
WithFilter sets the corresponding parameter name and returns the struct.
func (*ListIncidentServicesOptionalParameters) WithInclude ¶
func (r *ListIncidentServicesOptionalParameters) WithInclude(include IncidentRelatedObject) *ListIncidentServicesOptionalParameters
WithInclude sets the corresponding parameter name and returns the struct.
func (*ListIncidentServicesOptionalParameters) WithPageOffset ¶
func (r *ListIncidentServicesOptionalParameters) WithPageOffset(pageOffset int64) *ListIncidentServicesOptionalParameters
WithPageOffset sets the corresponding parameter name and returns the struct.
func (*ListIncidentServicesOptionalParameters) WithPageSize ¶
func (r *ListIncidentServicesOptionalParameters) WithPageSize(pageSize int64) *ListIncidentServicesOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
type ListIncidentTeamsOptionalParameters ¶
type ListIncidentTeamsOptionalParameters struct {
Include *IncidentRelatedObject
PageSize *int64
PageOffset *int64
Filter *string
}
ListIncidentTeamsOptionalParameters holds optional parameters for ListIncidentTeams.
func NewListIncidentTeamsOptionalParameters ¶
func NewListIncidentTeamsOptionalParameters() *ListIncidentTeamsOptionalParameters
NewListIncidentTeamsOptionalParameters creates an empty struct for parameters.
func (*ListIncidentTeamsOptionalParameters) WithFilter ¶
func (r *ListIncidentTeamsOptionalParameters) WithFilter(filter string) *ListIncidentTeamsOptionalParameters
WithFilter sets the corresponding parameter name and returns the struct.
func (*ListIncidentTeamsOptionalParameters) WithInclude ¶
func (r *ListIncidentTeamsOptionalParameters) WithInclude(include IncidentRelatedObject) *ListIncidentTeamsOptionalParameters
WithInclude sets the corresponding parameter name and returns the struct.
func (*ListIncidentTeamsOptionalParameters) WithPageOffset ¶
func (r *ListIncidentTeamsOptionalParameters) WithPageOffset(pageOffset int64) *ListIncidentTeamsOptionalParameters
WithPageOffset sets the corresponding parameter name and returns the struct.
func (*ListIncidentTeamsOptionalParameters) WithPageSize ¶
func (r *ListIncidentTeamsOptionalParameters) WithPageSize(pageSize int64) *ListIncidentTeamsOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
type ListIncidentsOptionalParameters ¶
type ListIncidentsOptionalParameters struct {
Include *[]IncidentRelatedObject
PageSize *int64
PageOffset *int64
}
ListIncidentsOptionalParameters holds optional parameters for ListIncidents.
func NewListIncidentsOptionalParameters ¶
func NewListIncidentsOptionalParameters() *ListIncidentsOptionalParameters
NewListIncidentsOptionalParameters creates an empty struct for parameters.
func (*ListIncidentsOptionalParameters) WithInclude ¶
func (r *ListIncidentsOptionalParameters) WithInclude(include []IncidentRelatedObject) *ListIncidentsOptionalParameters
WithInclude sets the corresponding parameter name and returns the struct.
func (*ListIncidentsOptionalParameters) WithPageOffset ¶
func (r *ListIncidentsOptionalParameters) WithPageOffset(pageOffset int64) *ListIncidentsOptionalParameters
WithPageOffset sets the corresponding parameter name and returns the struct.
func (*ListIncidentsOptionalParameters) WithPageSize ¶
func (r *ListIncidentsOptionalParameters) WithPageSize(pageSize int64) *ListIncidentsOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
type ListLogsGetOptionalParameters ¶
type ListLogsGetOptionalParameters struct {
FilterQuery *string
FilterIndex *string
FilterFrom *time.Time
FilterTo *time.Time
Sort *LogsSort
PageCursor *string
PageLimit *int32
}
ListLogsGetOptionalParameters holds optional parameters for ListLogsGet.
func NewListLogsGetOptionalParameters ¶
func NewListLogsGetOptionalParameters() *ListLogsGetOptionalParameters
NewListLogsGetOptionalParameters creates an empty struct for parameters.
func (*ListLogsGetOptionalParameters) WithFilterFrom ¶
func (r *ListLogsGetOptionalParameters) WithFilterFrom(filterFrom time.Time) *ListLogsGetOptionalParameters
WithFilterFrom sets the corresponding parameter name and returns the struct.
func (*ListLogsGetOptionalParameters) WithFilterIndex ¶
func (r *ListLogsGetOptionalParameters) WithFilterIndex(filterIndex string) *ListLogsGetOptionalParameters
WithFilterIndex sets the corresponding parameter name and returns the struct.
func (*ListLogsGetOptionalParameters) WithFilterQuery ¶
func (r *ListLogsGetOptionalParameters) WithFilterQuery(filterQuery string) *ListLogsGetOptionalParameters
WithFilterQuery sets the corresponding parameter name and returns the struct.
func (*ListLogsGetOptionalParameters) WithFilterTo ¶
func (r *ListLogsGetOptionalParameters) WithFilterTo(filterTo time.Time) *ListLogsGetOptionalParameters
WithFilterTo sets the corresponding parameter name and returns the struct.
func (*ListLogsGetOptionalParameters) WithPageCursor ¶
func (r *ListLogsGetOptionalParameters) WithPageCursor(pageCursor string) *ListLogsGetOptionalParameters
WithPageCursor sets the corresponding parameter name and returns the struct.
func (*ListLogsGetOptionalParameters) WithPageLimit ¶
func (r *ListLogsGetOptionalParameters) WithPageLimit(pageLimit int32) *ListLogsGetOptionalParameters
WithPageLimit sets the corresponding parameter name and returns the struct.
func (*ListLogsGetOptionalParameters) WithSort ¶
func (r *ListLogsGetOptionalParameters) WithSort(sort LogsSort) *ListLogsGetOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
type ListLogsOptionalParameters ¶
type ListLogsOptionalParameters struct {
Body *LogsListRequest
}
ListLogsOptionalParameters holds optional parameters for ListLogs.
func NewListLogsOptionalParameters ¶
func NewListLogsOptionalParameters() *ListLogsOptionalParameters
NewListLogsOptionalParameters creates an empty struct for parameters.
func (*ListLogsOptionalParameters) WithBody ¶
func (r *ListLogsOptionalParameters) WithBody(body LogsListRequest) *ListLogsOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type ListProcessesOptionalParameters ¶
type ListProcessesOptionalParameters struct {
Search *string
Tags *string
From *int64
To *int64
PageLimit *int32
PageCursor *string
}
ListProcessesOptionalParameters holds optional parameters for ListProcesses.
func NewListProcessesOptionalParameters ¶
func NewListProcessesOptionalParameters() *ListProcessesOptionalParameters
NewListProcessesOptionalParameters creates an empty struct for parameters.
func (*ListProcessesOptionalParameters) WithFrom ¶
func (r *ListProcessesOptionalParameters) WithFrom(from int64) *ListProcessesOptionalParameters
WithFrom sets the corresponding parameter name and returns the struct.
func (*ListProcessesOptionalParameters) WithPageCursor ¶
func (r *ListProcessesOptionalParameters) WithPageCursor(pageCursor string) *ListProcessesOptionalParameters
WithPageCursor sets the corresponding parameter name and returns the struct.
func (*ListProcessesOptionalParameters) WithPageLimit ¶
func (r *ListProcessesOptionalParameters) WithPageLimit(pageLimit int32) *ListProcessesOptionalParameters
WithPageLimit sets the corresponding parameter name and returns the struct.
func (*ListProcessesOptionalParameters) WithSearch ¶
func (r *ListProcessesOptionalParameters) WithSearch(search string) *ListProcessesOptionalParameters
WithSearch sets the corresponding parameter name and returns the struct.
func (*ListProcessesOptionalParameters) WithTags ¶
func (r *ListProcessesOptionalParameters) WithTags(tags string) *ListProcessesOptionalParameters
WithTags sets the corresponding parameter name and returns the struct.
func (*ListProcessesOptionalParameters) WithTo ¶
func (r *ListProcessesOptionalParameters) WithTo(to int64) *ListProcessesOptionalParameters
WithTo sets the corresponding parameter name and returns the struct.
type ListRUMEventsOptionalParameters ¶ added in v1.11.0
type ListRUMEventsOptionalParameters struct {
FilterQuery *string
FilterFrom *time.Time
FilterTo *time.Time
Sort *RUMSort
PageCursor *string
PageLimit *int32
}
ListRUMEventsOptionalParameters holds optional parameters for ListRUMEvents.
func NewListRUMEventsOptionalParameters ¶ added in v1.11.0
func NewListRUMEventsOptionalParameters() *ListRUMEventsOptionalParameters
NewListRUMEventsOptionalParameters creates an empty struct for parameters.
func (*ListRUMEventsOptionalParameters) WithFilterFrom ¶ added in v1.11.0
func (r *ListRUMEventsOptionalParameters) WithFilterFrom(filterFrom time.Time) *ListRUMEventsOptionalParameters
WithFilterFrom sets the corresponding parameter name and returns the struct.
func (*ListRUMEventsOptionalParameters) WithFilterQuery ¶ added in v1.11.0
func (r *ListRUMEventsOptionalParameters) WithFilterQuery(filterQuery string) *ListRUMEventsOptionalParameters
WithFilterQuery sets the corresponding parameter name and returns the struct.
func (*ListRUMEventsOptionalParameters) WithFilterTo ¶ added in v1.11.0
func (r *ListRUMEventsOptionalParameters) WithFilterTo(filterTo time.Time) *ListRUMEventsOptionalParameters
WithFilterTo sets the corresponding parameter name and returns the struct.
func (*ListRUMEventsOptionalParameters) WithPageCursor ¶ added in v1.11.0
func (r *ListRUMEventsOptionalParameters) WithPageCursor(pageCursor string) *ListRUMEventsOptionalParameters
WithPageCursor sets the corresponding parameter name and returns the struct.
func (*ListRUMEventsOptionalParameters) WithPageLimit ¶ added in v1.11.0
func (r *ListRUMEventsOptionalParameters) WithPageLimit(pageLimit int32) *ListRUMEventsOptionalParameters
WithPageLimit sets the corresponding parameter name and returns the struct.
func (*ListRUMEventsOptionalParameters) WithSort ¶ added in v1.11.0
func (r *ListRUMEventsOptionalParameters) WithSort(sort RUMSort) *ListRUMEventsOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
type ListRoleUsersOptionalParameters ¶
type ListRoleUsersOptionalParameters struct {
PageSize *int64
PageNumber *int64
Sort *string
Filter *string
}
ListRoleUsersOptionalParameters holds optional parameters for ListRoleUsers.
func NewListRoleUsersOptionalParameters ¶
func NewListRoleUsersOptionalParameters() *ListRoleUsersOptionalParameters
NewListRoleUsersOptionalParameters creates an empty struct for parameters.
func (*ListRoleUsersOptionalParameters) WithFilter ¶
func (r *ListRoleUsersOptionalParameters) WithFilter(filter string) *ListRoleUsersOptionalParameters
WithFilter sets the corresponding parameter name and returns the struct.
func (*ListRoleUsersOptionalParameters) WithPageNumber ¶
func (r *ListRoleUsersOptionalParameters) WithPageNumber(pageNumber int64) *ListRoleUsersOptionalParameters
WithPageNumber sets the corresponding parameter name and returns the struct.
func (*ListRoleUsersOptionalParameters) WithPageSize ¶
func (r *ListRoleUsersOptionalParameters) WithPageSize(pageSize int64) *ListRoleUsersOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
func (*ListRoleUsersOptionalParameters) WithSort ¶
func (r *ListRoleUsersOptionalParameters) WithSort(sort string) *ListRoleUsersOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
type ListRolesOptionalParameters ¶
type ListRolesOptionalParameters struct {
PageSize *int64
PageNumber *int64
Sort *RolesSort
Filter *string
}
ListRolesOptionalParameters holds optional parameters for ListRoles.
func NewListRolesOptionalParameters ¶
func NewListRolesOptionalParameters() *ListRolesOptionalParameters
NewListRolesOptionalParameters creates an empty struct for parameters.
func (*ListRolesOptionalParameters) WithFilter ¶
func (r *ListRolesOptionalParameters) WithFilter(filter string) *ListRolesOptionalParameters
WithFilter sets the corresponding parameter name and returns the struct.
func (*ListRolesOptionalParameters) WithPageNumber ¶
func (r *ListRolesOptionalParameters) WithPageNumber(pageNumber int64) *ListRolesOptionalParameters
WithPageNumber sets the corresponding parameter name and returns the struct.
func (*ListRolesOptionalParameters) WithPageSize ¶
func (r *ListRolesOptionalParameters) WithPageSize(pageSize int64) *ListRolesOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
func (*ListRolesOptionalParameters) WithSort ¶
func (r *ListRolesOptionalParameters) WithSort(sort RolesSort) *ListRolesOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
type ListSecurityMonitoringRulesOptionalParameters ¶
ListSecurityMonitoringRulesOptionalParameters holds optional parameters for ListSecurityMonitoringRules.
func NewListSecurityMonitoringRulesOptionalParameters ¶
func NewListSecurityMonitoringRulesOptionalParameters() *ListSecurityMonitoringRulesOptionalParameters
NewListSecurityMonitoringRulesOptionalParameters creates an empty struct for parameters.
func (*ListSecurityMonitoringRulesOptionalParameters) WithPageNumber ¶
func (r *ListSecurityMonitoringRulesOptionalParameters) WithPageNumber(pageNumber int64) *ListSecurityMonitoringRulesOptionalParameters
WithPageNumber sets the corresponding parameter name and returns the struct.
func (*ListSecurityMonitoringRulesOptionalParameters) WithPageSize ¶
func (r *ListSecurityMonitoringRulesOptionalParameters) WithPageSize(pageSize int64) *ListSecurityMonitoringRulesOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
type ListSecurityMonitoringSignalsOptionalParameters ¶
type ListSecurityMonitoringSignalsOptionalParameters struct {
FilterQuery *string
FilterFrom *time.Time
FilterTo *time.Time
Sort *SecurityMonitoringSignalsSort
PageCursor *string
PageLimit *int32
}
ListSecurityMonitoringSignalsOptionalParameters holds optional parameters for ListSecurityMonitoringSignals.
func NewListSecurityMonitoringSignalsOptionalParameters ¶
func NewListSecurityMonitoringSignalsOptionalParameters() *ListSecurityMonitoringSignalsOptionalParameters
NewListSecurityMonitoringSignalsOptionalParameters creates an empty struct for parameters.
func (*ListSecurityMonitoringSignalsOptionalParameters) WithFilterFrom ¶
func (r *ListSecurityMonitoringSignalsOptionalParameters) WithFilterFrom(filterFrom time.Time) *ListSecurityMonitoringSignalsOptionalParameters
WithFilterFrom sets the corresponding parameter name and returns the struct.
func (*ListSecurityMonitoringSignalsOptionalParameters) WithFilterQuery ¶
func (r *ListSecurityMonitoringSignalsOptionalParameters) WithFilterQuery(filterQuery string) *ListSecurityMonitoringSignalsOptionalParameters
WithFilterQuery sets the corresponding parameter name and returns the struct.
func (*ListSecurityMonitoringSignalsOptionalParameters) WithFilterTo ¶
func (r *ListSecurityMonitoringSignalsOptionalParameters) WithFilterTo(filterTo time.Time) *ListSecurityMonitoringSignalsOptionalParameters
WithFilterTo sets the corresponding parameter name and returns the struct.
func (*ListSecurityMonitoringSignalsOptionalParameters) WithPageCursor ¶
func (r *ListSecurityMonitoringSignalsOptionalParameters) WithPageCursor(pageCursor string) *ListSecurityMonitoringSignalsOptionalParameters
WithPageCursor sets the corresponding parameter name and returns the struct.
func (*ListSecurityMonitoringSignalsOptionalParameters) WithPageLimit ¶
func (r *ListSecurityMonitoringSignalsOptionalParameters) WithPageLimit(pageLimit int32) *ListSecurityMonitoringSignalsOptionalParameters
WithPageLimit sets the corresponding parameter name and returns the struct.
func (*ListSecurityMonitoringSignalsOptionalParameters) WithSort ¶
func (r *ListSecurityMonitoringSignalsOptionalParameters) WithSort(sort SecurityMonitoringSignalsSort) *ListSecurityMonitoringSignalsOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
type ListServiceAccountApplicationKeysOptionalParameters ¶ added in v1.3.0
type ListServiceAccountApplicationKeysOptionalParameters struct {
PageSize *int64
PageNumber *int64
Sort *ApplicationKeysSort
Filter *string
FilterCreatedAtStart *string
FilterCreatedAtEnd *string
}
ListServiceAccountApplicationKeysOptionalParameters holds optional parameters for ListServiceAccountApplicationKeys.
func NewListServiceAccountApplicationKeysOptionalParameters ¶ added in v1.3.0
func NewListServiceAccountApplicationKeysOptionalParameters() *ListServiceAccountApplicationKeysOptionalParameters
NewListServiceAccountApplicationKeysOptionalParameters creates an empty struct for parameters.
func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilter ¶ added in v1.3.0
func (r *ListServiceAccountApplicationKeysOptionalParameters) WithFilter(filter string) *ListServiceAccountApplicationKeysOptionalParameters
WithFilter sets the corresponding parameter name and returns the struct.
func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtEnd ¶ added in v1.3.0
func (r *ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtEnd(filterCreatedAtEnd string) *ListServiceAccountApplicationKeysOptionalParameters
WithFilterCreatedAtEnd sets the corresponding parameter name and returns the struct.
func (*ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtStart ¶ added in v1.3.0
func (r *ListServiceAccountApplicationKeysOptionalParameters) WithFilterCreatedAtStart(filterCreatedAtStart string) *ListServiceAccountApplicationKeysOptionalParameters
WithFilterCreatedAtStart sets the corresponding parameter name and returns the struct.
func (*ListServiceAccountApplicationKeysOptionalParameters) WithPageNumber ¶ added in v1.3.0
func (r *ListServiceAccountApplicationKeysOptionalParameters) WithPageNumber(pageNumber int64) *ListServiceAccountApplicationKeysOptionalParameters
WithPageNumber sets the corresponding parameter name and returns the struct.
func (*ListServiceAccountApplicationKeysOptionalParameters) WithPageSize ¶ added in v1.3.0
func (r *ListServiceAccountApplicationKeysOptionalParameters) WithPageSize(pageSize int64) *ListServiceAccountApplicationKeysOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
func (*ListServiceAccountApplicationKeysOptionalParameters) WithSort ¶ added in v1.3.0
func (r *ListServiceAccountApplicationKeysOptionalParameters) WithSort(sort ApplicationKeysSort) *ListServiceAccountApplicationKeysOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
type ListTagConfigurationsOptionalParameters ¶
type ListTagConfigurationsOptionalParameters struct {
FilterConfigured *bool
FilterTagsConfigured *string
FilterMetricType *MetricTagConfigurationMetricTypes
FilterIncludePercentiles *bool
FilterTags *string
WindowSeconds *int64
}
ListTagConfigurationsOptionalParameters holds optional parameters for ListTagConfigurations.
func NewListTagConfigurationsOptionalParameters ¶
func NewListTagConfigurationsOptionalParameters() *ListTagConfigurationsOptionalParameters
NewListTagConfigurationsOptionalParameters creates an empty struct for parameters.
func (*ListTagConfigurationsOptionalParameters) WithFilterConfigured ¶
func (r *ListTagConfigurationsOptionalParameters) WithFilterConfigured(filterConfigured bool) *ListTagConfigurationsOptionalParameters
WithFilterConfigured sets the corresponding parameter name and returns the struct.
func (*ListTagConfigurationsOptionalParameters) WithFilterIncludePercentiles ¶
func (r *ListTagConfigurationsOptionalParameters) WithFilterIncludePercentiles(filterIncludePercentiles bool) *ListTagConfigurationsOptionalParameters
WithFilterIncludePercentiles sets the corresponding parameter name and returns the struct.
func (*ListTagConfigurationsOptionalParameters) WithFilterMetricType ¶
func (r *ListTagConfigurationsOptionalParameters) WithFilterMetricType(filterMetricType MetricTagConfigurationMetricTypes) *ListTagConfigurationsOptionalParameters
WithFilterMetricType sets the corresponding parameter name and returns the struct.
func (*ListTagConfigurationsOptionalParameters) WithFilterTags ¶
func (r *ListTagConfigurationsOptionalParameters) WithFilterTags(filterTags string) *ListTagConfigurationsOptionalParameters
WithFilterTags sets the corresponding parameter name and returns the struct.
func (*ListTagConfigurationsOptionalParameters) WithFilterTagsConfigured ¶
func (r *ListTagConfigurationsOptionalParameters) WithFilterTagsConfigured(filterTagsConfigured string) *ListTagConfigurationsOptionalParameters
WithFilterTagsConfigured sets the corresponding parameter name and returns the struct.
func (*ListTagConfigurationsOptionalParameters) WithWindowSeconds ¶
func (r *ListTagConfigurationsOptionalParameters) WithWindowSeconds(windowSeconds int64) *ListTagConfigurationsOptionalParameters
WithWindowSeconds sets the corresponding parameter name and returns the struct.
type ListUsersOptionalParameters ¶
type ListUsersOptionalParameters struct {
PageSize *int64
PageNumber *int64
Sort *string
SortDir *QuerySortOrder
Filter *string
FilterStatus *string
}
ListUsersOptionalParameters holds optional parameters for ListUsers.
func NewListUsersOptionalParameters ¶
func NewListUsersOptionalParameters() *ListUsersOptionalParameters
NewListUsersOptionalParameters creates an empty struct for parameters.
func (*ListUsersOptionalParameters) WithFilter ¶
func (r *ListUsersOptionalParameters) WithFilter(filter string) *ListUsersOptionalParameters
WithFilter sets the corresponding parameter name and returns the struct.
func (*ListUsersOptionalParameters) WithFilterStatus ¶
func (r *ListUsersOptionalParameters) WithFilterStatus(filterStatus string) *ListUsersOptionalParameters
WithFilterStatus sets the corresponding parameter name and returns the struct.
func (*ListUsersOptionalParameters) WithPageNumber ¶
func (r *ListUsersOptionalParameters) WithPageNumber(pageNumber int64) *ListUsersOptionalParameters
WithPageNumber sets the corresponding parameter name and returns the struct.
func (*ListUsersOptionalParameters) WithPageSize ¶
func (r *ListUsersOptionalParameters) WithPageSize(pageSize int64) *ListUsersOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
func (*ListUsersOptionalParameters) WithSort ¶
func (r *ListUsersOptionalParameters) WithSort(sort string) *ListUsersOptionalParameters
WithSort sets the corresponding parameter name and returns the struct.
func (*ListUsersOptionalParameters) WithSortDir ¶
func (r *ListUsersOptionalParameters) WithSortDir(sortDir QuerySortOrder) *ListUsersOptionalParameters
WithSortDir sets the corresponding parameter name and returns the struct.
type Log ¶
type Log struct {
// JSON object containing all log attributes and their associated values.
Attributes *LogAttributes `json:"attributes,omitempty"`
// Unique ID of the Log.
Id *string `json:"id,omitempty"`
// Type of the event.
Type *LogType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
Log Object description of a log after being processed and stored by Datadog.
func NewLog ¶
func NewLog() *Log
NewLog instantiates a new Log object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogWithDefaults ¶
func NewLogWithDefaults() *Log
NewLogWithDefaults instantiates a new Log object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Log) GetAttributes ¶
func (o *Log) GetAttributes() LogAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*Log) GetAttributesOk ¶
func (o *Log) GetAttributesOk() (*LogAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Log) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Log) 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 (*Log) HasAttributes ¶
HasAttributes returns a boolean if a field has been set.
func (Log) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Log) SetAttributes ¶
func (o *Log) SetAttributes(v LogAttributes)
SetAttributes gets a reference to the given LogAttributes and assigns it to the Attributes field.
func (*Log) SetType ¶
SetType gets a reference to the given LogType and assigns it to the Type field.
func (*Log) UnmarshalJSON ¶ added in v1.3.0
UnmarshalJSON deserializes the given payload.
type LogAttributes ¶
type LogAttributes struct {
// JSON object of attributes from your log.
Attributes map[string]interface{} `json:"attributes,omitempty"`
// Name of the machine from where the logs are being sent.
Host *string `json:"host,omitempty"`
// The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes)
// of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry.
// That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.
Message *string `json:"message,omitempty"`
// The name of the application or service generating the log events.
// It is used to switch from Logs to APM, so make sure you define the same
// value when you use both products.
Service *string `json:"service,omitempty"`
// Status of the message associated with your log.
Status *string `json:"status,omitempty"`
// Array of tags associated with your log.
Tags []string `json:"tags,omitempty"`
// Timestamp of your log.
Timestamp *time.Time `json:"timestamp,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogAttributes JSON object containing all log attributes and their associated values.
func NewLogAttributes ¶
func NewLogAttributes() *LogAttributes
NewLogAttributes instantiates a new LogAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogAttributesWithDefaults ¶
func NewLogAttributesWithDefaults() *LogAttributes
NewLogAttributesWithDefaults instantiates a new LogAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogAttributes) GetAttributes ¶
func (o *LogAttributes) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*LogAttributes) GetAttributesOk ¶
func (o *LogAttributes) GetAttributesOk() (*map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogAttributes) GetHost ¶
func (o *LogAttributes) GetHost() string
GetHost returns the Host field value if set, zero value otherwise.
func (*LogAttributes) GetHostOk ¶
func (o *LogAttributes) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogAttributes) GetMessage ¶
func (o *LogAttributes) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*LogAttributes) GetMessageOk ¶
func (o *LogAttributes) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogAttributes) GetService ¶
func (o *LogAttributes) GetService() string
GetService returns the Service field value if set, zero value otherwise.
func (*LogAttributes) GetServiceOk ¶
func (o *LogAttributes) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogAttributes) GetStatus ¶
func (o *LogAttributes) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*LogAttributes) GetStatusOk ¶
func (o *LogAttributes) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogAttributes) GetTags ¶
func (o *LogAttributes) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*LogAttributes) GetTagsOk ¶
func (o *LogAttributes) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogAttributes) GetTimestamp ¶
func (o *LogAttributes) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*LogAttributes) GetTimestampOk ¶
func (o *LogAttributes) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogAttributes) HasAttributes ¶
func (o *LogAttributes) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*LogAttributes) HasHost ¶
func (o *LogAttributes) HasHost() bool
HasHost returns a boolean if a field has been set.
func (*LogAttributes) HasMessage ¶
func (o *LogAttributes) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*LogAttributes) HasService ¶
func (o *LogAttributes) HasService() bool
HasService returns a boolean if a field has been set.
func (*LogAttributes) HasStatus ¶
func (o *LogAttributes) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*LogAttributes) HasTags ¶
func (o *LogAttributes) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*LogAttributes) HasTimestamp ¶
func (o *LogAttributes) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (LogAttributes) MarshalJSON ¶
func (o LogAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogAttributes) SetAttributes ¶
func (o *LogAttributes) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (*LogAttributes) SetHost ¶
func (o *LogAttributes) SetHost(v string)
SetHost gets a reference to the given string and assigns it to the Host field.
func (*LogAttributes) SetMessage ¶
func (o *LogAttributes) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*LogAttributes) SetService ¶
func (o *LogAttributes) SetService(v string)
SetService gets a reference to the given string and assigns it to the Service field.
func (*LogAttributes) SetStatus ¶
func (o *LogAttributes) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*LogAttributes) SetTags ¶
func (o *LogAttributes) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*LogAttributes) SetTimestamp ¶
func (o *LogAttributes) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
func (*LogAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *LogAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogType ¶
type LogType string
LogType Type of the event.
const (
LOGTYPE_LOG LogType = "log"
)
List of LogType.
func NewLogTypeFromValue ¶
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
GetAllowedValues reeturns the list of possible values.
func (*LogType) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type LogsAggregateBucket ¶
type LogsAggregateBucket struct {
// The key, value pairs for each group by
By map[string]string `json:"by,omitempty"`
// A map of the metric name -> value for regular compute or list of values for a timeseries
Computes map[string]LogsAggregateBucketValue `json:"computes,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsAggregateBucket A bucket values
func NewLogsAggregateBucket ¶
func NewLogsAggregateBucket() *LogsAggregateBucket
NewLogsAggregateBucket instantiates a new LogsAggregateBucket object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsAggregateBucketWithDefaults ¶
func NewLogsAggregateBucketWithDefaults() *LogsAggregateBucket
NewLogsAggregateBucketWithDefaults instantiates a new LogsAggregateBucket object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsAggregateBucket) GetBy ¶
func (o *LogsAggregateBucket) GetBy() map[string]string
GetBy returns the By field value if set, zero value otherwise.
func (*LogsAggregateBucket) GetByOk ¶
func (o *LogsAggregateBucket) GetByOk() (*map[string]string, bool)
GetByOk returns a tuple with the By field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateBucket) GetComputes ¶
func (o *LogsAggregateBucket) GetComputes() map[string]LogsAggregateBucketValue
GetComputes returns the Computes field value if set, zero value otherwise.
func (*LogsAggregateBucket) GetComputesOk ¶
func (o *LogsAggregateBucket) GetComputesOk() (*map[string]LogsAggregateBucketValue, bool)
GetComputesOk returns a tuple with the Computes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateBucket) HasBy ¶
func (o *LogsAggregateBucket) HasBy() bool
HasBy returns a boolean if a field has been set.
func (*LogsAggregateBucket) HasComputes ¶
func (o *LogsAggregateBucket) HasComputes() bool
HasComputes returns a boolean if a field has been set.
func (LogsAggregateBucket) MarshalJSON ¶
func (o LogsAggregateBucket) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsAggregateBucket) SetBy ¶
func (o *LogsAggregateBucket) SetBy(v map[string]string)
SetBy gets a reference to the given map[string]string and assigns it to the By field.
func (*LogsAggregateBucket) SetComputes ¶
func (o *LogsAggregateBucket) SetComputes(v map[string]LogsAggregateBucketValue)
SetComputes gets a reference to the given map[string]LogsAggregateBucketValue and assigns it to the Computes field.
func (*LogsAggregateBucket) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsAggregateBucket) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsAggregateBucketValue ¶
type LogsAggregateBucketValue struct {
LogsAggregateBucketValueSingleString *string
LogsAggregateBucketValueSingleNumber *float64
LogsAggregateBucketValueTimeseries *LogsAggregateBucketValueTimeseries
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
LogsAggregateBucketValue - A bucket value, can be either a timeseries or a single value
func LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue ¶ added in v1.11.0
func LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue(v *float64) LogsAggregateBucketValue
LogsAggregateBucketValueSingleNumberAsLogsAggregateBucketValue is a convenience function that returns float64 wrapped in LogsAggregateBucketValue.
func LogsAggregateBucketValueSingleStringAsLogsAggregateBucketValue ¶ added in v1.11.0
func LogsAggregateBucketValueSingleStringAsLogsAggregateBucketValue(v *string) LogsAggregateBucketValue
LogsAggregateBucketValueSingleStringAsLogsAggregateBucketValue is a convenience function that returns string wrapped in LogsAggregateBucketValue.
func LogsAggregateBucketValueTimeseriesAsLogsAggregateBucketValue ¶
func LogsAggregateBucketValueTimeseriesAsLogsAggregateBucketValue(v *LogsAggregateBucketValueTimeseries) LogsAggregateBucketValue
LogsAggregateBucketValueTimeseriesAsLogsAggregateBucketValue is a convenience function that returns LogsAggregateBucketValueTimeseries wrapped in LogsAggregateBucketValue.
func (*LogsAggregateBucketValue) GetActualInstance ¶
func (obj *LogsAggregateBucketValue) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (LogsAggregateBucketValue) MarshalJSON ¶
func (obj LogsAggregateBucketValue) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*LogsAggregateBucketValue) UnmarshalJSON ¶
func (obj *LogsAggregateBucketValue) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type LogsAggregateBucketValueTimeseries ¶
type LogsAggregateBucketValueTimeseries struct {
Items []LogsAggregateBucketValueTimeseriesPoint
// UnparsedObject contains the raw value of the array if there was an error when deserializing into the struct
UnparsedObject []interface{} `json:-`
}
LogsAggregateBucketValueTimeseries A timeseries array
func NewLogsAggregateBucketValueTimeseries ¶
func NewLogsAggregateBucketValueTimeseries() *LogsAggregateBucketValueTimeseries
NewLogsAggregateBucketValueTimeseries instantiates a new LogsAggregateBucketValueTimeseries object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsAggregateBucketValueTimeseriesWithDefaults ¶
func NewLogsAggregateBucketValueTimeseriesWithDefaults() *LogsAggregateBucketValueTimeseries
NewLogsAggregateBucketValueTimeseriesWithDefaults instantiates a new LogsAggregateBucketValueTimeseries object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (LogsAggregateBucketValueTimeseries) MarshalJSON ¶
func (o LogsAggregateBucketValueTimeseries) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsAggregateBucketValueTimeseries) UnmarshalJSON ¶
func (o *LogsAggregateBucketValueTimeseries) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsAggregateBucketValueTimeseriesPoint ¶
type LogsAggregateBucketValueTimeseriesPoint struct {
// The time value for this point
Time *string `json:"time,omitempty"`
// The value for this point
Value *float64 `json:"value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsAggregateBucketValueTimeseriesPoint A timeseries point
func NewLogsAggregateBucketValueTimeseriesPoint ¶
func NewLogsAggregateBucketValueTimeseriesPoint() *LogsAggregateBucketValueTimeseriesPoint
NewLogsAggregateBucketValueTimeseriesPoint instantiates a new LogsAggregateBucketValueTimeseriesPoint object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsAggregateBucketValueTimeseriesPointWithDefaults ¶
func NewLogsAggregateBucketValueTimeseriesPointWithDefaults() *LogsAggregateBucketValueTimeseriesPoint
NewLogsAggregateBucketValueTimeseriesPointWithDefaults instantiates a new LogsAggregateBucketValueTimeseriesPoint object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsAggregateBucketValueTimeseriesPoint) GetTime ¶
func (o *LogsAggregateBucketValueTimeseriesPoint) GetTime() string
GetTime returns the Time field value if set, zero value otherwise.
func (*LogsAggregateBucketValueTimeseriesPoint) GetTimeOk ¶
func (o *LogsAggregateBucketValueTimeseriesPoint) GetTimeOk() (*string, bool)
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 ¶
func (o *LogsAggregateBucketValueTimeseriesPoint) GetValue() float64
GetValue returns the Value field value if set, zero value otherwise.
func (*LogsAggregateBucketValueTimeseriesPoint) GetValueOk ¶
func (o *LogsAggregateBucketValueTimeseriesPoint) GetValueOk() (*float64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateBucketValueTimeseriesPoint) HasTime ¶
func (o *LogsAggregateBucketValueTimeseriesPoint) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*LogsAggregateBucketValueTimeseriesPoint) HasValue ¶
func (o *LogsAggregateBucketValueTimeseriesPoint) HasValue() bool
HasValue returns a boolean if a field has been set.
func (LogsAggregateBucketValueTimeseriesPoint) MarshalJSON ¶
func (o LogsAggregateBucketValueTimeseriesPoint) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsAggregateBucketValueTimeseriesPoint) SetTime ¶
func (o *LogsAggregateBucketValueTimeseriesPoint) SetTime(v string)
SetTime gets a reference to the given string and assigns it to the Time field.
func (*LogsAggregateBucketValueTimeseriesPoint) SetValue ¶
func (o *LogsAggregateBucketValueTimeseriesPoint) SetValue(v float64)
SetValue gets a reference to the given float64 and assigns it to the Value field.
func (*LogsAggregateBucketValueTimeseriesPoint) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsAggregateBucketValueTimeseriesPoint) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsAggregateRequest ¶
type LogsAggregateRequest struct {
// The list of metrics or timeseries to compute for the retrieved buckets.
Compute []LogsCompute `json:"compute,omitempty"`
// The search and filter query settings
Filter *LogsQueryFilter `json:"filter,omitempty"`
// The rules for the group by
GroupBy []LogsGroupBy `json:"group_by,omitempty"`
// Global query options that are used during the query.
// Note: You should only supply timezone or time offset but not both otherwise the query will fail.
Options *LogsQueryOptions `json:"options,omitempty"`
// Paging settings
Page *LogsAggregateRequestPage `json:"page,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsAggregateRequest The object sent with the request to retrieve a list of logs from your organization.
func NewLogsAggregateRequest ¶
func NewLogsAggregateRequest() *LogsAggregateRequest
NewLogsAggregateRequest instantiates a new LogsAggregateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsAggregateRequestWithDefaults ¶
func NewLogsAggregateRequestWithDefaults() *LogsAggregateRequest
NewLogsAggregateRequestWithDefaults instantiates a new LogsAggregateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsAggregateRequest) GetCompute ¶
func (o *LogsAggregateRequest) GetCompute() []LogsCompute
GetCompute returns the Compute field value if set, zero value otherwise.
func (*LogsAggregateRequest) GetComputeOk ¶
func (o *LogsAggregateRequest) GetComputeOk() (*[]LogsCompute, bool)
GetComputeOk returns a tuple with the Compute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateRequest) GetFilter ¶
func (o *LogsAggregateRequest) GetFilter() LogsQueryFilter
GetFilter returns the Filter field value if set, zero value otherwise.
func (*LogsAggregateRequest) GetFilterOk ¶
func (o *LogsAggregateRequest) GetFilterOk() (*LogsQueryFilter, bool)
GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateRequest) GetGroupBy ¶
func (o *LogsAggregateRequest) GetGroupBy() []LogsGroupBy
GetGroupBy returns the GroupBy field value if set, zero value otherwise.
func (*LogsAggregateRequest) GetGroupByOk ¶
func (o *LogsAggregateRequest) GetGroupByOk() (*[]LogsGroupBy, bool)
GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateRequest) GetOptions ¶
func (o *LogsAggregateRequest) GetOptions() LogsQueryOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*LogsAggregateRequest) GetOptionsOk ¶
func (o *LogsAggregateRequest) GetOptionsOk() (*LogsQueryOptions, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateRequest) GetPage ¶
func (o *LogsAggregateRequest) GetPage() LogsAggregateRequestPage
GetPage returns the Page field value if set, zero value otherwise.
func (*LogsAggregateRequest) GetPageOk ¶
func (o *LogsAggregateRequest) GetPageOk() (*LogsAggregateRequestPage, 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 (*LogsAggregateRequest) HasCompute ¶
func (o *LogsAggregateRequest) HasCompute() bool
HasCompute returns a boolean if a field has been set.
func (*LogsAggregateRequest) HasFilter ¶
func (o *LogsAggregateRequest) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*LogsAggregateRequest) HasGroupBy ¶
func (o *LogsAggregateRequest) HasGroupBy() bool
HasGroupBy returns a boolean if a field has been set.
func (*LogsAggregateRequest) HasOptions ¶
func (o *LogsAggregateRequest) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*LogsAggregateRequest) HasPage ¶
func (o *LogsAggregateRequest) HasPage() bool
HasPage returns a boolean if a field has been set.
func (LogsAggregateRequest) MarshalJSON ¶
func (o LogsAggregateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsAggregateRequest) SetCompute ¶
func (o *LogsAggregateRequest) SetCompute(v []LogsCompute)
SetCompute gets a reference to the given []LogsCompute and assigns it to the Compute field.
func (*LogsAggregateRequest) SetFilter ¶
func (o *LogsAggregateRequest) SetFilter(v LogsQueryFilter)
SetFilter gets a reference to the given LogsQueryFilter and assigns it to the Filter field.
func (*LogsAggregateRequest) SetGroupBy ¶
func (o *LogsAggregateRequest) SetGroupBy(v []LogsGroupBy)
SetGroupBy gets a reference to the given []LogsGroupBy and assigns it to the GroupBy field.
func (*LogsAggregateRequest) SetOptions ¶
func (o *LogsAggregateRequest) SetOptions(v LogsQueryOptions)
SetOptions gets a reference to the given LogsQueryOptions and assigns it to the Options field.
func (*LogsAggregateRequest) SetPage ¶
func (o *LogsAggregateRequest) SetPage(v LogsAggregateRequestPage)
SetPage gets a reference to the given LogsAggregateRequestPage and assigns it to the Page field.
func (*LogsAggregateRequest) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsAggregateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsAggregateRequestPage ¶
type LogsAggregateRequestPage struct {
// The returned paging point to use to get the next results
Cursor *string `json:"cursor,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsAggregateRequestPage Paging settings
func NewLogsAggregateRequestPage ¶
func NewLogsAggregateRequestPage() *LogsAggregateRequestPage
NewLogsAggregateRequestPage instantiates a new LogsAggregateRequestPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsAggregateRequestPageWithDefaults ¶
func NewLogsAggregateRequestPageWithDefaults() *LogsAggregateRequestPage
NewLogsAggregateRequestPageWithDefaults instantiates a new LogsAggregateRequestPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsAggregateRequestPage) GetCursor ¶
func (o *LogsAggregateRequestPage) GetCursor() string
GetCursor returns the Cursor field value if set, zero value otherwise.
func (*LogsAggregateRequestPage) GetCursorOk ¶
func (o *LogsAggregateRequestPage) GetCursorOk() (*string, bool)
GetCursorOk returns a tuple with the Cursor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateRequestPage) HasCursor ¶
func (o *LogsAggregateRequestPage) HasCursor() bool
HasCursor returns a boolean if a field has been set.
func (LogsAggregateRequestPage) MarshalJSON ¶
func (o LogsAggregateRequestPage) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsAggregateRequestPage) SetCursor ¶
func (o *LogsAggregateRequestPage) SetCursor(v string)
SetCursor gets a reference to the given string and assigns it to the Cursor field.
func (*LogsAggregateRequestPage) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsAggregateRequestPage) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsAggregateResponse ¶
type LogsAggregateResponse struct {
// The query results
Data *LogsAggregateResponseData `json:"data,omitempty"`
// The metadata associated with a request
Meta *LogsResponseMetadata `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsAggregateResponse The response object for the logs aggregate API endpoint
func NewLogsAggregateResponse ¶
func NewLogsAggregateResponse() *LogsAggregateResponse
NewLogsAggregateResponse instantiates a new LogsAggregateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsAggregateResponseWithDefaults ¶
func NewLogsAggregateResponseWithDefaults() *LogsAggregateResponse
NewLogsAggregateResponseWithDefaults instantiates a new LogsAggregateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsAggregateResponse) GetData ¶
func (o *LogsAggregateResponse) GetData() LogsAggregateResponseData
GetData returns the Data field value if set, zero value otherwise.
func (*LogsAggregateResponse) GetDataOk ¶
func (o *LogsAggregateResponse) GetDataOk() (*LogsAggregateResponseData, 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 (*LogsAggregateResponse) GetMeta ¶
func (o *LogsAggregateResponse) GetMeta() LogsResponseMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*LogsAggregateResponse) GetMetaOk ¶
func (o *LogsAggregateResponse) GetMetaOk() (*LogsResponseMetadata, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateResponse) HasData ¶
func (o *LogsAggregateResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*LogsAggregateResponse) HasMeta ¶
func (o *LogsAggregateResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (LogsAggregateResponse) MarshalJSON ¶
func (o LogsAggregateResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsAggregateResponse) SetData ¶
func (o *LogsAggregateResponse) SetData(v LogsAggregateResponseData)
SetData gets a reference to the given LogsAggregateResponseData and assigns it to the Data field.
func (*LogsAggregateResponse) SetMeta ¶
func (o *LogsAggregateResponse) SetMeta(v LogsResponseMetadata)
SetMeta gets a reference to the given LogsResponseMetadata and assigns it to the Meta field.
func (*LogsAggregateResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsAggregateResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsAggregateResponseData ¶
type LogsAggregateResponseData struct {
// The list of matching buckets, one item per bucket
Buckets []LogsAggregateBucket `json:"buckets,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsAggregateResponseData The query results
func NewLogsAggregateResponseData ¶
func NewLogsAggregateResponseData() *LogsAggregateResponseData
NewLogsAggregateResponseData instantiates a new LogsAggregateResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsAggregateResponseDataWithDefaults ¶
func NewLogsAggregateResponseDataWithDefaults() *LogsAggregateResponseData
NewLogsAggregateResponseDataWithDefaults instantiates a new LogsAggregateResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsAggregateResponseData) GetBuckets ¶
func (o *LogsAggregateResponseData) GetBuckets() []LogsAggregateBucket
GetBuckets returns the Buckets field value if set, zero value otherwise.
func (*LogsAggregateResponseData) GetBucketsOk ¶
func (o *LogsAggregateResponseData) GetBucketsOk() (*[]LogsAggregateBucket, bool)
GetBucketsOk returns a tuple with the Buckets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateResponseData) HasBuckets ¶
func (o *LogsAggregateResponseData) HasBuckets() bool
HasBuckets returns a boolean if a field has been set.
func (LogsAggregateResponseData) MarshalJSON ¶
func (o LogsAggregateResponseData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsAggregateResponseData) SetBuckets ¶
func (o *LogsAggregateResponseData) SetBuckets(v []LogsAggregateBucket)
SetBuckets gets a reference to the given []LogsAggregateBucket and assigns it to the Buckets field.
func (*LogsAggregateResponseData) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsAggregateResponseData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsAggregateResponseStatus ¶
type LogsAggregateResponseStatus string
LogsAggregateResponseStatus The status of the response
const ( LOGSAGGREGATERESPONSESTATUS_DONE LogsAggregateResponseStatus = "done" LOGSAGGREGATERESPONSESTATUS_TIMEOUT LogsAggregateResponseStatus = "timeout" )
List of LogsAggregateResponseStatus.
func NewLogsAggregateResponseStatusFromValue ¶
func NewLogsAggregateResponseStatusFromValue(v string) (*LogsAggregateResponseStatus, error)
NewLogsAggregateResponseStatusFromValue returns a pointer to a valid LogsAggregateResponseStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsAggregateResponseStatus) GetAllowedValues ¶ added in v1.1.0
func (v *LogsAggregateResponseStatus) GetAllowedValues() []LogsAggregateResponseStatus
GetAllowedValues reeturns the list of possible values.
func (LogsAggregateResponseStatus) IsValid ¶
func (v LogsAggregateResponseStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsAggregateResponseStatus) Ptr ¶
func (v LogsAggregateResponseStatus) Ptr() *LogsAggregateResponseStatus
Ptr returns reference to LogsAggregateResponseStatus value.
func (*LogsAggregateResponseStatus) UnmarshalJSON ¶
func (v *LogsAggregateResponseStatus) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsAggregateSort ¶
type LogsAggregateSort struct {
// An aggregation function
Aggregation *LogsAggregationFunction `json:"aggregation,omitempty"`
// The metric to sort by (only used for `type=measure`)
Metric *string `json:"metric,omitempty"`
// The order to use, ascending or descending
Order *LogsSortOrder `json:"order,omitempty"`
// The type of sorting algorithm
Type *LogsAggregateSortType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsAggregateSort A sort rule
func NewLogsAggregateSort ¶
func NewLogsAggregateSort() *LogsAggregateSort
NewLogsAggregateSort instantiates a new LogsAggregateSort object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsAggregateSortWithDefaults ¶
func NewLogsAggregateSortWithDefaults() *LogsAggregateSort
NewLogsAggregateSortWithDefaults instantiates a new LogsAggregateSort object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsAggregateSort) GetAggregation ¶
func (o *LogsAggregateSort) GetAggregation() LogsAggregationFunction
GetAggregation returns the Aggregation field value if set, zero value otherwise.
func (*LogsAggregateSort) GetAggregationOk ¶
func (o *LogsAggregateSort) GetAggregationOk() (*LogsAggregationFunction, bool)
GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateSort) GetMetric ¶
func (o *LogsAggregateSort) GetMetric() string
GetMetric returns the Metric field value if set, zero value otherwise.
func (*LogsAggregateSort) GetMetricOk ¶
func (o *LogsAggregateSort) GetMetricOk() (*string, bool)
GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateSort) GetOrder ¶
func (o *LogsAggregateSort) GetOrder() LogsSortOrder
GetOrder returns the Order field value if set, zero value otherwise.
func (*LogsAggregateSort) GetOrderOk ¶
func (o *LogsAggregateSort) GetOrderOk() (*LogsSortOrder, bool)
GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateSort) GetType ¶
func (o *LogsAggregateSort) GetType() LogsAggregateSortType
GetType returns the Type field value if set, zero value otherwise.
func (*LogsAggregateSort) GetTypeOk ¶
func (o *LogsAggregateSort) GetTypeOk() (*LogsAggregateSortType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsAggregateSort) HasAggregation ¶
func (o *LogsAggregateSort) HasAggregation() bool
HasAggregation returns a boolean if a field has been set.
func (*LogsAggregateSort) HasMetric ¶
func (o *LogsAggregateSort) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (*LogsAggregateSort) HasOrder ¶
func (o *LogsAggregateSort) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (*LogsAggregateSort) HasType ¶
func (o *LogsAggregateSort) HasType() bool
HasType returns a boolean if a field has been set.
func (LogsAggregateSort) MarshalJSON ¶
func (o LogsAggregateSort) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsAggregateSort) SetAggregation ¶
func (o *LogsAggregateSort) SetAggregation(v LogsAggregationFunction)
SetAggregation gets a reference to the given LogsAggregationFunction and assigns it to the Aggregation field.
func (*LogsAggregateSort) SetMetric ¶
func (o *LogsAggregateSort) SetMetric(v string)
SetMetric gets a reference to the given string and assigns it to the Metric field.
func (*LogsAggregateSort) SetOrder ¶
func (o *LogsAggregateSort) SetOrder(v LogsSortOrder)
SetOrder gets a reference to the given LogsSortOrder and assigns it to the Order field.
func (*LogsAggregateSort) SetType ¶
func (o *LogsAggregateSort) SetType(v LogsAggregateSortType)
SetType gets a reference to the given LogsAggregateSortType and assigns it to the Type field.
func (*LogsAggregateSort) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsAggregateSort) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsAggregateSortType ¶
type LogsAggregateSortType string
LogsAggregateSortType The type of sorting algorithm
const ( LOGSAGGREGATESORTTYPE_ALPHABETICAL LogsAggregateSortType = "alphabetical" LOGSAGGREGATESORTTYPE_MEASURE LogsAggregateSortType = "measure" )
List of LogsAggregateSortType.
func NewLogsAggregateSortTypeFromValue ¶
func NewLogsAggregateSortTypeFromValue(v string) (*LogsAggregateSortType, error)
NewLogsAggregateSortTypeFromValue returns a pointer to a valid LogsAggregateSortType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsAggregateSortType) GetAllowedValues ¶ added in v1.1.0
func (v *LogsAggregateSortType) GetAllowedValues() []LogsAggregateSortType
GetAllowedValues reeturns the list of possible values.
func (LogsAggregateSortType) IsValid ¶
func (v LogsAggregateSortType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsAggregateSortType) Ptr ¶
func (v LogsAggregateSortType) Ptr() *LogsAggregateSortType
Ptr returns reference to LogsAggregateSortType value.
func (*LogsAggregateSortType) UnmarshalJSON ¶
func (v *LogsAggregateSortType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsAggregationFunction ¶
type LogsAggregationFunction string
LogsAggregationFunction An aggregation function
const ( LOGSAGGREGATIONFUNCTION_COUNT LogsAggregationFunction = "count" LOGSAGGREGATIONFUNCTION_CARDINALITY LogsAggregationFunction = "cardinality" LOGSAGGREGATIONFUNCTION_PERCENTILE_75 LogsAggregationFunction = "pc75" LOGSAGGREGATIONFUNCTION_PERCENTILE_90 LogsAggregationFunction = "pc90" LOGSAGGREGATIONFUNCTION_PERCENTILE_95 LogsAggregationFunction = "pc95" LOGSAGGREGATIONFUNCTION_PERCENTILE_98 LogsAggregationFunction = "pc98" LOGSAGGREGATIONFUNCTION_PERCENTILE_99 LogsAggregationFunction = "pc99" LOGSAGGREGATIONFUNCTION_SUM LogsAggregationFunction = "sum" LOGSAGGREGATIONFUNCTION_MIN LogsAggregationFunction = "min" LOGSAGGREGATIONFUNCTION_MAX LogsAggregationFunction = "max" LOGSAGGREGATIONFUNCTION_AVG LogsAggregationFunction = "avg" LOGSAGGREGATIONFUNCTION_MEDIAN LogsAggregationFunction = "median" )
List of LogsAggregationFunction.
func NewLogsAggregationFunctionFromValue ¶
func NewLogsAggregationFunctionFromValue(v string) (*LogsAggregationFunction, error)
NewLogsAggregationFunctionFromValue returns a pointer to a valid LogsAggregationFunction for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsAggregationFunction) GetAllowedValues ¶ added in v1.1.0
func (v *LogsAggregationFunction) GetAllowedValues() []LogsAggregationFunction
GetAllowedValues reeturns the list of possible values.
func (LogsAggregationFunction) IsValid ¶
func (v LogsAggregationFunction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsAggregationFunction) Ptr ¶
func (v LogsAggregationFunction) Ptr() *LogsAggregationFunction
Ptr returns reference to LogsAggregationFunction value.
func (*LogsAggregationFunction) UnmarshalJSON ¶
func (v *LogsAggregationFunction) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsApiService ¶
type LogsApiService service
LogsApiService LogsApi service.
func (*LogsApiService) AggregateLogs ¶
func (a *LogsApiService) AggregateLogs(ctx _context.Context, body LogsAggregateRequest) (LogsAggregateResponse, *_nethttp.Response, error)
AggregateLogs Aggregate events. The API endpoint to aggregate events into buckets and compute metrics and timeseries.
func (*LogsApiService) ListLogs ¶
func (a *LogsApiService) ListLogs(ctx _context.Context, o ...ListLogsOptionalParameters) (LogsListResponse, *_nethttp.Response, error)
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 ¶
func (a *LogsApiService) ListLogsGet(ctx _context.Context, o ...ListLogsGetOptionalParameters) (LogsListResponse, *_nethttp.Response, error)
ListLogsGet Get a list of logs. List endpoint returns logs that match a log search query. [Results are paginated][1].
Use this endpoint to see your latest logs.
**If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].**
[1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives
func (*LogsApiService) ListLogsGetWithPagination ¶ added in v1.14.0
func (a *LogsApiService) ListLogsGetWithPagination(ctx _context.Context, o ...ListLogsGetOptionalParameters) (<-chan Log, func(), error)
ListLogsGetWithPagination provides a paginated version of ListLogsGet returning a channel with all items.
func (*LogsApiService) ListLogsWithPagination ¶ added in v1.14.0
func (a *LogsApiService) ListLogsWithPagination(ctx _context.Context, o ...ListLogsOptionalParameters) (<-chan Log, func(), error)
ListLogsWithPagination provides a paginated version of ListLogs returning a channel with all items.
func (*LogsApiService) SubmitLog ¶ added in v1.6.0
func (a *LogsApiService) SubmitLog(ctx _context.Context, body []HTTPLogItem, o ...SubmitLogOptionalParameters) (interface{}, *_nethttp.Response, error)
SubmitLog Send logs. Send your logs to your Datadog platform over HTTP. Limits per HTTP request are:
- Maximum content size per payload (uncompressed): 5MB - Maximum size for a single log: 1MB - Maximum array size if sending multiple logs in an array: 1000 entries
Any log exceeding 1MB is accepted and truncated by Datadog: - For a single log request, the API truncates the log at 1MB and returns a 2xx. - For a multi-logs request, the API processes all logs, truncates only logs larger than 1MB, and returns a 2xx.
Datadog recommends sending your logs compressed. Add the `Content-Encoding: gzip` header to the request when sending compressed logs.
The status codes answered by the HTTP API are: - 202: Accepted: the request has been accepted for processing - 400: Bad request (likely an issue in the payload formatting) - 401: Unauthorized (likely a missing API Key) - 403: Permission issue (likely using an invalid API Key) - 408: Request Timeout, request should be retried after some time - 413: Payload too large (batch is above 5MB uncompressed) - 429: Too Many Requests, request should be retried after some time - 500: Internal Server Error, the server encountered an unexpected condition that prevented it from fulfilling the request, request should be retried after some time - 503: Service Unavailable, the server is not ready to handle the request probably because it is overloaded, request should be retried after some time
type LogsArchive ¶
type LogsArchive struct {
// The definition of an archive.
Data *LogsArchiveDefinition `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchive The logs archive.
func NewLogsArchive ¶
func NewLogsArchive() *LogsArchive
NewLogsArchive instantiates a new LogsArchive object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveWithDefaults ¶
func NewLogsArchiveWithDefaults() *LogsArchive
NewLogsArchiveWithDefaults instantiates a new LogsArchive object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchive) GetData ¶
func (o *LogsArchive) GetData() LogsArchiveDefinition
GetData returns the Data field value if set, zero value otherwise.
func (*LogsArchive) GetDataOk ¶
func (o *LogsArchive) GetDataOk() (*LogsArchiveDefinition, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsArchive) HasData ¶
func (o *LogsArchive) HasData() bool
HasData returns a boolean if a field has been set.
func (LogsArchive) MarshalJSON ¶
func (o LogsArchive) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchive) SetData ¶
func (o *LogsArchive) SetData(v LogsArchiveDefinition)
SetData gets a reference to the given LogsArchiveDefinition and assigns it to the Data field.
func (*LogsArchive) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsArchive) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveAttributes ¶
type LogsArchiveAttributes struct {
// An archive's destination.
Destination NullableLogsArchiveDestination `json:"destination"`
// To store the tags in the archive, set the value "true".
// If it is set to "false", the tags will be deleted when the logs are sent to the archive.
IncludeTags *bool `json:"include_tags,omitempty"`
// The archive name.
Name string `json:"name"`
// The archive query/filter. Logs matching this query are included in the archive.
Query string `json:"query"`
// Maximum scan size for rehydration from this archive.
RehydrationMaxScanSizeInGb NullableInt64 `json:"rehydration_max_scan_size_in_gb,omitempty"`
// An array of tags to add to rehydrated logs from an archive.
RehydrationTags []string `json:"rehydration_tags,omitempty"`
// The state of the archive.
State *LogsArchiveState `json:"state,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveAttributes The attributes associated with the archive.
func NewLogsArchiveAttributes ¶
func NewLogsArchiveAttributes(destination NullableLogsArchiveDestination, name string, query string) *LogsArchiveAttributes
NewLogsArchiveAttributes instantiates a new LogsArchiveAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveAttributesWithDefaults ¶
func NewLogsArchiveAttributesWithDefaults() *LogsArchiveAttributes
NewLogsArchiveAttributesWithDefaults instantiates a new LogsArchiveAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveAttributes) GetDestination ¶
func (o *LogsArchiveAttributes) GetDestination() LogsArchiveDestination
GetDestination returns the Destination field value. If the value is explicit nil, the zero value for LogsArchiveDestination will be returned.
func (*LogsArchiveAttributes) GetDestinationOk ¶
func (o *LogsArchiveAttributes) GetDestinationOk() (*LogsArchiveDestination, bool)
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*LogsArchiveAttributes) GetIncludeTags ¶
func (o *LogsArchiveAttributes) GetIncludeTags() bool
GetIncludeTags returns the IncludeTags field value if set, zero value otherwise.
func (*LogsArchiveAttributes) GetIncludeTagsOk ¶
func (o *LogsArchiveAttributes) GetIncludeTagsOk() (*bool, bool)
GetIncludeTagsOk returns a tuple with the IncludeTags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsArchiveAttributes) GetName ¶
func (o *LogsArchiveAttributes) GetName() string
GetName returns the Name field value.
func (*LogsArchiveAttributes) GetNameOk ¶
func (o *LogsArchiveAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*LogsArchiveAttributes) GetQuery ¶
func (o *LogsArchiveAttributes) GetQuery() string
GetQuery returns the Query field value.
func (*LogsArchiveAttributes) GetQueryOk ¶
func (o *LogsArchiveAttributes) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (*LogsArchiveAttributes) GetRehydrationMaxScanSizeInGb ¶ added in v1.14.0
func (o *LogsArchiveAttributes) GetRehydrationMaxScanSizeInGb() int64
GetRehydrationMaxScanSizeInGb returns the RehydrationMaxScanSizeInGb field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LogsArchiveAttributes) GetRehydrationMaxScanSizeInGbOk ¶ added in v1.14.0
func (o *LogsArchiveAttributes) GetRehydrationMaxScanSizeInGbOk() (*int64, bool)
GetRehydrationMaxScanSizeInGbOk returns a tuple with the RehydrationMaxScanSizeInGb field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*LogsArchiveAttributes) GetRehydrationTags ¶
func (o *LogsArchiveAttributes) GetRehydrationTags() []string
GetRehydrationTags returns the RehydrationTags field value if set, zero value otherwise.
func (*LogsArchiveAttributes) GetRehydrationTagsOk ¶
func (o *LogsArchiveAttributes) GetRehydrationTagsOk() (*[]string, bool)
GetRehydrationTagsOk returns a tuple with the RehydrationTags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsArchiveAttributes) GetState ¶
func (o *LogsArchiveAttributes) GetState() LogsArchiveState
GetState returns the State field value if set, zero value otherwise.
func (*LogsArchiveAttributes) GetStateOk ¶
func (o *LogsArchiveAttributes) GetStateOk() (*LogsArchiveState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsArchiveAttributes) HasIncludeTags ¶
func (o *LogsArchiveAttributes) HasIncludeTags() bool
HasIncludeTags returns a boolean if a field has been set.
func (*LogsArchiveAttributes) HasRehydrationMaxScanSizeInGb ¶ added in v1.14.0
func (o *LogsArchiveAttributes) HasRehydrationMaxScanSizeInGb() bool
HasRehydrationMaxScanSizeInGb returns a boolean if a field has been set.
func (*LogsArchiveAttributes) HasRehydrationTags ¶
func (o *LogsArchiveAttributes) HasRehydrationTags() bool
HasRehydrationTags returns a boolean if a field has been set.
func (*LogsArchiveAttributes) HasState ¶
func (o *LogsArchiveAttributes) HasState() bool
HasState returns a boolean if a field has been set.
func (LogsArchiveAttributes) MarshalJSON ¶
func (o LogsArchiveAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveAttributes) SetDestination ¶
func (o *LogsArchiveAttributes) SetDestination(v LogsArchiveDestination)
SetDestination sets field value.
func (*LogsArchiveAttributes) SetIncludeTags ¶
func (o *LogsArchiveAttributes) SetIncludeTags(v bool)
SetIncludeTags gets a reference to the given bool and assigns it to the IncludeTags field.
func (*LogsArchiveAttributes) SetName ¶
func (o *LogsArchiveAttributes) SetName(v string)
SetName sets field value.
func (*LogsArchiveAttributes) SetQuery ¶
func (o *LogsArchiveAttributes) SetQuery(v string)
SetQuery sets field value.
func (*LogsArchiveAttributes) SetRehydrationMaxScanSizeInGb ¶ added in v1.14.0
func (o *LogsArchiveAttributes) SetRehydrationMaxScanSizeInGb(v int64)
SetRehydrationMaxScanSizeInGb gets a reference to the given NullableInt64 and assigns it to the RehydrationMaxScanSizeInGb field.
func (*LogsArchiveAttributes) SetRehydrationMaxScanSizeInGbNil ¶ added in v1.14.0
func (o *LogsArchiveAttributes) SetRehydrationMaxScanSizeInGbNil()
SetRehydrationMaxScanSizeInGbNil sets the value for RehydrationMaxScanSizeInGb to be an explicit nil.
func (*LogsArchiveAttributes) SetRehydrationTags ¶
func (o *LogsArchiveAttributes) SetRehydrationTags(v []string)
SetRehydrationTags gets a reference to the given []string and assigns it to the RehydrationTags field.
func (*LogsArchiveAttributes) SetState ¶
func (o *LogsArchiveAttributes) SetState(v LogsArchiveState)
SetState gets a reference to the given LogsArchiveState and assigns it to the State field.
func (*LogsArchiveAttributes) UnmarshalJSON ¶
func (o *LogsArchiveAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*LogsArchiveAttributes) UnsetRehydrationMaxScanSizeInGb ¶ added in v1.14.0
func (o *LogsArchiveAttributes) UnsetRehydrationMaxScanSizeInGb()
UnsetRehydrationMaxScanSizeInGb ensures that no value is present for RehydrationMaxScanSizeInGb, not even an explicit nil.
type LogsArchiveCreateRequest ¶
type LogsArchiveCreateRequest struct {
// The definition of an archive.
Data *LogsArchiveCreateRequestDefinition `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveCreateRequest The logs archive.
func NewLogsArchiveCreateRequest ¶
func NewLogsArchiveCreateRequest() *LogsArchiveCreateRequest
NewLogsArchiveCreateRequest instantiates a new LogsArchiveCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveCreateRequestWithDefaults ¶
func NewLogsArchiveCreateRequestWithDefaults() *LogsArchiveCreateRequest
NewLogsArchiveCreateRequestWithDefaults instantiates a new LogsArchiveCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveCreateRequest) GetData ¶
func (o *LogsArchiveCreateRequest) GetData() LogsArchiveCreateRequestDefinition
GetData returns the Data field value if set, zero value otherwise.
func (*LogsArchiveCreateRequest) GetDataOk ¶
func (o *LogsArchiveCreateRequest) GetDataOk() (*LogsArchiveCreateRequestDefinition, 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 (*LogsArchiveCreateRequest) HasData ¶
func (o *LogsArchiveCreateRequest) HasData() bool
HasData returns a boolean if a field has been set.
func (LogsArchiveCreateRequest) MarshalJSON ¶
func (o LogsArchiveCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveCreateRequest) SetData ¶
func (o *LogsArchiveCreateRequest) SetData(v LogsArchiveCreateRequestDefinition)
SetData gets a reference to the given LogsArchiveCreateRequestDefinition and assigns it to the Data field.
func (*LogsArchiveCreateRequest) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsArchiveCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveCreateRequestAttributes ¶
type LogsArchiveCreateRequestAttributes struct {
// An archive's destination.
Destination LogsArchiveCreateRequestDestination `json:"destination"`
// To store the tags in the archive, set the value "true".
// If it is set to "false", the tags will be deleted when the logs are sent to the archive.
IncludeTags *bool `json:"include_tags,omitempty"`
// The archive name.
Name string `json:"name"`
// The archive query/filter. Logs matching this query are included in the archive.
Query string `json:"query"`
// Maximum scan size for rehydration from this archive.
RehydrationMaxScanSizeInGb NullableInt64 `json:"rehydration_max_scan_size_in_gb,omitempty"`
// An array of tags to add to rehydrated logs from an archive.
RehydrationTags []string `json:"rehydration_tags,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveCreateRequestAttributes The attributes associated with the archive.
func NewLogsArchiveCreateRequestAttributes ¶
func NewLogsArchiveCreateRequestAttributes(destination LogsArchiveCreateRequestDestination, name string, query string) *LogsArchiveCreateRequestAttributes
NewLogsArchiveCreateRequestAttributes instantiates a new LogsArchiveCreateRequestAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveCreateRequestAttributesWithDefaults ¶
func NewLogsArchiveCreateRequestAttributesWithDefaults() *LogsArchiveCreateRequestAttributes
NewLogsArchiveCreateRequestAttributesWithDefaults instantiates a new LogsArchiveCreateRequestAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveCreateRequestAttributes) GetDestination ¶
func (o *LogsArchiveCreateRequestAttributes) GetDestination() LogsArchiveCreateRequestDestination
GetDestination returns the Destination field value.
func (*LogsArchiveCreateRequestAttributes) GetDestinationOk ¶
func (o *LogsArchiveCreateRequestAttributes) GetDestinationOk() (*LogsArchiveCreateRequestDestination, bool)
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 ¶
func (o *LogsArchiveCreateRequestAttributes) GetName() string
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 ¶
func (o *LogsArchiveCreateRequestAttributes) GetQuery() string
GetQuery returns the Query field value.
func (*LogsArchiveCreateRequestAttributes) GetQueryOk ¶
func (o *LogsArchiveCreateRequestAttributes) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (*LogsArchiveCreateRequestAttributes) GetRehydrationMaxScanSizeInGb ¶ added in v1.14.0
func (o *LogsArchiveCreateRequestAttributes) GetRehydrationMaxScanSizeInGb() int64
GetRehydrationMaxScanSizeInGb returns the RehydrationMaxScanSizeInGb field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LogsArchiveCreateRequestAttributes) GetRehydrationMaxScanSizeInGbOk ¶ added in v1.14.0
func (o *LogsArchiveCreateRequestAttributes) GetRehydrationMaxScanSizeInGbOk() (*int64, bool)
GetRehydrationMaxScanSizeInGbOk returns a tuple with the RehydrationMaxScanSizeInGb field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*LogsArchiveCreateRequestAttributes) GetRehydrationTags ¶
func (o *LogsArchiveCreateRequestAttributes) GetRehydrationTags() []string
GetRehydrationTags returns the RehydrationTags field value if set, zero value otherwise.
func (*LogsArchiveCreateRequestAttributes) GetRehydrationTagsOk ¶
func (o *LogsArchiveCreateRequestAttributes) GetRehydrationTagsOk() (*[]string, bool)
GetRehydrationTagsOk returns a tuple with the RehydrationTags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsArchiveCreateRequestAttributes) HasIncludeTags ¶
func (o *LogsArchiveCreateRequestAttributes) HasIncludeTags() bool
HasIncludeTags returns a boolean if a field has been set.
func (*LogsArchiveCreateRequestAttributes) HasRehydrationMaxScanSizeInGb ¶ added in v1.14.0
func (o *LogsArchiveCreateRequestAttributes) HasRehydrationMaxScanSizeInGb() bool
HasRehydrationMaxScanSizeInGb returns a boolean if a field has been set.
func (*LogsArchiveCreateRequestAttributes) HasRehydrationTags ¶
func (o *LogsArchiveCreateRequestAttributes) HasRehydrationTags() bool
HasRehydrationTags returns a boolean if a field has been set.
func (LogsArchiveCreateRequestAttributes) MarshalJSON ¶
func (o LogsArchiveCreateRequestAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveCreateRequestAttributes) SetDestination ¶
func (o *LogsArchiveCreateRequestAttributes) SetDestination(v LogsArchiveCreateRequestDestination)
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 ¶
func (o *LogsArchiveCreateRequestAttributes) SetName(v string)
SetName sets field value.
func (*LogsArchiveCreateRequestAttributes) SetQuery ¶
func (o *LogsArchiveCreateRequestAttributes) SetQuery(v string)
SetQuery sets field value.
func (*LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGb ¶ added in v1.14.0
func (o *LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGb(v int64)
SetRehydrationMaxScanSizeInGb gets a reference to the given NullableInt64 and assigns it to the RehydrationMaxScanSizeInGb field.
func (*LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGbNil ¶ added in v1.14.0
func (o *LogsArchiveCreateRequestAttributes) SetRehydrationMaxScanSizeInGbNil()
SetRehydrationMaxScanSizeInGbNil sets the value for RehydrationMaxScanSizeInGb to be an explicit nil.
func (*LogsArchiveCreateRequestAttributes) SetRehydrationTags ¶
func (o *LogsArchiveCreateRequestAttributes) SetRehydrationTags(v []string)
SetRehydrationTags gets a reference to the given []string and assigns it to the RehydrationTags field.
func (*LogsArchiveCreateRequestAttributes) UnmarshalJSON ¶
func (o *LogsArchiveCreateRequestAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*LogsArchiveCreateRequestAttributes) UnsetRehydrationMaxScanSizeInGb ¶ added in v1.14.0
func (o *LogsArchiveCreateRequestAttributes) UnsetRehydrationMaxScanSizeInGb()
UnsetRehydrationMaxScanSizeInGb ensures that no value is present for RehydrationMaxScanSizeInGb, not even an explicit nil.
type LogsArchiveCreateRequestDefinition ¶
type LogsArchiveCreateRequestDefinition struct {
// The attributes associated with the archive.
Attributes *LogsArchiveCreateRequestAttributes `json:"attributes,omitempty"`
// The type of the resource. The value should always be archives.
Type string `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveCreateRequestDefinition The definition of an archive.
func NewLogsArchiveCreateRequestDefinition ¶
func NewLogsArchiveCreateRequestDefinition(typeVar string) *LogsArchiveCreateRequestDefinition
NewLogsArchiveCreateRequestDefinition instantiates a new LogsArchiveCreateRequestDefinition object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveCreateRequestDefinitionWithDefaults ¶
func NewLogsArchiveCreateRequestDefinitionWithDefaults() *LogsArchiveCreateRequestDefinition
NewLogsArchiveCreateRequestDefinitionWithDefaults instantiates a new LogsArchiveCreateRequestDefinition object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveCreateRequestDefinition) GetAttributes ¶
func (o *LogsArchiveCreateRequestDefinition) GetAttributes() LogsArchiveCreateRequestAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*LogsArchiveCreateRequestDefinition) GetAttributesOk ¶
func (o *LogsArchiveCreateRequestDefinition) GetAttributesOk() (*LogsArchiveCreateRequestAttributes, 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 (*LogsArchiveCreateRequestDefinition) GetType ¶
func (o *LogsArchiveCreateRequestDefinition) GetType() string
GetType returns the Type field value.
func (*LogsArchiveCreateRequestDefinition) GetTypeOk ¶
func (o *LogsArchiveCreateRequestDefinition) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*LogsArchiveCreateRequestDefinition) HasAttributes ¶
func (o *LogsArchiveCreateRequestDefinition) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (LogsArchiveCreateRequestDefinition) MarshalJSON ¶
func (o LogsArchiveCreateRequestDefinition) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveCreateRequestDefinition) SetAttributes ¶
func (o *LogsArchiveCreateRequestDefinition) SetAttributes(v LogsArchiveCreateRequestAttributes)
SetAttributes gets a reference to the given LogsArchiveCreateRequestAttributes and assigns it to the Attributes field.
func (*LogsArchiveCreateRequestDefinition) SetType ¶
func (o *LogsArchiveCreateRequestDefinition) SetType(v string)
SetType sets field value.
func (*LogsArchiveCreateRequestDefinition) UnmarshalJSON ¶
func (o *LogsArchiveCreateRequestDefinition) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveCreateRequestDestination ¶
type LogsArchiveCreateRequestDestination struct {
LogsArchiveDestinationAzure *LogsArchiveDestinationAzure
LogsArchiveDestinationGCS *LogsArchiveDestinationGCS
LogsArchiveDestinationS3 *LogsArchiveDestinationS3
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
LogsArchiveCreateRequestDestination - An archive's destination.
func LogsArchiveDestinationAzureAsLogsArchiveCreateRequestDestination ¶
func LogsArchiveDestinationAzureAsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationAzure) LogsArchiveCreateRequestDestination
LogsArchiveDestinationAzureAsLogsArchiveCreateRequestDestination is a convenience function that returns LogsArchiveDestinationAzure wrapped in LogsArchiveCreateRequestDestination.
func LogsArchiveDestinationGCSAsLogsArchiveCreateRequestDestination ¶
func LogsArchiveDestinationGCSAsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationGCS) LogsArchiveCreateRequestDestination
LogsArchiveDestinationGCSAsLogsArchiveCreateRequestDestination is a convenience function that returns LogsArchiveDestinationGCS wrapped in LogsArchiveCreateRequestDestination.
func LogsArchiveDestinationS3AsLogsArchiveCreateRequestDestination ¶
func LogsArchiveDestinationS3AsLogsArchiveCreateRequestDestination(v *LogsArchiveDestinationS3) LogsArchiveCreateRequestDestination
LogsArchiveDestinationS3AsLogsArchiveCreateRequestDestination is a convenience function that returns LogsArchiveDestinationS3 wrapped in LogsArchiveCreateRequestDestination.
func (*LogsArchiveCreateRequestDestination) GetActualInstance ¶
func (obj *LogsArchiveCreateRequestDestination) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (LogsArchiveCreateRequestDestination) MarshalJSON ¶
func (obj LogsArchiveCreateRequestDestination) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*LogsArchiveCreateRequestDestination) UnmarshalJSON ¶
func (obj *LogsArchiveCreateRequestDestination) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type LogsArchiveDefinition ¶
type LogsArchiveDefinition struct {
// The attributes associated with the archive.
Attributes *LogsArchiveAttributes `json:"attributes,omitempty"`
// The archive ID.
Id *string `json:"id,omitempty"`
// The type of the resource. The value should always be archives.
Type string `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveDefinition The definition of an archive.
func NewLogsArchiveDefinition ¶
func NewLogsArchiveDefinition(typeVar string) *LogsArchiveDefinition
NewLogsArchiveDefinition instantiates a new LogsArchiveDefinition object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveDefinitionWithDefaults ¶
func NewLogsArchiveDefinitionWithDefaults() *LogsArchiveDefinition
NewLogsArchiveDefinitionWithDefaults instantiates a new LogsArchiveDefinition object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveDefinition) GetAttributes ¶
func (o *LogsArchiveDefinition) GetAttributes() LogsArchiveAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*LogsArchiveDefinition) GetAttributesOk ¶
func (o *LogsArchiveDefinition) GetAttributesOk() (*LogsArchiveAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsArchiveDefinition) GetId ¶
func (o *LogsArchiveDefinition) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*LogsArchiveDefinition) GetIdOk ¶
func (o *LogsArchiveDefinition) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsArchiveDefinition) GetType ¶
func (o *LogsArchiveDefinition) GetType() string
GetType returns the Type field value.
func (*LogsArchiveDefinition) GetTypeOk ¶
func (o *LogsArchiveDefinition) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*LogsArchiveDefinition) HasAttributes ¶
func (o *LogsArchiveDefinition) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*LogsArchiveDefinition) HasId ¶
func (o *LogsArchiveDefinition) HasId() bool
HasId returns a boolean if a field has been set.
func (LogsArchiveDefinition) MarshalJSON ¶
func (o LogsArchiveDefinition) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveDefinition) SetAttributes ¶
func (o *LogsArchiveDefinition) SetAttributes(v LogsArchiveAttributes)
SetAttributes gets a reference to the given LogsArchiveAttributes and assigns it to the Attributes field.
func (*LogsArchiveDefinition) SetId ¶
func (o *LogsArchiveDefinition) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*LogsArchiveDefinition) SetType ¶
func (o *LogsArchiveDefinition) SetType(v string)
SetType sets field value.
func (*LogsArchiveDefinition) UnmarshalJSON ¶
func (o *LogsArchiveDefinition) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveDestination ¶
type LogsArchiveDestination struct {
LogsArchiveDestinationAzure *LogsArchiveDestinationAzure
LogsArchiveDestinationGCS *LogsArchiveDestinationGCS
LogsArchiveDestinationS3 *LogsArchiveDestinationS3
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
LogsArchiveDestination - An archive's destination.
func LogsArchiveDestinationAzureAsLogsArchiveDestination ¶
func LogsArchiveDestinationAzureAsLogsArchiveDestination(v *LogsArchiveDestinationAzure) LogsArchiveDestination
LogsArchiveDestinationAzureAsLogsArchiveDestination is a convenience function that returns LogsArchiveDestinationAzure wrapped in LogsArchiveDestination.
func LogsArchiveDestinationGCSAsLogsArchiveDestination ¶
func LogsArchiveDestinationGCSAsLogsArchiveDestination(v *LogsArchiveDestinationGCS) LogsArchiveDestination
LogsArchiveDestinationGCSAsLogsArchiveDestination is a convenience function that returns LogsArchiveDestinationGCS wrapped in LogsArchiveDestination.
func LogsArchiveDestinationS3AsLogsArchiveDestination ¶
func LogsArchiveDestinationS3AsLogsArchiveDestination(v *LogsArchiveDestinationS3) LogsArchiveDestination
LogsArchiveDestinationS3AsLogsArchiveDestination is a convenience function that returns LogsArchiveDestinationS3 wrapped in LogsArchiveDestination.
func (*LogsArchiveDestination) GetActualInstance ¶
func (obj *LogsArchiveDestination) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (LogsArchiveDestination) MarshalJSON ¶
func (obj LogsArchiveDestination) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*LogsArchiveDestination) UnmarshalJSON ¶
func (obj *LogsArchiveDestination) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type LogsArchiveDestinationAzure ¶
type LogsArchiveDestinationAzure struct {
// The container where the archive will be stored.
Container string `json:"container"`
// The Azure archive's integration destination.
Integration LogsArchiveIntegrationAzure `json:"integration"`
// The archive path.
Path *string `json:"path,omitempty"`
// The region where the archive will be stored.
Region *string `json:"region,omitempty"`
// The associated storage account.
StorageAccount string `json:"storage_account"`
// Type of the Azure archive destination.
Type LogsArchiveDestinationAzureType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveDestinationAzure The Azure archive destination.
func NewLogsArchiveDestinationAzure ¶
func NewLogsArchiveDestinationAzure(container string, integration LogsArchiveIntegrationAzure, storageAccount string, typeVar LogsArchiveDestinationAzureType) *LogsArchiveDestinationAzure
NewLogsArchiveDestinationAzure instantiates a new LogsArchiveDestinationAzure object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveDestinationAzureWithDefaults ¶
func NewLogsArchiveDestinationAzureWithDefaults() *LogsArchiveDestinationAzure
NewLogsArchiveDestinationAzureWithDefaults instantiates a new LogsArchiveDestinationAzure object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveDestinationAzure) GetContainer ¶
func (o *LogsArchiveDestinationAzure) GetContainer() string
GetContainer returns the Container field value.
func (*LogsArchiveDestinationAzure) GetContainerOk ¶
func (o *LogsArchiveDestinationAzure) GetContainerOk() (*string, bool)
GetContainerOk returns a tuple with the Container field value and a boolean to check if the value has been set.
func (*LogsArchiveDestinationAzure) GetIntegration ¶
func (o *LogsArchiveDestinationAzure) GetIntegration() LogsArchiveIntegrationAzure
GetIntegration returns the Integration field value.
func (*LogsArchiveDestinationAzure) GetIntegrationOk ¶
func (o *LogsArchiveDestinationAzure) GetIntegrationOk() (*LogsArchiveIntegrationAzure, bool)
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 ¶
func (o *LogsArchiveDestinationAzure) GetType() LogsArchiveDestinationAzureType
GetType returns the Type field value.
func (*LogsArchiveDestinationAzure) GetTypeOk ¶
func (o *LogsArchiveDestinationAzure) GetTypeOk() (*LogsArchiveDestinationAzureType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*LogsArchiveDestinationAzure) HasPath ¶
func (o *LogsArchiveDestinationAzure) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*LogsArchiveDestinationAzure) HasRegion ¶
func (o *LogsArchiveDestinationAzure) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (LogsArchiveDestinationAzure) MarshalJSON ¶
func (o LogsArchiveDestinationAzure) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveDestinationAzure) SetContainer ¶
func (o *LogsArchiveDestinationAzure) SetContainer(v string)
SetContainer sets field value.
func (*LogsArchiveDestinationAzure) SetIntegration ¶
func (o *LogsArchiveDestinationAzure) SetIntegration(v LogsArchiveIntegrationAzure)
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 ¶
func (o *LogsArchiveDestinationAzure) SetType(v LogsArchiveDestinationAzureType)
SetType sets field value.
func (*LogsArchiveDestinationAzure) UnmarshalJSON ¶
func (o *LogsArchiveDestinationAzure) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveDestinationAzureType ¶
type LogsArchiveDestinationAzureType string
LogsArchiveDestinationAzureType Type of the Azure archive destination.
const (
LOGSARCHIVEDESTINATIONAZURETYPE_AZURE LogsArchiveDestinationAzureType = "azure"
)
List of LogsArchiveDestinationAzureType.
func NewLogsArchiveDestinationAzureTypeFromValue ¶
func NewLogsArchiveDestinationAzureTypeFromValue(v string) (*LogsArchiveDestinationAzureType, error)
NewLogsArchiveDestinationAzureTypeFromValue returns a pointer to a valid LogsArchiveDestinationAzureType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsArchiveDestinationAzureType) GetAllowedValues ¶ added in v1.1.0
func (v *LogsArchiveDestinationAzureType) GetAllowedValues() []LogsArchiveDestinationAzureType
GetAllowedValues reeturns the list of possible values.
func (LogsArchiveDestinationAzureType) IsValid ¶
func (v LogsArchiveDestinationAzureType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsArchiveDestinationAzureType) Ptr ¶
func (v LogsArchiveDestinationAzureType) Ptr() *LogsArchiveDestinationAzureType
Ptr returns reference to LogsArchiveDestinationAzureType value.
func (*LogsArchiveDestinationAzureType) UnmarshalJSON ¶
func (v *LogsArchiveDestinationAzureType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsArchiveDestinationGCS ¶
type LogsArchiveDestinationGCS struct {
// The bucket where the archive will be stored.
Bucket string `json:"bucket"`
// The GCS archive's integration destination.
Integration LogsArchiveIntegrationGCS `json:"integration"`
// The archive path.
Path *string `json:"path,omitempty"`
// Type of the GCS archive destination.
Type LogsArchiveDestinationGCSType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveDestinationGCS The GCS archive destination.
func NewLogsArchiveDestinationGCS ¶
func NewLogsArchiveDestinationGCS(bucket string, integration LogsArchiveIntegrationGCS, typeVar LogsArchiveDestinationGCSType) *LogsArchiveDestinationGCS
NewLogsArchiveDestinationGCS instantiates a new LogsArchiveDestinationGCS object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveDestinationGCSWithDefaults ¶
func NewLogsArchiveDestinationGCSWithDefaults() *LogsArchiveDestinationGCS
NewLogsArchiveDestinationGCSWithDefaults instantiates a new LogsArchiveDestinationGCS object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveDestinationGCS) GetBucket ¶
func (o *LogsArchiveDestinationGCS) GetBucket() string
GetBucket returns the Bucket field value.
func (*LogsArchiveDestinationGCS) GetBucketOk ¶
func (o *LogsArchiveDestinationGCS) GetBucketOk() (*string, bool)
GetBucketOk returns a tuple with the Bucket field value and a boolean to check if the value has been set.
func (*LogsArchiveDestinationGCS) GetIntegration ¶
func (o *LogsArchiveDestinationGCS) GetIntegration() LogsArchiveIntegrationGCS
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 ¶
func (o *LogsArchiveDestinationGCS) GetType() LogsArchiveDestinationGCSType
GetType returns the Type field value.
func (*LogsArchiveDestinationGCS) GetTypeOk ¶
func (o *LogsArchiveDestinationGCS) GetTypeOk() (*LogsArchiveDestinationGCSType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*LogsArchiveDestinationGCS) HasPath ¶
func (o *LogsArchiveDestinationGCS) HasPath() bool
HasPath returns a boolean if a field has been set.
func (LogsArchiveDestinationGCS) MarshalJSON ¶
func (o LogsArchiveDestinationGCS) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveDestinationGCS) SetBucket ¶
func (o *LogsArchiveDestinationGCS) SetBucket(v string)
SetBucket sets field value.
func (*LogsArchiveDestinationGCS) SetIntegration ¶
func (o *LogsArchiveDestinationGCS) SetIntegration(v LogsArchiveIntegrationGCS)
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 ¶
func (o *LogsArchiveDestinationGCS) SetType(v LogsArchiveDestinationGCSType)
SetType sets field value.
func (*LogsArchiveDestinationGCS) UnmarshalJSON ¶
func (o *LogsArchiveDestinationGCS) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveDestinationGCSType ¶
type LogsArchiveDestinationGCSType string
LogsArchiveDestinationGCSType Type of the GCS archive destination.
const (
LOGSARCHIVEDESTINATIONGCSTYPE_GCS LogsArchiveDestinationGCSType = "gcs"
)
List of LogsArchiveDestinationGCSType.
func NewLogsArchiveDestinationGCSTypeFromValue ¶
func NewLogsArchiveDestinationGCSTypeFromValue(v string) (*LogsArchiveDestinationGCSType, error)
NewLogsArchiveDestinationGCSTypeFromValue returns a pointer to a valid LogsArchiveDestinationGCSType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsArchiveDestinationGCSType) GetAllowedValues ¶ added in v1.1.0
func (v *LogsArchiveDestinationGCSType) GetAllowedValues() []LogsArchiveDestinationGCSType
GetAllowedValues reeturns the list of possible values.
func (LogsArchiveDestinationGCSType) IsValid ¶
func (v LogsArchiveDestinationGCSType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsArchiveDestinationGCSType) Ptr ¶
func (v LogsArchiveDestinationGCSType) Ptr() *LogsArchiveDestinationGCSType
Ptr returns reference to LogsArchiveDestinationGCSType value.
func (*LogsArchiveDestinationGCSType) UnmarshalJSON ¶
func (v *LogsArchiveDestinationGCSType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsArchiveDestinationS3 ¶
type LogsArchiveDestinationS3 struct {
// The bucket where the archive will be stored.
Bucket string `json:"bucket"`
// The S3 Archive's integration destination.
Integration LogsArchiveIntegrationS3 `json:"integration"`
// The archive path.
Path *string `json:"path,omitempty"`
// Type of the S3 archive destination.
Type LogsArchiveDestinationS3Type `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveDestinationS3 The S3 archive destination.
func NewLogsArchiveDestinationS3 ¶
func NewLogsArchiveDestinationS3(bucket string, integration LogsArchiveIntegrationS3, typeVar LogsArchiveDestinationS3Type) *LogsArchiveDestinationS3
NewLogsArchiveDestinationS3 instantiates a new LogsArchiveDestinationS3 object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveDestinationS3WithDefaults ¶
func NewLogsArchiveDestinationS3WithDefaults() *LogsArchiveDestinationS3
NewLogsArchiveDestinationS3WithDefaults instantiates a new LogsArchiveDestinationS3 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveDestinationS3) GetBucket ¶
func (o *LogsArchiveDestinationS3) GetBucket() string
GetBucket returns the Bucket field value.
func (*LogsArchiveDestinationS3) GetBucketOk ¶
func (o *LogsArchiveDestinationS3) GetBucketOk() (*string, bool)
GetBucketOk returns a tuple with the Bucket field value and a boolean to check if the value has been set.
func (*LogsArchiveDestinationS3) GetIntegration ¶
func (o *LogsArchiveDestinationS3) GetIntegration() LogsArchiveIntegrationS3
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 ¶
func (o *LogsArchiveDestinationS3) GetType() LogsArchiveDestinationS3Type
GetType returns the Type field value.
func (*LogsArchiveDestinationS3) GetTypeOk ¶
func (o *LogsArchiveDestinationS3) GetTypeOk() (*LogsArchiveDestinationS3Type, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*LogsArchiveDestinationS3) HasPath ¶
func (o *LogsArchiveDestinationS3) HasPath() bool
HasPath returns a boolean if a field has been set.
func (LogsArchiveDestinationS3) MarshalJSON ¶
func (o LogsArchiveDestinationS3) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveDestinationS3) SetBucket ¶
func (o *LogsArchiveDestinationS3) SetBucket(v string)
SetBucket sets field value.
func (*LogsArchiveDestinationS3) SetIntegration ¶
func (o *LogsArchiveDestinationS3) SetIntegration(v LogsArchiveIntegrationS3)
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 ¶
func (o *LogsArchiveDestinationS3) SetType(v LogsArchiveDestinationS3Type)
SetType sets field value.
func (*LogsArchiveDestinationS3) UnmarshalJSON ¶
func (o *LogsArchiveDestinationS3) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveDestinationS3Type ¶
type LogsArchiveDestinationS3Type string
LogsArchiveDestinationS3Type Type of the S3 archive destination.
const (
LOGSARCHIVEDESTINATIONS3TYPE_S3 LogsArchiveDestinationS3Type = "s3"
)
List of LogsArchiveDestinationS3Type.
func NewLogsArchiveDestinationS3TypeFromValue ¶
func NewLogsArchiveDestinationS3TypeFromValue(v string) (*LogsArchiveDestinationS3Type, error)
NewLogsArchiveDestinationS3TypeFromValue returns a pointer to a valid LogsArchiveDestinationS3Type for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsArchiveDestinationS3Type) GetAllowedValues ¶ added in v1.1.0
func (v *LogsArchiveDestinationS3Type) GetAllowedValues() []LogsArchiveDestinationS3Type
GetAllowedValues reeturns the list of possible values.
func (LogsArchiveDestinationS3Type) IsValid ¶
func (v LogsArchiveDestinationS3Type) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsArchiveDestinationS3Type) Ptr ¶
func (v LogsArchiveDestinationS3Type) Ptr() *LogsArchiveDestinationS3Type
Ptr returns reference to LogsArchiveDestinationS3Type value.
func (*LogsArchiveDestinationS3Type) UnmarshalJSON ¶
func (v *LogsArchiveDestinationS3Type) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsArchiveIntegrationAzure ¶
type LogsArchiveIntegrationAzure struct {
// A client ID.
ClientId string `json:"client_id"`
// A tenant ID.
TenantId string `json:"tenant_id"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveIntegrationAzure The Azure archive's integration destination.
func NewLogsArchiveIntegrationAzure ¶
func NewLogsArchiveIntegrationAzure(clientId string, tenantId string) *LogsArchiveIntegrationAzure
NewLogsArchiveIntegrationAzure instantiates a new LogsArchiveIntegrationAzure object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveIntegrationAzureWithDefaults ¶
func NewLogsArchiveIntegrationAzureWithDefaults() *LogsArchiveIntegrationAzure
NewLogsArchiveIntegrationAzureWithDefaults instantiates a new LogsArchiveIntegrationAzure object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveIntegrationAzure) GetClientId ¶
func (o *LogsArchiveIntegrationAzure) GetClientId() string
GetClientId returns the ClientId field value.
func (*LogsArchiveIntegrationAzure) GetClientIdOk ¶
func (o *LogsArchiveIntegrationAzure) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.
func (*LogsArchiveIntegrationAzure) GetTenantId ¶
func (o *LogsArchiveIntegrationAzure) GetTenantId() string
GetTenantId returns the TenantId field value.
func (*LogsArchiveIntegrationAzure) GetTenantIdOk ¶
func (o *LogsArchiveIntegrationAzure) GetTenantIdOk() (*string, bool)
GetTenantIdOk returns a tuple with the TenantId field value and a boolean to check if the value has been set.
func (LogsArchiveIntegrationAzure) MarshalJSON ¶
func (o LogsArchiveIntegrationAzure) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveIntegrationAzure) SetClientId ¶
func (o *LogsArchiveIntegrationAzure) SetClientId(v string)
SetClientId sets field value.
func (*LogsArchiveIntegrationAzure) SetTenantId ¶
func (o *LogsArchiveIntegrationAzure) SetTenantId(v string)
SetTenantId sets field value.
func (*LogsArchiveIntegrationAzure) UnmarshalJSON ¶
func (o *LogsArchiveIntegrationAzure) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveIntegrationGCS ¶
type LogsArchiveIntegrationGCS struct {
// A client email.
ClientEmail string `json:"client_email"`
// A project ID.
ProjectId string `json:"project_id"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveIntegrationGCS The GCS archive's integration destination.
func NewLogsArchiveIntegrationGCS ¶
func NewLogsArchiveIntegrationGCS(clientEmail string, projectId string) *LogsArchiveIntegrationGCS
NewLogsArchiveIntegrationGCS instantiates a new LogsArchiveIntegrationGCS object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveIntegrationGCSWithDefaults ¶
func NewLogsArchiveIntegrationGCSWithDefaults() *LogsArchiveIntegrationGCS
NewLogsArchiveIntegrationGCSWithDefaults instantiates a new LogsArchiveIntegrationGCS object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveIntegrationGCS) GetClientEmail ¶
func (o *LogsArchiveIntegrationGCS) GetClientEmail() string
GetClientEmail returns the ClientEmail field value.
func (*LogsArchiveIntegrationGCS) GetClientEmailOk ¶
func (o *LogsArchiveIntegrationGCS) GetClientEmailOk() (*string, bool)
GetClientEmailOk returns a tuple with the ClientEmail field value and a boolean to check if the value has been set.
func (*LogsArchiveIntegrationGCS) GetProjectId ¶
func (o *LogsArchiveIntegrationGCS) GetProjectId() string
GetProjectId returns the ProjectId field value.
func (*LogsArchiveIntegrationGCS) GetProjectIdOk ¶
func (o *LogsArchiveIntegrationGCS) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (LogsArchiveIntegrationGCS) MarshalJSON ¶
func (o LogsArchiveIntegrationGCS) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveIntegrationGCS) SetClientEmail ¶
func (o *LogsArchiveIntegrationGCS) SetClientEmail(v string)
SetClientEmail sets field value.
func (*LogsArchiveIntegrationGCS) SetProjectId ¶
func (o *LogsArchiveIntegrationGCS) SetProjectId(v string)
SetProjectId sets field value.
func (*LogsArchiveIntegrationGCS) UnmarshalJSON ¶
func (o *LogsArchiveIntegrationGCS) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveIntegrationS3 ¶
type LogsArchiveIntegrationS3 struct {
// The account ID for the integration.
AccountId string `json:"account_id"`
// The path of the integration.
RoleName string `json:"role_name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveIntegrationS3 The S3 Archive's integration destination.
func NewLogsArchiveIntegrationS3 ¶
func NewLogsArchiveIntegrationS3(accountId string, roleName string) *LogsArchiveIntegrationS3
NewLogsArchiveIntegrationS3 instantiates a new LogsArchiveIntegrationS3 object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveIntegrationS3WithDefaults ¶
func NewLogsArchiveIntegrationS3WithDefaults() *LogsArchiveIntegrationS3
NewLogsArchiveIntegrationS3WithDefaults instantiates a new LogsArchiveIntegrationS3 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveIntegrationS3) GetAccountId ¶
func (o *LogsArchiveIntegrationS3) GetAccountId() string
GetAccountId returns the AccountId field value.
func (*LogsArchiveIntegrationS3) GetAccountIdOk ¶
func (o *LogsArchiveIntegrationS3) GetAccountIdOk() (*string, bool)
GetAccountIdOk returns a tuple with the AccountId field value and a boolean to check if the value has been set.
func (*LogsArchiveIntegrationS3) GetRoleName ¶
func (o *LogsArchiveIntegrationS3) GetRoleName() string
GetRoleName returns the RoleName field value.
func (*LogsArchiveIntegrationS3) GetRoleNameOk ¶
func (o *LogsArchiveIntegrationS3) GetRoleNameOk() (*string, bool)
GetRoleNameOk returns a tuple with the RoleName field value and a boolean to check if the value has been set.
func (LogsArchiveIntegrationS3) MarshalJSON ¶
func (o LogsArchiveIntegrationS3) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveIntegrationS3) SetAccountId ¶
func (o *LogsArchiveIntegrationS3) SetAccountId(v string)
SetAccountId sets field value.
func (*LogsArchiveIntegrationS3) SetRoleName ¶
func (o *LogsArchiveIntegrationS3) SetRoleName(v string)
SetRoleName sets field value.
func (*LogsArchiveIntegrationS3) UnmarshalJSON ¶
func (o *LogsArchiveIntegrationS3) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveOrder ¶
type LogsArchiveOrder struct {
// The definition of an archive order.
Data *LogsArchiveOrderDefinition `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveOrder A ordered list of archive IDs.
func NewLogsArchiveOrder ¶
func NewLogsArchiveOrder() *LogsArchiveOrder
NewLogsArchiveOrder instantiates a new LogsArchiveOrder object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveOrderWithDefaults ¶
func NewLogsArchiveOrderWithDefaults() *LogsArchiveOrder
NewLogsArchiveOrderWithDefaults instantiates a new LogsArchiveOrder object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveOrder) GetData ¶
func (o *LogsArchiveOrder) GetData() LogsArchiveOrderDefinition
GetData returns the Data field value if set, zero value otherwise.
func (*LogsArchiveOrder) GetDataOk ¶
func (o *LogsArchiveOrder) GetDataOk() (*LogsArchiveOrderDefinition, 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 (*LogsArchiveOrder) HasData ¶
func (o *LogsArchiveOrder) HasData() bool
HasData returns a boolean if a field has been set.
func (LogsArchiveOrder) MarshalJSON ¶
func (o LogsArchiveOrder) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveOrder) SetData ¶
func (o *LogsArchiveOrder) SetData(v LogsArchiveOrderDefinition)
SetData gets a reference to the given LogsArchiveOrderDefinition and assigns it to the Data field.
func (*LogsArchiveOrder) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsArchiveOrder) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveOrderAttributes ¶
type LogsArchiveOrderAttributes struct {
// An ordered array of `<ARCHIVE_ID>` strings, the order of archive IDs in the array
// define the overall archives order for Datadog.
ArchiveIds []string `json:"archive_ids"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveOrderAttributes The attributes associated with the archive order.
func NewLogsArchiveOrderAttributes ¶
func NewLogsArchiveOrderAttributes(archiveIds []string) *LogsArchiveOrderAttributes
NewLogsArchiveOrderAttributes instantiates a new LogsArchiveOrderAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveOrderAttributesWithDefaults ¶
func NewLogsArchiveOrderAttributesWithDefaults() *LogsArchiveOrderAttributes
NewLogsArchiveOrderAttributesWithDefaults instantiates a new LogsArchiveOrderAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveOrderAttributes) GetArchiveIds ¶
func (o *LogsArchiveOrderAttributes) GetArchiveIds() []string
GetArchiveIds returns the ArchiveIds field value.
func (*LogsArchiveOrderAttributes) GetArchiveIdsOk ¶
func (o *LogsArchiveOrderAttributes) GetArchiveIdsOk() (*[]string, bool)
GetArchiveIdsOk returns a tuple with the ArchiveIds field value and a boolean to check if the value has been set.
func (LogsArchiveOrderAttributes) MarshalJSON ¶
func (o LogsArchiveOrderAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveOrderAttributes) SetArchiveIds ¶
func (o *LogsArchiveOrderAttributes) SetArchiveIds(v []string)
SetArchiveIds sets field value.
func (*LogsArchiveOrderAttributes) UnmarshalJSON ¶
func (o *LogsArchiveOrderAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveOrderDefinition ¶
type LogsArchiveOrderDefinition struct {
// The attributes associated with the archive order.
Attributes LogsArchiveOrderAttributes `json:"attributes"`
// Type of the archive order definition.
Type LogsArchiveOrderDefinitionType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchiveOrderDefinition The definition of an archive order.
func NewLogsArchiveOrderDefinition ¶
func NewLogsArchiveOrderDefinition(attributes LogsArchiveOrderAttributes, typeVar LogsArchiveOrderDefinitionType) *LogsArchiveOrderDefinition
NewLogsArchiveOrderDefinition instantiates a new LogsArchiveOrderDefinition object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchiveOrderDefinitionWithDefaults ¶
func NewLogsArchiveOrderDefinitionWithDefaults() *LogsArchiveOrderDefinition
NewLogsArchiveOrderDefinitionWithDefaults instantiates a new LogsArchiveOrderDefinition object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchiveOrderDefinition) GetAttributes ¶
func (o *LogsArchiveOrderDefinition) GetAttributes() LogsArchiveOrderAttributes
GetAttributes returns the Attributes field value.
func (*LogsArchiveOrderDefinition) GetAttributesOk ¶
func (o *LogsArchiveOrderDefinition) GetAttributesOk() (*LogsArchiveOrderAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*LogsArchiveOrderDefinition) GetType ¶
func (o *LogsArchiveOrderDefinition) GetType() LogsArchiveOrderDefinitionType
GetType returns the Type field value.
func (*LogsArchiveOrderDefinition) GetTypeOk ¶
func (o *LogsArchiveOrderDefinition) GetTypeOk() (*LogsArchiveOrderDefinitionType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (LogsArchiveOrderDefinition) MarshalJSON ¶
func (o LogsArchiveOrderDefinition) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchiveOrderDefinition) SetAttributes ¶
func (o *LogsArchiveOrderDefinition) SetAttributes(v LogsArchiveOrderAttributes)
SetAttributes sets field value.
func (*LogsArchiveOrderDefinition) SetType ¶
func (o *LogsArchiveOrderDefinition) SetType(v LogsArchiveOrderDefinitionType)
SetType sets field value.
func (*LogsArchiveOrderDefinition) UnmarshalJSON ¶
func (o *LogsArchiveOrderDefinition) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchiveOrderDefinitionType ¶
type LogsArchiveOrderDefinitionType string
LogsArchiveOrderDefinitionType Type of the archive order definition.
const (
LOGSARCHIVEORDERDEFINITIONTYPE_ARCHIVE_ORDER LogsArchiveOrderDefinitionType = "archive_order"
)
List of LogsArchiveOrderDefinitionType.
func NewLogsArchiveOrderDefinitionTypeFromValue ¶
func NewLogsArchiveOrderDefinitionTypeFromValue(v string) (*LogsArchiveOrderDefinitionType, error)
NewLogsArchiveOrderDefinitionTypeFromValue returns a pointer to a valid LogsArchiveOrderDefinitionType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsArchiveOrderDefinitionType) GetAllowedValues ¶ added in v1.1.0
func (v *LogsArchiveOrderDefinitionType) GetAllowedValues() []LogsArchiveOrderDefinitionType
GetAllowedValues reeturns the list of possible values.
func (LogsArchiveOrderDefinitionType) IsValid ¶
func (v LogsArchiveOrderDefinitionType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsArchiveOrderDefinitionType) Ptr ¶
func (v LogsArchiveOrderDefinitionType) Ptr() *LogsArchiveOrderDefinitionType
Ptr returns reference to LogsArchiveOrderDefinitionType value.
func (*LogsArchiveOrderDefinitionType) UnmarshalJSON ¶
func (v *LogsArchiveOrderDefinitionType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsArchiveState ¶
type LogsArchiveState string
LogsArchiveState The state of the archive.
const ( LOGSARCHIVESTATE_UNKNOWN LogsArchiveState = "UNKNOWN" LOGSARCHIVESTATE_WORKING LogsArchiveState = "WORKING" LOGSARCHIVESTATE_FAILING LogsArchiveState = "FAILING" LOGSARCHIVESTATE_WORKING_AUTH_LEGACY LogsArchiveState = "WORKING_AUTH_LEGACY" )
List of LogsArchiveState.
func NewLogsArchiveStateFromValue ¶
func NewLogsArchiveStateFromValue(v string) (*LogsArchiveState, error)
NewLogsArchiveStateFromValue returns a pointer to a valid LogsArchiveState for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsArchiveState) GetAllowedValues ¶ added in v1.1.0
func (v *LogsArchiveState) GetAllowedValues() []LogsArchiveState
GetAllowedValues reeturns the list of possible values.
func (LogsArchiveState) IsValid ¶
func (v LogsArchiveState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsArchiveState) Ptr ¶
func (v LogsArchiveState) Ptr() *LogsArchiveState
Ptr returns reference to LogsArchiveState value.
func (*LogsArchiveState) UnmarshalJSON ¶
func (v *LogsArchiveState) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsArchives ¶
type LogsArchives struct {
// A list of archives.
Data []LogsArchiveDefinition `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsArchives The available archives.
func NewLogsArchives ¶
func NewLogsArchives() *LogsArchives
NewLogsArchives instantiates a new LogsArchives object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsArchivesWithDefaults ¶
func NewLogsArchivesWithDefaults() *LogsArchives
NewLogsArchivesWithDefaults instantiates a new LogsArchives object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsArchives) GetData ¶
func (o *LogsArchives) GetData() []LogsArchiveDefinition
GetData returns the Data field value if set, zero value otherwise.
func (*LogsArchives) GetDataOk ¶
func (o *LogsArchives) GetDataOk() (*[]LogsArchiveDefinition, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsArchives) HasData ¶
func (o *LogsArchives) HasData() bool
HasData returns a boolean if a field has been set.
func (LogsArchives) MarshalJSON ¶
func (o LogsArchives) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsArchives) SetData ¶
func (o *LogsArchives) SetData(v []LogsArchiveDefinition)
SetData gets a reference to the given []LogsArchiveDefinition and assigns it to the Data field.
func (*LogsArchives) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsArchives) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsArchivesApiService ¶
type LogsArchivesApiService service
LogsArchivesApiService LogsArchivesApi service.
func (*LogsArchivesApiService) AddReadRoleToArchive ¶
func (a *LogsArchivesApiService) AddReadRoleToArchive(ctx _context.Context, archiveId string, body RelationshipToRole) (*_nethttp.Response, error)
AddReadRoleToArchive Grant role to an archive. Adds a read role to an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))
func (*LogsArchivesApiService) CreateLogsArchive ¶
func (a *LogsArchivesApiService) CreateLogsArchive(ctx _context.Context, body LogsArchiveCreateRequest) (LogsArchive, *_nethttp.Response, error)
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 ¶
func (a *LogsArchivesApiService) GetLogsArchiveOrder(ctx _context.Context) (LogsArchiveOrder, *_nethttp.Response, error)
GetLogsArchiveOrder Get archive order. Get the current order of your archives. This endpoint takes no JSON arguments.
func (*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 ¶
func (a *LogsArchivesApiService) ListLogsArchives(ctx _context.Context) (LogsArchives, *_nethttp.Response, error)
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 ¶
func (a *LogsArchivesApiService) UpdateLogsArchive(ctx _context.Context, archiveId string, body LogsArchiveCreateRequest) (LogsArchive, *_nethttp.Response, error)
UpdateLogsArchive Update an archive. Update a given archive configuration.
**Note**: Using this method updates your archive configuration by **replacing** your current configuration with the new one sent to your Datadog organization.
func (*LogsArchivesApiService) UpdateLogsArchiveOrder ¶
func (a *LogsArchivesApiService) UpdateLogsArchiveOrder(ctx _context.Context, body LogsArchiveOrder) (LogsArchiveOrder, *_nethttp.Response, error)
UpdateLogsArchiveOrder Update archive order. Update the order of your archives. Since logs are processed sequentially, reordering an archive may change the structure and content of the data processed by other archives.
**Note**: Using the `PUT` method updates your archive's order by replacing the current order with the new one.
type LogsCompute ¶
type LogsCompute struct {
// An aggregation function
Aggregation LogsAggregationFunction `json:"aggregation"`
// The time buckets' size (only used for type=timeseries)
// Defaults to a resolution of 150 points
Interval *string `json:"interval,omitempty"`
// The metric to use
Metric *string `json:"metric,omitempty"`
// The type of compute
Type *LogsComputeType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsCompute A compute rule to compute metrics or timeseries
func NewLogsCompute ¶
func NewLogsCompute(aggregation LogsAggregationFunction) *LogsCompute
NewLogsCompute instantiates a new LogsCompute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsComputeWithDefaults ¶
func NewLogsComputeWithDefaults() *LogsCompute
NewLogsComputeWithDefaults instantiates a new LogsCompute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsCompute) GetAggregation ¶
func (o *LogsCompute) GetAggregation() LogsAggregationFunction
GetAggregation returns the Aggregation field value.
func (*LogsCompute) GetAggregationOk ¶
func (o *LogsCompute) GetAggregationOk() (*LogsAggregationFunction, bool)
GetAggregationOk returns a tuple with the Aggregation field value and a boolean to check if the value has been set.
func (*LogsCompute) GetInterval ¶
func (o *LogsCompute) GetInterval() string
GetInterval returns the Interval field value if set, zero value otherwise.
func (*LogsCompute) GetIntervalOk ¶
func (o *LogsCompute) GetIntervalOk() (*string, bool)
GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsCompute) GetMetric ¶
func (o *LogsCompute) GetMetric() string
GetMetric returns the Metric field value if set, zero value otherwise.
func (*LogsCompute) GetMetricOk ¶
func (o *LogsCompute) GetMetricOk() (*string, bool)
GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsCompute) GetType ¶
func (o *LogsCompute) GetType() LogsComputeType
GetType returns the Type field value if set, zero value otherwise.
func (*LogsCompute) GetTypeOk ¶
func (o *LogsCompute) GetTypeOk() (*LogsComputeType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsCompute) HasInterval ¶
func (o *LogsCompute) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*LogsCompute) HasMetric ¶
func (o *LogsCompute) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (*LogsCompute) HasType ¶
func (o *LogsCompute) HasType() bool
HasType returns a boolean if a field has been set.
func (LogsCompute) MarshalJSON ¶
func (o LogsCompute) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsCompute) SetAggregation ¶
func (o *LogsCompute) SetAggregation(v LogsAggregationFunction)
SetAggregation sets field value.
func (*LogsCompute) SetInterval ¶
func (o *LogsCompute) SetInterval(v string)
SetInterval gets a reference to the given string and assigns it to the Interval field.
func (*LogsCompute) SetMetric ¶
func (o *LogsCompute) SetMetric(v string)
SetMetric gets a reference to the given string and assigns it to the Metric field.
func (*LogsCompute) SetType ¶
func (o *LogsCompute) SetType(v LogsComputeType)
SetType gets a reference to the given LogsComputeType and assigns it to the Type field.
func (*LogsCompute) UnmarshalJSON ¶
func (o *LogsCompute) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsComputeType ¶
type LogsComputeType string
LogsComputeType The type of compute
const ( LOGSCOMPUTETYPE_TIMESERIES LogsComputeType = "timeseries" LOGSCOMPUTETYPE_TOTAL LogsComputeType = "total" )
List of LogsComputeType.
func NewLogsComputeTypeFromValue ¶
func NewLogsComputeTypeFromValue(v string) (*LogsComputeType, error)
NewLogsComputeTypeFromValue returns a pointer to a valid LogsComputeType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsComputeType) GetAllowedValues ¶ added in v1.1.0
func (v *LogsComputeType) GetAllowedValues() []LogsComputeType
GetAllowedValues reeturns the list of possible values.
func (LogsComputeType) IsValid ¶
func (v LogsComputeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsComputeType) Ptr ¶
func (v LogsComputeType) Ptr() *LogsComputeType
Ptr returns reference to LogsComputeType value.
func (*LogsComputeType) UnmarshalJSON ¶
func (v *LogsComputeType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsGroupBy ¶
type LogsGroupBy struct {
// The name of the facet to use (required)
Facet string `json:"facet"`
// Used to perform a histogram computation (only for measure facets).
// Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval.
Histogram *LogsGroupByHistogram `json:"histogram,omitempty"`
// The maximum buckets to return for this group by
Limit *int64 `json:"limit,omitempty"`
// The value to use for logs that don't have the facet used to group by
Missing *LogsGroupByMissing `json:"missing,omitempty"`
// A sort rule
Sort *LogsAggregateSort `json:"sort,omitempty"`
// A resulting object to put the given computes in over all the matching records.
Total *LogsGroupByTotal `json:"total,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsGroupBy A group by rule
func NewLogsGroupBy ¶
func NewLogsGroupBy(facet string) *LogsGroupBy
NewLogsGroupBy instantiates a new LogsGroupBy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsGroupByWithDefaults ¶
func NewLogsGroupByWithDefaults() *LogsGroupBy
NewLogsGroupByWithDefaults instantiates a new LogsGroupBy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsGroupBy) GetFacet ¶
func (o *LogsGroupBy) GetFacet() string
GetFacet returns the Facet field value.
func (*LogsGroupBy) GetFacetOk ¶
func (o *LogsGroupBy) GetFacetOk() (*string, bool)
GetFacetOk returns a tuple with the Facet field value and a boolean to check if the value has been set.
func (*LogsGroupBy) GetHistogram ¶
func (o *LogsGroupBy) GetHistogram() LogsGroupByHistogram
GetHistogram returns the Histogram field value if set, zero value otherwise.
func (*LogsGroupBy) GetHistogramOk ¶
func (o *LogsGroupBy) GetHistogramOk() (*LogsGroupByHistogram, bool)
GetHistogramOk returns a tuple with the Histogram field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsGroupBy) GetLimit ¶
func (o *LogsGroupBy) GetLimit() int64
GetLimit returns the Limit field value if set, zero value otherwise.
func (*LogsGroupBy) GetLimitOk ¶
func (o *LogsGroupBy) GetLimitOk() (*int64, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsGroupBy) GetMissing ¶
func (o *LogsGroupBy) GetMissing() LogsGroupByMissing
GetMissing returns the Missing field value if set, zero value otherwise.
func (*LogsGroupBy) GetMissingOk ¶
func (o *LogsGroupBy) GetMissingOk() (*LogsGroupByMissing, bool)
GetMissingOk returns a tuple with the Missing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsGroupBy) GetSort ¶
func (o *LogsGroupBy) GetSort() LogsAggregateSort
GetSort returns the Sort field value if set, zero value otherwise.
func (*LogsGroupBy) GetSortOk ¶
func (o *LogsGroupBy) GetSortOk() (*LogsAggregateSort, bool)
GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsGroupBy) GetTotal ¶
func (o *LogsGroupBy) GetTotal() LogsGroupByTotal
GetTotal returns the Total field value if set, zero value otherwise.
func (*LogsGroupBy) GetTotalOk ¶
func (o *LogsGroupBy) GetTotalOk() (*LogsGroupByTotal, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsGroupBy) HasHistogram ¶
func (o *LogsGroupBy) HasHistogram() bool
HasHistogram returns a boolean if a field has been set.
func (*LogsGroupBy) HasLimit ¶
func (o *LogsGroupBy) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*LogsGroupBy) HasMissing ¶
func (o *LogsGroupBy) HasMissing() bool
HasMissing returns a boolean if a field has been set.
func (*LogsGroupBy) HasSort ¶
func (o *LogsGroupBy) HasSort() bool
HasSort returns a boolean if a field has been set.
func (*LogsGroupBy) HasTotal ¶
func (o *LogsGroupBy) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (LogsGroupBy) MarshalJSON ¶
func (o LogsGroupBy) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsGroupBy) SetHistogram ¶
func (o *LogsGroupBy) SetHistogram(v LogsGroupByHistogram)
SetHistogram gets a reference to the given LogsGroupByHistogram and assigns it to the Histogram field.
func (*LogsGroupBy) SetLimit ¶
func (o *LogsGroupBy) SetLimit(v int64)
SetLimit gets a reference to the given int64 and assigns it to the Limit field.
func (*LogsGroupBy) SetMissing ¶
func (o *LogsGroupBy) SetMissing(v LogsGroupByMissing)
SetMissing gets a reference to the given LogsGroupByMissing and assigns it to the Missing field.
func (*LogsGroupBy) SetSort ¶
func (o *LogsGroupBy) SetSort(v LogsAggregateSort)
SetSort gets a reference to the given LogsAggregateSort and assigns it to the Sort field.
func (*LogsGroupBy) SetTotal ¶
func (o *LogsGroupBy) SetTotal(v LogsGroupByTotal)
SetTotal gets a reference to the given LogsGroupByTotal and assigns it to the Total field.
func (*LogsGroupBy) UnmarshalJSON ¶
func (o *LogsGroupBy) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsGroupByHistogram ¶
type LogsGroupByHistogram struct {
// The bin size of the histogram buckets
Interval float64 `json:"interval"`
// The maximum value for the measure used in the histogram
// (values greater than this one are filtered out)
Max float64 `json:"max"`
// The minimum value for the measure used in the histogram
// (values smaller than this one are filtered out)
Min float64 `json:"min"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsGroupByHistogram Used to perform a histogram computation (only for measure facets). Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval.
func NewLogsGroupByHistogram ¶
func NewLogsGroupByHistogram(interval float64, max float64, min float64) *LogsGroupByHistogram
NewLogsGroupByHistogram instantiates a new LogsGroupByHistogram object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsGroupByHistogramWithDefaults ¶
func NewLogsGroupByHistogramWithDefaults() *LogsGroupByHistogram
NewLogsGroupByHistogramWithDefaults instantiates a new LogsGroupByHistogram object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsGroupByHistogram) GetInterval ¶
func (o *LogsGroupByHistogram) GetInterval() float64
GetInterval returns the Interval field value.
func (*LogsGroupByHistogram) GetIntervalOk ¶
func (o *LogsGroupByHistogram) GetIntervalOk() (*float64, bool)
GetIntervalOk returns a tuple with the Interval field value and a boolean to check if the value has been set.
func (*LogsGroupByHistogram) GetMax ¶
func (o *LogsGroupByHistogram) GetMax() float64
GetMax returns the Max field value.
func (*LogsGroupByHistogram) GetMaxOk ¶
func (o *LogsGroupByHistogram) GetMaxOk() (*float64, bool)
GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.
func (*LogsGroupByHistogram) GetMin ¶
func (o *LogsGroupByHistogram) GetMin() float64
GetMin returns the Min field value.
func (*LogsGroupByHistogram) GetMinOk ¶
func (o *LogsGroupByHistogram) GetMinOk() (*float64, bool)
GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.
func (LogsGroupByHistogram) MarshalJSON ¶
func (o LogsGroupByHistogram) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsGroupByHistogram) SetInterval ¶
func (o *LogsGroupByHistogram) SetInterval(v float64)
SetInterval sets field value.
func (*LogsGroupByHistogram) SetMax ¶
func (o *LogsGroupByHistogram) SetMax(v float64)
SetMax sets field value.
func (*LogsGroupByHistogram) SetMin ¶
func (o *LogsGroupByHistogram) SetMin(v float64)
SetMin sets field value.
func (*LogsGroupByHistogram) UnmarshalJSON ¶
func (o *LogsGroupByHistogram) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsGroupByMissing ¶
type LogsGroupByMissing struct {
LogsGroupByMissingString *string
LogsGroupByMissingNumber *float64
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
LogsGroupByMissing - The value to use for logs that don't have the facet used to group by
func LogsGroupByMissingNumberAsLogsGroupByMissing ¶ added in v1.11.0
func LogsGroupByMissingNumberAsLogsGroupByMissing(v *float64) LogsGroupByMissing
LogsGroupByMissingNumberAsLogsGroupByMissing is a convenience function that returns float64 wrapped in LogsGroupByMissing.
func LogsGroupByMissingStringAsLogsGroupByMissing ¶ added in v1.11.0
func LogsGroupByMissingStringAsLogsGroupByMissing(v *string) LogsGroupByMissing
LogsGroupByMissingStringAsLogsGroupByMissing is a convenience function that returns string wrapped in LogsGroupByMissing.
func (*LogsGroupByMissing) GetActualInstance ¶
func (obj *LogsGroupByMissing) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (LogsGroupByMissing) MarshalJSON ¶
func (obj LogsGroupByMissing) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*LogsGroupByMissing) UnmarshalJSON ¶
func (obj *LogsGroupByMissing) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type LogsGroupByTotal ¶
type LogsGroupByTotal struct {
LogsGroupByTotalBoolean *bool
LogsGroupByTotalString *string
LogsGroupByTotalNumber *float64
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
LogsGroupByTotal - A resulting object to put the given computes in over all the matching records.
func LogsGroupByTotalBooleanAsLogsGroupByTotal ¶ added in v1.11.0
func LogsGroupByTotalBooleanAsLogsGroupByTotal(v *bool) LogsGroupByTotal
LogsGroupByTotalBooleanAsLogsGroupByTotal is a convenience function that returns bool wrapped in LogsGroupByTotal.
func LogsGroupByTotalNumberAsLogsGroupByTotal ¶ added in v1.11.0
func LogsGroupByTotalNumberAsLogsGroupByTotal(v *float64) LogsGroupByTotal
LogsGroupByTotalNumberAsLogsGroupByTotal is a convenience function that returns float64 wrapped in LogsGroupByTotal.
func LogsGroupByTotalStringAsLogsGroupByTotal ¶ added in v1.11.0
func LogsGroupByTotalStringAsLogsGroupByTotal(v *string) LogsGroupByTotal
LogsGroupByTotalStringAsLogsGroupByTotal is a convenience function that returns string wrapped in LogsGroupByTotal.
func (*LogsGroupByTotal) GetActualInstance ¶
func (obj *LogsGroupByTotal) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (LogsGroupByTotal) MarshalJSON ¶
func (obj LogsGroupByTotal) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*LogsGroupByTotal) UnmarshalJSON ¶
func (obj *LogsGroupByTotal) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type LogsListRequest ¶
type LogsListRequest struct {
// The search and filter query settings
Filter *LogsQueryFilter `json:"filter,omitempty"`
// Global query options that are used during the query.
// Note: You should only supply timezone or time offset but not both otherwise the query will fail.
Options *LogsQueryOptions `json:"options,omitempty"`
// Paging attributes for listing logs.
Page *LogsListRequestPage `json:"page,omitempty"`
// Sort parameters when querying logs.
Sort *LogsSort `json:"sort,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsListRequest The request for a logs list.
func NewLogsListRequest ¶
func NewLogsListRequest() *LogsListRequest
NewLogsListRequest instantiates a new LogsListRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsListRequestWithDefaults ¶
func NewLogsListRequestWithDefaults() *LogsListRequest
NewLogsListRequestWithDefaults instantiates a new LogsListRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsListRequest) GetFilter ¶
func (o *LogsListRequest) GetFilter() LogsQueryFilter
GetFilter returns the Filter field value if set, zero value otherwise.
func (*LogsListRequest) GetFilterOk ¶
func (o *LogsListRequest) GetFilterOk() (*LogsQueryFilter, bool)
GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsListRequest) GetOptions ¶
func (o *LogsListRequest) GetOptions() LogsQueryOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*LogsListRequest) GetOptionsOk ¶
func (o *LogsListRequest) GetOptionsOk() (*LogsQueryOptions, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsListRequest) GetPage ¶
func (o *LogsListRequest) GetPage() LogsListRequestPage
GetPage returns the Page field value if set, zero value otherwise.
func (*LogsListRequest) GetPageOk ¶
func (o *LogsListRequest) GetPageOk() (*LogsListRequestPage, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsListRequest) GetSort ¶
func (o *LogsListRequest) GetSort() LogsSort
GetSort returns the Sort field value if set, zero value otherwise.
func (*LogsListRequest) GetSortOk ¶
func (o *LogsListRequest) GetSortOk() (*LogsSort, bool)
GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsListRequest) HasFilter ¶
func (o *LogsListRequest) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*LogsListRequest) HasOptions ¶
func (o *LogsListRequest) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*LogsListRequest) HasPage ¶
func (o *LogsListRequest) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*LogsListRequest) HasSort ¶
func (o *LogsListRequest) HasSort() bool
HasSort returns a boolean if a field has been set.
func (LogsListRequest) MarshalJSON ¶
func (o LogsListRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsListRequest) SetFilter ¶
func (o *LogsListRequest) SetFilter(v LogsQueryFilter)
SetFilter gets a reference to the given LogsQueryFilter and assigns it to the Filter field.
func (*LogsListRequest) SetOptions ¶
func (o *LogsListRequest) SetOptions(v LogsQueryOptions)
SetOptions gets a reference to the given LogsQueryOptions and assigns it to the Options field.
func (*LogsListRequest) SetPage ¶
func (o *LogsListRequest) SetPage(v LogsListRequestPage)
SetPage gets a reference to the given LogsListRequestPage and assigns it to the Page field.
func (*LogsListRequest) SetSort ¶
func (o *LogsListRequest) SetSort(v LogsSort)
SetSort gets a reference to the given LogsSort and assigns it to the Sort field.
func (*LogsListRequest) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsListRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsListRequestPage ¶
type LogsListRequestPage struct {
// List following results with a cursor provided in the previous query.
Cursor *string `json:"cursor,omitempty"`
// Maximum number of logs in the response.
Limit *int32 `json:"limit,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsListRequestPage Paging attributes for listing logs.
func NewLogsListRequestPage ¶
func NewLogsListRequestPage() *LogsListRequestPage
NewLogsListRequestPage instantiates a new LogsListRequestPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsListRequestPageWithDefaults ¶
func NewLogsListRequestPageWithDefaults() *LogsListRequestPage
NewLogsListRequestPageWithDefaults instantiates a new LogsListRequestPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsListRequestPage) GetCursor ¶
func (o *LogsListRequestPage) GetCursor() string
GetCursor returns the Cursor field value if set, zero value otherwise.
func (*LogsListRequestPage) GetCursorOk ¶
func (o *LogsListRequestPage) GetCursorOk() (*string, bool)
GetCursorOk returns a tuple with the Cursor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsListRequestPage) GetLimit ¶
func (o *LogsListRequestPage) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*LogsListRequestPage) GetLimitOk ¶
func (o *LogsListRequestPage) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsListRequestPage) HasCursor ¶
func (o *LogsListRequestPage) HasCursor() bool
HasCursor returns a boolean if a field has been set.
func (*LogsListRequestPage) HasLimit ¶
func (o *LogsListRequestPage) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (LogsListRequestPage) MarshalJSON ¶
func (o LogsListRequestPage) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsListRequestPage) SetCursor ¶
func (o *LogsListRequestPage) SetCursor(v string)
SetCursor gets a reference to the given string and assigns it to the Cursor field.
func (*LogsListRequestPage) SetLimit ¶
func (o *LogsListRequestPage) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*LogsListRequestPage) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsListRequestPage) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsListResponse ¶
type LogsListResponse struct {
// Array of logs matching the request.
Data []Log `json:"data,omitempty"`
// Links attributes.
Links *LogsListResponseLinks `json:"links,omitempty"`
// The metadata associated with a request
Meta *LogsResponseMetadata `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsListResponse Response object with all logs matching the request and pagination information.
func NewLogsListResponse ¶
func NewLogsListResponse() *LogsListResponse
NewLogsListResponse instantiates a new LogsListResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsListResponseWithDefaults ¶
func NewLogsListResponseWithDefaults() *LogsListResponse
NewLogsListResponseWithDefaults instantiates a new LogsListResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsListResponse) GetData ¶
func (o *LogsListResponse) GetData() []Log
GetData returns the Data field value if set, zero value otherwise.
func (*LogsListResponse) GetDataOk ¶
func (o *LogsListResponse) GetDataOk() (*[]Log, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsListResponse) GetLinks ¶
func (o *LogsListResponse) GetLinks() LogsListResponseLinks
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 ¶
func (o *LogsListResponse) GetMeta() LogsResponseMetadata
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 (*LogsListResponse) HasLinks ¶
func (o *LogsListResponse) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*LogsListResponse) HasMeta ¶
func (o *LogsListResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (LogsListResponse) MarshalJSON ¶
func (o LogsListResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsListResponse) SetData ¶
func (o *LogsListResponse) SetData(v []Log)
SetData gets a reference to the given []Log and assigns it to the Data field.
func (*LogsListResponse) SetLinks ¶
func (o *LogsListResponse) SetLinks(v LogsListResponseLinks)
SetLinks gets a reference to the given LogsListResponseLinks and assigns it to the Links field.
func (*LogsListResponse) SetMeta ¶
func (o *LogsListResponse) SetMeta(v LogsResponseMetadata)
SetMeta gets a reference to the given LogsResponseMetadata and assigns it to the Meta field.
func (*LogsListResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsListResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsListResponseLinks ¶
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 ¶
func NewLogsListResponseLinks() *LogsListResponseLinks
NewLogsListResponseLinks instantiates a new LogsListResponseLinks object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsListResponseLinksWithDefaults ¶
func NewLogsListResponseLinksWithDefaults() *LogsListResponseLinks
NewLogsListResponseLinksWithDefaults instantiates a new LogsListResponseLinks object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsListResponseLinks) GetNext ¶
func (o *LogsListResponseLinks) GetNext() string
GetNext returns the Next field value if set, zero value otherwise.
func (*LogsListResponseLinks) GetNextOk ¶
func (o *LogsListResponseLinks) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsListResponseLinks) HasNext ¶
func (o *LogsListResponseLinks) HasNext() bool
HasNext returns a boolean if a field has been set.
func (LogsListResponseLinks) MarshalJSON ¶
func (o LogsListResponseLinks) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsListResponseLinks) SetNext ¶
func (o *LogsListResponseLinks) SetNext(v string)
SetNext gets a reference to the given string and assigns it to the Next field.
func (*LogsListResponseLinks) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsListResponseLinks) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricCompute ¶
type LogsMetricCompute struct {
// The type of aggregation to use.
AggregationType LogsMetricComputeAggregationType `json:"aggregation_type"`
// The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution").
Path *string `json:"path,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricCompute The compute rule to compute the log-based metric.
func NewLogsMetricCompute ¶
func NewLogsMetricCompute(aggregationType LogsMetricComputeAggregationType) *LogsMetricCompute
NewLogsMetricCompute instantiates a new LogsMetricCompute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricComputeWithDefaults ¶
func NewLogsMetricComputeWithDefaults() *LogsMetricCompute
NewLogsMetricComputeWithDefaults instantiates a new LogsMetricCompute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricCompute) GetAggregationType ¶
func (o *LogsMetricCompute) GetAggregationType() LogsMetricComputeAggregationType
GetAggregationType returns the AggregationType field value.
func (*LogsMetricCompute) GetAggregationTypeOk ¶
func (o *LogsMetricCompute) GetAggregationTypeOk() (*LogsMetricComputeAggregationType, bool)
GetAggregationTypeOk returns a tuple with the AggregationType field value and a boolean to check if the value has been set.
func (*LogsMetricCompute) GetPath ¶
func (o *LogsMetricCompute) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*LogsMetricCompute) GetPathOk ¶
func (o *LogsMetricCompute) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricCompute) HasPath ¶
func (o *LogsMetricCompute) HasPath() bool
HasPath returns a boolean if a field has been set.
func (LogsMetricCompute) MarshalJSON ¶
func (o LogsMetricCompute) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricCompute) SetAggregationType ¶
func (o *LogsMetricCompute) SetAggregationType(v LogsMetricComputeAggregationType)
SetAggregationType sets field value.
func (*LogsMetricCompute) SetPath ¶
func (o *LogsMetricCompute) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*LogsMetricCompute) UnmarshalJSON ¶
func (o *LogsMetricCompute) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricComputeAggregationType ¶
type LogsMetricComputeAggregationType string
LogsMetricComputeAggregationType The type of aggregation to use.
const ( LOGSMETRICCOMPUTEAGGREGATIONTYPE_COUNT LogsMetricComputeAggregationType = "count" LOGSMETRICCOMPUTEAGGREGATIONTYPE_DISTRIBUTION LogsMetricComputeAggregationType = "distribution" )
List of LogsMetricComputeAggregationType.
func NewLogsMetricComputeAggregationTypeFromValue ¶
func NewLogsMetricComputeAggregationTypeFromValue(v string) (*LogsMetricComputeAggregationType, error)
NewLogsMetricComputeAggregationTypeFromValue returns a pointer to a valid LogsMetricComputeAggregationType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsMetricComputeAggregationType) GetAllowedValues ¶ added in v1.1.0
func (v *LogsMetricComputeAggregationType) GetAllowedValues() []LogsMetricComputeAggregationType
GetAllowedValues reeturns the list of possible values.
func (LogsMetricComputeAggregationType) IsValid ¶
func (v LogsMetricComputeAggregationType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsMetricComputeAggregationType) Ptr ¶
func (v LogsMetricComputeAggregationType) Ptr() *LogsMetricComputeAggregationType
Ptr returns reference to LogsMetricComputeAggregationType value.
func (*LogsMetricComputeAggregationType) UnmarshalJSON ¶
func (v *LogsMetricComputeAggregationType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsMetricCreateAttributes ¶
type LogsMetricCreateAttributes struct {
// The compute rule to compute the log-based metric.
Compute LogsMetricCompute `json:"compute"`
// The log-based metric filter. Logs matching this filter will be aggregated in this metric.
Filter *LogsMetricFilter `json:"filter,omitempty"`
// The rules for the group by.
GroupBy []LogsMetricGroupBy `json:"group_by,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricCreateAttributes The object describing the Datadog log-based metric to create.
func NewLogsMetricCreateAttributes ¶
func NewLogsMetricCreateAttributes(compute LogsMetricCompute) *LogsMetricCreateAttributes
NewLogsMetricCreateAttributes instantiates a new LogsMetricCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricCreateAttributesWithDefaults ¶
func NewLogsMetricCreateAttributesWithDefaults() *LogsMetricCreateAttributes
NewLogsMetricCreateAttributesWithDefaults instantiates a new LogsMetricCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricCreateAttributes) GetCompute ¶
func (o *LogsMetricCreateAttributes) GetCompute() LogsMetricCompute
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 ¶
func (o *LogsMetricCreateAttributes) GetFilter() LogsMetricFilter
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 ¶
func (o *LogsMetricCreateAttributes) GetGroupBy() []LogsMetricGroupBy
GetGroupBy returns the GroupBy field value if set, zero value otherwise.
func (*LogsMetricCreateAttributes) GetGroupByOk ¶
func (o *LogsMetricCreateAttributes) GetGroupByOk() (*[]LogsMetricGroupBy, bool)
GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricCreateAttributes) HasFilter ¶
func (o *LogsMetricCreateAttributes) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*LogsMetricCreateAttributes) HasGroupBy ¶
func (o *LogsMetricCreateAttributes) HasGroupBy() bool
HasGroupBy returns a boolean if a field has been set.
func (LogsMetricCreateAttributes) MarshalJSON ¶
func (o LogsMetricCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricCreateAttributes) SetCompute ¶
func (o *LogsMetricCreateAttributes) SetCompute(v LogsMetricCompute)
SetCompute sets field value.
func (*LogsMetricCreateAttributes) SetFilter ¶
func (o *LogsMetricCreateAttributes) SetFilter(v LogsMetricFilter)
SetFilter gets a reference to the given LogsMetricFilter and assigns it to the Filter field.
func (*LogsMetricCreateAttributes) SetGroupBy ¶
func (o *LogsMetricCreateAttributes) SetGroupBy(v []LogsMetricGroupBy)
SetGroupBy gets a reference to the given []LogsMetricGroupBy and assigns it to the GroupBy field.
func (*LogsMetricCreateAttributes) UnmarshalJSON ¶
func (o *LogsMetricCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricCreateData ¶
type LogsMetricCreateData struct {
// The object describing the Datadog log-based metric to create.
Attributes LogsMetricCreateAttributes `json:"attributes"`
// The name of the log-based metric.
Id string `json:"id"`
// The type of the resource. The value should always be logs_metrics.
Type LogsMetricType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricCreateData The new log-based metric properties.
func NewLogsMetricCreateData ¶
func NewLogsMetricCreateData(attributes LogsMetricCreateAttributes, id string, typeVar LogsMetricType) *LogsMetricCreateData
NewLogsMetricCreateData instantiates a new LogsMetricCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricCreateDataWithDefaults ¶
func NewLogsMetricCreateDataWithDefaults() *LogsMetricCreateData
NewLogsMetricCreateDataWithDefaults instantiates a new LogsMetricCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricCreateData) GetAttributes ¶
func (o *LogsMetricCreateData) GetAttributes() LogsMetricCreateAttributes
GetAttributes returns the Attributes field value.
func (*LogsMetricCreateData) GetAttributesOk ¶
func (o *LogsMetricCreateData) GetAttributesOk() (*LogsMetricCreateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*LogsMetricCreateData) GetId ¶
func (o *LogsMetricCreateData) GetId() string
GetId returns the Id field value.
func (*LogsMetricCreateData) GetIdOk ¶
func (o *LogsMetricCreateData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*LogsMetricCreateData) GetType ¶
func (o *LogsMetricCreateData) GetType() LogsMetricType
GetType returns the Type field value.
func (*LogsMetricCreateData) GetTypeOk ¶
func (o *LogsMetricCreateData) GetTypeOk() (*LogsMetricType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (LogsMetricCreateData) MarshalJSON ¶
func (o LogsMetricCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricCreateData) SetAttributes ¶
func (o *LogsMetricCreateData) SetAttributes(v LogsMetricCreateAttributes)
SetAttributes sets field value.
func (*LogsMetricCreateData) SetId ¶
func (o *LogsMetricCreateData) SetId(v string)
SetId sets field value.
func (*LogsMetricCreateData) SetType ¶
func (o *LogsMetricCreateData) SetType(v LogsMetricType)
SetType sets field value.
func (*LogsMetricCreateData) UnmarshalJSON ¶
func (o *LogsMetricCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricCreateRequest ¶
type LogsMetricCreateRequest struct {
// The new log-based metric properties.
Data LogsMetricCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricCreateRequest The new log-based metric body.
func NewLogsMetricCreateRequest ¶
func NewLogsMetricCreateRequest(data LogsMetricCreateData) *LogsMetricCreateRequest
NewLogsMetricCreateRequest instantiates a new LogsMetricCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricCreateRequestWithDefaults ¶
func NewLogsMetricCreateRequestWithDefaults() *LogsMetricCreateRequest
NewLogsMetricCreateRequestWithDefaults instantiates a new LogsMetricCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricCreateRequest) GetData ¶
func (o *LogsMetricCreateRequest) GetData() LogsMetricCreateData
GetData returns the Data field value.
func (*LogsMetricCreateRequest) GetDataOk ¶
func (o *LogsMetricCreateRequest) GetDataOk() (*LogsMetricCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (LogsMetricCreateRequest) MarshalJSON ¶
func (o LogsMetricCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricCreateRequest) SetData ¶
func (o *LogsMetricCreateRequest) SetData(v LogsMetricCreateData)
SetData sets field value.
func (*LogsMetricCreateRequest) UnmarshalJSON ¶
func (o *LogsMetricCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricFilter ¶
type LogsMetricFilter struct {
// The search query - following the log search syntax.
Query *string `json:"query,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricFilter The log-based metric filter. Logs matching this filter will be aggregated in this metric.
func NewLogsMetricFilter ¶
func NewLogsMetricFilter() *LogsMetricFilter
NewLogsMetricFilter instantiates a new LogsMetricFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricFilterWithDefaults ¶
func NewLogsMetricFilterWithDefaults() *LogsMetricFilter
NewLogsMetricFilterWithDefaults instantiates a new LogsMetricFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricFilter) GetQuery ¶
func (o *LogsMetricFilter) GetQuery() string
GetQuery returns the Query field value if set, zero value otherwise.
func (*LogsMetricFilter) GetQueryOk ¶
func (o *LogsMetricFilter) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricFilter) HasQuery ¶
func (o *LogsMetricFilter) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (LogsMetricFilter) MarshalJSON ¶
func (o LogsMetricFilter) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricFilter) SetQuery ¶
func (o *LogsMetricFilter) SetQuery(v string)
SetQuery gets a reference to the given string and assigns it to the Query field.
func (*LogsMetricFilter) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsMetricFilter) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricGroupBy ¶
type LogsMetricGroupBy struct {
// The path to the value the log-based metric will be aggregated over.
Path string `json:"path"`
// Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
TagName *string `json:"tag_name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricGroupBy A group by rule.
func NewLogsMetricGroupBy ¶
func NewLogsMetricGroupBy(path string) *LogsMetricGroupBy
NewLogsMetricGroupBy instantiates a new LogsMetricGroupBy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricGroupByWithDefaults ¶
func NewLogsMetricGroupByWithDefaults() *LogsMetricGroupBy
NewLogsMetricGroupByWithDefaults instantiates a new LogsMetricGroupBy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricGroupBy) GetPath ¶
func (o *LogsMetricGroupBy) GetPath() string
GetPath returns the Path field value.
func (*LogsMetricGroupBy) GetPathOk ¶
func (o *LogsMetricGroupBy) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*LogsMetricGroupBy) GetTagName ¶
func (o *LogsMetricGroupBy) GetTagName() string
GetTagName returns the TagName field value if set, zero value otherwise.
func (*LogsMetricGroupBy) GetTagNameOk ¶
func (o *LogsMetricGroupBy) GetTagNameOk() (*string, bool)
GetTagNameOk returns a tuple with the TagName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricGroupBy) HasTagName ¶
func (o *LogsMetricGroupBy) HasTagName() bool
HasTagName returns a boolean if a field has been set.
func (LogsMetricGroupBy) MarshalJSON ¶
func (o LogsMetricGroupBy) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricGroupBy) SetPath ¶
func (o *LogsMetricGroupBy) SetPath(v string)
SetPath sets field value.
func (*LogsMetricGroupBy) SetTagName ¶
func (o *LogsMetricGroupBy) SetTagName(v string)
SetTagName gets a reference to the given string and assigns it to the TagName field.
func (*LogsMetricGroupBy) UnmarshalJSON ¶
func (o *LogsMetricGroupBy) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricResponse ¶
type LogsMetricResponse struct {
// The log-based metric properties.
Data *LogsMetricResponseData `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricResponse The log-based metric object.
func NewLogsMetricResponse ¶
func NewLogsMetricResponse() *LogsMetricResponse
NewLogsMetricResponse instantiates a new LogsMetricResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricResponseWithDefaults ¶
func NewLogsMetricResponseWithDefaults() *LogsMetricResponse
NewLogsMetricResponseWithDefaults instantiates a new LogsMetricResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricResponse) GetData ¶
func (o *LogsMetricResponse) GetData() LogsMetricResponseData
GetData returns the Data field value if set, zero value otherwise.
func (*LogsMetricResponse) GetDataOk ¶
func (o *LogsMetricResponse) GetDataOk() (*LogsMetricResponseData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricResponse) HasData ¶
func (o *LogsMetricResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (LogsMetricResponse) MarshalJSON ¶
func (o LogsMetricResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricResponse) SetData ¶
func (o *LogsMetricResponse) SetData(v LogsMetricResponseData)
SetData gets a reference to the given LogsMetricResponseData and assigns it to the Data field.
func (*LogsMetricResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsMetricResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricResponseAttributes ¶
type LogsMetricResponseAttributes struct {
// The compute rule to compute the log-based metric.
Compute *LogsMetricResponseCompute `json:"compute,omitempty"`
// The log-based metric filter. Logs matching this filter will be aggregated in this metric.
Filter *LogsMetricResponseFilter `json:"filter,omitempty"`
// The rules for the group by.
GroupBy []LogsMetricResponseGroupBy `json:"group_by,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricResponseAttributes The object describing a Datadog log-based metric.
func NewLogsMetricResponseAttributes ¶
func NewLogsMetricResponseAttributes() *LogsMetricResponseAttributes
NewLogsMetricResponseAttributes instantiates a new LogsMetricResponseAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricResponseAttributesWithDefaults ¶
func NewLogsMetricResponseAttributesWithDefaults() *LogsMetricResponseAttributes
NewLogsMetricResponseAttributesWithDefaults instantiates a new LogsMetricResponseAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricResponseAttributes) GetCompute ¶
func (o *LogsMetricResponseAttributes) GetCompute() LogsMetricResponseCompute
GetCompute returns the Compute field value if set, zero value otherwise.
func (*LogsMetricResponseAttributes) GetComputeOk ¶
func (o *LogsMetricResponseAttributes) GetComputeOk() (*LogsMetricResponseCompute, 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 (*LogsMetricResponseAttributes) GetFilter ¶
func (o *LogsMetricResponseAttributes) GetFilter() LogsMetricResponseFilter
GetFilter returns the Filter field value if set, zero value otherwise.
func (*LogsMetricResponseAttributes) GetFilterOk ¶
func (o *LogsMetricResponseAttributes) GetFilterOk() (*LogsMetricResponseFilter, 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 (*LogsMetricResponseAttributes) GetGroupBy ¶
func (o *LogsMetricResponseAttributes) GetGroupBy() []LogsMetricResponseGroupBy
GetGroupBy returns the GroupBy field value if set, zero value otherwise.
func (*LogsMetricResponseAttributes) GetGroupByOk ¶
func (o *LogsMetricResponseAttributes) GetGroupByOk() (*[]LogsMetricResponseGroupBy, 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 (*LogsMetricResponseAttributes) HasCompute ¶
func (o *LogsMetricResponseAttributes) HasCompute() bool
HasCompute returns a boolean if a field has been set.
func (*LogsMetricResponseAttributes) HasFilter ¶
func (o *LogsMetricResponseAttributes) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*LogsMetricResponseAttributes) HasGroupBy ¶
func (o *LogsMetricResponseAttributes) HasGroupBy() bool
HasGroupBy returns a boolean if a field has been set.
func (LogsMetricResponseAttributes) MarshalJSON ¶
func (o LogsMetricResponseAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricResponseAttributes) SetCompute ¶
func (o *LogsMetricResponseAttributes) SetCompute(v LogsMetricResponseCompute)
SetCompute gets a reference to the given LogsMetricResponseCompute and assigns it to the Compute field.
func (*LogsMetricResponseAttributes) SetFilter ¶
func (o *LogsMetricResponseAttributes) SetFilter(v LogsMetricResponseFilter)
SetFilter gets a reference to the given LogsMetricResponseFilter and assigns it to the Filter field.
func (*LogsMetricResponseAttributes) SetGroupBy ¶
func (o *LogsMetricResponseAttributes) SetGroupBy(v []LogsMetricResponseGroupBy)
SetGroupBy gets a reference to the given []LogsMetricResponseGroupBy and assigns it to the GroupBy field.
func (*LogsMetricResponseAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsMetricResponseAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricResponseCompute ¶
type LogsMetricResponseCompute struct {
// The type of aggregation to use.
AggregationType *LogsMetricResponseComputeAggregationType `json:"aggregation_type,omitempty"`
// The path to the value the log-based metric will aggregate on (only used if the aggregation type is a "distribution").
Path *string `json:"path,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricResponseCompute The compute rule to compute the log-based metric.
func NewLogsMetricResponseCompute ¶
func NewLogsMetricResponseCompute() *LogsMetricResponseCompute
NewLogsMetricResponseCompute instantiates a new LogsMetricResponseCompute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricResponseComputeWithDefaults ¶
func NewLogsMetricResponseComputeWithDefaults() *LogsMetricResponseCompute
NewLogsMetricResponseComputeWithDefaults instantiates a new LogsMetricResponseCompute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricResponseCompute) GetAggregationType ¶
func (o *LogsMetricResponseCompute) GetAggregationType() LogsMetricResponseComputeAggregationType
GetAggregationType returns the AggregationType field value if set, zero value otherwise.
func (*LogsMetricResponseCompute) GetAggregationTypeOk ¶
func (o *LogsMetricResponseCompute) GetAggregationTypeOk() (*LogsMetricResponseComputeAggregationType, bool)
GetAggregationTypeOk returns a tuple with the AggregationType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricResponseCompute) GetPath ¶
func (o *LogsMetricResponseCompute) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*LogsMetricResponseCompute) GetPathOk ¶
func (o *LogsMetricResponseCompute) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricResponseCompute) HasAggregationType ¶
func (o *LogsMetricResponseCompute) HasAggregationType() bool
HasAggregationType returns a boolean if a field has been set.
func (*LogsMetricResponseCompute) HasPath ¶
func (o *LogsMetricResponseCompute) HasPath() bool
HasPath returns a boolean if a field has been set.
func (LogsMetricResponseCompute) MarshalJSON ¶
func (o LogsMetricResponseCompute) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricResponseCompute) SetAggregationType ¶
func (o *LogsMetricResponseCompute) SetAggregationType(v LogsMetricResponseComputeAggregationType)
SetAggregationType gets a reference to the given LogsMetricResponseComputeAggregationType and assigns it to the AggregationType field.
func (*LogsMetricResponseCompute) SetPath ¶
func (o *LogsMetricResponseCompute) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*LogsMetricResponseCompute) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsMetricResponseCompute) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricResponseComputeAggregationType ¶
type LogsMetricResponseComputeAggregationType string
LogsMetricResponseComputeAggregationType The type of aggregation to use.
const ( LOGSMETRICRESPONSECOMPUTEAGGREGATIONTYPE_COUNT LogsMetricResponseComputeAggregationType = "count" LOGSMETRICRESPONSECOMPUTEAGGREGATIONTYPE_DISTRIBUTION LogsMetricResponseComputeAggregationType = "distribution" )
List of LogsMetricResponseComputeAggregationType.
func NewLogsMetricResponseComputeAggregationTypeFromValue ¶
func NewLogsMetricResponseComputeAggregationTypeFromValue(v string) (*LogsMetricResponseComputeAggregationType, error)
NewLogsMetricResponseComputeAggregationTypeFromValue returns a pointer to a valid LogsMetricResponseComputeAggregationType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsMetricResponseComputeAggregationType) GetAllowedValues ¶ added in v1.1.0
func (v *LogsMetricResponseComputeAggregationType) GetAllowedValues() []LogsMetricResponseComputeAggregationType
GetAllowedValues reeturns the list of possible values.
func (LogsMetricResponseComputeAggregationType) IsValid ¶
func (v LogsMetricResponseComputeAggregationType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsMetricResponseComputeAggregationType) Ptr ¶
Ptr returns reference to LogsMetricResponseComputeAggregationType value.
func (*LogsMetricResponseComputeAggregationType) UnmarshalJSON ¶
func (v *LogsMetricResponseComputeAggregationType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsMetricResponseData ¶
type LogsMetricResponseData struct {
// The object describing a Datadog log-based metric.
Attributes *LogsMetricResponseAttributes `json:"attributes,omitempty"`
// The name of the log-based metric.
Id *string `json:"id,omitempty"`
// The type of the resource. The value should always be logs_metrics.
Type *LogsMetricType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricResponseData The log-based metric properties.
func NewLogsMetricResponseData ¶
func NewLogsMetricResponseData() *LogsMetricResponseData
NewLogsMetricResponseData instantiates a new LogsMetricResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricResponseDataWithDefaults ¶
func NewLogsMetricResponseDataWithDefaults() *LogsMetricResponseData
NewLogsMetricResponseDataWithDefaults instantiates a new LogsMetricResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricResponseData) GetAttributes ¶
func (o *LogsMetricResponseData) GetAttributes() LogsMetricResponseAttributes
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 ¶
func (o *LogsMetricResponseData) GetType() LogsMetricType
GetType returns the Type field value if set, zero value otherwise.
func (*LogsMetricResponseData) GetTypeOk ¶
func (o *LogsMetricResponseData) GetTypeOk() (*LogsMetricType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricResponseData) HasAttributes ¶
func (o *LogsMetricResponseData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*LogsMetricResponseData) HasId ¶
func (o *LogsMetricResponseData) HasId() bool
HasId returns a boolean if a field has been set.
func (*LogsMetricResponseData) HasType ¶
func (o *LogsMetricResponseData) HasType() bool
HasType returns a boolean if a field has been set.
func (LogsMetricResponseData) MarshalJSON ¶
func (o LogsMetricResponseData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricResponseData) SetAttributes ¶
func (o *LogsMetricResponseData) SetAttributes(v LogsMetricResponseAttributes)
SetAttributes gets a reference to the given LogsMetricResponseAttributes and assigns it to the Attributes field.
func (*LogsMetricResponseData) SetId ¶
func (o *LogsMetricResponseData) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*LogsMetricResponseData) SetType ¶
func (o *LogsMetricResponseData) SetType(v LogsMetricType)
SetType gets a reference to the given LogsMetricType and assigns it to the Type field.
func (*LogsMetricResponseData) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsMetricResponseData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricResponseFilter ¶
type LogsMetricResponseFilter struct {
// The search query - following the log search syntax.
Query *string `json:"query,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricResponseFilter The log-based metric filter. Logs matching this filter will be aggregated in this metric.
func NewLogsMetricResponseFilter ¶
func NewLogsMetricResponseFilter() *LogsMetricResponseFilter
NewLogsMetricResponseFilter instantiates a new LogsMetricResponseFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricResponseFilterWithDefaults ¶
func NewLogsMetricResponseFilterWithDefaults() *LogsMetricResponseFilter
NewLogsMetricResponseFilterWithDefaults instantiates a new LogsMetricResponseFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricResponseFilter) GetQuery ¶
func (o *LogsMetricResponseFilter) GetQuery() string
GetQuery returns the Query field value if set, zero value otherwise.
func (*LogsMetricResponseFilter) GetQueryOk ¶
func (o *LogsMetricResponseFilter) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricResponseFilter) HasQuery ¶
func (o *LogsMetricResponseFilter) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (LogsMetricResponseFilter) MarshalJSON ¶
func (o LogsMetricResponseFilter) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricResponseFilter) SetQuery ¶
func (o *LogsMetricResponseFilter) SetQuery(v string)
SetQuery gets a reference to the given string and assigns it to the Query field.
func (*LogsMetricResponseFilter) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsMetricResponseFilter) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricResponseGroupBy ¶
type LogsMetricResponseGroupBy struct {
// The path to the value the log-based metric will be aggregated over.
Path *string `json:"path,omitempty"`
// Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
TagName *string `json:"tag_name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricResponseGroupBy A group by rule.
func NewLogsMetricResponseGroupBy ¶
func NewLogsMetricResponseGroupBy() *LogsMetricResponseGroupBy
NewLogsMetricResponseGroupBy instantiates a new LogsMetricResponseGroupBy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricResponseGroupByWithDefaults ¶
func NewLogsMetricResponseGroupByWithDefaults() *LogsMetricResponseGroupBy
NewLogsMetricResponseGroupByWithDefaults instantiates a new LogsMetricResponseGroupBy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricResponseGroupBy) GetPath ¶
func (o *LogsMetricResponseGroupBy) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*LogsMetricResponseGroupBy) GetPathOk ¶
func (o *LogsMetricResponseGroupBy) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricResponseGroupBy) GetTagName ¶
func (o *LogsMetricResponseGroupBy) GetTagName() string
GetTagName returns the TagName field value if set, zero value otherwise.
func (*LogsMetricResponseGroupBy) GetTagNameOk ¶
func (o *LogsMetricResponseGroupBy) GetTagNameOk() (*string, bool)
GetTagNameOk returns a tuple with the TagName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricResponseGroupBy) HasPath ¶
func (o *LogsMetricResponseGroupBy) HasPath() bool
HasPath returns a boolean if a field has been set.
func (*LogsMetricResponseGroupBy) HasTagName ¶
func (o *LogsMetricResponseGroupBy) HasTagName() bool
HasTagName returns a boolean if a field has been set.
func (LogsMetricResponseGroupBy) MarshalJSON ¶
func (o LogsMetricResponseGroupBy) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricResponseGroupBy) SetPath ¶
func (o *LogsMetricResponseGroupBy) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
func (*LogsMetricResponseGroupBy) SetTagName ¶
func (o *LogsMetricResponseGroupBy) SetTagName(v string)
SetTagName gets a reference to the given string and assigns it to the TagName field.
func (*LogsMetricResponseGroupBy) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsMetricResponseGroupBy) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricType ¶
type LogsMetricType string
LogsMetricType The type of the resource. The value should always be logs_metrics.
const (
LOGSMETRICTYPE_LOGS_METRICS LogsMetricType = "logs_metrics"
)
List of LogsMetricType.
func NewLogsMetricTypeFromValue ¶
func NewLogsMetricTypeFromValue(v string) (*LogsMetricType, error)
NewLogsMetricTypeFromValue returns a pointer to a valid LogsMetricType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsMetricType) GetAllowedValues ¶ added in v1.1.0
func (v *LogsMetricType) GetAllowedValues() []LogsMetricType
GetAllowedValues reeturns the list of possible values.
func (LogsMetricType) IsValid ¶
func (v LogsMetricType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsMetricType) Ptr ¶
func (v LogsMetricType) Ptr() *LogsMetricType
Ptr returns reference to LogsMetricType value.
func (*LogsMetricType) UnmarshalJSON ¶
func (v *LogsMetricType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsMetricUpdateAttributes ¶
type LogsMetricUpdateAttributes struct {
// The log-based metric filter. Logs matching this filter will be aggregated in this metric.
Filter *LogsMetricFilter `json:"filter,omitempty"`
// The rules for the group by.
GroupBy []LogsMetricGroupBy `json:"group_by,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricUpdateAttributes The log-based metric properties that will be updated.
func NewLogsMetricUpdateAttributes ¶
func NewLogsMetricUpdateAttributes() *LogsMetricUpdateAttributes
NewLogsMetricUpdateAttributes instantiates a new LogsMetricUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricUpdateAttributesWithDefaults ¶
func NewLogsMetricUpdateAttributesWithDefaults() *LogsMetricUpdateAttributes
NewLogsMetricUpdateAttributesWithDefaults instantiates a new LogsMetricUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricUpdateAttributes) GetFilter ¶
func (o *LogsMetricUpdateAttributes) GetFilter() LogsMetricFilter
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 ¶
func (o *LogsMetricUpdateAttributes) GetGroupBy() []LogsMetricGroupBy
GetGroupBy returns the GroupBy field value if set, zero value otherwise.
func (*LogsMetricUpdateAttributes) GetGroupByOk ¶
func (o *LogsMetricUpdateAttributes) GetGroupByOk() (*[]LogsMetricGroupBy, bool)
GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricUpdateAttributes) HasFilter ¶
func (o *LogsMetricUpdateAttributes) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*LogsMetricUpdateAttributes) HasGroupBy ¶
func (o *LogsMetricUpdateAttributes) HasGroupBy() bool
HasGroupBy returns a boolean if a field has been set.
func (LogsMetricUpdateAttributes) MarshalJSON ¶
func (o LogsMetricUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricUpdateAttributes) SetFilter ¶
func (o *LogsMetricUpdateAttributes) SetFilter(v LogsMetricFilter)
SetFilter gets a reference to the given LogsMetricFilter and assigns it to the Filter field.
func (*LogsMetricUpdateAttributes) SetGroupBy ¶
func (o *LogsMetricUpdateAttributes) SetGroupBy(v []LogsMetricGroupBy)
SetGroupBy gets a reference to the given []LogsMetricGroupBy and assigns it to the GroupBy field.
func (*LogsMetricUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsMetricUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricUpdateData ¶
type LogsMetricUpdateData struct {
// The log-based metric properties that will be updated.
Attributes LogsMetricUpdateAttributes `json:"attributes"`
// The type of the resource. The value should always be logs_metrics.
Type LogsMetricType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricUpdateData The new log-based metric properties.
func NewLogsMetricUpdateData ¶
func NewLogsMetricUpdateData(attributes LogsMetricUpdateAttributes, typeVar LogsMetricType) *LogsMetricUpdateData
NewLogsMetricUpdateData instantiates a new LogsMetricUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricUpdateDataWithDefaults ¶
func NewLogsMetricUpdateDataWithDefaults() *LogsMetricUpdateData
NewLogsMetricUpdateDataWithDefaults instantiates a new LogsMetricUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricUpdateData) GetAttributes ¶
func (o *LogsMetricUpdateData) GetAttributes() LogsMetricUpdateAttributes
GetAttributes returns the Attributes field value.
func (*LogsMetricUpdateData) GetAttributesOk ¶
func (o *LogsMetricUpdateData) GetAttributesOk() (*LogsMetricUpdateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*LogsMetricUpdateData) GetType ¶
func (o *LogsMetricUpdateData) GetType() LogsMetricType
GetType returns the Type field value.
func (*LogsMetricUpdateData) GetTypeOk ¶
func (o *LogsMetricUpdateData) GetTypeOk() (*LogsMetricType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (LogsMetricUpdateData) MarshalJSON ¶
func (o LogsMetricUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricUpdateData) SetAttributes ¶
func (o *LogsMetricUpdateData) SetAttributes(v LogsMetricUpdateAttributes)
SetAttributes sets field value.
func (*LogsMetricUpdateData) SetType ¶
func (o *LogsMetricUpdateData) SetType(v LogsMetricType)
SetType sets field value.
func (*LogsMetricUpdateData) UnmarshalJSON ¶
func (o *LogsMetricUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricUpdateRequest ¶
type LogsMetricUpdateRequest struct {
// The new log-based metric properties.
Data LogsMetricUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsMetricUpdateRequest The new log-based metric body.
func NewLogsMetricUpdateRequest ¶
func NewLogsMetricUpdateRequest(data LogsMetricUpdateData) *LogsMetricUpdateRequest
NewLogsMetricUpdateRequest instantiates a new LogsMetricUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsMetricUpdateRequestWithDefaults ¶
func NewLogsMetricUpdateRequestWithDefaults() *LogsMetricUpdateRequest
NewLogsMetricUpdateRequestWithDefaults instantiates a new LogsMetricUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsMetricUpdateRequest) GetData ¶
func (o *LogsMetricUpdateRequest) GetData() LogsMetricUpdateData
GetData returns the Data field value.
func (*LogsMetricUpdateRequest) GetDataOk ¶
func (o *LogsMetricUpdateRequest) GetDataOk() (*LogsMetricUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (LogsMetricUpdateRequest) MarshalJSON ¶
func (o LogsMetricUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricUpdateRequest) SetData ¶
func (o *LogsMetricUpdateRequest) SetData(v LogsMetricUpdateData)
SetData sets field value.
func (*LogsMetricUpdateRequest) UnmarshalJSON ¶
func (o *LogsMetricUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsMetricsApiService ¶
type LogsMetricsApiService service
LogsMetricsApiService LogsMetricsApi service.
func (*LogsMetricsApiService) CreateLogsMetric ¶
func (a *LogsMetricsApiService) CreateLogsMetric(ctx _context.Context, body LogsMetricCreateRequest) (LogsMetricResponse, *_nethttp.Response, error)
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 ¶
func (a *LogsMetricsApiService) GetLogsMetric(ctx _context.Context, metricId string) (LogsMetricResponse, *_nethttp.Response, error)
GetLogsMetric Get a log-based metric. Get a specific log-based metric from your organization.
func (*LogsMetricsApiService) ListLogsMetrics ¶
func (a *LogsMetricsApiService) ListLogsMetrics(ctx _context.Context) (LogsMetricsResponse, *_nethttp.Response, error)
ListLogsMetrics Get all log-based metrics. Get the list of configured log-based metrics with their definitions.
func (*LogsMetricsApiService) UpdateLogsMetric ¶
func (a *LogsMetricsApiService) UpdateLogsMetric(ctx _context.Context, metricId string, body LogsMetricUpdateRequest) (LogsMetricResponse, *_nethttp.Response, error)
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 ¶
func (o *LogsMetricsResponse) GetData() []LogsMetricResponseData
GetData returns the Data field value if set, zero value otherwise.
func (*LogsMetricsResponse) GetDataOk ¶
func (o *LogsMetricsResponse) GetDataOk() (*[]LogsMetricResponseData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsMetricsResponse) HasData ¶
func (o *LogsMetricsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (LogsMetricsResponse) MarshalJSON ¶
func (o LogsMetricsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsMetricsResponse) SetData ¶
func (o *LogsMetricsResponse) SetData(v []LogsMetricResponseData)
SetData gets a reference to the given []LogsMetricResponseData and assigns it to the Data field.
func (*LogsMetricsResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsMetricsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsQueryFilter ¶
type LogsQueryFilter struct {
// The minimum time for the requested logs, supports date math and regular timestamps (milliseconds).
From *string `json:"from,omitempty"`
// For customers with multiple indexes, the indexes to search. Defaults to ['*'] which means all indexes.
Indexes []string `json:"indexes,omitempty"`
// The search query - following the log search syntax.
Query *string `json:"query,omitempty"`
// The maximum time for the requested logs, supports date math and regular timestamps (milliseconds).
To *string `json:"to,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsQueryFilter The search and filter query settings
func NewLogsQueryFilter ¶
func NewLogsQueryFilter() *LogsQueryFilter
NewLogsQueryFilter instantiates a new LogsQueryFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsQueryFilterWithDefaults ¶
func NewLogsQueryFilterWithDefaults() *LogsQueryFilter
NewLogsQueryFilterWithDefaults instantiates a new LogsQueryFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsQueryFilter) GetFrom ¶
func (o *LogsQueryFilter) GetFrom() string
GetFrom returns the From field value if set, zero value otherwise.
func (*LogsQueryFilter) GetFromOk ¶
func (o *LogsQueryFilter) GetFromOk() (*string, bool)
GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsQueryFilter) GetIndexes ¶
func (o *LogsQueryFilter) GetIndexes() []string
GetIndexes returns the Indexes field value if set, zero value otherwise.
func (*LogsQueryFilter) GetIndexesOk ¶
func (o *LogsQueryFilter) GetIndexesOk() (*[]string, bool)
GetIndexesOk returns a tuple with the Indexes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsQueryFilter) GetQuery ¶
func (o *LogsQueryFilter) GetQuery() string
GetQuery returns the Query field value if set, zero value otherwise.
func (*LogsQueryFilter) GetQueryOk ¶
func (o *LogsQueryFilter) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsQueryFilter) GetTo ¶
func (o *LogsQueryFilter) GetTo() string
GetTo returns the To field value if set, zero value otherwise.
func (*LogsQueryFilter) GetToOk ¶
func (o *LogsQueryFilter) GetToOk() (*string, bool)
GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsQueryFilter) HasFrom ¶
func (o *LogsQueryFilter) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (*LogsQueryFilter) HasIndexes ¶
func (o *LogsQueryFilter) HasIndexes() bool
HasIndexes returns a boolean if a field has been set.
func (*LogsQueryFilter) HasQuery ¶
func (o *LogsQueryFilter) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*LogsQueryFilter) HasTo ¶
func (o *LogsQueryFilter) HasTo() bool
HasTo returns a boolean if a field has been set.
func (LogsQueryFilter) MarshalJSON ¶
func (o LogsQueryFilter) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsQueryFilter) SetFrom ¶
func (o *LogsQueryFilter) SetFrom(v string)
SetFrom gets a reference to the given string and assigns it to the From field.
func (*LogsQueryFilter) SetIndexes ¶
func (o *LogsQueryFilter) SetIndexes(v []string)
SetIndexes gets a reference to the given []string and assigns it to the Indexes field.
func (*LogsQueryFilter) SetQuery ¶
func (o *LogsQueryFilter) SetQuery(v string)
SetQuery gets a reference to the given string and assigns it to the Query field.
func (*LogsQueryFilter) SetTo ¶
func (o *LogsQueryFilter) SetTo(v string)
SetTo gets a reference to the given string and assigns it to the To field.
func (*LogsQueryFilter) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsQueryFilter) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsQueryOptions ¶
type LogsQueryOptions struct {
// The time offset (in seconds) to apply to the query.
TimeOffset *int64 `json:"timeOffset,omitempty"`
// The timezone can be specified both as an offset, for example: "UTC+03:00".
Timezone *string `json:"timezone,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsQueryOptions Global query options that are used during the query. Note: You should only supply timezone or time offset but not both otherwise the query will fail.
func NewLogsQueryOptions ¶
func NewLogsQueryOptions() *LogsQueryOptions
NewLogsQueryOptions instantiates a new LogsQueryOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsQueryOptionsWithDefaults ¶
func NewLogsQueryOptionsWithDefaults() *LogsQueryOptions
NewLogsQueryOptionsWithDefaults instantiates a new LogsQueryOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsQueryOptions) GetTimeOffset ¶
func (o *LogsQueryOptions) GetTimeOffset() int64
GetTimeOffset returns the TimeOffset field value if set, zero value otherwise.
func (*LogsQueryOptions) GetTimeOffsetOk ¶
func (o *LogsQueryOptions) GetTimeOffsetOk() (*int64, bool)
GetTimeOffsetOk returns a tuple with the TimeOffset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsQueryOptions) GetTimezone ¶
func (o *LogsQueryOptions) GetTimezone() string
GetTimezone returns the Timezone field value if set, zero value otherwise.
func (*LogsQueryOptions) GetTimezoneOk ¶
func (o *LogsQueryOptions) GetTimezoneOk() (*string, bool)
GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsQueryOptions) HasTimeOffset ¶
func (o *LogsQueryOptions) HasTimeOffset() bool
HasTimeOffset returns a boolean if a field has been set.
func (*LogsQueryOptions) HasTimezone ¶
func (o *LogsQueryOptions) HasTimezone() bool
HasTimezone returns a boolean if a field has been set.
func (LogsQueryOptions) MarshalJSON ¶
func (o LogsQueryOptions) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsQueryOptions) SetTimeOffset ¶
func (o *LogsQueryOptions) SetTimeOffset(v int64)
SetTimeOffset gets a reference to the given int64 and assigns it to the TimeOffset field.
func (*LogsQueryOptions) SetTimezone ¶
func (o *LogsQueryOptions) SetTimezone(v string)
SetTimezone gets a reference to the given string and assigns it to the Timezone field.
func (*LogsQueryOptions) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsQueryOptions) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsResponseMetadata ¶
type LogsResponseMetadata struct {
// The time elapsed in milliseconds
Elapsed *int64 `json:"elapsed,omitempty"`
// Paging attributes.
Page *LogsResponseMetadataPage `json:"page,omitempty"`
// The identifier of the request
RequestId *string `json:"request_id,omitempty"`
// The status of the response
Status *LogsAggregateResponseStatus `json:"status,omitempty"`
// A list of warnings (non fatal errors) encountered, partial results might be returned if
// warnings are present in the response.
Warnings []LogsWarning `json:"warnings,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsResponseMetadata The metadata associated with a request
func NewLogsResponseMetadata ¶
func NewLogsResponseMetadata() *LogsResponseMetadata
NewLogsResponseMetadata instantiates a new LogsResponseMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsResponseMetadataWithDefaults ¶
func NewLogsResponseMetadataWithDefaults() *LogsResponseMetadata
NewLogsResponseMetadataWithDefaults instantiates a new LogsResponseMetadata object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsResponseMetadata) GetElapsed ¶
func (o *LogsResponseMetadata) GetElapsed() int64
GetElapsed returns the Elapsed field value if set, zero value otherwise.
func (*LogsResponseMetadata) GetElapsedOk ¶
func (o *LogsResponseMetadata) GetElapsedOk() (*int64, bool)
GetElapsedOk returns a tuple with the Elapsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseMetadata) GetPage ¶
func (o *LogsResponseMetadata) GetPage() LogsResponseMetadataPage
GetPage returns the Page field value if set, zero value otherwise.
func (*LogsResponseMetadata) GetPageOk ¶
func (o *LogsResponseMetadata) GetPageOk() (*LogsResponseMetadataPage, 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 (*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 ¶
func (o *LogsResponseMetadata) GetStatus() LogsAggregateResponseStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*LogsResponseMetadata) GetStatusOk ¶
func (o *LogsResponseMetadata) GetStatusOk() (*LogsAggregateResponseStatus, 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 (*LogsResponseMetadata) GetWarnings ¶
func (o *LogsResponseMetadata) GetWarnings() []LogsWarning
GetWarnings returns the Warnings field value if set, zero value otherwise.
func (*LogsResponseMetadata) GetWarningsOk ¶
func (o *LogsResponseMetadata) GetWarningsOk() (*[]LogsWarning, bool)
GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseMetadata) HasElapsed ¶
func (o *LogsResponseMetadata) HasElapsed() bool
HasElapsed returns a boolean if a field has been set.
func (*LogsResponseMetadata) HasPage ¶
func (o *LogsResponseMetadata) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*LogsResponseMetadata) HasRequestId ¶
func (o *LogsResponseMetadata) HasRequestId() bool
HasRequestId returns a boolean if a field has been set.
func (*LogsResponseMetadata) HasStatus ¶
func (o *LogsResponseMetadata) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*LogsResponseMetadata) HasWarnings ¶
func (o *LogsResponseMetadata) HasWarnings() bool
HasWarnings returns a boolean if a field has been set.
func (LogsResponseMetadata) MarshalJSON ¶
func (o LogsResponseMetadata) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsResponseMetadata) SetElapsed ¶
func (o *LogsResponseMetadata) SetElapsed(v int64)
SetElapsed gets a reference to the given int64 and assigns it to the Elapsed field.
func (*LogsResponseMetadata) SetPage ¶
func (o *LogsResponseMetadata) SetPage(v LogsResponseMetadataPage)
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 ¶
func (o *LogsResponseMetadata) SetStatus(v LogsAggregateResponseStatus)
SetStatus gets a reference to the given LogsAggregateResponseStatus and assigns it to the Status field.
func (*LogsResponseMetadata) SetWarnings ¶
func (o *LogsResponseMetadata) SetWarnings(v []LogsWarning)
SetWarnings gets a reference to the given []LogsWarning and assigns it to the Warnings field.
func (*LogsResponseMetadata) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsResponseMetadata) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsResponseMetadataPage ¶
type LogsResponseMetadataPage struct {
// The cursor to use to get the next results, if any. To make the next request, use the same.
// parameters with the addition of the `page[cursor]`.
After *string `json:"after,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsResponseMetadataPage Paging attributes.
func NewLogsResponseMetadataPage ¶
func NewLogsResponseMetadataPage() *LogsResponseMetadataPage
NewLogsResponseMetadataPage instantiates a new LogsResponseMetadataPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsResponseMetadataPageWithDefaults ¶
func NewLogsResponseMetadataPageWithDefaults() *LogsResponseMetadataPage
NewLogsResponseMetadataPageWithDefaults instantiates a new LogsResponseMetadataPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsResponseMetadataPage) GetAfter ¶
func (o *LogsResponseMetadataPage) GetAfter() string
GetAfter returns the After field value if set, zero value otherwise.
func (*LogsResponseMetadataPage) GetAfterOk ¶
func (o *LogsResponseMetadataPage) GetAfterOk() (*string, bool)
GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsResponseMetadataPage) HasAfter ¶
func (o *LogsResponseMetadataPage) HasAfter() bool
HasAfter returns a boolean if a field has been set.
func (LogsResponseMetadataPage) MarshalJSON ¶
func (o LogsResponseMetadataPage) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsResponseMetadataPage) SetAfter ¶
func (o *LogsResponseMetadataPage) SetAfter(v string)
SetAfter gets a reference to the given string and assigns it to the After field.
func (*LogsResponseMetadataPage) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsResponseMetadataPage) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogsSort ¶
type LogsSort string
LogsSort Sort parameters when querying logs.
const ( LOGSSORT_TIMESTAMP_ASCENDING LogsSort = "timestamp" LOGSSORT_TIMESTAMP_DESCENDING LogsSort = "-timestamp" )
List of LogsSort.
func NewLogsSortFromValue ¶
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
GetAllowedValues reeturns the list of possible values.
func (*LogsSort) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type LogsSortOrder ¶
type LogsSortOrder string
LogsSortOrder The order to use, ascending or descending
const ( LOGSSORTORDER_ASCENDING LogsSortOrder = "asc" LOGSSORTORDER_DESCENDING LogsSortOrder = "desc" )
List of LogsSortOrder.
func NewLogsSortOrderFromValue ¶
func NewLogsSortOrderFromValue(v string) (*LogsSortOrder, error)
NewLogsSortOrderFromValue returns a pointer to a valid LogsSortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LogsSortOrder) GetAllowedValues ¶ added in v1.1.0
func (v *LogsSortOrder) GetAllowedValues() []LogsSortOrder
GetAllowedValues reeturns the list of possible values.
func (LogsSortOrder) IsValid ¶
func (v LogsSortOrder) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LogsSortOrder) Ptr ¶
func (v LogsSortOrder) Ptr() *LogsSortOrder
Ptr returns reference to LogsSortOrder value.
func (*LogsSortOrder) UnmarshalJSON ¶
func (v *LogsSortOrder) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LogsWarning ¶
type LogsWarning struct {
// A unique code for this type of warning
Code *string `json:"code,omitempty"`
// A detailed explanation of this specific warning
Detail *string `json:"detail,omitempty"`
// A short human-readable summary of the warning
Title *string `json:"title,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
LogsWarning A warning message indicating something that went wrong with the query
func NewLogsWarning ¶
func NewLogsWarning() *LogsWarning
NewLogsWarning instantiates a new LogsWarning object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogsWarningWithDefaults ¶
func NewLogsWarningWithDefaults() *LogsWarning
NewLogsWarningWithDefaults instantiates a new LogsWarning object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogsWarning) GetCode ¶
func (o *LogsWarning) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*LogsWarning) GetCodeOk ¶
func (o *LogsWarning) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsWarning) GetDetail ¶
func (o *LogsWarning) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*LogsWarning) GetDetailOk ¶
func (o *LogsWarning) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsWarning) GetTitle ¶
func (o *LogsWarning) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*LogsWarning) GetTitleOk ¶
func (o *LogsWarning) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogsWarning) HasCode ¶
func (o *LogsWarning) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*LogsWarning) HasDetail ¶
func (o *LogsWarning) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*LogsWarning) HasTitle ¶
func (o *LogsWarning) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (LogsWarning) MarshalJSON ¶
func (o LogsWarning) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LogsWarning) SetCode ¶
func (o *LogsWarning) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*LogsWarning) SetDetail ¶
func (o *LogsWarning) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*LogsWarning) SetTitle ¶
func (o *LogsWarning) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*LogsWarning) UnmarshalJSON ¶ added in v1.3.0
func (o *LogsWarning) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Metric ¶
type Metric struct {
// The metric name for this resource.
Id *string `json:"id,omitempty"`
// The metric resource type.
Type *MetricType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
Metric Object for a single metric tag configuration.
func NewMetric ¶
func NewMetric() *Metric
NewMetric instantiates a new Metric object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricWithDefaults ¶
func NewMetricWithDefaults() *Metric
NewMetricWithDefaults instantiates a new Metric object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Metric) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
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
UnmarshalJSON deserializes the given payload.
type MetricAllTags ¶
type MetricAllTags struct {
// Object containing the definition of a metric's tags.
Attributes *MetricAllTagsAttributes `json:"attributes,omitempty"`
// The metric name for this resource.
Id *string `json:"id,omitempty"`
// The metric resource type.
Type *MetricType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricAllTags Object for a single metric's indexed tags.
func NewMetricAllTags ¶
func NewMetricAllTags() *MetricAllTags
NewMetricAllTags instantiates a new MetricAllTags object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricAllTagsWithDefaults ¶
func NewMetricAllTagsWithDefaults() *MetricAllTags
NewMetricAllTagsWithDefaults instantiates a new MetricAllTags object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricAllTags) GetAttributes ¶
func (o *MetricAllTags) GetAttributes() MetricAllTagsAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*MetricAllTags) GetAttributesOk ¶
func (o *MetricAllTags) GetAttributesOk() (*MetricAllTagsAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricAllTags) GetId ¶
func (o *MetricAllTags) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MetricAllTags) GetIdOk ¶
func (o *MetricAllTags) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricAllTags) GetType ¶
func (o *MetricAllTags) GetType() MetricType
GetType returns the Type field value if set, zero value otherwise.
func (*MetricAllTags) GetTypeOk ¶
func (o *MetricAllTags) GetTypeOk() (*MetricType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricAllTags) HasAttributes ¶
func (o *MetricAllTags) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*MetricAllTags) HasId ¶
func (o *MetricAllTags) HasId() bool
HasId returns a boolean if a field has been set.
func (*MetricAllTags) HasType ¶
func (o *MetricAllTags) HasType() bool
HasType returns a boolean if a field has been set.
func (MetricAllTags) MarshalJSON ¶
func (o MetricAllTags) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricAllTags) SetAttributes ¶
func (o *MetricAllTags) SetAttributes(v MetricAllTagsAttributes)
SetAttributes gets a reference to the given MetricAllTagsAttributes and assigns it to the Attributes field.
func (*MetricAllTags) SetId ¶
func (o *MetricAllTags) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*MetricAllTags) SetType ¶
func (o *MetricAllTags) SetType(v MetricType)
SetType gets a reference to the given MetricType and assigns it to the Type field.
func (*MetricAllTags) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricAllTags) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricAllTagsAttributes ¶
type MetricAllTagsAttributes struct {
// List of indexed tag value pairs.
Tags []string `json:"tags,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricAllTagsAttributes Object containing the definition of a metric's tags.
func NewMetricAllTagsAttributes ¶
func NewMetricAllTagsAttributes() *MetricAllTagsAttributes
NewMetricAllTagsAttributes instantiates a new MetricAllTagsAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricAllTagsAttributesWithDefaults ¶
func NewMetricAllTagsAttributesWithDefaults() *MetricAllTagsAttributes
NewMetricAllTagsAttributesWithDefaults instantiates a new MetricAllTagsAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricAllTagsAttributes) GetTags ¶
func (o *MetricAllTagsAttributes) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*MetricAllTagsAttributes) GetTagsOk ¶
func (o *MetricAllTagsAttributes) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricAllTagsAttributes) HasTags ¶
func (o *MetricAllTagsAttributes) HasTags() bool
HasTags returns a boolean if a field has been set.
func (MetricAllTagsAttributes) MarshalJSON ¶
func (o MetricAllTagsAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricAllTagsAttributes) SetTags ¶
func (o *MetricAllTagsAttributes) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*MetricAllTagsAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricAllTagsAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricAllTagsResponse ¶
type MetricAllTagsResponse struct {
// Object for a single metric's indexed tags.
Data *MetricAllTags `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricAllTagsResponse Response object that includes a single metric's indexed tags.
func NewMetricAllTagsResponse ¶
func NewMetricAllTagsResponse() *MetricAllTagsResponse
NewMetricAllTagsResponse instantiates a new MetricAllTagsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricAllTagsResponseWithDefaults ¶
func NewMetricAllTagsResponseWithDefaults() *MetricAllTagsResponse
NewMetricAllTagsResponseWithDefaults instantiates a new MetricAllTagsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricAllTagsResponse) GetData ¶
func (o *MetricAllTagsResponse) GetData() MetricAllTags
GetData returns the Data field value if set, zero value otherwise.
func (*MetricAllTagsResponse) GetDataOk ¶
func (o *MetricAllTagsResponse) GetDataOk() (*MetricAllTags, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricAllTagsResponse) HasData ¶
func (o *MetricAllTagsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (MetricAllTagsResponse) MarshalJSON ¶
func (o MetricAllTagsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricAllTagsResponse) SetData ¶
func (o *MetricAllTagsResponse) SetData(v MetricAllTags)
SetData gets a reference to the given MetricAllTags and assigns it to the Data field.
func (*MetricAllTagsResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricAllTagsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricBulkConfigureTagsType ¶ added in v1.9.0
type MetricBulkConfigureTagsType string
MetricBulkConfigureTagsType The metric bulk configure tags resource.
const (
METRICBULKCONFIGURETAGSTYPE_BULK_MANAGE_TAGS MetricBulkConfigureTagsType = "metric_bulk_configure_tags"
)
List of MetricBulkConfigureTagsType.
func NewMetricBulkConfigureTagsTypeFromValue ¶ added in v1.9.0
func NewMetricBulkConfigureTagsTypeFromValue(v string) (*MetricBulkConfigureTagsType, error)
NewMetricBulkConfigureTagsTypeFromValue returns a pointer to a valid MetricBulkConfigureTagsType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricBulkConfigureTagsType) GetAllowedValues ¶ added in v1.9.0
func (v *MetricBulkConfigureTagsType) GetAllowedValues() []MetricBulkConfigureTagsType
GetAllowedValues reeturns the list of possible values.
func (MetricBulkConfigureTagsType) IsValid ¶ added in v1.9.0
func (v MetricBulkConfigureTagsType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricBulkConfigureTagsType) Ptr ¶ added in v1.9.0
func (v MetricBulkConfigureTagsType) Ptr() *MetricBulkConfigureTagsType
Ptr returns reference to MetricBulkConfigureTagsType value.
func (*MetricBulkConfigureTagsType) UnmarshalJSON ¶ added in v1.9.0
func (v *MetricBulkConfigureTagsType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricBulkTagConfigCreate ¶ added in v1.9.0
type MetricBulkTagConfigCreate struct {
// Optional parameters for bulk creating metric tag configurations.
Attributes *MetricBulkTagConfigCreateAttributes `json:"attributes,omitempty"`
// A text prefix to match against metric names.
Id string `json:"id"`
// The metric bulk configure tags resource.
Type MetricBulkConfigureTagsType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricBulkTagConfigCreate Request object to bulk configure tags for metrics matching the given prefix.
func NewMetricBulkTagConfigCreate ¶ added in v1.9.0
func NewMetricBulkTagConfigCreate(id string, typeVar MetricBulkConfigureTagsType) *MetricBulkTagConfigCreate
NewMetricBulkTagConfigCreate instantiates a new MetricBulkTagConfigCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricBulkTagConfigCreateWithDefaults ¶ added in v1.9.0
func NewMetricBulkTagConfigCreateWithDefaults() *MetricBulkTagConfigCreate
NewMetricBulkTagConfigCreateWithDefaults instantiates a new MetricBulkTagConfigCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricBulkTagConfigCreate) GetAttributes ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreate) GetAttributes() MetricBulkTagConfigCreateAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*MetricBulkTagConfigCreate) GetAttributesOk ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreate) GetAttributesOk() (*MetricBulkTagConfigCreateAttributes, 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 (*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
func (o *MetricBulkTagConfigCreate) GetType() MetricBulkConfigureTagsType
GetType returns the Type field value.
func (*MetricBulkTagConfigCreate) GetTypeOk ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreate) GetTypeOk() (*MetricBulkConfigureTagsType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*MetricBulkTagConfigCreate) HasAttributes ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreate) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (MetricBulkTagConfigCreate) MarshalJSON ¶ added in v1.9.0
func (o MetricBulkTagConfigCreate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricBulkTagConfigCreate) SetAttributes ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreate) SetAttributes(v MetricBulkTagConfigCreateAttributes)
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
func (o *MetricBulkTagConfigCreate) SetType(v MetricBulkConfigureTagsType)
SetType sets field value.
func (*MetricBulkTagConfigCreate) UnmarshalJSON ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricBulkTagConfigCreateAttributes ¶ added in v1.9.0
type MetricBulkTagConfigCreateAttributes struct {
// A list of account emails to notify when the configuration is applied.
Emails []string `json:"emails,omitempty"`
// A list of tag names to apply to the configuration.
Tags []string `json:"tags,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricBulkTagConfigCreateAttributes Optional parameters for bulk creating metric tag configurations.
func NewMetricBulkTagConfigCreateAttributes ¶ added in v1.9.0
func NewMetricBulkTagConfigCreateAttributes() *MetricBulkTagConfigCreateAttributes
NewMetricBulkTagConfigCreateAttributes instantiates a new MetricBulkTagConfigCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricBulkTagConfigCreateAttributesWithDefaults ¶ added in v1.9.0
func NewMetricBulkTagConfigCreateAttributesWithDefaults() *MetricBulkTagConfigCreateAttributes
NewMetricBulkTagConfigCreateAttributesWithDefaults instantiates a new MetricBulkTagConfigCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricBulkTagConfigCreateAttributes) GetEmails ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreateAttributes) GetEmails() []string
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
func (o *MetricBulkTagConfigCreateAttributes) GetTags() []string
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
func (o *MetricBulkTagConfigCreateAttributes) HasEmails() bool
HasEmails returns a boolean if a field has been set.
func (*MetricBulkTagConfigCreateAttributes) HasTags ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreateAttributes) HasTags() bool
HasTags returns a boolean if a field has been set.
func (MetricBulkTagConfigCreateAttributes) MarshalJSON ¶ added in v1.9.0
func (o MetricBulkTagConfigCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricBulkTagConfigCreateAttributes) SetEmails ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreateAttributes) SetEmails(v []string)
SetEmails gets a reference to the given []string and assigns it to the Emails field.
func (*MetricBulkTagConfigCreateAttributes) SetTags ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreateAttributes) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*MetricBulkTagConfigCreateAttributes) UnmarshalJSON ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricBulkTagConfigCreateRequest ¶ added in v1.9.0
type MetricBulkTagConfigCreateRequest struct {
// Request object to bulk configure tags for metrics matching the given prefix.
Data MetricBulkTagConfigCreate `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricBulkTagConfigCreateRequest Wrapper object for a single bulk tag configuration request.
func NewMetricBulkTagConfigCreateRequest ¶ added in v1.9.0
func NewMetricBulkTagConfigCreateRequest(data MetricBulkTagConfigCreate) *MetricBulkTagConfigCreateRequest
NewMetricBulkTagConfigCreateRequest instantiates a new MetricBulkTagConfigCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricBulkTagConfigCreateRequestWithDefaults ¶ added in v1.9.0
func NewMetricBulkTagConfigCreateRequestWithDefaults() *MetricBulkTagConfigCreateRequest
NewMetricBulkTagConfigCreateRequestWithDefaults instantiates a new MetricBulkTagConfigCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricBulkTagConfigCreateRequest) GetData ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreateRequest) GetData() MetricBulkTagConfigCreate
GetData returns the Data field value.
func (*MetricBulkTagConfigCreateRequest) GetDataOk ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreateRequest) GetDataOk() (*MetricBulkTagConfigCreate, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (MetricBulkTagConfigCreateRequest) MarshalJSON ¶ added in v1.9.0
func (o MetricBulkTagConfigCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricBulkTagConfigCreateRequest) SetData ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreateRequest) SetData(v MetricBulkTagConfigCreate)
SetData sets field value.
func (*MetricBulkTagConfigCreateRequest) UnmarshalJSON ¶ added in v1.9.0
func (o *MetricBulkTagConfigCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricBulkTagConfigDelete ¶ added in v1.9.0
type MetricBulkTagConfigDelete struct {
// Optional parameters for bulk deleting metric tag configurations.
Attributes *MetricBulkTagConfigDeleteAttributes `json:"attributes,omitempty"`
// A text prefix to match against metric names.
Id string `json:"id"`
// The metric bulk configure tags resource.
Type MetricBulkConfigureTagsType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricBulkTagConfigDelete Request object to bulk delete all tag configurations for metrics matching the given prefix.
func NewMetricBulkTagConfigDelete ¶ added in v1.9.0
func NewMetricBulkTagConfigDelete(id string, typeVar MetricBulkConfigureTagsType) *MetricBulkTagConfigDelete
NewMetricBulkTagConfigDelete instantiates a new MetricBulkTagConfigDelete object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricBulkTagConfigDeleteWithDefaults ¶ added in v1.9.0
func NewMetricBulkTagConfigDeleteWithDefaults() *MetricBulkTagConfigDelete
NewMetricBulkTagConfigDeleteWithDefaults instantiates a new MetricBulkTagConfigDelete object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricBulkTagConfigDelete) GetAttributes ¶ added in v1.9.0
func (o *MetricBulkTagConfigDelete) GetAttributes() MetricBulkTagConfigDeleteAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*MetricBulkTagConfigDelete) GetAttributesOk ¶ added in v1.9.0
func (o *MetricBulkTagConfigDelete) GetAttributesOk() (*MetricBulkTagConfigDeleteAttributes, 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 (*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
func (o *MetricBulkTagConfigDelete) GetType() MetricBulkConfigureTagsType
GetType returns the Type field value.
func (*MetricBulkTagConfigDelete) GetTypeOk ¶ added in v1.9.0
func (o *MetricBulkTagConfigDelete) GetTypeOk() (*MetricBulkConfigureTagsType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*MetricBulkTagConfigDelete) HasAttributes ¶ added in v1.9.0
func (o *MetricBulkTagConfigDelete) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (MetricBulkTagConfigDelete) MarshalJSON ¶ added in v1.9.0
func (o MetricBulkTagConfigDelete) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricBulkTagConfigDelete) SetAttributes ¶ added in v1.9.0
func (o *MetricBulkTagConfigDelete) SetAttributes(v MetricBulkTagConfigDeleteAttributes)
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
func (o *MetricBulkTagConfigDelete) SetType(v MetricBulkConfigureTagsType)
SetType sets field value.
func (*MetricBulkTagConfigDelete) UnmarshalJSON ¶ added in v1.9.0
func (o *MetricBulkTagConfigDelete) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricBulkTagConfigDeleteAttributes ¶ added in v1.9.0
type MetricBulkTagConfigDeleteAttributes struct {
// A list of account emails to notify when the configuration is applied.
Emails []string `json:"emails,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricBulkTagConfigDeleteAttributes Optional parameters for bulk deleting metric tag configurations.
func NewMetricBulkTagConfigDeleteAttributes ¶ added in v1.9.0
func NewMetricBulkTagConfigDeleteAttributes() *MetricBulkTagConfigDeleteAttributes
NewMetricBulkTagConfigDeleteAttributes instantiates a new MetricBulkTagConfigDeleteAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricBulkTagConfigDeleteAttributesWithDefaults ¶ added in v1.9.0
func NewMetricBulkTagConfigDeleteAttributesWithDefaults() *MetricBulkTagConfigDeleteAttributes
NewMetricBulkTagConfigDeleteAttributesWithDefaults instantiates a new MetricBulkTagConfigDeleteAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricBulkTagConfigDeleteAttributes) GetEmails ¶ added in v1.9.0
func (o *MetricBulkTagConfigDeleteAttributes) GetEmails() []string
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
func (o *MetricBulkTagConfigDeleteAttributes) HasEmails() bool
HasEmails returns a boolean if a field has been set.
func (MetricBulkTagConfigDeleteAttributes) MarshalJSON ¶ added in v1.9.0
func (o MetricBulkTagConfigDeleteAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricBulkTagConfigDeleteAttributes) SetEmails ¶ added in v1.9.0
func (o *MetricBulkTagConfigDeleteAttributes) SetEmails(v []string)
SetEmails gets a reference to the given []string and assigns it to the Emails field.
func (*MetricBulkTagConfigDeleteAttributes) UnmarshalJSON ¶ added in v1.9.0
func (o *MetricBulkTagConfigDeleteAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricBulkTagConfigDeleteRequest ¶ added in v1.9.0
type MetricBulkTagConfigDeleteRequest struct {
// Request object to bulk delete all tag configurations for metrics matching the given prefix.
Data MetricBulkTagConfigDelete `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricBulkTagConfigDeleteRequest Wrapper object for a single bulk tag deletion request.
func NewMetricBulkTagConfigDeleteRequest ¶ added in v1.9.0
func NewMetricBulkTagConfigDeleteRequest(data MetricBulkTagConfigDelete) *MetricBulkTagConfigDeleteRequest
NewMetricBulkTagConfigDeleteRequest instantiates a new MetricBulkTagConfigDeleteRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricBulkTagConfigDeleteRequestWithDefaults ¶ added in v1.9.0
func NewMetricBulkTagConfigDeleteRequestWithDefaults() *MetricBulkTagConfigDeleteRequest
NewMetricBulkTagConfigDeleteRequestWithDefaults instantiates a new MetricBulkTagConfigDeleteRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricBulkTagConfigDeleteRequest) GetData ¶ added in v1.9.0
func (o *MetricBulkTagConfigDeleteRequest) GetData() MetricBulkTagConfigDelete
GetData returns the Data field value.
func (*MetricBulkTagConfigDeleteRequest) GetDataOk ¶ added in v1.9.0
func (o *MetricBulkTagConfigDeleteRequest) GetDataOk() (*MetricBulkTagConfigDelete, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (MetricBulkTagConfigDeleteRequest) MarshalJSON ¶ added in v1.9.0
func (o MetricBulkTagConfigDeleteRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricBulkTagConfigDeleteRequest) SetData ¶ added in v1.9.0
func (o *MetricBulkTagConfigDeleteRequest) SetData(v MetricBulkTagConfigDelete)
SetData sets field value.
func (*MetricBulkTagConfigDeleteRequest) UnmarshalJSON ¶ added in v1.9.0
func (o *MetricBulkTagConfigDeleteRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricBulkTagConfigResponse ¶ added in v1.9.0
type MetricBulkTagConfigResponse struct {
// The status of a request to bulk configure metric tags.
// It contains the fields from the original request for reference.
Data *MetricBulkTagConfigStatus `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricBulkTagConfigResponse Wrapper for a single bulk tag configuration status response.
func NewMetricBulkTagConfigResponse ¶ added in v1.9.0
func NewMetricBulkTagConfigResponse() *MetricBulkTagConfigResponse
NewMetricBulkTagConfigResponse instantiates a new MetricBulkTagConfigResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricBulkTagConfigResponseWithDefaults ¶ added in v1.9.0
func NewMetricBulkTagConfigResponseWithDefaults() *MetricBulkTagConfigResponse
NewMetricBulkTagConfigResponseWithDefaults instantiates a new MetricBulkTagConfigResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricBulkTagConfigResponse) GetData ¶ added in v1.9.0
func (o *MetricBulkTagConfigResponse) GetData() MetricBulkTagConfigStatus
GetData returns the Data field value if set, zero value otherwise.
func (*MetricBulkTagConfigResponse) GetDataOk ¶ added in v1.9.0
func (o *MetricBulkTagConfigResponse) GetDataOk() (*MetricBulkTagConfigStatus, 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 (*MetricBulkTagConfigResponse) HasData ¶ added in v1.9.0
func (o *MetricBulkTagConfigResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (MetricBulkTagConfigResponse) MarshalJSON ¶ added in v1.9.0
func (o MetricBulkTagConfigResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricBulkTagConfigResponse) SetData ¶ added in v1.9.0
func (o *MetricBulkTagConfigResponse) SetData(v MetricBulkTagConfigStatus)
SetData gets a reference to the given MetricBulkTagConfigStatus and assigns it to the Data field.
func (*MetricBulkTagConfigResponse) UnmarshalJSON ¶ added in v1.9.0
func (o *MetricBulkTagConfigResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricBulkTagConfigStatus ¶ added in v1.9.0
type MetricBulkTagConfigStatus struct {
// Optional attributes for the status of a bulk tag configuration request.
Attributes *MetricBulkTagConfigStatusAttributes `json:"attributes,omitempty"`
// A text prefix to match against metric names.
Id string `json:"id"`
// The metric bulk configure tags resource.
Type MetricBulkConfigureTagsType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricBulkTagConfigStatus The status of a request to bulk configure metric tags. It contains the fields from the original request for reference.
func NewMetricBulkTagConfigStatus ¶ added in v1.9.0
func NewMetricBulkTagConfigStatus(id string, typeVar MetricBulkConfigureTagsType) *MetricBulkTagConfigStatus
NewMetricBulkTagConfigStatus instantiates a new MetricBulkTagConfigStatus object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricBulkTagConfigStatusWithDefaults ¶ added in v1.9.0
func NewMetricBulkTagConfigStatusWithDefaults() *MetricBulkTagConfigStatus
NewMetricBulkTagConfigStatusWithDefaults instantiates a new MetricBulkTagConfigStatus object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricBulkTagConfigStatus) GetAttributes ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatus) GetAttributes() MetricBulkTagConfigStatusAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*MetricBulkTagConfigStatus) GetAttributesOk ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatus) GetAttributesOk() (*MetricBulkTagConfigStatusAttributes, 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 (*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
func (o *MetricBulkTagConfigStatus) GetType() MetricBulkConfigureTagsType
GetType returns the Type field value.
func (*MetricBulkTagConfigStatus) GetTypeOk ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatus) GetTypeOk() (*MetricBulkConfigureTagsType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*MetricBulkTagConfigStatus) HasAttributes ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatus) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (MetricBulkTagConfigStatus) MarshalJSON ¶ added in v1.9.0
func (o MetricBulkTagConfigStatus) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricBulkTagConfigStatus) SetAttributes ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatus) SetAttributes(v MetricBulkTagConfigStatusAttributes)
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
func (o *MetricBulkTagConfigStatus) SetType(v MetricBulkConfigureTagsType)
SetType sets field value.
func (*MetricBulkTagConfigStatus) UnmarshalJSON ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatus) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricBulkTagConfigStatusAttributes ¶ added in v1.9.0
type MetricBulkTagConfigStatusAttributes struct {
// A list of account emails to notify when the configuration is applied.
Emails []string `json:"emails,omitempty"`
// The status of the request.
Status *string `json:"status,omitempty"`
// A list of tag names to apply to the configuration.
Tags []string `json:"tags,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricBulkTagConfigStatusAttributes Optional attributes for the status of a bulk tag configuration request.
func NewMetricBulkTagConfigStatusAttributes ¶ added in v1.9.0
func NewMetricBulkTagConfigStatusAttributes() *MetricBulkTagConfigStatusAttributes
NewMetricBulkTagConfigStatusAttributes instantiates a new MetricBulkTagConfigStatusAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricBulkTagConfigStatusAttributesWithDefaults ¶ added in v1.9.0
func NewMetricBulkTagConfigStatusAttributesWithDefaults() *MetricBulkTagConfigStatusAttributes
NewMetricBulkTagConfigStatusAttributesWithDefaults instantiates a new MetricBulkTagConfigStatusAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricBulkTagConfigStatusAttributes) GetEmails ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatusAttributes) GetEmails() []string
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
func (o *MetricBulkTagConfigStatusAttributes) GetStatus() string
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
func (o *MetricBulkTagConfigStatusAttributes) GetTags() []string
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
func (o *MetricBulkTagConfigStatusAttributes) HasEmails() bool
HasEmails returns a boolean if a field has been set.
func (*MetricBulkTagConfigStatusAttributes) HasStatus ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatusAttributes) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*MetricBulkTagConfigStatusAttributes) HasTags ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatusAttributes) HasTags() bool
HasTags returns a boolean if a field has been set.
func (MetricBulkTagConfigStatusAttributes) MarshalJSON ¶ added in v1.9.0
func (o MetricBulkTagConfigStatusAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricBulkTagConfigStatusAttributes) SetEmails ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatusAttributes) SetEmails(v []string)
SetEmails gets a reference to the given []string and assigns it to the Emails field.
func (*MetricBulkTagConfigStatusAttributes) SetStatus ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatusAttributes) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*MetricBulkTagConfigStatusAttributes) SetTags ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatusAttributes) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*MetricBulkTagConfigStatusAttributes) UnmarshalJSON ¶ added in v1.9.0
func (o *MetricBulkTagConfigStatusAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricContentEncoding ¶ added in v1.14.0
type MetricContentEncoding string
MetricContentEncoding HTTP header used to compress the media-type.
const (
METRICCONTENTENCODING_DEFLATE MetricContentEncoding = "deflate"
)
List of MetricContentEncoding.
func NewMetricContentEncodingFromValue ¶ added in v1.14.0
func NewMetricContentEncodingFromValue(v string) (*MetricContentEncoding, error)
NewMetricContentEncodingFromValue returns a pointer to a valid MetricContentEncoding for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricContentEncoding) GetAllowedValues ¶ added in v1.14.0
func (v *MetricContentEncoding) GetAllowedValues() []MetricContentEncoding
GetAllowedValues reeturns the list of possible values.
func (MetricContentEncoding) IsValid ¶ added in v1.14.0
func (v MetricContentEncoding) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricContentEncoding) Ptr ¶ added in v1.14.0
func (v MetricContentEncoding) Ptr() *MetricContentEncoding
Ptr returns reference to MetricContentEncoding value.
func (*MetricContentEncoding) UnmarshalJSON ¶ added in v1.14.0
func (v *MetricContentEncoding) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricCustomAggregation ¶ added in v1.6.0
type MetricCustomAggregation struct {
// A space aggregation for use in query.
Space MetricCustomSpaceAggregation `json:"space"`
// A time aggregation for use in query.
Time MetricCustomTimeAggregation `json:"time"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricCustomAggregation A time and space aggregation combination for use in query.
func NewMetricCustomAggregation ¶ added in v1.6.0
func NewMetricCustomAggregation(space MetricCustomSpaceAggregation, time MetricCustomTimeAggregation) *MetricCustomAggregation
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
func (o *MetricCustomAggregation) GetSpace() MetricCustomSpaceAggregation
GetSpace returns the Space field value.
func (*MetricCustomAggregation) GetSpaceOk ¶ added in v1.6.0
func (o *MetricCustomAggregation) GetSpaceOk() (*MetricCustomSpaceAggregation, bool)
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
func (o *MetricCustomAggregation) GetTime() MetricCustomTimeAggregation
GetTime returns the Time field value.
func (*MetricCustomAggregation) GetTimeOk ¶ added in v1.6.0
func (o *MetricCustomAggregation) GetTimeOk() (*MetricCustomTimeAggregation, bool)
GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.
func (MetricCustomAggregation) MarshalJSON ¶ added in v1.6.0
func (o MetricCustomAggregation) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricCustomAggregation) SetSpace ¶ added in v1.6.0
func (o *MetricCustomAggregation) SetSpace(v MetricCustomSpaceAggregation)
SetSpace sets field value.
func (*MetricCustomAggregation) SetTime ¶ added in v1.6.0
func (o *MetricCustomAggregation) SetTime(v MetricCustomTimeAggregation)
SetTime sets field value.
func (*MetricCustomAggregation) UnmarshalJSON ¶ added in v1.6.0
func (o *MetricCustomAggregation) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricCustomSpaceAggregation ¶ added in v1.6.0
type MetricCustomSpaceAggregation string
MetricCustomSpaceAggregation A space aggregation for use in query.
const ( METRICCUSTOMSPACEAGGREGATION_AVG MetricCustomSpaceAggregation = "avg" METRICCUSTOMSPACEAGGREGATION_MAX MetricCustomSpaceAggregation = "max" METRICCUSTOMSPACEAGGREGATION_MIN MetricCustomSpaceAggregation = "min" METRICCUSTOMSPACEAGGREGATION_SUM MetricCustomSpaceAggregation = "sum" )
List of MetricCustomSpaceAggregation.
func NewMetricCustomSpaceAggregationFromValue ¶ added in v1.6.0
func NewMetricCustomSpaceAggregationFromValue(v string) (*MetricCustomSpaceAggregation, error)
NewMetricCustomSpaceAggregationFromValue returns a pointer to a valid MetricCustomSpaceAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricCustomSpaceAggregation) GetAllowedValues ¶ added in v1.6.0
func (v *MetricCustomSpaceAggregation) GetAllowedValues() []MetricCustomSpaceAggregation
GetAllowedValues reeturns the list of possible values.
func (MetricCustomSpaceAggregation) IsValid ¶ added in v1.6.0
func (v MetricCustomSpaceAggregation) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricCustomSpaceAggregation) Ptr ¶ added in v1.6.0
func (v MetricCustomSpaceAggregation) Ptr() *MetricCustomSpaceAggregation
Ptr returns reference to MetricCustomSpaceAggregation value.
func (*MetricCustomSpaceAggregation) UnmarshalJSON ¶ added in v1.6.0
func (v *MetricCustomSpaceAggregation) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricCustomTimeAggregation ¶ added in v1.6.0
type MetricCustomTimeAggregation string
MetricCustomTimeAggregation A time aggregation for use in query.
const ( METRICCUSTOMTIMEAGGREGATION_AVG MetricCustomTimeAggregation = "avg" METRICCUSTOMTIMEAGGREGATION_COUNT MetricCustomTimeAggregation = "count" METRICCUSTOMTIMEAGGREGATION_MAX MetricCustomTimeAggregation = "max" METRICCUSTOMTIMEAGGREGATION_MIN MetricCustomTimeAggregation = "min" METRICCUSTOMTIMEAGGREGATION_SUM MetricCustomTimeAggregation = "sum" )
List of MetricCustomTimeAggregation.
func NewMetricCustomTimeAggregationFromValue ¶ added in v1.6.0
func NewMetricCustomTimeAggregationFromValue(v string) (*MetricCustomTimeAggregation, error)
NewMetricCustomTimeAggregationFromValue returns a pointer to a valid MetricCustomTimeAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricCustomTimeAggregation) GetAllowedValues ¶ added in v1.6.0
func (v *MetricCustomTimeAggregation) GetAllowedValues() []MetricCustomTimeAggregation
GetAllowedValues reeturns the list of possible values.
func (MetricCustomTimeAggregation) IsValid ¶ added in v1.6.0
func (v MetricCustomTimeAggregation) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricCustomTimeAggregation) Ptr ¶ added in v1.6.0
func (v MetricCustomTimeAggregation) Ptr() *MetricCustomTimeAggregation
Ptr returns reference to MetricCustomTimeAggregation value.
func (*MetricCustomTimeAggregation) UnmarshalJSON ¶ added in v1.6.0
func (v *MetricCustomTimeAggregation) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricDistinctVolume ¶
type MetricDistinctVolume struct {
// Object containing the definition of a metric's distinct volume.
Attributes *MetricDistinctVolumeAttributes `json:"attributes,omitempty"`
// The metric name for this resource.
Id *string `json:"id,omitempty"`
// The metric distinct volume type.
Type *MetricDistinctVolumeType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricDistinctVolume Object for a single metric's distinct volume.
func NewMetricDistinctVolume ¶
func NewMetricDistinctVolume() *MetricDistinctVolume
NewMetricDistinctVolume instantiates a new MetricDistinctVolume object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricDistinctVolumeWithDefaults ¶
func NewMetricDistinctVolumeWithDefaults() *MetricDistinctVolume
NewMetricDistinctVolumeWithDefaults instantiates a new MetricDistinctVolume object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricDistinctVolume) GetAttributes ¶
func (o *MetricDistinctVolume) GetAttributes() MetricDistinctVolumeAttributes
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 ¶
func (o *MetricDistinctVolume) GetType() MetricDistinctVolumeType
GetType returns the Type field value if set, zero value otherwise.
func (*MetricDistinctVolume) GetTypeOk ¶
func (o *MetricDistinctVolume) GetTypeOk() (*MetricDistinctVolumeType, 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 (*MetricDistinctVolume) HasAttributes ¶
func (o *MetricDistinctVolume) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*MetricDistinctVolume) HasId ¶
func (o *MetricDistinctVolume) HasId() bool
HasId returns a boolean if a field has been set.
func (*MetricDistinctVolume) HasType ¶
func (o *MetricDistinctVolume) HasType() bool
HasType returns a boolean if a field has been set.
func (MetricDistinctVolume) MarshalJSON ¶
func (o MetricDistinctVolume) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricDistinctVolume) SetAttributes ¶
func (o *MetricDistinctVolume) SetAttributes(v MetricDistinctVolumeAttributes)
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 ¶
func (o *MetricDistinctVolume) SetType(v MetricDistinctVolumeType)
SetType gets a reference to the given MetricDistinctVolumeType and assigns it to the Type field.
func (*MetricDistinctVolume) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricDistinctVolume) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricDistinctVolumeAttributes ¶
type MetricDistinctVolumeAttributes struct {
// Distinct volume for the given metric.
DistinctVolume *int64 `json:"distinct_volume,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricDistinctVolumeAttributes Object containing the definition of a metric's distinct volume.
func NewMetricDistinctVolumeAttributes ¶
func NewMetricDistinctVolumeAttributes() *MetricDistinctVolumeAttributes
NewMetricDistinctVolumeAttributes instantiates a new MetricDistinctVolumeAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricDistinctVolumeAttributesWithDefaults ¶
func NewMetricDistinctVolumeAttributesWithDefaults() *MetricDistinctVolumeAttributes
NewMetricDistinctVolumeAttributesWithDefaults instantiates a new MetricDistinctVolumeAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricDistinctVolumeAttributes) GetDistinctVolume ¶
func (o *MetricDistinctVolumeAttributes) GetDistinctVolume() int64
GetDistinctVolume returns the DistinctVolume field value if set, zero value otherwise.
func (*MetricDistinctVolumeAttributes) GetDistinctVolumeOk ¶
func (o *MetricDistinctVolumeAttributes) GetDistinctVolumeOk() (*int64, bool)
GetDistinctVolumeOk returns a tuple with the DistinctVolume field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricDistinctVolumeAttributes) HasDistinctVolume ¶
func (o *MetricDistinctVolumeAttributes) HasDistinctVolume() bool
HasDistinctVolume returns a boolean if a field has been set.
func (MetricDistinctVolumeAttributes) MarshalJSON ¶
func (o MetricDistinctVolumeAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricDistinctVolumeAttributes) SetDistinctVolume ¶
func (o *MetricDistinctVolumeAttributes) SetDistinctVolume(v int64)
SetDistinctVolume gets a reference to the given int64 and assigns it to the DistinctVolume field.
func (*MetricDistinctVolumeAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricDistinctVolumeAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricDistinctVolumeType ¶
type MetricDistinctVolumeType string
MetricDistinctVolumeType The metric distinct volume type.
const (
METRICDISTINCTVOLUMETYPE_DISTINCT_METRIC_VOLUMES MetricDistinctVolumeType = "distinct_metric_volumes"
)
List of MetricDistinctVolumeType.
func NewMetricDistinctVolumeTypeFromValue ¶
func NewMetricDistinctVolumeTypeFromValue(v string) (*MetricDistinctVolumeType, error)
NewMetricDistinctVolumeTypeFromValue returns a pointer to a valid MetricDistinctVolumeType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricDistinctVolumeType) GetAllowedValues ¶ added in v1.1.0
func (v *MetricDistinctVolumeType) GetAllowedValues() []MetricDistinctVolumeType
GetAllowedValues reeturns the list of possible values.
func (MetricDistinctVolumeType) IsValid ¶
func (v MetricDistinctVolumeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricDistinctVolumeType) Ptr ¶
func (v MetricDistinctVolumeType) Ptr() *MetricDistinctVolumeType
Ptr returns reference to MetricDistinctVolumeType value.
func (*MetricDistinctVolumeType) UnmarshalJSON ¶
func (v *MetricDistinctVolumeType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricEstimate ¶ added in v1.14.0
type MetricEstimate struct {
// Object containing the definition of a metric estimate attribute.
Attributes *MetricEstimateAttributes `json:"attributes,omitempty"`
// The metric name for this resource.
Id *string `json:"id,omitempty"`
// The metric estimate resource type.
Type *MetricEstimateResourceType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricEstimate Object for a metric cardinality estimate.
func NewMetricEstimate ¶ added in v1.14.0
func NewMetricEstimate() *MetricEstimate
NewMetricEstimate instantiates a new MetricEstimate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricEstimateWithDefaults ¶ added in v1.14.0
func NewMetricEstimateWithDefaults() *MetricEstimate
NewMetricEstimateWithDefaults instantiates a new MetricEstimate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricEstimate) GetAttributes ¶ added in v1.14.0
func (o *MetricEstimate) GetAttributes() MetricEstimateAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*MetricEstimate) GetAttributesOk ¶ added in v1.14.0
func (o *MetricEstimate) GetAttributesOk() (*MetricEstimateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricEstimate) GetId ¶ added in v1.14.0
func (o *MetricEstimate) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MetricEstimate) GetIdOk ¶ added in v1.14.0
func (o *MetricEstimate) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricEstimate) GetType ¶ added in v1.14.0
func (o *MetricEstimate) GetType() MetricEstimateResourceType
GetType returns the Type field value if set, zero value otherwise.
func (*MetricEstimate) GetTypeOk ¶ added in v1.14.0
func (o *MetricEstimate) GetTypeOk() (*MetricEstimateResourceType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricEstimate) HasAttributes ¶ added in v1.14.0
func (o *MetricEstimate) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*MetricEstimate) HasId ¶ added in v1.14.0
func (o *MetricEstimate) HasId() bool
HasId returns a boolean if a field has been set.
func (*MetricEstimate) HasType ¶ added in v1.14.0
func (o *MetricEstimate) HasType() bool
HasType returns a boolean if a field has been set.
func (MetricEstimate) MarshalJSON ¶ added in v1.14.0
func (o MetricEstimate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricEstimate) SetAttributes ¶ added in v1.14.0
func (o *MetricEstimate) SetAttributes(v MetricEstimateAttributes)
SetAttributes gets a reference to the given MetricEstimateAttributes and assigns it to the Attributes field.
func (*MetricEstimate) SetId ¶ added in v1.14.0
func (o *MetricEstimate) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*MetricEstimate) SetType ¶ added in v1.14.0
func (o *MetricEstimate) SetType(v MetricEstimateResourceType)
SetType gets a reference to the given MetricEstimateResourceType and assigns it to the Type field.
func (*MetricEstimate) UnmarshalJSON ¶ added in v1.14.0
func (o *MetricEstimate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricEstimateAttributes ¶ added in v1.14.0
type MetricEstimateAttributes struct {
// Estimate type based on the queried configuration. By default, `count_or_gauge` is returned. `distribution` is returned for distribution metrics without percentiles enabled. Lastly, `percentile` is returned if `filter[pct]=true` is queried with a distribution metric.
EstimateType *MetricEstimateType `json:"estimate_type,omitempty"`
// Timestamp when the cardinality estimate was requested.
EstimatedAt *time.Time `json:"estimated_at,omitempty"`
// Estimated cardinality of the metric based on the queried configuration.
EstimatedOutputSeries *int64 `json:"estimated_output_series,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricEstimateAttributes Object containing the definition of a metric estimate attribute.
func NewMetricEstimateAttributes ¶ added in v1.14.0
func NewMetricEstimateAttributes() *MetricEstimateAttributes
NewMetricEstimateAttributes instantiates a new MetricEstimateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricEstimateAttributesWithDefaults ¶ added in v1.14.0
func NewMetricEstimateAttributesWithDefaults() *MetricEstimateAttributes
NewMetricEstimateAttributesWithDefaults instantiates a new MetricEstimateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricEstimateAttributes) GetEstimateType ¶ added in v1.14.0
func (o *MetricEstimateAttributes) GetEstimateType() MetricEstimateType
GetEstimateType returns the EstimateType field value if set, zero value otherwise.
func (*MetricEstimateAttributes) GetEstimateTypeOk ¶ added in v1.14.0
func (o *MetricEstimateAttributes) GetEstimateTypeOk() (*MetricEstimateType, bool)
GetEstimateTypeOk returns a tuple with the EstimateType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricEstimateAttributes) GetEstimatedAt ¶ added in v1.14.0
func (o *MetricEstimateAttributes) GetEstimatedAt() time.Time
GetEstimatedAt returns the EstimatedAt field value if set, zero value otherwise.
func (*MetricEstimateAttributes) GetEstimatedAtOk ¶ added in v1.14.0
func (o *MetricEstimateAttributes) GetEstimatedAtOk() (*time.Time, bool)
GetEstimatedAtOk returns a tuple with the EstimatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricEstimateAttributes) GetEstimatedOutputSeries ¶ added in v1.14.0
func (o *MetricEstimateAttributes) GetEstimatedOutputSeries() int64
GetEstimatedOutputSeries returns the EstimatedOutputSeries field value if set, zero value otherwise.
func (*MetricEstimateAttributes) GetEstimatedOutputSeriesOk ¶ added in v1.14.0
func (o *MetricEstimateAttributes) GetEstimatedOutputSeriesOk() (*int64, bool)
GetEstimatedOutputSeriesOk returns a tuple with the EstimatedOutputSeries field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricEstimateAttributes) HasEstimateType ¶ added in v1.14.0
func (o *MetricEstimateAttributes) HasEstimateType() bool
HasEstimateType returns a boolean if a field has been set.
func (*MetricEstimateAttributes) HasEstimatedAt ¶ added in v1.14.0
func (o *MetricEstimateAttributes) HasEstimatedAt() bool
HasEstimatedAt returns a boolean if a field has been set.
func (*MetricEstimateAttributes) HasEstimatedOutputSeries ¶ added in v1.14.0
func (o *MetricEstimateAttributes) HasEstimatedOutputSeries() bool
HasEstimatedOutputSeries returns a boolean if a field has been set.
func (MetricEstimateAttributes) MarshalJSON ¶ added in v1.14.0
func (o MetricEstimateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricEstimateAttributes) SetEstimateType ¶ added in v1.14.0
func (o *MetricEstimateAttributes) SetEstimateType(v MetricEstimateType)
SetEstimateType gets a reference to the given MetricEstimateType and assigns it to the EstimateType field.
func (*MetricEstimateAttributes) SetEstimatedAt ¶ added in v1.14.0
func (o *MetricEstimateAttributes) SetEstimatedAt(v time.Time)
SetEstimatedAt gets a reference to the given time.Time and assigns it to the EstimatedAt field.
func (*MetricEstimateAttributes) SetEstimatedOutputSeries ¶ added in v1.14.0
func (o *MetricEstimateAttributes) SetEstimatedOutputSeries(v int64)
SetEstimatedOutputSeries gets a reference to the given int64 and assigns it to the EstimatedOutputSeries field.
func (*MetricEstimateAttributes) UnmarshalJSON ¶ added in v1.14.0
func (o *MetricEstimateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricEstimateResourceType ¶ added in v1.14.0
type MetricEstimateResourceType string
MetricEstimateResourceType The metric estimate resource type.
const (
METRICESTIMATERESOURCETYPE_METRIC_CARDINALITY_ESTIMATE MetricEstimateResourceType = "metric_cardinality_estimate"
)
List of MetricEstimateResourceType.
func NewMetricEstimateResourceTypeFromValue ¶ added in v1.14.0
func NewMetricEstimateResourceTypeFromValue(v string) (*MetricEstimateResourceType, error)
NewMetricEstimateResourceTypeFromValue returns a pointer to a valid MetricEstimateResourceType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricEstimateResourceType) GetAllowedValues ¶ added in v1.14.0
func (v *MetricEstimateResourceType) GetAllowedValues() []MetricEstimateResourceType
GetAllowedValues reeturns the list of possible values.
func (MetricEstimateResourceType) IsValid ¶ added in v1.14.0
func (v MetricEstimateResourceType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricEstimateResourceType) Ptr ¶ added in v1.14.0
func (v MetricEstimateResourceType) Ptr() *MetricEstimateResourceType
Ptr returns reference to MetricEstimateResourceType value.
func (*MetricEstimateResourceType) UnmarshalJSON ¶ added in v1.14.0
func (v *MetricEstimateResourceType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricEstimateResponse ¶ added in v1.14.0
type MetricEstimateResponse struct {
// Object for a metric cardinality estimate.
Data *MetricEstimate `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricEstimateResponse Response object that includes metric cardinality estimates.
func NewMetricEstimateResponse ¶ added in v1.14.0
func NewMetricEstimateResponse() *MetricEstimateResponse
NewMetricEstimateResponse instantiates a new MetricEstimateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricEstimateResponseWithDefaults ¶ added in v1.14.0
func NewMetricEstimateResponseWithDefaults() *MetricEstimateResponse
NewMetricEstimateResponseWithDefaults instantiates a new MetricEstimateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricEstimateResponse) GetData ¶ added in v1.14.0
func (o *MetricEstimateResponse) GetData() MetricEstimate
GetData returns the Data field value if set, zero value otherwise.
func (*MetricEstimateResponse) GetDataOk ¶ added in v1.14.0
func (o *MetricEstimateResponse) GetDataOk() (*MetricEstimate, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricEstimateResponse) HasData ¶ added in v1.14.0
func (o *MetricEstimateResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (MetricEstimateResponse) MarshalJSON ¶ added in v1.14.0
func (o MetricEstimateResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricEstimateResponse) SetData ¶ added in v1.14.0
func (o *MetricEstimateResponse) SetData(v MetricEstimate)
SetData gets a reference to the given MetricEstimate and assigns it to the Data field.
func (*MetricEstimateResponse) UnmarshalJSON ¶ added in v1.14.0
func (o *MetricEstimateResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricEstimateType ¶ added in v1.14.0
type MetricEstimateType string
MetricEstimateType Estimate type based on the queried configuration. By default, `count_or_gauge` is returned. `distribution` is returned for distribution metrics without percentiles enabled. Lastly, `percentile` is returned if `filter[pct]=true` is queried with a distribution metric.
const ( METRICESTIMATETYPE_COUNT_OR_GAUGE MetricEstimateType = "count_or_gauge" METRICESTIMATETYPE_DISTRIBUTION MetricEstimateType = "distribution" METRICESTIMATETYPE_PERCENTILE MetricEstimateType = "percentile" )
List of MetricEstimateType.
func NewMetricEstimateTypeFromValue ¶ added in v1.14.0
func NewMetricEstimateTypeFromValue(v string) (*MetricEstimateType, error)
NewMetricEstimateTypeFromValue returns a pointer to a valid MetricEstimateType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricEstimateType) GetAllowedValues ¶ added in v1.14.0
func (v *MetricEstimateType) GetAllowedValues() []MetricEstimateType
GetAllowedValues reeturns the list of possible values.
func (MetricEstimateType) IsValid ¶ added in v1.14.0
func (v MetricEstimateType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricEstimateType) Ptr ¶ added in v1.14.0
func (v MetricEstimateType) Ptr() *MetricEstimateType
Ptr returns reference to MetricEstimateType value.
func (*MetricEstimateType) UnmarshalJSON ¶ added in v1.14.0
func (v *MetricEstimateType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricIngestedIndexedVolume ¶
type MetricIngestedIndexedVolume struct {
// Object containing the definition of a metric's ingested and indexed volume.
Attributes *MetricIngestedIndexedVolumeAttributes `json:"attributes,omitempty"`
// The metric name for this resource.
Id *string `json:"id,omitempty"`
// The metric ingested and indexed volume type.
Type *MetricIngestedIndexedVolumeType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricIngestedIndexedVolume Object for a single metric's ingested and indexed volume.
func NewMetricIngestedIndexedVolume ¶
func NewMetricIngestedIndexedVolume() *MetricIngestedIndexedVolume
NewMetricIngestedIndexedVolume instantiates a new MetricIngestedIndexedVolume object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricIngestedIndexedVolumeWithDefaults ¶
func NewMetricIngestedIndexedVolumeWithDefaults() *MetricIngestedIndexedVolume
NewMetricIngestedIndexedVolumeWithDefaults instantiates a new MetricIngestedIndexedVolume object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricIngestedIndexedVolume) GetAttributes ¶
func (o *MetricIngestedIndexedVolume) GetAttributes() MetricIngestedIndexedVolumeAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*MetricIngestedIndexedVolume) GetAttributesOk ¶
func (o *MetricIngestedIndexedVolume) GetAttributesOk() (*MetricIngestedIndexedVolumeAttributes, 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 (*MetricIngestedIndexedVolume) GetId ¶
func (o *MetricIngestedIndexedVolume) GetId() string
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 ¶
func (o *MetricIngestedIndexedVolume) GetType() MetricIngestedIndexedVolumeType
GetType returns the Type field value if set, zero value otherwise.
func (*MetricIngestedIndexedVolume) GetTypeOk ¶
func (o *MetricIngestedIndexedVolume) GetTypeOk() (*MetricIngestedIndexedVolumeType, 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 (*MetricIngestedIndexedVolume) HasAttributes ¶
func (o *MetricIngestedIndexedVolume) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*MetricIngestedIndexedVolume) HasId ¶
func (o *MetricIngestedIndexedVolume) HasId() bool
HasId returns a boolean if a field has been set.
func (*MetricIngestedIndexedVolume) HasType ¶
func (o *MetricIngestedIndexedVolume) HasType() bool
HasType returns a boolean if a field has been set.
func (MetricIngestedIndexedVolume) MarshalJSON ¶
func (o MetricIngestedIndexedVolume) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricIngestedIndexedVolume) SetAttributes ¶
func (o *MetricIngestedIndexedVolume) SetAttributes(v MetricIngestedIndexedVolumeAttributes)
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 ¶
func (o *MetricIngestedIndexedVolume) SetType(v MetricIngestedIndexedVolumeType)
SetType gets a reference to the given MetricIngestedIndexedVolumeType and assigns it to the Type field.
func (*MetricIngestedIndexedVolume) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricIngestedIndexedVolume) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricIngestedIndexedVolumeAttributes ¶
type MetricIngestedIndexedVolumeAttributes struct {
// Indexed volume for the given metric.
IndexedVolume *int64 `json:"indexed_volume,omitempty"`
// Ingested volume for the given metric.
IngestedVolume *int64 `json:"ingested_volume,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricIngestedIndexedVolumeAttributes Object containing the definition of a metric's ingested and indexed volume.
func NewMetricIngestedIndexedVolumeAttributes ¶
func NewMetricIngestedIndexedVolumeAttributes() *MetricIngestedIndexedVolumeAttributes
NewMetricIngestedIndexedVolumeAttributes instantiates a new MetricIngestedIndexedVolumeAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricIngestedIndexedVolumeAttributesWithDefaults ¶
func NewMetricIngestedIndexedVolumeAttributesWithDefaults() *MetricIngestedIndexedVolumeAttributes
NewMetricIngestedIndexedVolumeAttributesWithDefaults instantiates a new MetricIngestedIndexedVolumeAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricIngestedIndexedVolumeAttributes) GetIndexedVolume ¶
func (o *MetricIngestedIndexedVolumeAttributes) GetIndexedVolume() int64
GetIndexedVolume returns the IndexedVolume field value if set, zero value otherwise.
func (*MetricIngestedIndexedVolumeAttributes) GetIndexedVolumeOk ¶
func (o *MetricIngestedIndexedVolumeAttributes) GetIndexedVolumeOk() (*int64, bool)
GetIndexedVolumeOk returns a tuple with the IndexedVolume field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricIngestedIndexedVolumeAttributes) GetIngestedVolume ¶
func (o *MetricIngestedIndexedVolumeAttributes) GetIngestedVolume() int64
GetIngestedVolume returns the IngestedVolume field value if set, zero value otherwise.
func (*MetricIngestedIndexedVolumeAttributes) GetIngestedVolumeOk ¶
func (o *MetricIngestedIndexedVolumeAttributes) GetIngestedVolumeOk() (*int64, bool)
GetIngestedVolumeOk returns a tuple with the IngestedVolume field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricIngestedIndexedVolumeAttributes) HasIndexedVolume ¶
func (o *MetricIngestedIndexedVolumeAttributes) HasIndexedVolume() bool
HasIndexedVolume returns a boolean if a field has been set.
func (*MetricIngestedIndexedVolumeAttributes) HasIngestedVolume ¶
func (o *MetricIngestedIndexedVolumeAttributes) HasIngestedVolume() bool
HasIngestedVolume returns a boolean if a field has been set.
func (MetricIngestedIndexedVolumeAttributes) MarshalJSON ¶
func (o MetricIngestedIndexedVolumeAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricIngestedIndexedVolumeAttributes) SetIndexedVolume ¶
func (o *MetricIngestedIndexedVolumeAttributes) SetIndexedVolume(v int64)
SetIndexedVolume gets a reference to the given int64 and assigns it to the IndexedVolume field.
func (*MetricIngestedIndexedVolumeAttributes) SetIngestedVolume ¶
func (o *MetricIngestedIndexedVolumeAttributes) SetIngestedVolume(v int64)
SetIngestedVolume gets a reference to the given int64 and assigns it to the IngestedVolume field.
func (*MetricIngestedIndexedVolumeAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricIngestedIndexedVolumeAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricIngestedIndexedVolumeType ¶
type MetricIngestedIndexedVolumeType string
MetricIngestedIndexedVolumeType The metric ingested and indexed volume type.
const (
METRICINGESTEDINDEXEDVOLUMETYPE_METRIC_VOLUMES MetricIngestedIndexedVolumeType = "metric_volumes"
)
List of MetricIngestedIndexedVolumeType.
func NewMetricIngestedIndexedVolumeTypeFromValue ¶
func NewMetricIngestedIndexedVolumeTypeFromValue(v string) (*MetricIngestedIndexedVolumeType, error)
NewMetricIngestedIndexedVolumeTypeFromValue returns a pointer to a valid MetricIngestedIndexedVolumeType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricIngestedIndexedVolumeType) GetAllowedValues ¶ added in v1.1.0
func (v *MetricIngestedIndexedVolumeType) GetAllowedValues() []MetricIngestedIndexedVolumeType
GetAllowedValues reeturns the list of possible values.
func (MetricIngestedIndexedVolumeType) IsValid ¶
func (v MetricIngestedIndexedVolumeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricIngestedIndexedVolumeType) Ptr ¶
func (v MetricIngestedIndexedVolumeType) Ptr() *MetricIngestedIndexedVolumeType
Ptr returns reference to MetricIngestedIndexedVolumeType value.
func (*MetricIngestedIndexedVolumeType) UnmarshalJSON ¶
func (v *MetricIngestedIndexedVolumeType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricIntakeType ¶ added in v1.14.0
type MetricIntakeType int32
MetricIntakeType The type of metric. The available types are `0` (unspecified), `1` (count), `2` (rate), and `3` (gauge).
const ( METRICINTAKETYPE_UNSPECIFIED MetricIntakeType = 0 METRICINTAKETYPE_COUNT MetricIntakeType = 1 METRICINTAKETYPE_RATE MetricIntakeType = 2 METRICINTAKETYPE_GAUGE MetricIntakeType = 3 )
List of MetricIntakeType.
func NewMetricIntakeTypeFromValue ¶ added in v1.14.0
func NewMetricIntakeTypeFromValue(v int32) (*MetricIntakeType, error)
NewMetricIntakeTypeFromValue returns a pointer to a valid MetricIntakeType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricIntakeType) GetAllowedValues ¶ added in v1.14.0
func (v *MetricIntakeType) GetAllowedValues() []MetricIntakeType
GetAllowedValues reeturns the list of possible values.
func (MetricIntakeType) IsValid ¶ added in v1.14.0
func (v MetricIntakeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricIntakeType) Ptr ¶ added in v1.14.0
func (v MetricIntakeType) Ptr() *MetricIntakeType
Ptr returns reference to MetricIntakeType value.
func (*MetricIntakeType) UnmarshalJSON ¶ added in v1.14.0
func (v *MetricIntakeType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricMetadata ¶ added in v1.14.0
type MetricMetadata struct {
// Metric origin information.
Origin *MetricOrigin `json:"origin,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricMetadata Metadata for the metric.
func NewMetricMetadata ¶ added in v1.14.0
func NewMetricMetadata() *MetricMetadata
NewMetricMetadata instantiates a new MetricMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricMetadataWithDefaults ¶ added in v1.14.0
func NewMetricMetadataWithDefaults() *MetricMetadata
NewMetricMetadataWithDefaults instantiates a new MetricMetadata object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricMetadata) GetOrigin ¶ added in v1.14.0
func (o *MetricMetadata) GetOrigin() MetricOrigin
GetOrigin returns the Origin field value if set, zero value otherwise.
func (*MetricMetadata) GetOriginOk ¶ added in v1.14.0
func (o *MetricMetadata) GetOriginOk() (*MetricOrigin, bool)
GetOriginOk returns a tuple with the Origin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricMetadata) HasOrigin ¶ added in v1.14.0
func (o *MetricMetadata) HasOrigin() bool
HasOrigin returns a boolean if a field has been set.
func (MetricMetadata) MarshalJSON ¶ added in v1.14.0
func (o MetricMetadata) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricMetadata) SetOrigin ¶ added in v1.14.0
func (o *MetricMetadata) SetOrigin(v MetricOrigin)
SetOrigin gets a reference to the given MetricOrigin and assigns it to the Origin field.
func (*MetricMetadata) UnmarshalJSON ¶ added in v1.14.0
func (o *MetricMetadata) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricOrigin ¶ added in v1.14.0
type MetricOrigin struct {
// The origin metric type code
MetricType *int32 `json:"metric_type,omitempty"`
// The origin product code
Product *int32 `json:"product,omitempty"`
// The origin service code
Service *int32 `json:"service,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricOrigin Metric origin information.
func NewMetricOrigin ¶ added in v1.14.0
func NewMetricOrigin() *MetricOrigin
NewMetricOrigin instantiates a new MetricOrigin object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricOriginWithDefaults ¶ added in v1.14.0
func NewMetricOriginWithDefaults() *MetricOrigin
NewMetricOriginWithDefaults instantiates a new MetricOrigin object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricOrigin) GetMetricType ¶ added in v1.14.0
func (o *MetricOrigin) GetMetricType() int32
GetMetricType returns the MetricType field value if set, zero value otherwise.
func (*MetricOrigin) GetMetricTypeOk ¶ added in v1.14.0
func (o *MetricOrigin) GetMetricTypeOk() (*int32, bool)
GetMetricTypeOk returns a tuple with the MetricType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricOrigin) GetProduct ¶ added in v1.14.0
func (o *MetricOrigin) GetProduct() int32
GetProduct returns the Product field value if set, zero value otherwise.
func (*MetricOrigin) GetProductOk ¶ added in v1.14.0
func (o *MetricOrigin) GetProductOk() (*int32, bool)
GetProductOk returns a tuple with the Product field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricOrigin) GetService ¶ added in v1.14.0
func (o *MetricOrigin) GetService() int32
GetService returns the Service field value if set, zero value otherwise.
func (*MetricOrigin) GetServiceOk ¶ added in v1.14.0
func (o *MetricOrigin) GetServiceOk() (*int32, bool)
GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricOrigin) HasMetricType ¶ added in v1.14.0
func (o *MetricOrigin) HasMetricType() bool
HasMetricType returns a boolean if a field has been set.
func (*MetricOrigin) HasProduct ¶ added in v1.14.0
func (o *MetricOrigin) HasProduct() bool
HasProduct returns a boolean if a field has been set.
func (*MetricOrigin) HasService ¶ added in v1.14.0
func (o *MetricOrigin) HasService() bool
HasService returns a boolean if a field has been set.
func (MetricOrigin) MarshalJSON ¶ added in v1.14.0
func (o MetricOrigin) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricOrigin) SetMetricType ¶ added in v1.14.0
func (o *MetricOrigin) SetMetricType(v int32)
SetMetricType gets a reference to the given int32 and assigns it to the MetricType field.
func (*MetricOrigin) SetProduct ¶ added in v1.14.0
func (o *MetricOrigin) SetProduct(v int32)
SetProduct gets a reference to the given int32 and assigns it to the Product field.
func (*MetricOrigin) SetService ¶ added in v1.14.0
func (o *MetricOrigin) SetService(v int32)
SetService gets a reference to the given int32 and assigns it to the Service field.
func (*MetricOrigin) UnmarshalJSON ¶ added in v1.14.0
func (o *MetricOrigin) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricPayload ¶ added in v1.14.0
type MetricPayload struct {
// A list of time series to submit to Datadog.
Series []MetricSeries `json:"series"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricPayload The metrics' payload.
func NewMetricPayload ¶ added in v1.14.0
func NewMetricPayload(series []MetricSeries) *MetricPayload
NewMetricPayload instantiates a new MetricPayload object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricPayloadWithDefaults ¶ added in v1.14.0
func NewMetricPayloadWithDefaults() *MetricPayload
NewMetricPayloadWithDefaults instantiates a new MetricPayload object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricPayload) GetSeries ¶ added in v1.14.0
func (o *MetricPayload) GetSeries() []MetricSeries
GetSeries returns the Series field value.
func (*MetricPayload) GetSeriesOk ¶ added in v1.14.0
func (o *MetricPayload) GetSeriesOk() (*[]MetricSeries, bool)
GetSeriesOk returns a tuple with the Series field value and a boolean to check if the value has been set.
func (MetricPayload) MarshalJSON ¶ added in v1.14.0
func (o MetricPayload) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricPayload) SetSeries ¶ added in v1.14.0
func (o *MetricPayload) SetSeries(v []MetricSeries)
SetSeries sets field value.
func (*MetricPayload) UnmarshalJSON ¶ added in v1.14.0
func (o *MetricPayload) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricPoint ¶ added in v1.14.0
type MetricPoint struct {
// The timestamp should be in seconds and current.
// Current is defined as not more than 10 minutes in the future or more than 1 hour in the past.
Timestamp *int64 `json:"timestamp,omitempty"`
// The numeric value format should be a 64bit float gauge-type value.
Value *float64 `json:"value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricPoint A point object is of the form `{POSIX_timestamp, numeric_value}`.
func NewMetricPoint ¶ added in v1.14.0
func NewMetricPoint() *MetricPoint
NewMetricPoint instantiates a new MetricPoint object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricPointWithDefaults ¶ added in v1.14.0
func NewMetricPointWithDefaults() *MetricPoint
NewMetricPointWithDefaults instantiates a new MetricPoint object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricPoint) GetTimestamp ¶ added in v1.14.0
func (o *MetricPoint) GetTimestamp() int64
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*MetricPoint) GetTimestampOk ¶ added in v1.14.0
func (o *MetricPoint) GetTimestampOk() (*int64, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricPoint) GetValue ¶ added in v1.14.0
func (o *MetricPoint) GetValue() float64
GetValue returns the Value field value if set, zero value otherwise.
func (*MetricPoint) GetValueOk ¶ added in v1.14.0
func (o *MetricPoint) GetValueOk() (*float64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricPoint) HasTimestamp ¶ added in v1.14.0
func (o *MetricPoint) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (*MetricPoint) HasValue ¶ added in v1.14.0
func (o *MetricPoint) HasValue() bool
HasValue returns a boolean if a field has been set.
func (MetricPoint) MarshalJSON ¶ added in v1.14.0
func (o MetricPoint) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricPoint) SetTimestamp ¶ added in v1.14.0
func (o *MetricPoint) SetTimestamp(v int64)
SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.
func (*MetricPoint) SetValue ¶ added in v1.14.0
func (o *MetricPoint) SetValue(v float64)
SetValue gets a reference to the given float64 and assigns it to the Value field.
func (*MetricPoint) UnmarshalJSON ¶ added in v1.14.0
func (o *MetricPoint) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricResource ¶ added in v1.14.0
type MetricResource struct {
// The name of the metric.
Name *string `json:"name,omitempty"`
// The type of metric.
Type *string `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricResource Metric resource.
func NewMetricResource ¶ added in v1.14.0
func NewMetricResource() *MetricResource
NewMetricResource instantiates a new MetricResource object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricResourceWithDefaults ¶ added in v1.14.0
func NewMetricResourceWithDefaults() *MetricResource
NewMetricResourceWithDefaults instantiates a new MetricResource object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricResource) GetName ¶ added in v1.14.0
func (o *MetricResource) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*MetricResource) GetNameOk ¶ added in v1.14.0
func (o *MetricResource) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricResource) GetType ¶ added in v1.14.0
func (o *MetricResource) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*MetricResource) GetTypeOk ¶ added in v1.14.0
func (o *MetricResource) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricResource) HasName ¶ added in v1.14.0
func (o *MetricResource) HasName() bool
HasName returns a boolean if a field has been set.
func (*MetricResource) HasType ¶ added in v1.14.0
func (o *MetricResource) HasType() bool
HasType returns a boolean if a field has been set.
func (MetricResource) MarshalJSON ¶ added in v1.14.0
func (o MetricResource) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricResource) SetName ¶ added in v1.14.0
func (o *MetricResource) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*MetricResource) SetType ¶ added in v1.14.0
func (o *MetricResource) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*MetricResource) UnmarshalJSON ¶ added in v1.14.0
func (o *MetricResource) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricSeries ¶ added in v1.14.0
type MetricSeries struct {
// If the type of the metric is rate or count, define the corresponding interval.
Interval *int64 `json:"interval,omitempty"`
// Metadata for the metric.
Metadata *MetricMetadata `json:"metadata,omitempty"`
// The name of the timeseries.
Metric string `json:"metric"`
// Points relating to a metric. All points must be objects with timestamp and a scalar value (cannot be a string). Timestamps should be in POSIX time in seconds, and cannot be more than ten minutes in the future or more than one hour in the past.
Points []MetricPoint `json:"points"`
// A list of resources to associate with this metric.
Resources []MetricResource `json:"resources,omitempty"`
// The source type name.
SourceTypeName *string `json:"source_type_name,omitempty"`
// A list of tags associated with the metric.
Tags []string `json:"tags,omitempty"`
// The type of metric. The available types are `0` (unspecified), `1` (count), `2` (rate), and `3` (gauge).
Type *MetricIntakeType `json:"type,omitempty"`
// The unit of point value.
Unit *string `json:"unit,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricSeries A metric to submit to Datadog. See [Datadog metrics](https://docs.datadoghq.com/developers/metrics/#custom-metrics-properties).
func NewMetricSeries ¶ added in v1.14.0
func NewMetricSeries(metric string, points []MetricPoint) *MetricSeries
NewMetricSeries instantiates a new MetricSeries object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricSeriesWithDefaults ¶ added in v1.14.0
func NewMetricSeriesWithDefaults() *MetricSeries
NewMetricSeriesWithDefaults instantiates a new MetricSeries object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricSeries) GetInterval ¶ added in v1.14.0
func (o *MetricSeries) GetInterval() int64
GetInterval returns the Interval field value if set, zero value otherwise.
func (*MetricSeries) GetIntervalOk ¶ added in v1.14.0
func (o *MetricSeries) GetIntervalOk() (*int64, bool)
GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricSeries) GetMetadata ¶ added in v1.14.0
func (o *MetricSeries) GetMetadata() MetricMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*MetricSeries) GetMetadataOk ¶ added in v1.14.0
func (o *MetricSeries) GetMetadataOk() (*MetricMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricSeries) GetMetric ¶ added in v1.14.0
func (o *MetricSeries) GetMetric() string
GetMetric returns the Metric field value.
func (*MetricSeries) GetMetricOk ¶ added in v1.14.0
func (o *MetricSeries) GetMetricOk() (*string, bool)
GetMetricOk returns a tuple with the Metric field value and a boolean to check if the value has been set.
func (*MetricSeries) GetPoints ¶ added in v1.14.0
func (o *MetricSeries) GetPoints() []MetricPoint
GetPoints returns the Points field value.
func (*MetricSeries) GetPointsOk ¶ added in v1.14.0
func (o *MetricSeries) GetPointsOk() (*[]MetricPoint, bool)
GetPointsOk returns a tuple with the Points field value and a boolean to check if the value has been set.
func (*MetricSeries) GetResources ¶ added in v1.14.0
func (o *MetricSeries) GetResources() []MetricResource
GetResources returns the Resources field value if set, zero value otherwise.
func (*MetricSeries) GetResourcesOk ¶ added in v1.14.0
func (o *MetricSeries) GetResourcesOk() (*[]MetricResource, bool)
GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricSeries) GetSourceTypeName ¶ added in v1.14.0
func (o *MetricSeries) GetSourceTypeName() string
GetSourceTypeName returns the SourceTypeName field value if set, zero value otherwise.
func (*MetricSeries) GetSourceTypeNameOk ¶ added in v1.14.0
func (o *MetricSeries) GetSourceTypeNameOk() (*string, bool)
GetSourceTypeNameOk returns a tuple with the SourceTypeName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricSeries) GetTags ¶ added in v1.14.0
func (o *MetricSeries) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*MetricSeries) GetTagsOk ¶ added in v1.14.0
func (o *MetricSeries) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricSeries) GetType ¶ added in v1.14.0
func (o *MetricSeries) GetType() MetricIntakeType
GetType returns the Type field value if set, zero value otherwise.
func (*MetricSeries) GetTypeOk ¶ added in v1.14.0
func (o *MetricSeries) GetTypeOk() (*MetricIntakeType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricSeries) GetUnit ¶ added in v1.14.0
func (o *MetricSeries) GetUnit() string
GetUnit returns the Unit field value if set, zero value otherwise.
func (*MetricSeries) GetUnitOk ¶ added in v1.14.0
func (o *MetricSeries) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricSeries) HasInterval ¶ added in v1.14.0
func (o *MetricSeries) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*MetricSeries) HasMetadata ¶ added in v1.14.0
func (o *MetricSeries) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*MetricSeries) HasResources ¶ added in v1.14.0
func (o *MetricSeries) HasResources() bool
HasResources returns a boolean if a field has been set.
func (*MetricSeries) HasSourceTypeName ¶ added in v1.14.0
func (o *MetricSeries) HasSourceTypeName() bool
HasSourceTypeName returns a boolean if a field has been set.
func (*MetricSeries) HasTags ¶ added in v1.14.0
func (o *MetricSeries) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*MetricSeries) HasType ¶ added in v1.14.0
func (o *MetricSeries) HasType() bool
HasType returns a boolean if a field has been set.
func (*MetricSeries) HasUnit ¶ added in v1.14.0
func (o *MetricSeries) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (MetricSeries) MarshalJSON ¶ added in v1.14.0
func (o MetricSeries) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricSeries) SetInterval ¶ added in v1.14.0
func (o *MetricSeries) SetInterval(v int64)
SetInterval gets a reference to the given int64 and assigns it to the Interval field.
func (*MetricSeries) SetMetadata ¶ added in v1.14.0
func (o *MetricSeries) SetMetadata(v MetricMetadata)
SetMetadata gets a reference to the given MetricMetadata and assigns it to the Metadata field.
func (*MetricSeries) SetMetric ¶ added in v1.14.0
func (o *MetricSeries) SetMetric(v string)
SetMetric sets field value.
func (*MetricSeries) SetPoints ¶ added in v1.14.0
func (o *MetricSeries) SetPoints(v []MetricPoint)
SetPoints sets field value.
func (*MetricSeries) SetResources ¶ added in v1.14.0
func (o *MetricSeries) SetResources(v []MetricResource)
SetResources gets a reference to the given []MetricResource and assigns it to the Resources field.
func (*MetricSeries) SetSourceTypeName ¶ added in v1.14.0
func (o *MetricSeries) SetSourceTypeName(v string)
SetSourceTypeName gets a reference to the given string and assigns it to the SourceTypeName field.
func (*MetricSeries) SetTags ¶ added in v1.14.0
func (o *MetricSeries) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*MetricSeries) SetType ¶ added in v1.14.0
func (o *MetricSeries) SetType(v MetricIntakeType)
SetType gets a reference to the given MetricIntakeType and assigns it to the Type field.
func (*MetricSeries) SetUnit ¶ added in v1.14.0
func (o *MetricSeries) SetUnit(v string)
SetUnit gets a reference to the given string and assigns it to the Unit field.
func (*MetricSeries) UnmarshalJSON ¶ added in v1.14.0
func (o *MetricSeries) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricTagConfiguration ¶
type MetricTagConfiguration struct {
// Object containing the definition of a metric tag configuration attributes.
Attributes *MetricTagConfigurationAttributes `json:"attributes,omitempty"`
// The metric name for this resource.
Id *string `json:"id,omitempty"`
// The metric tag configuration resource type.
Type *MetricTagConfigurationType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricTagConfiguration Object for a single metric tag configuration.
func NewMetricTagConfiguration ¶
func NewMetricTagConfiguration() *MetricTagConfiguration
NewMetricTagConfiguration instantiates a new MetricTagConfiguration object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricTagConfigurationWithDefaults ¶
func NewMetricTagConfigurationWithDefaults() *MetricTagConfiguration
NewMetricTagConfigurationWithDefaults instantiates a new MetricTagConfiguration object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricTagConfiguration) GetAttributes ¶
func (o *MetricTagConfiguration) GetAttributes() MetricTagConfigurationAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*MetricTagConfiguration) GetAttributesOk ¶
func (o *MetricTagConfiguration) GetAttributesOk() (*MetricTagConfigurationAttributes, 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 (*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 ¶
func (o *MetricTagConfiguration) GetType() MetricTagConfigurationType
GetType returns the Type field value if set, zero value otherwise.
func (*MetricTagConfiguration) GetTypeOk ¶
func (o *MetricTagConfiguration) GetTypeOk() (*MetricTagConfigurationType, 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 (*MetricTagConfiguration) HasAttributes ¶
func (o *MetricTagConfiguration) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*MetricTagConfiguration) HasId ¶
func (o *MetricTagConfiguration) HasId() bool
HasId returns a boolean if a field has been set.
func (*MetricTagConfiguration) HasType ¶
func (o *MetricTagConfiguration) HasType() bool
HasType returns a boolean if a field has been set.
func (MetricTagConfiguration) MarshalJSON ¶
func (o MetricTagConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricTagConfiguration) SetAttributes ¶
func (o *MetricTagConfiguration) SetAttributes(v MetricTagConfigurationAttributes)
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 ¶
func (o *MetricTagConfiguration) SetType(v MetricTagConfigurationType)
SetType gets a reference to the given MetricTagConfigurationType and assigns it to the Type field.
func (*MetricTagConfiguration) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricTagConfiguration) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricTagConfigurationAttributes ¶
type MetricTagConfigurationAttributes struct {
// A list of queryable aggregation combinations for a count, rate, or gauge metric.
// By default, count and rate metrics require the (time: sum, space: sum) aggregation and
// Gauge metrics require the (time: avg, space: avg) aggregation.
// Additional time & space combinations are also available:
//
// - time: avg, space: avg
// - time: avg, space: max
// - time: avg, space: min
// - time: avg, space: sum
// - time: count, space: sum
// - time: max, space: max
// - time: min, space: min
// - time: sum, space: avg
// - time: sum, space: sum
//
// Can only be applied to metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
Aggregations []MetricCustomAggregation `json:"aggregations,omitempty"`
// Timestamp when the tag configuration was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Toggle to turn on/off percentile aggregations for distribution metrics.
// Only present when the `metric_type` is `distribution`.
IncludePercentiles *bool `json:"include_percentiles,omitempty"`
// The metric's type.
MetricType *MetricTagConfigurationMetricTypes `json:"metric_type,omitempty"`
// Timestamp when the tag configuration was last modified.
ModifiedAt *time.Time `json:"modified_at,omitempty"`
// List of tag keys on which to group.
Tags []string `json:"tags,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricTagConfigurationAttributes Object containing the definition of a metric tag configuration attributes.
func NewMetricTagConfigurationAttributes ¶
func NewMetricTagConfigurationAttributes() *MetricTagConfigurationAttributes
NewMetricTagConfigurationAttributes instantiates a new MetricTagConfigurationAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricTagConfigurationAttributesWithDefaults ¶
func NewMetricTagConfigurationAttributesWithDefaults() *MetricTagConfigurationAttributes
NewMetricTagConfigurationAttributesWithDefaults instantiates a new MetricTagConfigurationAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricTagConfigurationAttributes) GetAggregations ¶ added in v1.6.0
func (o *MetricTagConfigurationAttributes) GetAggregations() []MetricCustomAggregation
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 ¶
func (o *MetricTagConfigurationAttributes) GetMetricType() MetricTagConfigurationMetricTypes
GetMetricType returns the MetricType field value if set, zero value otherwise.
func (*MetricTagConfigurationAttributes) GetMetricTypeOk ¶
func (o *MetricTagConfigurationAttributes) GetMetricTypeOk() (*MetricTagConfigurationMetricTypes, bool)
GetMetricTypeOk returns a tuple with the MetricType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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 ¶
func (o *MetricTagConfigurationAttributes) GetTags() []string
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 ¶
func (o *MetricTagConfigurationAttributes) HasTags() bool
HasTags returns a boolean if a field has been set.
func (MetricTagConfigurationAttributes) MarshalJSON ¶
func (o MetricTagConfigurationAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricTagConfigurationAttributes) SetAggregations ¶ added in v1.6.0
func (o *MetricTagConfigurationAttributes) SetAggregations(v []MetricCustomAggregation)
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 ¶
func (o *MetricTagConfigurationAttributes) SetMetricType(v MetricTagConfigurationMetricTypes)
SetMetricType gets a reference to the given MetricTagConfigurationMetricTypes and assigns it to the MetricType field.
func (*MetricTagConfigurationAttributes) SetModifiedAt ¶
func (o *MetricTagConfigurationAttributes) SetModifiedAt(v time.Time)
SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.
func (*MetricTagConfigurationAttributes) SetTags ¶
func (o *MetricTagConfigurationAttributes) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*MetricTagConfigurationAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricTagConfigurationAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricTagConfigurationCreateAttributes ¶
type MetricTagConfigurationCreateAttributes struct {
// A list of queryable aggregation combinations for a count, rate, or gauge metric.
// By default, count and rate metrics require the (time: sum, space: sum) aggregation and
// Gauge metrics require the (time: avg, space: avg) aggregation.
// Additional time & space combinations are also available:
//
// - time: avg, space: avg
// - time: avg, space: max
// - time: avg, space: min
// - time: avg, space: sum
// - time: count, space: sum
// - time: max, space: max
// - time: min, space: min
// - time: sum, space: avg
// - time: sum, space: sum
//
// Can only be applied to metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
Aggregations []MetricCustomAggregation `json:"aggregations,omitempty"`
// Toggle to include/exclude percentiles for a distribution metric.
// Defaults to false. Can only be applied to metrics that have a `metric_type` of `distribution`.
IncludePercentiles *bool `json:"include_percentiles,omitempty"`
// The metric's type.
MetricType MetricTagConfigurationMetricTypes `json:"metric_type"`
// A list of tag keys that will be queryable for your metric.
Tags []string `json:"tags"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricTagConfigurationCreateAttributes Object containing the definition of a metric tag configuration to be created.
func NewMetricTagConfigurationCreateAttributes ¶
func NewMetricTagConfigurationCreateAttributes(metricType MetricTagConfigurationMetricTypes, tags []string) *MetricTagConfigurationCreateAttributes
NewMetricTagConfigurationCreateAttributes instantiates a new MetricTagConfigurationCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricTagConfigurationCreateAttributesWithDefaults ¶
func NewMetricTagConfigurationCreateAttributesWithDefaults() *MetricTagConfigurationCreateAttributes
NewMetricTagConfigurationCreateAttributesWithDefaults instantiates a new MetricTagConfigurationCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricTagConfigurationCreateAttributes) GetAggregations ¶ added in v1.6.0
func (o *MetricTagConfigurationCreateAttributes) GetAggregations() []MetricCustomAggregation
GetAggregations returns the Aggregations field value if set, zero value otherwise.
func (*MetricTagConfigurationCreateAttributes) GetAggregationsOk ¶ added in v1.6.0
func (o *MetricTagConfigurationCreateAttributes) 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 (*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 ¶
func (o *MetricTagConfigurationCreateAttributes) GetMetricType() MetricTagConfigurationMetricTypes
GetMetricType returns the MetricType field value.
func (*MetricTagConfigurationCreateAttributes) GetMetricTypeOk ¶
func (o *MetricTagConfigurationCreateAttributes) GetMetricTypeOk() (*MetricTagConfigurationMetricTypes, bool)
GetMetricTypeOk returns a tuple with the MetricType field value and a boolean to check if the value has been set.
func (*MetricTagConfigurationCreateAttributes) GetTags ¶
func (o *MetricTagConfigurationCreateAttributes) GetTags() []string
GetTags returns the Tags field value.
func (*MetricTagConfigurationCreateAttributes) GetTagsOk ¶
func (o *MetricTagConfigurationCreateAttributes) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.
func (*MetricTagConfigurationCreateAttributes) HasAggregations ¶ added in v1.6.0
func (o *MetricTagConfigurationCreateAttributes) HasAggregations() bool
HasAggregations returns a boolean if a field has been set.
func (*MetricTagConfigurationCreateAttributes) HasIncludePercentiles ¶
func (o *MetricTagConfigurationCreateAttributes) HasIncludePercentiles() bool
HasIncludePercentiles returns a boolean if a field has been set.
func (MetricTagConfigurationCreateAttributes) MarshalJSON ¶
func (o MetricTagConfigurationCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricTagConfigurationCreateAttributes) SetAggregations ¶ added in v1.6.0
func (o *MetricTagConfigurationCreateAttributes) SetAggregations(v []MetricCustomAggregation)
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 ¶
func (o *MetricTagConfigurationCreateAttributes) SetMetricType(v MetricTagConfigurationMetricTypes)
SetMetricType sets field value.
func (*MetricTagConfigurationCreateAttributes) SetTags ¶
func (o *MetricTagConfigurationCreateAttributes) SetTags(v []string)
SetTags sets field value.
func (*MetricTagConfigurationCreateAttributes) UnmarshalJSON ¶
func (o *MetricTagConfigurationCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricTagConfigurationCreateData ¶
type MetricTagConfigurationCreateData struct {
// Object containing the definition of a metric tag configuration to be created.
Attributes *MetricTagConfigurationCreateAttributes `json:"attributes,omitempty"`
// The metric name for this resource.
Id string `json:"id"`
// The metric tag configuration resource type.
Type MetricTagConfigurationType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricTagConfigurationCreateData Object for a single metric to be configure tags on.
func NewMetricTagConfigurationCreateData ¶
func NewMetricTagConfigurationCreateData(id string, typeVar MetricTagConfigurationType) *MetricTagConfigurationCreateData
NewMetricTagConfigurationCreateData instantiates a new MetricTagConfigurationCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricTagConfigurationCreateDataWithDefaults ¶
func NewMetricTagConfigurationCreateDataWithDefaults() *MetricTagConfigurationCreateData
NewMetricTagConfigurationCreateDataWithDefaults instantiates a new MetricTagConfigurationCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricTagConfigurationCreateData) GetAttributes ¶
func (o *MetricTagConfigurationCreateData) GetAttributes() MetricTagConfigurationCreateAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*MetricTagConfigurationCreateData) GetAttributesOk ¶
func (o *MetricTagConfigurationCreateData) GetAttributesOk() (*MetricTagConfigurationCreateAttributes, 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 (*MetricTagConfigurationCreateData) GetId ¶
func (o *MetricTagConfigurationCreateData) GetId() string
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 ¶
func (o *MetricTagConfigurationCreateData) GetType() MetricTagConfigurationType
GetType returns the Type field value.
func (*MetricTagConfigurationCreateData) GetTypeOk ¶
func (o *MetricTagConfigurationCreateData) GetTypeOk() (*MetricTagConfigurationType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*MetricTagConfigurationCreateData) HasAttributes ¶
func (o *MetricTagConfigurationCreateData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (MetricTagConfigurationCreateData) MarshalJSON ¶
func (o MetricTagConfigurationCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricTagConfigurationCreateData) SetAttributes ¶
func (o *MetricTagConfigurationCreateData) SetAttributes(v MetricTagConfigurationCreateAttributes)
SetAttributes gets a reference to the given MetricTagConfigurationCreateAttributes and assigns it to the Attributes field.
func (*MetricTagConfigurationCreateData) SetId ¶
func (o *MetricTagConfigurationCreateData) SetId(v string)
SetId sets field value.
func (*MetricTagConfigurationCreateData) SetType ¶
func (o *MetricTagConfigurationCreateData) SetType(v MetricTagConfigurationType)
SetType sets field value.
func (*MetricTagConfigurationCreateData) UnmarshalJSON ¶
func (o *MetricTagConfigurationCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricTagConfigurationCreateRequest ¶
type MetricTagConfigurationCreateRequest struct {
// Object for a single metric to be configure tags on.
Data MetricTagConfigurationCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricTagConfigurationCreateRequest Request object that includes the metric that you would like to configure tags for.
func NewMetricTagConfigurationCreateRequest ¶
func NewMetricTagConfigurationCreateRequest(data MetricTagConfigurationCreateData) *MetricTagConfigurationCreateRequest
NewMetricTagConfigurationCreateRequest instantiates a new MetricTagConfigurationCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricTagConfigurationCreateRequestWithDefaults ¶
func NewMetricTagConfigurationCreateRequestWithDefaults() *MetricTagConfigurationCreateRequest
NewMetricTagConfigurationCreateRequestWithDefaults instantiates a new MetricTagConfigurationCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricTagConfigurationCreateRequest) GetData ¶
func (o *MetricTagConfigurationCreateRequest) GetData() MetricTagConfigurationCreateData
GetData returns the Data field value.
func (*MetricTagConfigurationCreateRequest) GetDataOk ¶
func (o *MetricTagConfigurationCreateRequest) GetDataOk() (*MetricTagConfigurationCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (MetricTagConfigurationCreateRequest) MarshalJSON ¶
func (o MetricTagConfigurationCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricTagConfigurationCreateRequest) SetData ¶
func (o *MetricTagConfigurationCreateRequest) SetData(v MetricTagConfigurationCreateData)
SetData sets field value.
func (*MetricTagConfigurationCreateRequest) UnmarshalJSON ¶
func (o *MetricTagConfigurationCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricTagConfigurationMetricTypes ¶
type MetricTagConfigurationMetricTypes string
MetricTagConfigurationMetricTypes The metric's type.
const ( METRICTAGCONFIGURATIONMETRICTYPES_GAUGE MetricTagConfigurationMetricTypes = "gauge" METRICTAGCONFIGURATIONMETRICTYPES_COUNT MetricTagConfigurationMetricTypes = "count" METRICTAGCONFIGURATIONMETRICTYPES_RATE MetricTagConfigurationMetricTypes = "rate" METRICTAGCONFIGURATIONMETRICTYPES_DISTRIBUTION MetricTagConfigurationMetricTypes = "distribution" )
List of MetricTagConfigurationMetricTypes.
func NewMetricTagConfigurationMetricTypesFromValue ¶
func NewMetricTagConfigurationMetricTypesFromValue(v string) (*MetricTagConfigurationMetricTypes, error)
NewMetricTagConfigurationMetricTypesFromValue returns a pointer to a valid MetricTagConfigurationMetricTypes for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricTagConfigurationMetricTypes) GetAllowedValues ¶ added in v1.1.0
func (v *MetricTagConfigurationMetricTypes) GetAllowedValues() []MetricTagConfigurationMetricTypes
GetAllowedValues reeturns the list of possible values.
func (MetricTagConfigurationMetricTypes) IsValid ¶
func (v MetricTagConfigurationMetricTypes) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricTagConfigurationMetricTypes) Ptr ¶
func (v MetricTagConfigurationMetricTypes) Ptr() *MetricTagConfigurationMetricTypes
Ptr returns reference to MetricTagConfigurationMetricTypes value.
func (*MetricTagConfigurationMetricTypes) UnmarshalJSON ¶
func (v *MetricTagConfigurationMetricTypes) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricTagConfigurationResponse ¶
type MetricTagConfigurationResponse struct {
// Object for a single metric tag configuration.
Data *MetricTagConfiguration `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricTagConfigurationResponse Response object which includes a single metric's tag configuration.
func NewMetricTagConfigurationResponse ¶
func NewMetricTagConfigurationResponse() *MetricTagConfigurationResponse
NewMetricTagConfigurationResponse instantiates a new MetricTagConfigurationResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricTagConfigurationResponseWithDefaults ¶
func NewMetricTagConfigurationResponseWithDefaults() *MetricTagConfigurationResponse
NewMetricTagConfigurationResponseWithDefaults instantiates a new MetricTagConfigurationResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricTagConfigurationResponse) GetData ¶
func (o *MetricTagConfigurationResponse) GetData() MetricTagConfiguration
GetData returns the Data field value if set, zero value otherwise.
func (*MetricTagConfigurationResponse) GetDataOk ¶
func (o *MetricTagConfigurationResponse) GetDataOk() (*MetricTagConfiguration, 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 (*MetricTagConfigurationResponse) HasData ¶
func (o *MetricTagConfigurationResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (MetricTagConfigurationResponse) MarshalJSON ¶
func (o MetricTagConfigurationResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricTagConfigurationResponse) SetData ¶
func (o *MetricTagConfigurationResponse) SetData(v MetricTagConfiguration)
SetData gets a reference to the given MetricTagConfiguration and assigns it to the Data field.
func (*MetricTagConfigurationResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricTagConfigurationResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricTagConfigurationType ¶
type MetricTagConfigurationType string
MetricTagConfigurationType The metric tag configuration resource type.
const (
METRICTAGCONFIGURATIONTYPE_MANAGE_TAGS MetricTagConfigurationType = "manage_tags"
)
List of MetricTagConfigurationType.
func NewMetricTagConfigurationTypeFromValue ¶
func NewMetricTagConfigurationTypeFromValue(v string) (*MetricTagConfigurationType, error)
NewMetricTagConfigurationTypeFromValue returns a pointer to a valid MetricTagConfigurationType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricTagConfigurationType) GetAllowedValues ¶ added in v1.1.0
func (v *MetricTagConfigurationType) GetAllowedValues() []MetricTagConfigurationType
GetAllowedValues reeturns the list of possible values.
func (MetricTagConfigurationType) IsValid ¶
func (v MetricTagConfigurationType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricTagConfigurationType) Ptr ¶
func (v MetricTagConfigurationType) Ptr() *MetricTagConfigurationType
Ptr returns reference to MetricTagConfigurationType value.
func (*MetricTagConfigurationType) UnmarshalJSON ¶
func (v *MetricTagConfigurationType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricTagConfigurationUpdateAttributes ¶
type MetricTagConfigurationUpdateAttributes struct {
// A list of queryable aggregation combinations for a count, rate, or gauge metric.
// By default, count and rate metrics require the (time: sum, space: sum) aggregation and
// Gauge metrics require the (time: avg, space: avg) aggregation.
// Additional time & space combinations are also available:
//
// - time: avg, space: avg
// - time: avg, space: max
// - time: avg, space: min
// - time: avg, space: sum
// - time: count, space: sum
// - time: max, space: max
// - time: min, space: min
// - time: sum, space: avg
// - time: sum, space: sum
//
// Can only be applied to metrics that have a `metric_type` of `count`, `rate`, or `gauge`.
Aggregations []MetricCustomAggregation `json:"aggregations,omitempty"`
// Toggle to include/exclude percentiles for a distribution metric.
// Defaults to false. Can only be applied to metrics that have a `metric_type` of `distribution`.
IncludePercentiles *bool `json:"include_percentiles,omitempty"`
// A list of tag keys that will be queryable for your metric.
Tags []string `json:"tags,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricTagConfigurationUpdateAttributes Object containing the definition of a metric tag configuration to be updated.
func NewMetricTagConfigurationUpdateAttributes ¶
func NewMetricTagConfigurationUpdateAttributes() *MetricTagConfigurationUpdateAttributes
NewMetricTagConfigurationUpdateAttributes instantiates a new MetricTagConfigurationUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricTagConfigurationUpdateAttributesWithDefaults ¶
func NewMetricTagConfigurationUpdateAttributesWithDefaults() *MetricTagConfigurationUpdateAttributes
NewMetricTagConfigurationUpdateAttributesWithDefaults instantiates a new MetricTagConfigurationUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricTagConfigurationUpdateAttributes) GetAggregations ¶ added in v1.6.0
func (o *MetricTagConfigurationUpdateAttributes) GetAggregations() []MetricCustomAggregation
GetAggregations returns the Aggregations field value if set, zero value otherwise.
func (*MetricTagConfigurationUpdateAttributes) GetAggregationsOk ¶ added in v1.6.0
func (o *MetricTagConfigurationUpdateAttributes) 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 (*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 ¶
func (o *MetricTagConfigurationUpdateAttributes) GetTags() []string
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 ¶
func (o *MetricTagConfigurationUpdateAttributes) HasTags() bool
HasTags returns a boolean if a field has been set.
func (MetricTagConfigurationUpdateAttributes) MarshalJSON ¶
func (o MetricTagConfigurationUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricTagConfigurationUpdateAttributes) SetAggregations ¶ added in v1.6.0
func (o *MetricTagConfigurationUpdateAttributes) SetAggregations(v []MetricCustomAggregation)
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 ¶
func (o *MetricTagConfigurationUpdateAttributes) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*MetricTagConfigurationUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricTagConfigurationUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricTagConfigurationUpdateData ¶
type MetricTagConfigurationUpdateData struct {
// Object containing the definition of a metric tag configuration to be updated.
Attributes *MetricTagConfigurationUpdateAttributes `json:"attributes,omitempty"`
// The metric name for this resource.
Id string `json:"id"`
// The metric tag configuration resource type.
Type MetricTagConfigurationType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricTagConfigurationUpdateData Object for a single tag configuration to be edited.
func NewMetricTagConfigurationUpdateData ¶
func NewMetricTagConfigurationUpdateData(id string, typeVar MetricTagConfigurationType) *MetricTagConfigurationUpdateData
NewMetricTagConfigurationUpdateData instantiates a new MetricTagConfigurationUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricTagConfigurationUpdateDataWithDefaults ¶
func NewMetricTagConfigurationUpdateDataWithDefaults() *MetricTagConfigurationUpdateData
NewMetricTagConfigurationUpdateDataWithDefaults instantiates a new MetricTagConfigurationUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricTagConfigurationUpdateData) GetAttributes ¶
func (o *MetricTagConfigurationUpdateData) GetAttributes() MetricTagConfigurationUpdateAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*MetricTagConfigurationUpdateData) GetAttributesOk ¶
func (o *MetricTagConfigurationUpdateData) GetAttributesOk() (*MetricTagConfigurationUpdateAttributes, 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 (*MetricTagConfigurationUpdateData) GetId ¶
func (o *MetricTagConfigurationUpdateData) GetId() string
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 ¶
func (o *MetricTagConfigurationUpdateData) GetType() MetricTagConfigurationType
GetType returns the Type field value.
func (*MetricTagConfigurationUpdateData) GetTypeOk ¶
func (o *MetricTagConfigurationUpdateData) GetTypeOk() (*MetricTagConfigurationType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*MetricTagConfigurationUpdateData) HasAttributes ¶
func (o *MetricTagConfigurationUpdateData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (MetricTagConfigurationUpdateData) MarshalJSON ¶
func (o MetricTagConfigurationUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricTagConfigurationUpdateData) SetAttributes ¶
func (o *MetricTagConfigurationUpdateData) SetAttributes(v MetricTagConfigurationUpdateAttributes)
SetAttributes gets a reference to the given MetricTagConfigurationUpdateAttributes and assigns it to the Attributes field.
func (*MetricTagConfigurationUpdateData) SetId ¶
func (o *MetricTagConfigurationUpdateData) SetId(v string)
SetId sets field value.
func (*MetricTagConfigurationUpdateData) SetType ¶
func (o *MetricTagConfigurationUpdateData) SetType(v MetricTagConfigurationType)
SetType sets field value.
func (*MetricTagConfigurationUpdateData) UnmarshalJSON ¶
func (o *MetricTagConfigurationUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricTagConfigurationUpdateRequest ¶
type MetricTagConfigurationUpdateRequest struct {
// Object for a single tag configuration to be edited.
Data MetricTagConfigurationUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricTagConfigurationUpdateRequest Request object that includes the metric that you would like to edit the tag configuration on.
func NewMetricTagConfigurationUpdateRequest ¶
func NewMetricTagConfigurationUpdateRequest(data MetricTagConfigurationUpdateData) *MetricTagConfigurationUpdateRequest
NewMetricTagConfigurationUpdateRequest instantiates a new MetricTagConfigurationUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricTagConfigurationUpdateRequestWithDefaults ¶
func NewMetricTagConfigurationUpdateRequestWithDefaults() *MetricTagConfigurationUpdateRequest
NewMetricTagConfigurationUpdateRequestWithDefaults instantiates a new MetricTagConfigurationUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricTagConfigurationUpdateRequest) GetData ¶
func (o *MetricTagConfigurationUpdateRequest) GetData() MetricTagConfigurationUpdateData
GetData returns the Data field value.
func (*MetricTagConfigurationUpdateRequest) GetDataOk ¶
func (o *MetricTagConfigurationUpdateRequest) GetDataOk() (*MetricTagConfigurationUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (MetricTagConfigurationUpdateRequest) MarshalJSON ¶
func (o MetricTagConfigurationUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricTagConfigurationUpdateRequest) SetData ¶
func (o *MetricTagConfigurationUpdateRequest) SetData(v MetricTagConfigurationUpdateData)
SetData sets field value.
func (*MetricTagConfigurationUpdateRequest) UnmarshalJSON ¶
func (o *MetricTagConfigurationUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricType ¶
type MetricType string
MetricType The metric resource type.
const (
METRICTYPE_METRICS MetricType = "metrics"
)
List of MetricType.
func NewMetricTypeFromValue ¶
func NewMetricTypeFromValue(v string) (*MetricType, error)
NewMetricTypeFromValue returns a pointer to a valid MetricType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricType) GetAllowedValues ¶ added in v1.1.0
func (v *MetricType) GetAllowedValues() []MetricType
GetAllowedValues reeturns the list of possible values.
func (MetricType) IsValid ¶
func (v MetricType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricType) Ptr ¶
func (v MetricType) Ptr() *MetricType
Ptr returns reference to MetricType value.
func (*MetricType) UnmarshalJSON ¶
func (v *MetricType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MetricVolumes ¶
type MetricVolumes struct {
MetricDistinctVolume *MetricDistinctVolume
MetricIngestedIndexedVolume *MetricIngestedIndexedVolume
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
MetricVolumes - Possible response objects for a metric's volume.
func MetricDistinctVolumeAsMetricVolumes ¶
func MetricDistinctVolumeAsMetricVolumes(v *MetricDistinctVolume) MetricVolumes
MetricDistinctVolumeAsMetricVolumes is a convenience function that returns MetricDistinctVolume wrapped in MetricVolumes.
func MetricIngestedIndexedVolumeAsMetricVolumes ¶
func MetricIngestedIndexedVolumeAsMetricVolumes(v *MetricIngestedIndexedVolume) MetricVolumes
MetricIngestedIndexedVolumeAsMetricVolumes is a convenience function that returns MetricIngestedIndexedVolume wrapped in MetricVolumes.
func (*MetricVolumes) GetActualInstance ¶
func (obj *MetricVolumes) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (MetricVolumes) MarshalJSON ¶
func (obj MetricVolumes) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*MetricVolumes) UnmarshalJSON ¶
func (obj *MetricVolumes) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type MetricVolumesResponse ¶
type MetricVolumesResponse struct {
// Possible response objects for a metric's volume.
Data *MetricVolumes `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricVolumesResponse Response object which includes a single metric's volume.
func NewMetricVolumesResponse ¶
func NewMetricVolumesResponse() *MetricVolumesResponse
NewMetricVolumesResponse instantiates a new MetricVolumesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricVolumesResponseWithDefaults ¶
func NewMetricVolumesResponseWithDefaults() *MetricVolumesResponse
NewMetricVolumesResponseWithDefaults instantiates a new MetricVolumesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricVolumesResponse) GetData ¶
func (o *MetricVolumesResponse) GetData() MetricVolumes
GetData returns the Data field value if set, zero value otherwise.
func (*MetricVolumesResponse) GetDataOk ¶
func (o *MetricVolumesResponse) GetDataOk() (*MetricVolumes, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricVolumesResponse) HasData ¶
func (o *MetricVolumesResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (MetricVolumesResponse) MarshalJSON ¶
func (o MetricVolumesResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricVolumesResponse) SetData ¶
func (o *MetricVolumesResponse) SetData(v MetricVolumes)
SetData gets a reference to the given MetricVolumes and assigns it to the Data field.
func (*MetricVolumesResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricVolumesResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricsAndMetricTagConfigurations ¶
type MetricsAndMetricTagConfigurations struct {
Metric *Metric
MetricTagConfiguration *MetricTagConfiguration
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
MetricsAndMetricTagConfigurations - Object for a metrics and metric tag configurations.
func MetricAsMetricsAndMetricTagConfigurations ¶
func MetricAsMetricsAndMetricTagConfigurations(v *Metric) MetricsAndMetricTagConfigurations
MetricAsMetricsAndMetricTagConfigurations is a convenience function that returns Metric wrapped in MetricsAndMetricTagConfigurations.
func MetricTagConfigurationAsMetricsAndMetricTagConfigurations ¶
func MetricTagConfigurationAsMetricsAndMetricTagConfigurations(v *MetricTagConfiguration) MetricsAndMetricTagConfigurations
MetricTagConfigurationAsMetricsAndMetricTagConfigurations is a convenience function that returns MetricTagConfiguration wrapped in MetricsAndMetricTagConfigurations.
func (*MetricsAndMetricTagConfigurations) GetActualInstance ¶
func (obj *MetricsAndMetricTagConfigurations) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (MetricsAndMetricTagConfigurations) MarshalJSON ¶
func (obj MetricsAndMetricTagConfigurations) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*MetricsAndMetricTagConfigurations) UnmarshalJSON ¶
func (obj *MetricsAndMetricTagConfigurations) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type MetricsAndMetricTagConfigurationsResponse ¶
type MetricsAndMetricTagConfigurationsResponse struct {
// Array of metrics and metric tag configurations.
Data []MetricsAndMetricTagConfigurations `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
MetricsAndMetricTagConfigurationsResponse Response object that includes metrics and metric tag configurations.
func NewMetricsAndMetricTagConfigurationsResponse ¶
func NewMetricsAndMetricTagConfigurationsResponse() *MetricsAndMetricTagConfigurationsResponse
NewMetricsAndMetricTagConfigurationsResponse instantiates a new MetricsAndMetricTagConfigurationsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricsAndMetricTagConfigurationsResponseWithDefaults ¶
func NewMetricsAndMetricTagConfigurationsResponseWithDefaults() *MetricsAndMetricTagConfigurationsResponse
NewMetricsAndMetricTagConfigurationsResponseWithDefaults instantiates a new MetricsAndMetricTagConfigurationsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricsAndMetricTagConfigurationsResponse) GetData ¶
func (o *MetricsAndMetricTagConfigurationsResponse) GetData() []MetricsAndMetricTagConfigurations
GetData returns the Data field value if set, zero value otherwise.
func (*MetricsAndMetricTagConfigurationsResponse) GetDataOk ¶
func (o *MetricsAndMetricTagConfigurationsResponse) GetDataOk() (*[]MetricsAndMetricTagConfigurations, 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 (*MetricsAndMetricTagConfigurationsResponse) HasData ¶
func (o *MetricsAndMetricTagConfigurationsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (MetricsAndMetricTagConfigurationsResponse) MarshalJSON ¶
func (o MetricsAndMetricTagConfigurationsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricsAndMetricTagConfigurationsResponse) SetData ¶
func (o *MetricsAndMetricTagConfigurationsResponse) SetData(v []MetricsAndMetricTagConfigurations)
SetData gets a reference to the given []MetricsAndMetricTagConfigurations and assigns it to the Data field.
func (*MetricsAndMetricTagConfigurationsResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *MetricsAndMetricTagConfigurationsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricsApiService ¶
type MetricsApiService service
MetricsApiService MetricsApi service.
func (*MetricsApiService) CreateBulkTagsMetricsConfiguration ¶ added in v1.9.0
func (a *MetricsApiService) CreateBulkTagsMetricsConfiguration(ctx _context.Context, body MetricBulkTagConfigCreateRequest) (MetricBulkTagConfigResponse, *_nethttp.Response, error)
CreateBulkTagsMetricsConfiguration Configure tags for multiple metrics. Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. If multiple calls include the same metric, the last configuration applied (not by submit order) is used, do not expect deterministic ordering of concurrent calls. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
func (*MetricsApiService) CreateTagConfiguration ¶
func (a *MetricsApiService) CreateTagConfiguration(ctx _context.Context, metricName string, body MetricTagConfigurationCreateRequest) (MetricTagConfigurationResponse, *_nethttp.Response, error)
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
func (a *MetricsApiService) DeleteBulkTagsMetricsConfiguration(ctx _context.Context, body MetricBulkTagConfigDeleteRequest) (MetricBulkTagConfigResponse, *_nethttp.Response, error)
DeleteBulkTagsMetricsConfiguration Configure tags for multiple metrics. Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
func (*MetricsApiService) DeleteTagConfiguration ¶
func (a *MetricsApiService) DeleteTagConfiguration(ctx _context.Context, metricName string) (*_nethttp.Response, error)
DeleteTagConfiguration Delete a tag configuration. Deletes a metric's tag configuration. Can only be used with application keys from users with the `Manage Tags for Metrics` permission.
func (*MetricsApiService) EstimateMetricsOutputSeries ¶ added in v1.14.0
func (a *MetricsApiService) EstimateMetricsOutputSeries(ctx _context.Context, metricName string, o ...EstimateMetricsOutputSeriesOptionalParameters) (MetricEstimateResponse, *_nethttp.Response, error)
EstimateMetricsOutputSeries Tag Configuration Cardinality Estimator. Returns the estimated cardinality for a metric with a given tag, percentile and number of aggregations configuration using Metrics without Limits™.
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 ¶
func (a *MetricsApiService) ListTagConfigurations(ctx _context.Context, o ...ListTagConfigurationsOptionalParameters) (MetricsAndMetricTagConfigurationsResponse, *_nethttp.Response, error)
ListTagConfigurations List tag configurations. Returns all configured count/gauge/rate/distribution metric names (with additional filters if specified).
func (*MetricsApiService) ListTagsByMetricName ¶
func (a *MetricsApiService) ListTagsByMetricName(ctx _context.Context, metricName string) (MetricAllTagsResponse, *_nethttp.Response, error)
ListTagsByMetricName List tags by metric name. View indexed tag key-value pairs for a given metric name.
func (*MetricsApiService) ListVolumesByMetricName ¶
func (a *MetricsApiService) ListVolumesByMetricName(ctx _context.Context, metricName string) (MetricVolumesResponse, *_nethttp.Response, error)
ListVolumesByMetricName List distinct metric volumes by metric name. View distinct metrics volumes for the given metric name.
Custom metrics generated in-app from other products will return `null` for ingested volumes.
func (*MetricsApiService) SubmitMetrics ¶ added in v1.14.0
func (a *MetricsApiService) SubmitMetrics(ctx _context.Context, body MetricPayload, o ...SubmitMetricsOptionalParameters) (IntakePayloadAccepted, *_nethttp.Response, error)
SubmitMetrics Submit metrics. The metrics end-point allows you to post time-series data that can be graphed on Datadog’s dashboards. The maximum payload size is 500 kilobytes (512000 bytes). Compressed payloads must have a decompressed size of less than 5 megabytes (5242880 bytes).
If you’re submitting metrics directly to the Datadog API without using DogStatsD, expect:
- 64 bits for the timestamp - 64 bits for the value - 20 bytes for the metric names - 50 bytes for the timeseries - The full payload is approximately 100 bytes.
func (*MetricsApiService) UpdateTagConfiguration ¶
func (a *MetricsApiService) UpdateTagConfiguration(ctx _context.Context, metricName string, body MetricTagConfigurationUpdateRequest) (MetricTagConfigurationResponse, *_nethttp.Response, error)
UpdateTagConfiguration Update a tag configuration. Update the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations of a count, rate, or gauge metric. Can only be used with application keys from users with the `Manage Tags for Metrics` permission.
type NullableAPIKeyResponseIncludedItem ¶
type NullableAPIKeyResponseIncludedItem struct {
// contains filtered or unexported fields
}
NullableAPIKeyResponseIncludedItem handles when a null is used for APIKeyResponseIncludedItem.
func NewNullableAPIKeyResponseIncludedItem ¶
func NewNullableAPIKeyResponseIncludedItem(val *APIKeyResponseIncludedItem) *NullableAPIKeyResponseIncludedItem
NewNullableAPIKeyResponseIncludedItem initializes the struct as if Set has been called.
func (NullableAPIKeyResponseIncludedItem) Get ¶
func (v NullableAPIKeyResponseIncludedItem) Get() *APIKeyResponseIncludedItem
Get returns the associated value.
func (NullableAPIKeyResponseIncludedItem) IsSet ¶
func (v NullableAPIKeyResponseIncludedItem) IsSet() bool
IsSet returns whether Set has been called.
func (NullableAPIKeyResponseIncludedItem) MarshalJSON ¶
func (v NullableAPIKeyResponseIncludedItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableAPIKeyResponseIncludedItem) Set ¶
func (v *NullableAPIKeyResponseIncludedItem) Set(val *APIKeyResponseIncludedItem)
Set changes the value and indicates it's been called.
func (*NullableAPIKeyResponseIncludedItem) UnmarshalJSON ¶
func (v *NullableAPIKeyResponseIncludedItem) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableAPIKeyResponseIncludedItem) Unset ¶
func (v *NullableAPIKeyResponseIncludedItem) Unset()
Unset sets the value to nil and resets the set flag/
type NullableAPIKeysSort ¶
type NullableAPIKeysSort struct {
// contains filtered or unexported fields
}
NullableAPIKeysSort handles when a null is used for APIKeysSort.
func NewNullableAPIKeysSort ¶
func NewNullableAPIKeysSort(val *APIKeysSort) *NullableAPIKeysSort
NewNullableAPIKeysSort initializes the struct as if Set has been called.
func (NullableAPIKeysSort) Get ¶
func (v NullableAPIKeysSort) Get() *APIKeysSort
Get returns the associated value.
func (NullableAPIKeysSort) IsSet ¶
func (v NullableAPIKeysSort) IsSet() bool
IsSet returns whether Set has been called.
func (NullableAPIKeysSort) MarshalJSON ¶
func (v NullableAPIKeysSort) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableAPIKeysSort) Set ¶
func (v *NullableAPIKeysSort) Set(val *APIKeysSort)
Set changes the value and indicates it's been called.
func (*NullableAPIKeysSort) UnmarshalJSON ¶
func (v *NullableAPIKeysSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableAPIKeysSort) Unset ¶
func (v *NullableAPIKeysSort) Unset()
Unset sets the value to nil and resets the set flag.
type NullableAPIKeysType ¶
type NullableAPIKeysType struct {
// contains filtered or unexported fields
}
NullableAPIKeysType handles when a null is used for APIKeysType.
func NewNullableAPIKeysType ¶
func NewNullableAPIKeysType(val *APIKeysType) *NullableAPIKeysType
NewNullableAPIKeysType initializes the struct as if Set has been called.
func (NullableAPIKeysType) Get ¶
func (v NullableAPIKeysType) Get() *APIKeysType
Get returns the associated value.
func (NullableAPIKeysType) IsSet ¶
func (v NullableAPIKeysType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableAPIKeysType) MarshalJSON ¶
func (v NullableAPIKeysType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableAPIKeysType) Set ¶
func (v *NullableAPIKeysType) Set(val *APIKeysType)
Set changes the value and indicates it's been called.
func (*NullableAPIKeysType) UnmarshalJSON ¶
func (v *NullableAPIKeysType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableAPIKeysType) Unset ¶
func (v *NullableAPIKeysType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableApplicationKeyResponseIncludedItem ¶
type NullableApplicationKeyResponseIncludedItem struct {
// contains filtered or unexported fields
}
NullableApplicationKeyResponseIncludedItem handles when a null is used for ApplicationKeyResponseIncludedItem.
func NewNullableApplicationKeyResponseIncludedItem ¶
func NewNullableApplicationKeyResponseIncludedItem(val *ApplicationKeyResponseIncludedItem) *NullableApplicationKeyResponseIncludedItem
NewNullableApplicationKeyResponseIncludedItem initializes the struct as if Set has been called.
func (NullableApplicationKeyResponseIncludedItem) IsSet ¶
func (v NullableApplicationKeyResponseIncludedItem) IsSet() bool
IsSet returns whether Set has been called.
func (NullableApplicationKeyResponseIncludedItem) MarshalJSON ¶
func (v NullableApplicationKeyResponseIncludedItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableApplicationKeyResponseIncludedItem) Set ¶
func (v *NullableApplicationKeyResponseIncludedItem) Set(val *ApplicationKeyResponseIncludedItem)
Set changes the value and indicates it's been called.
func (*NullableApplicationKeyResponseIncludedItem) UnmarshalJSON ¶
func (v *NullableApplicationKeyResponseIncludedItem) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableApplicationKeyResponseIncludedItem) Unset ¶
func (v *NullableApplicationKeyResponseIncludedItem) Unset()
Unset sets the value to nil and resets the set flag/
type NullableApplicationKeysSort ¶
type NullableApplicationKeysSort struct {
// contains filtered or unexported fields
}
NullableApplicationKeysSort handles when a null is used for ApplicationKeysSort.
func NewNullableApplicationKeysSort ¶
func NewNullableApplicationKeysSort(val *ApplicationKeysSort) *NullableApplicationKeysSort
NewNullableApplicationKeysSort initializes the struct as if Set has been called.
func (NullableApplicationKeysSort) Get ¶
func (v NullableApplicationKeysSort) Get() *ApplicationKeysSort
Get returns the associated value.
func (NullableApplicationKeysSort) IsSet ¶
func (v NullableApplicationKeysSort) IsSet() bool
IsSet returns whether Set has been called.
func (NullableApplicationKeysSort) MarshalJSON ¶
func (v NullableApplicationKeysSort) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableApplicationKeysSort) Set ¶
func (v *NullableApplicationKeysSort) Set(val *ApplicationKeysSort)
Set changes the value and indicates it's been called.
func (*NullableApplicationKeysSort) UnmarshalJSON ¶
func (v *NullableApplicationKeysSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableApplicationKeysSort) Unset ¶
func (v *NullableApplicationKeysSort) Unset()
Unset sets the value to nil and resets the set flag.
type NullableApplicationKeysType ¶
type NullableApplicationKeysType struct {
// contains filtered or unexported fields
}
NullableApplicationKeysType handles when a null is used for ApplicationKeysType.
func NewNullableApplicationKeysType ¶
func NewNullableApplicationKeysType(val *ApplicationKeysType) *NullableApplicationKeysType
NewNullableApplicationKeysType initializes the struct as if Set has been called.
func (NullableApplicationKeysType) Get ¶
func (v NullableApplicationKeysType) Get() *ApplicationKeysType
Get returns the associated value.
func (NullableApplicationKeysType) IsSet ¶
func (v NullableApplicationKeysType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableApplicationKeysType) MarshalJSON ¶
func (v NullableApplicationKeysType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableApplicationKeysType) Set ¶
func (v *NullableApplicationKeysType) Set(val *ApplicationKeysType)
Set changes the value and indicates it's been called.
func (*NullableApplicationKeysType) UnmarshalJSON ¶
func (v *NullableApplicationKeysType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableApplicationKeysType) Unset ¶
func (v *NullableApplicationKeysType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableAuditLogsEventType ¶ added in v1.11.0
type NullableAuditLogsEventType struct {
// contains filtered or unexported fields
}
NullableAuditLogsEventType handles when a null is used for AuditLogsEventType.
func NewNullableAuditLogsEventType ¶ added in v1.11.0
func NewNullableAuditLogsEventType(val *AuditLogsEventType) *NullableAuditLogsEventType
NewNullableAuditLogsEventType initializes the struct as if Set has been called.
func (NullableAuditLogsEventType) Get ¶ added in v1.11.0
func (v NullableAuditLogsEventType) Get() *AuditLogsEventType
Get returns the associated value.
func (NullableAuditLogsEventType) IsSet ¶ added in v1.11.0
func (v NullableAuditLogsEventType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableAuditLogsEventType) MarshalJSON ¶ added in v1.11.0
func (v NullableAuditLogsEventType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableAuditLogsEventType) Set ¶ added in v1.11.0
func (v *NullableAuditLogsEventType) Set(val *AuditLogsEventType)
Set changes the value and indicates it's been called.
func (*NullableAuditLogsEventType) UnmarshalJSON ¶ added in v1.11.0
func (v *NullableAuditLogsEventType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableAuditLogsEventType) Unset ¶ added in v1.11.0
func (v *NullableAuditLogsEventType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableAuditLogsResponseStatus ¶ added in v1.11.0
type NullableAuditLogsResponseStatus struct {
// contains filtered or unexported fields
}
NullableAuditLogsResponseStatus handles when a null is used for AuditLogsResponseStatus.
func NewNullableAuditLogsResponseStatus ¶ added in v1.11.0
func NewNullableAuditLogsResponseStatus(val *AuditLogsResponseStatus) *NullableAuditLogsResponseStatus
NewNullableAuditLogsResponseStatus initializes the struct as if Set has been called.
func (NullableAuditLogsResponseStatus) Get ¶ added in v1.11.0
func (v NullableAuditLogsResponseStatus) Get() *AuditLogsResponseStatus
Get returns the associated value.
func (NullableAuditLogsResponseStatus) IsSet ¶ added in v1.11.0
func (v NullableAuditLogsResponseStatus) IsSet() bool
IsSet returns whether Set has been called.
func (NullableAuditLogsResponseStatus) MarshalJSON ¶ added in v1.11.0
func (v NullableAuditLogsResponseStatus) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableAuditLogsResponseStatus) Set ¶ added in v1.11.0
func (v *NullableAuditLogsResponseStatus) Set(val *AuditLogsResponseStatus)
Set changes the value and indicates it's been called.
func (*NullableAuditLogsResponseStatus) UnmarshalJSON ¶ added in v1.11.0
func (v *NullableAuditLogsResponseStatus) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableAuditLogsResponseStatus) Unset ¶ added in v1.11.0
func (v *NullableAuditLogsResponseStatus) Unset()
Unset sets the value to nil and resets the set flag.
type NullableAuditLogsSort ¶ added in v1.11.0
type NullableAuditLogsSort struct {
// contains filtered or unexported fields
}
NullableAuditLogsSort handles when a null is used for AuditLogsSort.
func NewNullableAuditLogsSort ¶ added in v1.11.0
func NewNullableAuditLogsSort(val *AuditLogsSort) *NullableAuditLogsSort
NewNullableAuditLogsSort initializes the struct as if Set has been called.
func (NullableAuditLogsSort) Get ¶ added in v1.11.0
func (v NullableAuditLogsSort) Get() *AuditLogsSort
Get returns the associated value.
func (NullableAuditLogsSort) IsSet ¶ added in v1.11.0
func (v NullableAuditLogsSort) IsSet() bool
IsSet returns whether Set has been called.
func (NullableAuditLogsSort) MarshalJSON ¶ added in v1.11.0
func (v NullableAuditLogsSort) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableAuditLogsSort) Set ¶ added in v1.11.0
func (v *NullableAuditLogsSort) Set(val *AuditLogsSort)
Set changes the value and indicates it's been called.
func (*NullableAuditLogsSort) UnmarshalJSON ¶ added in v1.11.0
func (v *NullableAuditLogsSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableAuditLogsSort) Unset ¶ added in v1.11.0
func (v *NullableAuditLogsSort) Unset()
Unset sets the value to nil and resets the set flag.
type NullableAuthNMappingIncluded ¶ added in v1.9.0
type NullableAuthNMappingIncluded struct {
// contains filtered or unexported fields
}
NullableAuthNMappingIncluded handles when a null is used for AuthNMappingIncluded.
func NewNullableAuthNMappingIncluded ¶ added in v1.9.0
func NewNullableAuthNMappingIncluded(val *AuthNMappingIncluded) *NullableAuthNMappingIncluded
NewNullableAuthNMappingIncluded initializes the struct as if Set has been called.
func (NullableAuthNMappingIncluded) Get ¶ added in v1.9.0
func (v NullableAuthNMappingIncluded) Get() *AuthNMappingIncluded
Get returns the associated value.
func (NullableAuthNMappingIncluded) IsSet ¶ added in v1.9.0
func (v NullableAuthNMappingIncluded) IsSet() bool
IsSet returns whether Set has been called.
func (NullableAuthNMappingIncluded) MarshalJSON ¶ added in v1.9.0
func (v NullableAuthNMappingIncluded) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableAuthNMappingIncluded) Set ¶ added in v1.9.0
func (v *NullableAuthNMappingIncluded) Set(val *AuthNMappingIncluded)
Set changes the value and indicates it's been called.
func (*NullableAuthNMappingIncluded) UnmarshalJSON ¶ added in v1.9.0
func (v *NullableAuthNMappingIncluded) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableAuthNMappingIncluded) Unset ¶ added in v1.9.0
func (v *NullableAuthNMappingIncluded) Unset()
Unset sets the value to nil and resets the set flag/
type NullableAuthNMappingsSort ¶ added in v1.9.0
type NullableAuthNMappingsSort struct {
// contains filtered or unexported fields
}
NullableAuthNMappingsSort handles when a null is used for AuthNMappingsSort.
func NewNullableAuthNMappingsSort ¶ added in v1.9.0
func NewNullableAuthNMappingsSort(val *AuthNMappingsSort) *NullableAuthNMappingsSort
NewNullableAuthNMappingsSort initializes the struct as if Set has been called.
func (NullableAuthNMappingsSort) Get ¶ added in v1.9.0
func (v NullableAuthNMappingsSort) Get() *AuthNMappingsSort
Get returns the associated value.
func (NullableAuthNMappingsSort) IsSet ¶ added in v1.9.0
func (v NullableAuthNMappingsSort) IsSet() bool
IsSet returns whether Set has been called.
func (NullableAuthNMappingsSort) MarshalJSON ¶ added in v1.9.0
func (v NullableAuthNMappingsSort) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableAuthNMappingsSort) Set ¶ added in v1.9.0
func (v *NullableAuthNMappingsSort) Set(val *AuthNMappingsSort)
Set changes the value and indicates it's been called.
func (*NullableAuthNMappingsSort) UnmarshalJSON ¶ added in v1.9.0
func (v *NullableAuthNMappingsSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableAuthNMappingsSort) Unset ¶ added in v1.9.0
func (v *NullableAuthNMappingsSort) Unset()
Unset sets the value to nil and resets the set flag.
type NullableAuthNMappingsType ¶ added in v1.9.0
type NullableAuthNMappingsType struct {
// contains filtered or unexported fields
}
NullableAuthNMappingsType handles when a null is used for AuthNMappingsType.
func NewNullableAuthNMappingsType ¶ added in v1.9.0
func NewNullableAuthNMappingsType(val *AuthNMappingsType) *NullableAuthNMappingsType
NewNullableAuthNMappingsType initializes the struct as if Set has been called.
func (NullableAuthNMappingsType) Get ¶ added in v1.9.0
func (v NullableAuthNMappingsType) Get() *AuthNMappingsType
Get returns the associated value.
func (NullableAuthNMappingsType) IsSet ¶ added in v1.9.0
func (v NullableAuthNMappingsType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableAuthNMappingsType) MarshalJSON ¶ added in v1.9.0
func (v NullableAuthNMappingsType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableAuthNMappingsType) Set ¶ added in v1.9.0
func (v *NullableAuthNMappingsType) Set(val *AuthNMappingsType)
Set changes the value and indicates it's been called.
func (*NullableAuthNMappingsType) UnmarshalJSON ¶ added in v1.9.0
func (v *NullableAuthNMappingsType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableAuthNMappingsType) Unset ¶ added in v1.9.0
func (v *NullableAuthNMappingsType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
NullableBool is a struct to hold a nullable boolean value.
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
NewNullableBool instantiates a new nullable bool.
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
Get returns the value associated with the nullable bool.
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
IsSet returns true if the value has been set.
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
Set sets the value associated with the nullable bool.
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes to the associated value.
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
Unset resets fields of the nullable bool.
type NullableCloudWorkloadSecurityAgentRuleType ¶ added in v1.8.0
type NullableCloudWorkloadSecurityAgentRuleType struct {
// contains filtered or unexported fields
}
NullableCloudWorkloadSecurityAgentRuleType handles when a null is used for CloudWorkloadSecurityAgentRuleType.
func NewNullableCloudWorkloadSecurityAgentRuleType ¶ added in v1.8.0
func NewNullableCloudWorkloadSecurityAgentRuleType(val *CloudWorkloadSecurityAgentRuleType) *NullableCloudWorkloadSecurityAgentRuleType
NewNullableCloudWorkloadSecurityAgentRuleType initializes the struct as if Set has been called.
func (NullableCloudWorkloadSecurityAgentRuleType) Get ¶ added in v1.8.0
Get returns the associated value.
func (NullableCloudWorkloadSecurityAgentRuleType) IsSet ¶ added in v1.8.0
func (v NullableCloudWorkloadSecurityAgentRuleType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableCloudWorkloadSecurityAgentRuleType) MarshalJSON ¶ added in v1.8.0
func (v NullableCloudWorkloadSecurityAgentRuleType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableCloudWorkloadSecurityAgentRuleType) Set ¶ added in v1.8.0
func (v *NullableCloudWorkloadSecurityAgentRuleType) Set(val *CloudWorkloadSecurityAgentRuleType)
Set changes the value and indicates it's been called.
func (*NullableCloudWorkloadSecurityAgentRuleType) UnmarshalJSON ¶ added in v1.8.0
func (v *NullableCloudWorkloadSecurityAgentRuleType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableCloudWorkloadSecurityAgentRuleType) Unset ¶ added in v1.8.0
func (v *NullableCloudWorkloadSecurityAgentRuleType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableContentEncoding ¶ added in v1.6.0
type NullableContentEncoding struct {
// contains filtered or unexported fields
}
NullableContentEncoding handles when a null is used for ContentEncoding.
func NewNullableContentEncoding ¶ added in v1.6.0
func NewNullableContentEncoding(val *ContentEncoding) *NullableContentEncoding
NewNullableContentEncoding initializes the struct as if Set has been called.
func (NullableContentEncoding) Get ¶ added in v1.6.0
func (v NullableContentEncoding) Get() *ContentEncoding
Get returns the associated value.
func (NullableContentEncoding) IsSet ¶ added in v1.6.0
func (v NullableContentEncoding) IsSet() bool
IsSet returns whether Set has been called.
func (NullableContentEncoding) MarshalJSON ¶ added in v1.6.0
func (v NullableContentEncoding) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableContentEncoding) Set ¶ added in v1.6.0
func (v *NullableContentEncoding) Set(val *ContentEncoding)
Set changes the value and indicates it's been called.
func (*NullableContentEncoding) UnmarshalJSON ¶ added in v1.6.0
func (v *NullableContentEncoding) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableContentEncoding) Unset ¶ added in v1.6.0
func (v *NullableContentEncoding) Unset()
Unset sets the value to nil and resets the set flag.
type NullableCostByOrgType ¶ added in v1.14.0
type NullableCostByOrgType struct {
// contains filtered or unexported fields
}
NullableCostByOrgType handles when a null is used for CostByOrgType.
func NewNullableCostByOrgType ¶ added in v1.14.0
func NewNullableCostByOrgType(val *CostByOrgType) *NullableCostByOrgType
NewNullableCostByOrgType initializes the struct as if Set has been called.
func (NullableCostByOrgType) Get ¶ added in v1.14.0
func (v NullableCostByOrgType) Get() *CostByOrgType
Get returns the associated value.
func (NullableCostByOrgType) IsSet ¶ added in v1.14.0
func (v NullableCostByOrgType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableCostByOrgType) MarshalJSON ¶ added in v1.14.0
func (v NullableCostByOrgType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableCostByOrgType) Set ¶ added in v1.14.0
func (v *NullableCostByOrgType) Set(val *CostByOrgType)
Set changes the value and indicates it's been called.
func (*NullableCostByOrgType) UnmarshalJSON ¶ added in v1.14.0
func (v *NullableCostByOrgType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableCostByOrgType) Unset ¶ added in v1.14.0
func (v *NullableCostByOrgType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableDashboardType ¶
type NullableDashboardType struct {
// contains filtered or unexported fields
}
NullableDashboardType handles when a null is used for DashboardType.
func NewNullableDashboardType ¶
func NewNullableDashboardType(val *DashboardType) *NullableDashboardType
NewNullableDashboardType initializes the struct as if Set has been called.
func (NullableDashboardType) Get ¶
func (v NullableDashboardType) Get() *DashboardType
Get returns the associated value.
func (NullableDashboardType) IsSet ¶
func (v NullableDashboardType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableDashboardType) MarshalJSON ¶
func (v NullableDashboardType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableDashboardType) Set ¶
func (v *NullableDashboardType) Set(val *DashboardType)
Set changes the value and indicates it's been called.
func (*NullableDashboardType) UnmarshalJSON ¶
func (v *NullableDashboardType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableDashboardType) Unset ¶
func (v *NullableDashboardType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
NullableFloat32 is a struct to hold a nullable float32 value.
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
NewNullableFloat32 instantiates a new nullable float32.
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
Get returns the value associated with the nullable float32.
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
IsSet returns true if the value has been set.
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
Set sets the value associated with the nullable float32.
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes to the associated value.
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
Unset resets fields of the nullable float32.
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
NullableFloat64 is a struct to hold a nullable float64 value.
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
NewNullableFloat64 instantiates a new nullable float64.
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
Get returns the value associated with the nullable float64.
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
IsSet returns true if the value has been set.
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
Set sets the value associated with the nullable float64.
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes to the associated value.
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
Unset resets fields of the nullable float64.
type NullableHourlyUsageType ¶ added in v1.14.0
type NullableHourlyUsageType struct {
// contains filtered or unexported fields
}
NullableHourlyUsageType handles when a null is used for HourlyUsageType.
func NewNullableHourlyUsageType ¶ added in v1.14.0
func NewNullableHourlyUsageType(val *HourlyUsageType) *NullableHourlyUsageType
NewNullableHourlyUsageType initializes the struct as if Set has been called.
func (NullableHourlyUsageType) Get ¶ added in v1.14.0
func (v NullableHourlyUsageType) Get() *HourlyUsageType
Get returns the associated value.
func (NullableHourlyUsageType) IsSet ¶ added in v1.14.0
func (v NullableHourlyUsageType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableHourlyUsageType) MarshalJSON ¶ added in v1.14.0
func (v NullableHourlyUsageType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableHourlyUsageType) Set ¶ added in v1.14.0
func (v *NullableHourlyUsageType) Set(val *HourlyUsageType)
Set changes the value and indicates it's been called.
func (*NullableHourlyUsageType) UnmarshalJSON ¶ added in v1.14.0
func (v *NullableHourlyUsageType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableHourlyUsageType) Unset ¶ added in v1.14.0
func (v *NullableHourlyUsageType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableIncidentFieldAttributes ¶
type NullableIncidentFieldAttributes struct {
// contains filtered or unexported fields
}
NullableIncidentFieldAttributes handles when a null is used for IncidentFieldAttributes.
func NewNullableIncidentFieldAttributes ¶
func NewNullableIncidentFieldAttributes(val *IncidentFieldAttributes) *NullableIncidentFieldAttributes
NewNullableIncidentFieldAttributes initializes the struct as if Set has been called.
func (NullableIncidentFieldAttributes) Get ¶
func (v NullableIncidentFieldAttributes) Get() *IncidentFieldAttributes
Get returns the associated value.
func (NullableIncidentFieldAttributes) IsSet ¶
func (v NullableIncidentFieldAttributes) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentFieldAttributes) MarshalJSON ¶
func (v NullableIncidentFieldAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentFieldAttributes) Set ¶
func (v *NullableIncidentFieldAttributes) Set(val *IncidentFieldAttributes)
Set changes the value and indicates it's been called.
func (*NullableIncidentFieldAttributes) UnmarshalJSON ¶
func (v *NullableIncidentFieldAttributes) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentFieldAttributes) Unset ¶
func (v *NullableIncidentFieldAttributes) Unset()
Unset sets the value to nil and resets the set flag/
type NullableIncidentFieldAttributesSingleValueType ¶
type NullableIncidentFieldAttributesSingleValueType struct {
// contains filtered or unexported fields
}
NullableIncidentFieldAttributesSingleValueType handles when a null is used for IncidentFieldAttributesSingleValueType.
func NewNullableIncidentFieldAttributesSingleValueType ¶
func NewNullableIncidentFieldAttributesSingleValueType(val *IncidentFieldAttributesSingleValueType) *NullableIncidentFieldAttributesSingleValueType
NewNullableIncidentFieldAttributesSingleValueType initializes the struct as if Set has been called.
func (NullableIncidentFieldAttributesSingleValueType) Get ¶
func (v NullableIncidentFieldAttributesSingleValueType) Get() *IncidentFieldAttributesSingleValueType
Get returns the associated value.
func (NullableIncidentFieldAttributesSingleValueType) IsSet ¶
func (v NullableIncidentFieldAttributesSingleValueType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentFieldAttributesSingleValueType) MarshalJSON ¶
func (v NullableIncidentFieldAttributesSingleValueType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentFieldAttributesSingleValueType) Set ¶
func (v *NullableIncidentFieldAttributesSingleValueType) Set(val *IncidentFieldAttributesSingleValueType)
Set changes the value and indicates it's been called.
func (*NullableIncidentFieldAttributesSingleValueType) UnmarshalJSON ¶
func (v *NullableIncidentFieldAttributesSingleValueType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentFieldAttributesSingleValueType) Unset ¶
func (v *NullableIncidentFieldAttributesSingleValueType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableIncidentFieldAttributesValueType ¶
type NullableIncidentFieldAttributesValueType struct {
// contains filtered or unexported fields
}
NullableIncidentFieldAttributesValueType handles when a null is used for IncidentFieldAttributesValueType.
func NewNullableIncidentFieldAttributesValueType ¶
func NewNullableIncidentFieldAttributesValueType(val *IncidentFieldAttributesValueType) *NullableIncidentFieldAttributesValueType
NewNullableIncidentFieldAttributesValueType initializes the struct as if Set has been called.
func (NullableIncidentFieldAttributesValueType) IsSet ¶
func (v NullableIncidentFieldAttributesValueType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentFieldAttributesValueType) MarshalJSON ¶
func (v NullableIncidentFieldAttributesValueType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentFieldAttributesValueType) Set ¶
func (v *NullableIncidentFieldAttributesValueType) Set(val *IncidentFieldAttributesValueType)
Set changes the value and indicates it's been called.
func (*NullableIncidentFieldAttributesValueType) UnmarshalJSON ¶
func (v *NullableIncidentFieldAttributesValueType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentFieldAttributesValueType) Unset ¶
func (v *NullableIncidentFieldAttributesValueType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableIncidentIntegrationMetadataType ¶
type NullableIncidentIntegrationMetadataType struct {
// contains filtered or unexported fields
}
NullableIncidentIntegrationMetadataType handles when a null is used for IncidentIntegrationMetadataType.
func NewNullableIncidentIntegrationMetadataType ¶
func NewNullableIncidentIntegrationMetadataType(val *IncidentIntegrationMetadataType) *NullableIncidentIntegrationMetadataType
NewNullableIncidentIntegrationMetadataType initializes the struct as if Set has been called.
func (NullableIncidentIntegrationMetadataType) IsSet ¶
func (v NullableIncidentIntegrationMetadataType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentIntegrationMetadataType) MarshalJSON ¶
func (v NullableIncidentIntegrationMetadataType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentIntegrationMetadataType) Set ¶
func (v *NullableIncidentIntegrationMetadataType) Set(val *IncidentIntegrationMetadataType)
Set changes the value and indicates it's been called.
func (*NullableIncidentIntegrationMetadataType) UnmarshalJSON ¶
func (v *NullableIncidentIntegrationMetadataType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentIntegrationMetadataType) Unset ¶
func (v *NullableIncidentIntegrationMetadataType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableIncidentPostmortemType ¶
type NullableIncidentPostmortemType struct {
// contains filtered or unexported fields
}
NullableIncidentPostmortemType handles when a null is used for IncidentPostmortemType.
func NewNullableIncidentPostmortemType ¶
func NewNullableIncidentPostmortemType(val *IncidentPostmortemType) *NullableIncidentPostmortemType
NewNullableIncidentPostmortemType initializes the struct as if Set has been called.
func (NullableIncidentPostmortemType) Get ¶
func (v NullableIncidentPostmortemType) Get() *IncidentPostmortemType
Get returns the associated value.
func (NullableIncidentPostmortemType) IsSet ¶
func (v NullableIncidentPostmortemType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentPostmortemType) MarshalJSON ¶
func (v NullableIncidentPostmortemType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentPostmortemType) Set ¶
func (v *NullableIncidentPostmortemType) Set(val *IncidentPostmortemType)
Set changes the value and indicates it's been called.
func (*NullableIncidentPostmortemType) UnmarshalJSON ¶
func (v *NullableIncidentPostmortemType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentPostmortemType) Unset ¶
func (v *NullableIncidentPostmortemType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableIncidentRelatedObject ¶
type NullableIncidentRelatedObject struct {
// contains filtered or unexported fields
}
NullableIncidentRelatedObject handles when a null is used for IncidentRelatedObject.
func NewNullableIncidentRelatedObject ¶
func NewNullableIncidentRelatedObject(val *IncidentRelatedObject) *NullableIncidentRelatedObject
NewNullableIncidentRelatedObject initializes the struct as if Set has been called.
func (NullableIncidentRelatedObject) Get ¶
func (v NullableIncidentRelatedObject) Get() *IncidentRelatedObject
Get returns the associated value.
func (NullableIncidentRelatedObject) IsSet ¶
func (v NullableIncidentRelatedObject) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentRelatedObject) MarshalJSON ¶
func (v NullableIncidentRelatedObject) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentRelatedObject) Set ¶
func (v *NullableIncidentRelatedObject) Set(val *IncidentRelatedObject)
Set changes the value and indicates it's been called.
func (*NullableIncidentRelatedObject) UnmarshalJSON ¶
func (v *NullableIncidentRelatedObject) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentRelatedObject) Unset ¶
func (v *NullableIncidentRelatedObject) Unset()
Unset sets the value to nil and resets the set flag.
type NullableIncidentResponseIncludedItem ¶
type NullableIncidentResponseIncludedItem struct {
// contains filtered or unexported fields
}
NullableIncidentResponseIncludedItem handles when a null is used for IncidentResponseIncludedItem.
func NewNullableIncidentResponseIncludedItem ¶
func NewNullableIncidentResponseIncludedItem(val *IncidentResponseIncludedItem) *NullableIncidentResponseIncludedItem
NewNullableIncidentResponseIncludedItem initializes the struct as if Set has been called.
func (NullableIncidentResponseIncludedItem) Get ¶
func (v NullableIncidentResponseIncludedItem) Get() *IncidentResponseIncludedItem
Get returns the associated value.
func (NullableIncidentResponseIncludedItem) IsSet ¶
func (v NullableIncidentResponseIncludedItem) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentResponseIncludedItem) MarshalJSON ¶
func (v NullableIncidentResponseIncludedItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentResponseIncludedItem) Set ¶
func (v *NullableIncidentResponseIncludedItem) Set(val *IncidentResponseIncludedItem)
Set changes the value and indicates it's been called.
func (*NullableIncidentResponseIncludedItem) UnmarshalJSON ¶
func (v *NullableIncidentResponseIncludedItem) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentResponseIncludedItem) Unset ¶
func (v *NullableIncidentResponseIncludedItem) Unset()
Unset sets the value to nil and resets the set flag/
type NullableIncidentServiceIncludedItems ¶
type NullableIncidentServiceIncludedItems struct {
// contains filtered or unexported fields
}
NullableIncidentServiceIncludedItems handles when a null is used for IncidentServiceIncludedItems.
func NewNullableIncidentServiceIncludedItems ¶
func NewNullableIncidentServiceIncludedItems(val *IncidentServiceIncludedItems) *NullableIncidentServiceIncludedItems
NewNullableIncidentServiceIncludedItems initializes the struct as if Set has been called.
func (NullableIncidentServiceIncludedItems) Get ¶
func (v NullableIncidentServiceIncludedItems) Get() *IncidentServiceIncludedItems
Get returns the associated value.
func (NullableIncidentServiceIncludedItems) IsSet ¶
func (v NullableIncidentServiceIncludedItems) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentServiceIncludedItems) MarshalJSON ¶
func (v NullableIncidentServiceIncludedItems) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentServiceIncludedItems) Set ¶
func (v *NullableIncidentServiceIncludedItems) Set(val *IncidentServiceIncludedItems)
Set changes the value and indicates it's been called.
func (*NullableIncidentServiceIncludedItems) UnmarshalJSON ¶
func (v *NullableIncidentServiceIncludedItems) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentServiceIncludedItems) Unset ¶
func (v *NullableIncidentServiceIncludedItems) Unset()
Unset sets the value to nil and resets the set flag/
type NullableIncidentServiceType ¶
type NullableIncidentServiceType struct {
// contains filtered or unexported fields
}
NullableIncidentServiceType handles when a null is used for IncidentServiceType.
func NewNullableIncidentServiceType ¶
func NewNullableIncidentServiceType(val *IncidentServiceType) *NullableIncidentServiceType
NewNullableIncidentServiceType initializes the struct as if Set has been called.
func (NullableIncidentServiceType) Get ¶
func (v NullableIncidentServiceType) Get() *IncidentServiceType
Get returns the associated value.
func (NullableIncidentServiceType) IsSet ¶
func (v NullableIncidentServiceType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentServiceType) MarshalJSON ¶
func (v NullableIncidentServiceType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentServiceType) Set ¶
func (v *NullableIncidentServiceType) Set(val *IncidentServiceType)
Set changes the value and indicates it's been called.
func (*NullableIncidentServiceType) UnmarshalJSON ¶
func (v *NullableIncidentServiceType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentServiceType) Unset ¶
func (v *NullableIncidentServiceType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableIncidentTeamIncludedItems ¶
type NullableIncidentTeamIncludedItems struct {
// contains filtered or unexported fields
}
NullableIncidentTeamIncludedItems handles when a null is used for IncidentTeamIncludedItems.
func NewNullableIncidentTeamIncludedItems ¶
func NewNullableIncidentTeamIncludedItems(val *IncidentTeamIncludedItems) *NullableIncidentTeamIncludedItems
NewNullableIncidentTeamIncludedItems initializes the struct as if Set has been called.
func (NullableIncidentTeamIncludedItems) Get ¶
func (v NullableIncidentTeamIncludedItems) Get() *IncidentTeamIncludedItems
Get returns the associated value.
func (NullableIncidentTeamIncludedItems) IsSet ¶
func (v NullableIncidentTeamIncludedItems) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentTeamIncludedItems) MarshalJSON ¶
func (v NullableIncidentTeamIncludedItems) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentTeamIncludedItems) Set ¶
func (v *NullableIncidentTeamIncludedItems) Set(val *IncidentTeamIncludedItems)
Set changes the value and indicates it's been called.
func (*NullableIncidentTeamIncludedItems) UnmarshalJSON ¶
func (v *NullableIncidentTeamIncludedItems) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentTeamIncludedItems) Unset ¶
func (v *NullableIncidentTeamIncludedItems) Unset()
Unset sets the value to nil and resets the set flag/
type NullableIncidentTeamType ¶
type NullableIncidentTeamType struct {
// contains filtered or unexported fields
}
NullableIncidentTeamType handles when a null is used for IncidentTeamType.
func NewNullableIncidentTeamType ¶
func NewNullableIncidentTeamType(val *IncidentTeamType) *NullableIncidentTeamType
NewNullableIncidentTeamType initializes the struct as if Set has been called.
func (NullableIncidentTeamType) Get ¶
func (v NullableIncidentTeamType) Get() *IncidentTeamType
Get returns the associated value.
func (NullableIncidentTeamType) IsSet ¶
func (v NullableIncidentTeamType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentTeamType) MarshalJSON ¶
func (v NullableIncidentTeamType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentTeamType) Set ¶
func (v *NullableIncidentTeamType) Set(val *IncidentTeamType)
Set changes the value and indicates it's been called.
func (*NullableIncidentTeamType) UnmarshalJSON ¶
func (v *NullableIncidentTeamType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentTeamType) Unset ¶
func (v *NullableIncidentTeamType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableIncidentTimelineCellCreateAttributes ¶
type NullableIncidentTimelineCellCreateAttributes struct {
// contains filtered or unexported fields
}
NullableIncidentTimelineCellCreateAttributes handles when a null is used for IncidentTimelineCellCreateAttributes.
func NewNullableIncidentTimelineCellCreateAttributes ¶
func NewNullableIncidentTimelineCellCreateAttributes(val *IncidentTimelineCellCreateAttributes) *NullableIncidentTimelineCellCreateAttributes
NewNullableIncidentTimelineCellCreateAttributes initializes the struct as if Set has been called.
func (NullableIncidentTimelineCellCreateAttributes) IsSet ¶
func (v NullableIncidentTimelineCellCreateAttributes) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentTimelineCellCreateAttributes) MarshalJSON ¶
func (v NullableIncidentTimelineCellCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentTimelineCellCreateAttributes) Set ¶
func (v *NullableIncidentTimelineCellCreateAttributes) Set(val *IncidentTimelineCellCreateAttributes)
Set changes the value and indicates it's been called.
func (*NullableIncidentTimelineCellCreateAttributes) UnmarshalJSON ¶
func (v *NullableIncidentTimelineCellCreateAttributes) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentTimelineCellCreateAttributes) Unset ¶
func (v *NullableIncidentTimelineCellCreateAttributes) Unset()
Unset sets the value to nil and resets the set flag/
type NullableIncidentTimelineCellMarkdownContentType ¶
type NullableIncidentTimelineCellMarkdownContentType struct {
// contains filtered or unexported fields
}
NullableIncidentTimelineCellMarkdownContentType handles when a null is used for IncidentTimelineCellMarkdownContentType.
func NewNullableIncidentTimelineCellMarkdownContentType ¶
func NewNullableIncidentTimelineCellMarkdownContentType(val *IncidentTimelineCellMarkdownContentType) *NullableIncidentTimelineCellMarkdownContentType
NewNullableIncidentTimelineCellMarkdownContentType initializes the struct as if Set has been called.
func (NullableIncidentTimelineCellMarkdownContentType) Get ¶
func (v NullableIncidentTimelineCellMarkdownContentType) Get() *IncidentTimelineCellMarkdownContentType
Get returns the associated value.
func (NullableIncidentTimelineCellMarkdownContentType) IsSet ¶
func (v NullableIncidentTimelineCellMarkdownContentType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentTimelineCellMarkdownContentType) MarshalJSON ¶
func (v NullableIncidentTimelineCellMarkdownContentType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentTimelineCellMarkdownContentType) Set ¶
func (v *NullableIncidentTimelineCellMarkdownContentType) Set(val *IncidentTimelineCellMarkdownContentType)
Set changes the value and indicates it's been called.
func (*NullableIncidentTimelineCellMarkdownContentType) UnmarshalJSON ¶
func (v *NullableIncidentTimelineCellMarkdownContentType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentTimelineCellMarkdownContentType) Unset ¶
func (v *NullableIncidentTimelineCellMarkdownContentType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableIncidentType ¶
type NullableIncidentType struct {
// contains filtered or unexported fields
}
NullableIncidentType handles when a null is used for IncidentType.
func NewNullableIncidentType ¶
func NewNullableIncidentType(val *IncidentType) *NullableIncidentType
NewNullableIncidentType initializes the struct as if Set has been called.
func (NullableIncidentType) Get ¶
func (v NullableIncidentType) Get() *IncidentType
Get returns the associated value.
func (NullableIncidentType) IsSet ¶
func (v NullableIncidentType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableIncidentType) MarshalJSON ¶
func (v NullableIncidentType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableIncidentType) Set ¶
func (v *NullableIncidentType) Set(val *IncidentType)
Set changes the value and indicates it's been called.
func (*NullableIncidentType) UnmarshalJSON ¶
func (v *NullableIncidentType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableIncidentType) Unset ¶
func (v *NullableIncidentType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
NullableInt is a struct to hold a nullable int value.
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
NewNullableInt instantiates a new nullable int.
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
Get returns the value associated with the nullable int.
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
IsSet returns true if the value has been set.
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
Set sets the value associated with the nullable int.
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes to the associated value.
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
NullableInt32 is a struct to hold a nullable int32 value.
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
NewNullableInt32 instantiates a new nullable int32.
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
Get returns the value associated with the nullable int32.
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
IsSet returns true if the value has been set.
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
Set sets the value associated with the nullable int32.
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes to the associated value.
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
Unset resets fields of the nullable int32.
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
NullableInt64 is a struct to hold a nullable int64 value.
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
NewNullableInt64 instantiates a new nullable int64.
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
Get returns the value associated with the nullable int64.
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
IsSet returns true if the value has been set.
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
Set sets the value associated with the nullable int64.
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes to the associated value.
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
Unset resets fields of the nullable int64.
type NullableLogType ¶
type NullableLogType struct {
// contains filtered or unexported fields
}
NullableLogType handles when a null is used for LogType.
func NewNullableLogType ¶
func NewNullableLogType(val *LogType) *NullableLogType
NewNullableLogType initializes the struct as if Set has been called.
func (NullableLogType) Get ¶
func (v NullableLogType) Get() *LogType
Get returns the associated value.
func (NullableLogType) IsSet ¶
func (v NullableLogType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogType) MarshalJSON ¶
func (v NullableLogType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogType) Set ¶
func (v *NullableLogType) Set(val *LogType)
Set changes the value and indicates it's been called.
func (*NullableLogType) UnmarshalJSON ¶
func (v *NullableLogType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogType) Unset ¶
func (v *NullableLogType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsAggregateBucketValue ¶
type NullableLogsAggregateBucketValue struct {
// contains filtered or unexported fields
}
NullableLogsAggregateBucketValue handles when a null is used for LogsAggregateBucketValue.
func NewNullableLogsAggregateBucketValue ¶
func NewNullableLogsAggregateBucketValue(val *LogsAggregateBucketValue) *NullableLogsAggregateBucketValue
NewNullableLogsAggregateBucketValue initializes the struct as if Set has been called.
func (NullableLogsAggregateBucketValue) Get ¶
func (v NullableLogsAggregateBucketValue) Get() *LogsAggregateBucketValue
Get returns the associated value.
func (NullableLogsAggregateBucketValue) IsSet ¶
func (v NullableLogsAggregateBucketValue) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsAggregateBucketValue) MarshalJSON ¶
func (v NullableLogsAggregateBucketValue) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsAggregateBucketValue) Set ¶
func (v *NullableLogsAggregateBucketValue) Set(val *LogsAggregateBucketValue)
Set changes the value and indicates it's been called.
func (*NullableLogsAggregateBucketValue) UnmarshalJSON ¶
func (v *NullableLogsAggregateBucketValue) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsAggregateBucketValue) Unset ¶
func (v *NullableLogsAggregateBucketValue) Unset()
Unset sets the value to nil and resets the set flag/
type NullableLogsAggregateResponseStatus ¶
type NullableLogsAggregateResponseStatus struct {
// contains filtered or unexported fields
}
NullableLogsAggregateResponseStatus handles when a null is used for LogsAggregateResponseStatus.
func NewNullableLogsAggregateResponseStatus ¶
func NewNullableLogsAggregateResponseStatus(val *LogsAggregateResponseStatus) *NullableLogsAggregateResponseStatus
NewNullableLogsAggregateResponseStatus initializes the struct as if Set has been called.
func (NullableLogsAggregateResponseStatus) Get ¶
func (v NullableLogsAggregateResponseStatus) Get() *LogsAggregateResponseStatus
Get returns the associated value.
func (NullableLogsAggregateResponseStatus) IsSet ¶
func (v NullableLogsAggregateResponseStatus) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsAggregateResponseStatus) MarshalJSON ¶
func (v NullableLogsAggregateResponseStatus) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsAggregateResponseStatus) Set ¶
func (v *NullableLogsAggregateResponseStatus) Set(val *LogsAggregateResponseStatus)
Set changes the value and indicates it's been called.
func (*NullableLogsAggregateResponseStatus) UnmarshalJSON ¶
func (v *NullableLogsAggregateResponseStatus) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsAggregateResponseStatus) Unset ¶
func (v *NullableLogsAggregateResponseStatus) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsAggregateSortType ¶
type NullableLogsAggregateSortType struct {
// contains filtered or unexported fields
}
NullableLogsAggregateSortType handles when a null is used for LogsAggregateSortType.
func NewNullableLogsAggregateSortType ¶
func NewNullableLogsAggregateSortType(val *LogsAggregateSortType) *NullableLogsAggregateSortType
NewNullableLogsAggregateSortType initializes the struct as if Set has been called.
func (NullableLogsAggregateSortType) Get ¶
func (v NullableLogsAggregateSortType) Get() *LogsAggregateSortType
Get returns the associated value.
func (NullableLogsAggregateSortType) IsSet ¶
func (v NullableLogsAggregateSortType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsAggregateSortType) MarshalJSON ¶
func (v NullableLogsAggregateSortType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsAggregateSortType) Set ¶
func (v *NullableLogsAggregateSortType) Set(val *LogsAggregateSortType)
Set changes the value and indicates it's been called.
func (*NullableLogsAggregateSortType) UnmarshalJSON ¶
func (v *NullableLogsAggregateSortType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsAggregateSortType) Unset ¶
func (v *NullableLogsAggregateSortType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsAggregationFunction ¶
type NullableLogsAggregationFunction struct {
// contains filtered or unexported fields
}
NullableLogsAggregationFunction handles when a null is used for LogsAggregationFunction.
func NewNullableLogsAggregationFunction ¶
func NewNullableLogsAggregationFunction(val *LogsAggregationFunction) *NullableLogsAggregationFunction
NewNullableLogsAggregationFunction initializes the struct as if Set has been called.
func (NullableLogsAggregationFunction) Get ¶
func (v NullableLogsAggregationFunction) Get() *LogsAggregationFunction
Get returns the associated value.
func (NullableLogsAggregationFunction) IsSet ¶
func (v NullableLogsAggregationFunction) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsAggregationFunction) MarshalJSON ¶
func (v NullableLogsAggregationFunction) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsAggregationFunction) Set ¶
func (v *NullableLogsAggregationFunction) Set(val *LogsAggregationFunction)
Set changes the value and indicates it's been called.
func (*NullableLogsAggregationFunction) UnmarshalJSON ¶
func (v *NullableLogsAggregationFunction) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsAggregationFunction) Unset ¶
func (v *NullableLogsAggregationFunction) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsArchiveCreateRequestDestination ¶
type NullableLogsArchiveCreateRequestDestination struct {
// contains filtered or unexported fields
}
NullableLogsArchiveCreateRequestDestination handles when a null is used for LogsArchiveCreateRequestDestination.
func NewNullableLogsArchiveCreateRequestDestination ¶
func NewNullableLogsArchiveCreateRequestDestination(val *LogsArchiveCreateRequestDestination) *NullableLogsArchiveCreateRequestDestination
NewNullableLogsArchiveCreateRequestDestination initializes the struct as if Set has been called.
func (NullableLogsArchiveCreateRequestDestination) IsSet ¶
func (v NullableLogsArchiveCreateRequestDestination) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsArchiveCreateRequestDestination) MarshalJSON ¶
func (v NullableLogsArchiveCreateRequestDestination) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsArchiveCreateRequestDestination) Set ¶
func (v *NullableLogsArchiveCreateRequestDestination) Set(val *LogsArchiveCreateRequestDestination)
Set changes the value and indicates it's been called.
func (*NullableLogsArchiveCreateRequestDestination) UnmarshalJSON ¶
func (v *NullableLogsArchiveCreateRequestDestination) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsArchiveCreateRequestDestination) Unset ¶
func (v *NullableLogsArchiveCreateRequestDestination) Unset()
Unset sets the value to nil and resets the set flag/
type NullableLogsArchiveDestination ¶
type NullableLogsArchiveDestination struct {
// contains filtered or unexported fields
}
NullableLogsArchiveDestination handles when a null is used for LogsArchiveDestination.
func NewNullableLogsArchiveDestination ¶
func NewNullableLogsArchiveDestination(val *LogsArchiveDestination) *NullableLogsArchiveDestination
NewNullableLogsArchiveDestination initializes the struct as if Set has been called.
func (NullableLogsArchiveDestination) Get ¶
func (v NullableLogsArchiveDestination) Get() *LogsArchiveDestination
Get returns the associated value.
func (NullableLogsArchiveDestination) IsSet ¶
func (v NullableLogsArchiveDestination) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsArchiveDestination) MarshalJSON ¶
func (v NullableLogsArchiveDestination) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsArchiveDestination) Set ¶
func (v *NullableLogsArchiveDestination) Set(val *LogsArchiveDestination)
Set changes the value and indicates it's been called.
func (*NullableLogsArchiveDestination) UnmarshalJSON ¶
func (v *NullableLogsArchiveDestination) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsArchiveDestination) Unset ¶
func (v *NullableLogsArchiveDestination) Unset()
Unset sets the value to nil and resets the set flag/
type NullableLogsArchiveDestinationAzureType ¶
type NullableLogsArchiveDestinationAzureType struct {
// contains filtered or unexported fields
}
NullableLogsArchiveDestinationAzureType handles when a null is used for LogsArchiveDestinationAzureType.
func NewNullableLogsArchiveDestinationAzureType ¶
func NewNullableLogsArchiveDestinationAzureType(val *LogsArchiveDestinationAzureType) *NullableLogsArchiveDestinationAzureType
NewNullableLogsArchiveDestinationAzureType initializes the struct as if Set has been called.
func (NullableLogsArchiveDestinationAzureType) IsSet ¶
func (v NullableLogsArchiveDestinationAzureType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsArchiveDestinationAzureType) MarshalJSON ¶
func (v NullableLogsArchiveDestinationAzureType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsArchiveDestinationAzureType) Set ¶
func (v *NullableLogsArchiveDestinationAzureType) Set(val *LogsArchiveDestinationAzureType)
Set changes the value and indicates it's been called.
func (*NullableLogsArchiveDestinationAzureType) UnmarshalJSON ¶
func (v *NullableLogsArchiveDestinationAzureType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsArchiveDestinationAzureType) Unset ¶
func (v *NullableLogsArchiveDestinationAzureType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsArchiveDestinationGCSType ¶
type NullableLogsArchiveDestinationGCSType struct {
// contains filtered or unexported fields
}
NullableLogsArchiveDestinationGCSType handles when a null is used for LogsArchiveDestinationGCSType.
func NewNullableLogsArchiveDestinationGCSType ¶
func NewNullableLogsArchiveDestinationGCSType(val *LogsArchiveDestinationGCSType) *NullableLogsArchiveDestinationGCSType
NewNullableLogsArchiveDestinationGCSType initializes the struct as if Set has been called.
func (NullableLogsArchiveDestinationGCSType) Get ¶
func (v NullableLogsArchiveDestinationGCSType) Get() *LogsArchiveDestinationGCSType
Get returns the associated value.
func (NullableLogsArchiveDestinationGCSType) IsSet ¶
func (v NullableLogsArchiveDestinationGCSType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsArchiveDestinationGCSType) MarshalJSON ¶
func (v NullableLogsArchiveDestinationGCSType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsArchiveDestinationGCSType) Set ¶
func (v *NullableLogsArchiveDestinationGCSType) Set(val *LogsArchiveDestinationGCSType)
Set changes the value and indicates it's been called.
func (*NullableLogsArchiveDestinationGCSType) UnmarshalJSON ¶
func (v *NullableLogsArchiveDestinationGCSType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsArchiveDestinationGCSType) Unset ¶
func (v *NullableLogsArchiveDestinationGCSType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsArchiveDestinationS3Type ¶
type NullableLogsArchiveDestinationS3Type struct {
// contains filtered or unexported fields
}
NullableLogsArchiveDestinationS3Type handles when a null is used for LogsArchiveDestinationS3Type.
func NewNullableLogsArchiveDestinationS3Type ¶
func NewNullableLogsArchiveDestinationS3Type(val *LogsArchiveDestinationS3Type) *NullableLogsArchiveDestinationS3Type
NewNullableLogsArchiveDestinationS3Type initializes the struct as if Set has been called.
func (NullableLogsArchiveDestinationS3Type) Get ¶
func (v NullableLogsArchiveDestinationS3Type) Get() *LogsArchiveDestinationS3Type
Get returns the associated value.
func (NullableLogsArchiveDestinationS3Type) IsSet ¶
func (v NullableLogsArchiveDestinationS3Type) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsArchiveDestinationS3Type) MarshalJSON ¶
func (v NullableLogsArchiveDestinationS3Type) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsArchiveDestinationS3Type) Set ¶
func (v *NullableLogsArchiveDestinationS3Type) Set(val *LogsArchiveDestinationS3Type)
Set changes the value and indicates it's been called.
func (*NullableLogsArchiveDestinationS3Type) UnmarshalJSON ¶
func (v *NullableLogsArchiveDestinationS3Type) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsArchiveDestinationS3Type) Unset ¶
func (v *NullableLogsArchiveDestinationS3Type) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsArchiveOrderDefinitionType ¶
type NullableLogsArchiveOrderDefinitionType struct {
// contains filtered or unexported fields
}
NullableLogsArchiveOrderDefinitionType handles when a null is used for LogsArchiveOrderDefinitionType.
func NewNullableLogsArchiveOrderDefinitionType ¶
func NewNullableLogsArchiveOrderDefinitionType(val *LogsArchiveOrderDefinitionType) *NullableLogsArchiveOrderDefinitionType
NewNullableLogsArchiveOrderDefinitionType initializes the struct as if Set has been called.
func (NullableLogsArchiveOrderDefinitionType) Get ¶
func (v NullableLogsArchiveOrderDefinitionType) Get() *LogsArchiveOrderDefinitionType
Get returns the associated value.
func (NullableLogsArchiveOrderDefinitionType) IsSet ¶
func (v NullableLogsArchiveOrderDefinitionType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsArchiveOrderDefinitionType) MarshalJSON ¶
func (v NullableLogsArchiveOrderDefinitionType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsArchiveOrderDefinitionType) Set ¶
func (v *NullableLogsArchiveOrderDefinitionType) Set(val *LogsArchiveOrderDefinitionType)
Set changes the value and indicates it's been called.
func (*NullableLogsArchiveOrderDefinitionType) UnmarshalJSON ¶
func (v *NullableLogsArchiveOrderDefinitionType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsArchiveOrderDefinitionType) Unset ¶
func (v *NullableLogsArchiveOrderDefinitionType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsArchiveState ¶
type NullableLogsArchiveState struct {
// contains filtered or unexported fields
}
NullableLogsArchiveState handles when a null is used for LogsArchiveState.
func NewNullableLogsArchiveState ¶
func NewNullableLogsArchiveState(val *LogsArchiveState) *NullableLogsArchiveState
NewNullableLogsArchiveState initializes the struct as if Set has been called.
func (NullableLogsArchiveState) Get ¶
func (v NullableLogsArchiveState) Get() *LogsArchiveState
Get returns the associated value.
func (NullableLogsArchiveState) IsSet ¶
func (v NullableLogsArchiveState) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsArchiveState) MarshalJSON ¶
func (v NullableLogsArchiveState) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsArchiveState) Set ¶
func (v *NullableLogsArchiveState) Set(val *LogsArchiveState)
Set changes the value and indicates it's been called.
func (*NullableLogsArchiveState) UnmarshalJSON ¶
func (v *NullableLogsArchiveState) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsArchiveState) Unset ¶
func (v *NullableLogsArchiveState) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsComputeType ¶
type NullableLogsComputeType struct {
// contains filtered or unexported fields
}
NullableLogsComputeType handles when a null is used for LogsComputeType.
func NewNullableLogsComputeType ¶
func NewNullableLogsComputeType(val *LogsComputeType) *NullableLogsComputeType
NewNullableLogsComputeType initializes the struct as if Set has been called.
func (NullableLogsComputeType) Get ¶
func (v NullableLogsComputeType) Get() *LogsComputeType
Get returns the associated value.
func (NullableLogsComputeType) IsSet ¶
func (v NullableLogsComputeType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsComputeType) MarshalJSON ¶
func (v NullableLogsComputeType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsComputeType) Set ¶
func (v *NullableLogsComputeType) Set(val *LogsComputeType)
Set changes the value and indicates it's been called.
func (*NullableLogsComputeType) UnmarshalJSON ¶
func (v *NullableLogsComputeType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsComputeType) Unset ¶
func (v *NullableLogsComputeType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsGroupByMissing ¶
type NullableLogsGroupByMissing struct {
// contains filtered or unexported fields
}
NullableLogsGroupByMissing handles when a null is used for LogsGroupByMissing.
func NewNullableLogsGroupByMissing ¶
func NewNullableLogsGroupByMissing(val *LogsGroupByMissing) *NullableLogsGroupByMissing
NewNullableLogsGroupByMissing initializes the struct as if Set has been called.
func (NullableLogsGroupByMissing) Get ¶
func (v NullableLogsGroupByMissing) Get() *LogsGroupByMissing
Get returns the associated value.
func (NullableLogsGroupByMissing) IsSet ¶
func (v NullableLogsGroupByMissing) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsGroupByMissing) MarshalJSON ¶
func (v NullableLogsGroupByMissing) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsGroupByMissing) Set ¶
func (v *NullableLogsGroupByMissing) Set(val *LogsGroupByMissing)
Set changes the value and indicates it's been called.
func (*NullableLogsGroupByMissing) UnmarshalJSON ¶
func (v *NullableLogsGroupByMissing) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsGroupByMissing) Unset ¶
func (v *NullableLogsGroupByMissing) Unset()
Unset sets the value to nil and resets the set flag/
type NullableLogsGroupByTotal ¶
type NullableLogsGroupByTotal struct {
// contains filtered or unexported fields
}
NullableLogsGroupByTotal handles when a null is used for LogsGroupByTotal.
func NewNullableLogsGroupByTotal ¶
func NewNullableLogsGroupByTotal(val *LogsGroupByTotal) *NullableLogsGroupByTotal
NewNullableLogsGroupByTotal initializes the struct as if Set has been called.
func (NullableLogsGroupByTotal) Get ¶
func (v NullableLogsGroupByTotal) Get() *LogsGroupByTotal
Get returns the associated value.
func (NullableLogsGroupByTotal) IsSet ¶
func (v NullableLogsGroupByTotal) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsGroupByTotal) MarshalJSON ¶
func (v NullableLogsGroupByTotal) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsGroupByTotal) Set ¶
func (v *NullableLogsGroupByTotal) Set(val *LogsGroupByTotal)
Set changes the value and indicates it's been called.
func (*NullableLogsGroupByTotal) UnmarshalJSON ¶
func (v *NullableLogsGroupByTotal) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsGroupByTotal) Unset ¶
func (v *NullableLogsGroupByTotal) Unset()
Unset sets the value to nil and resets the set flag/
type NullableLogsMetricComputeAggregationType ¶
type NullableLogsMetricComputeAggregationType struct {
// contains filtered or unexported fields
}
NullableLogsMetricComputeAggregationType handles when a null is used for LogsMetricComputeAggregationType.
func NewNullableLogsMetricComputeAggregationType ¶
func NewNullableLogsMetricComputeAggregationType(val *LogsMetricComputeAggregationType) *NullableLogsMetricComputeAggregationType
NewNullableLogsMetricComputeAggregationType initializes the struct as if Set has been called.
func (NullableLogsMetricComputeAggregationType) IsSet ¶
func (v NullableLogsMetricComputeAggregationType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsMetricComputeAggregationType) MarshalJSON ¶
func (v NullableLogsMetricComputeAggregationType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsMetricComputeAggregationType) Set ¶
func (v *NullableLogsMetricComputeAggregationType) Set(val *LogsMetricComputeAggregationType)
Set changes the value and indicates it's been called.
func (*NullableLogsMetricComputeAggregationType) UnmarshalJSON ¶
func (v *NullableLogsMetricComputeAggregationType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsMetricComputeAggregationType) Unset ¶
func (v *NullableLogsMetricComputeAggregationType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsMetricResponseComputeAggregationType ¶
type NullableLogsMetricResponseComputeAggregationType struct {
// contains filtered or unexported fields
}
NullableLogsMetricResponseComputeAggregationType handles when a null is used for LogsMetricResponseComputeAggregationType.
func NewNullableLogsMetricResponseComputeAggregationType ¶
func NewNullableLogsMetricResponseComputeAggregationType(val *LogsMetricResponseComputeAggregationType) *NullableLogsMetricResponseComputeAggregationType
NewNullableLogsMetricResponseComputeAggregationType initializes the struct as if Set has been called.
func (NullableLogsMetricResponseComputeAggregationType) Get ¶
func (v NullableLogsMetricResponseComputeAggregationType) Get() *LogsMetricResponseComputeAggregationType
Get returns the associated value.
func (NullableLogsMetricResponseComputeAggregationType) IsSet ¶
func (v NullableLogsMetricResponseComputeAggregationType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsMetricResponseComputeAggregationType) MarshalJSON ¶
func (v NullableLogsMetricResponseComputeAggregationType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsMetricResponseComputeAggregationType) Set ¶
func (v *NullableLogsMetricResponseComputeAggregationType) Set(val *LogsMetricResponseComputeAggregationType)
Set changes the value and indicates it's been called.
func (*NullableLogsMetricResponseComputeAggregationType) UnmarshalJSON ¶
func (v *NullableLogsMetricResponseComputeAggregationType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsMetricResponseComputeAggregationType) Unset ¶
func (v *NullableLogsMetricResponseComputeAggregationType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsMetricType ¶
type NullableLogsMetricType struct {
// contains filtered or unexported fields
}
NullableLogsMetricType handles when a null is used for LogsMetricType.
func NewNullableLogsMetricType ¶
func NewNullableLogsMetricType(val *LogsMetricType) *NullableLogsMetricType
NewNullableLogsMetricType initializes the struct as if Set has been called.
func (NullableLogsMetricType) Get ¶
func (v NullableLogsMetricType) Get() *LogsMetricType
Get returns the associated value.
func (NullableLogsMetricType) IsSet ¶
func (v NullableLogsMetricType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsMetricType) MarshalJSON ¶
func (v NullableLogsMetricType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsMetricType) Set ¶
func (v *NullableLogsMetricType) Set(val *LogsMetricType)
Set changes the value and indicates it's been called.
func (*NullableLogsMetricType) UnmarshalJSON ¶
func (v *NullableLogsMetricType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsMetricType) Unset ¶
func (v *NullableLogsMetricType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsSort ¶
type NullableLogsSort struct {
// contains filtered or unexported fields
}
NullableLogsSort handles when a null is used for LogsSort.
func NewNullableLogsSort ¶
func NewNullableLogsSort(val *LogsSort) *NullableLogsSort
NewNullableLogsSort initializes the struct as if Set has been called.
func (NullableLogsSort) Get ¶
func (v NullableLogsSort) Get() *LogsSort
Get returns the associated value.
func (NullableLogsSort) IsSet ¶
func (v NullableLogsSort) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsSort) MarshalJSON ¶
func (v NullableLogsSort) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsSort) Set ¶
func (v *NullableLogsSort) Set(val *LogsSort)
Set changes the value and indicates it's been called.
func (*NullableLogsSort) UnmarshalJSON ¶
func (v *NullableLogsSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsSort) Unset ¶
func (v *NullableLogsSort) Unset()
Unset sets the value to nil and resets the set flag.
type NullableLogsSortOrder ¶
type NullableLogsSortOrder struct {
// contains filtered or unexported fields
}
NullableLogsSortOrder handles when a null is used for LogsSortOrder.
func NewNullableLogsSortOrder ¶
func NewNullableLogsSortOrder(val *LogsSortOrder) *NullableLogsSortOrder
NewNullableLogsSortOrder initializes the struct as if Set has been called.
func (NullableLogsSortOrder) Get ¶
func (v NullableLogsSortOrder) Get() *LogsSortOrder
Get returns the associated value.
func (NullableLogsSortOrder) IsSet ¶
func (v NullableLogsSortOrder) IsSet() bool
IsSet returns whether Set has been called.
func (NullableLogsSortOrder) MarshalJSON ¶
func (v NullableLogsSortOrder) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableLogsSortOrder) Set ¶
func (v *NullableLogsSortOrder) Set(val *LogsSortOrder)
Set changes the value and indicates it's been called.
func (*NullableLogsSortOrder) UnmarshalJSON ¶
func (v *NullableLogsSortOrder) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableLogsSortOrder) Unset ¶
func (v *NullableLogsSortOrder) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricBulkConfigureTagsType ¶ added in v1.9.0
type NullableMetricBulkConfigureTagsType struct {
// contains filtered or unexported fields
}
NullableMetricBulkConfigureTagsType handles when a null is used for MetricBulkConfigureTagsType.
func NewNullableMetricBulkConfigureTagsType ¶ added in v1.9.0
func NewNullableMetricBulkConfigureTagsType(val *MetricBulkConfigureTagsType) *NullableMetricBulkConfigureTagsType
NewNullableMetricBulkConfigureTagsType initializes the struct as if Set has been called.
func (NullableMetricBulkConfigureTagsType) Get ¶ added in v1.9.0
func (v NullableMetricBulkConfigureTagsType) Get() *MetricBulkConfigureTagsType
Get returns the associated value.
func (NullableMetricBulkConfigureTagsType) IsSet ¶ added in v1.9.0
func (v NullableMetricBulkConfigureTagsType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricBulkConfigureTagsType) MarshalJSON ¶ added in v1.9.0
func (v NullableMetricBulkConfigureTagsType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricBulkConfigureTagsType) Set ¶ added in v1.9.0
func (v *NullableMetricBulkConfigureTagsType) Set(val *MetricBulkConfigureTagsType)
Set changes the value and indicates it's been called.
func (*NullableMetricBulkConfigureTagsType) UnmarshalJSON ¶ added in v1.9.0
func (v *NullableMetricBulkConfigureTagsType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricBulkConfigureTagsType) Unset ¶ added in v1.9.0
func (v *NullableMetricBulkConfigureTagsType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricContentEncoding ¶ added in v1.14.0
type NullableMetricContentEncoding struct {
// contains filtered or unexported fields
}
NullableMetricContentEncoding handles when a null is used for MetricContentEncoding.
func NewNullableMetricContentEncoding ¶ added in v1.14.0
func NewNullableMetricContentEncoding(val *MetricContentEncoding) *NullableMetricContentEncoding
NewNullableMetricContentEncoding initializes the struct as if Set has been called.
func (NullableMetricContentEncoding) Get ¶ added in v1.14.0
func (v NullableMetricContentEncoding) Get() *MetricContentEncoding
Get returns the associated value.
func (NullableMetricContentEncoding) IsSet ¶ added in v1.14.0
func (v NullableMetricContentEncoding) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricContentEncoding) MarshalJSON ¶ added in v1.14.0
func (v NullableMetricContentEncoding) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricContentEncoding) Set ¶ added in v1.14.0
func (v *NullableMetricContentEncoding) Set(val *MetricContentEncoding)
Set changes the value and indicates it's been called.
func (*NullableMetricContentEncoding) UnmarshalJSON ¶ added in v1.14.0
func (v *NullableMetricContentEncoding) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricContentEncoding) Unset ¶ added in v1.14.0
func (v *NullableMetricContentEncoding) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricCustomSpaceAggregation ¶ added in v1.6.0
type NullableMetricCustomSpaceAggregation struct {
// contains filtered or unexported fields
}
NullableMetricCustomSpaceAggregation handles when a null is used for MetricCustomSpaceAggregation.
func NewNullableMetricCustomSpaceAggregation ¶ added in v1.6.0
func NewNullableMetricCustomSpaceAggregation(val *MetricCustomSpaceAggregation) *NullableMetricCustomSpaceAggregation
NewNullableMetricCustomSpaceAggregation initializes the struct as if Set has been called.
func (NullableMetricCustomSpaceAggregation) Get ¶ added in v1.6.0
func (v NullableMetricCustomSpaceAggregation) Get() *MetricCustomSpaceAggregation
Get returns the associated value.
func (NullableMetricCustomSpaceAggregation) IsSet ¶ added in v1.6.0
func (v NullableMetricCustomSpaceAggregation) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricCustomSpaceAggregation) MarshalJSON ¶ added in v1.6.0
func (v NullableMetricCustomSpaceAggregation) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricCustomSpaceAggregation) Set ¶ added in v1.6.0
func (v *NullableMetricCustomSpaceAggregation) Set(val *MetricCustomSpaceAggregation)
Set changes the value and indicates it's been called.
func (*NullableMetricCustomSpaceAggregation) UnmarshalJSON ¶ added in v1.6.0
func (v *NullableMetricCustomSpaceAggregation) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricCustomSpaceAggregation) Unset ¶ added in v1.6.0
func (v *NullableMetricCustomSpaceAggregation) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricCustomTimeAggregation ¶ added in v1.6.0
type NullableMetricCustomTimeAggregation struct {
// contains filtered or unexported fields
}
NullableMetricCustomTimeAggregation handles when a null is used for MetricCustomTimeAggregation.
func NewNullableMetricCustomTimeAggregation ¶ added in v1.6.0
func NewNullableMetricCustomTimeAggregation(val *MetricCustomTimeAggregation) *NullableMetricCustomTimeAggregation
NewNullableMetricCustomTimeAggregation initializes the struct as if Set has been called.
func (NullableMetricCustomTimeAggregation) Get ¶ added in v1.6.0
func (v NullableMetricCustomTimeAggregation) Get() *MetricCustomTimeAggregation
Get returns the associated value.
func (NullableMetricCustomTimeAggregation) IsSet ¶ added in v1.6.0
func (v NullableMetricCustomTimeAggregation) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricCustomTimeAggregation) MarshalJSON ¶ added in v1.6.0
func (v NullableMetricCustomTimeAggregation) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricCustomTimeAggregation) Set ¶ added in v1.6.0
func (v *NullableMetricCustomTimeAggregation) Set(val *MetricCustomTimeAggregation)
Set changes the value and indicates it's been called.
func (*NullableMetricCustomTimeAggregation) UnmarshalJSON ¶ added in v1.6.0
func (v *NullableMetricCustomTimeAggregation) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricCustomTimeAggregation) Unset ¶ added in v1.6.0
func (v *NullableMetricCustomTimeAggregation) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricDistinctVolumeType ¶
type NullableMetricDistinctVolumeType struct {
// contains filtered or unexported fields
}
NullableMetricDistinctVolumeType handles when a null is used for MetricDistinctVolumeType.
func NewNullableMetricDistinctVolumeType ¶
func NewNullableMetricDistinctVolumeType(val *MetricDistinctVolumeType) *NullableMetricDistinctVolumeType
NewNullableMetricDistinctVolumeType initializes the struct as if Set has been called.
func (NullableMetricDistinctVolumeType) Get ¶
func (v NullableMetricDistinctVolumeType) Get() *MetricDistinctVolumeType
Get returns the associated value.
func (NullableMetricDistinctVolumeType) IsSet ¶
func (v NullableMetricDistinctVolumeType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricDistinctVolumeType) MarshalJSON ¶
func (v NullableMetricDistinctVolumeType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricDistinctVolumeType) Set ¶
func (v *NullableMetricDistinctVolumeType) Set(val *MetricDistinctVolumeType)
Set changes the value and indicates it's been called.
func (*NullableMetricDistinctVolumeType) UnmarshalJSON ¶
func (v *NullableMetricDistinctVolumeType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricDistinctVolumeType) Unset ¶
func (v *NullableMetricDistinctVolumeType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricEstimateResourceType ¶ added in v1.14.0
type NullableMetricEstimateResourceType struct {
// contains filtered or unexported fields
}
NullableMetricEstimateResourceType handles when a null is used for MetricEstimateResourceType.
func NewNullableMetricEstimateResourceType ¶ added in v1.14.0
func NewNullableMetricEstimateResourceType(val *MetricEstimateResourceType) *NullableMetricEstimateResourceType
NewNullableMetricEstimateResourceType initializes the struct as if Set has been called.
func (NullableMetricEstimateResourceType) Get ¶ added in v1.14.0
func (v NullableMetricEstimateResourceType) Get() *MetricEstimateResourceType
Get returns the associated value.
func (NullableMetricEstimateResourceType) IsSet ¶ added in v1.14.0
func (v NullableMetricEstimateResourceType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricEstimateResourceType) MarshalJSON ¶ added in v1.14.0
func (v NullableMetricEstimateResourceType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricEstimateResourceType) Set ¶ added in v1.14.0
func (v *NullableMetricEstimateResourceType) Set(val *MetricEstimateResourceType)
Set changes the value and indicates it's been called.
func (*NullableMetricEstimateResourceType) UnmarshalJSON ¶ added in v1.14.0
func (v *NullableMetricEstimateResourceType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricEstimateResourceType) Unset ¶ added in v1.14.0
func (v *NullableMetricEstimateResourceType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricEstimateType ¶ added in v1.14.0
type NullableMetricEstimateType struct {
// contains filtered or unexported fields
}
NullableMetricEstimateType handles when a null is used for MetricEstimateType.
func NewNullableMetricEstimateType ¶ added in v1.14.0
func NewNullableMetricEstimateType(val *MetricEstimateType) *NullableMetricEstimateType
NewNullableMetricEstimateType initializes the struct as if Set has been called.
func (NullableMetricEstimateType) Get ¶ added in v1.14.0
func (v NullableMetricEstimateType) Get() *MetricEstimateType
Get returns the associated value.
func (NullableMetricEstimateType) IsSet ¶ added in v1.14.0
func (v NullableMetricEstimateType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricEstimateType) MarshalJSON ¶ added in v1.14.0
func (v NullableMetricEstimateType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricEstimateType) Set ¶ added in v1.14.0
func (v *NullableMetricEstimateType) Set(val *MetricEstimateType)
Set changes the value and indicates it's been called.
func (*NullableMetricEstimateType) UnmarshalJSON ¶ added in v1.14.0
func (v *NullableMetricEstimateType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricEstimateType) Unset ¶ added in v1.14.0
func (v *NullableMetricEstimateType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricIngestedIndexedVolumeType ¶
type NullableMetricIngestedIndexedVolumeType struct {
// contains filtered or unexported fields
}
NullableMetricIngestedIndexedVolumeType handles when a null is used for MetricIngestedIndexedVolumeType.
func NewNullableMetricIngestedIndexedVolumeType ¶
func NewNullableMetricIngestedIndexedVolumeType(val *MetricIngestedIndexedVolumeType) *NullableMetricIngestedIndexedVolumeType
NewNullableMetricIngestedIndexedVolumeType initializes the struct as if Set has been called.
func (NullableMetricIngestedIndexedVolumeType) IsSet ¶
func (v NullableMetricIngestedIndexedVolumeType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricIngestedIndexedVolumeType) MarshalJSON ¶
func (v NullableMetricIngestedIndexedVolumeType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricIngestedIndexedVolumeType) Set ¶
func (v *NullableMetricIngestedIndexedVolumeType) Set(val *MetricIngestedIndexedVolumeType)
Set changes the value and indicates it's been called.
func (*NullableMetricIngestedIndexedVolumeType) UnmarshalJSON ¶
func (v *NullableMetricIngestedIndexedVolumeType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricIngestedIndexedVolumeType) Unset ¶
func (v *NullableMetricIngestedIndexedVolumeType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricIntakeType ¶ added in v1.14.0
type NullableMetricIntakeType struct {
// contains filtered or unexported fields
}
NullableMetricIntakeType handles when a null is used for MetricIntakeType.
func NewNullableMetricIntakeType ¶ added in v1.14.0
func NewNullableMetricIntakeType(val *MetricIntakeType) *NullableMetricIntakeType
NewNullableMetricIntakeType initializes the struct as if Set has been called.
func (NullableMetricIntakeType) Get ¶ added in v1.14.0
func (v NullableMetricIntakeType) Get() *MetricIntakeType
Get returns the associated value.
func (NullableMetricIntakeType) IsSet ¶ added in v1.14.0
func (v NullableMetricIntakeType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricIntakeType) MarshalJSON ¶ added in v1.14.0
func (v NullableMetricIntakeType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricIntakeType) Set ¶ added in v1.14.0
func (v *NullableMetricIntakeType) Set(val *MetricIntakeType)
Set changes the value and indicates it's been called.
func (*NullableMetricIntakeType) UnmarshalJSON ¶ added in v1.14.0
func (v *NullableMetricIntakeType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricIntakeType) Unset ¶ added in v1.14.0
func (v *NullableMetricIntakeType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricTagConfigurationMetricTypes ¶
type NullableMetricTagConfigurationMetricTypes struct {
// contains filtered or unexported fields
}
NullableMetricTagConfigurationMetricTypes handles when a null is used for MetricTagConfigurationMetricTypes.
func NewNullableMetricTagConfigurationMetricTypes ¶
func NewNullableMetricTagConfigurationMetricTypes(val *MetricTagConfigurationMetricTypes) *NullableMetricTagConfigurationMetricTypes
NewNullableMetricTagConfigurationMetricTypes initializes the struct as if Set has been called.
func (NullableMetricTagConfigurationMetricTypes) IsSet ¶
func (v NullableMetricTagConfigurationMetricTypes) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricTagConfigurationMetricTypes) MarshalJSON ¶
func (v NullableMetricTagConfigurationMetricTypes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricTagConfigurationMetricTypes) Set ¶
func (v *NullableMetricTagConfigurationMetricTypes) Set(val *MetricTagConfigurationMetricTypes)
Set changes the value and indicates it's been called.
func (*NullableMetricTagConfigurationMetricTypes) UnmarshalJSON ¶
func (v *NullableMetricTagConfigurationMetricTypes) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricTagConfigurationMetricTypes) Unset ¶
func (v *NullableMetricTagConfigurationMetricTypes) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricTagConfigurationType ¶
type NullableMetricTagConfigurationType struct {
// contains filtered or unexported fields
}
NullableMetricTagConfigurationType handles when a null is used for MetricTagConfigurationType.
func NewNullableMetricTagConfigurationType ¶
func NewNullableMetricTagConfigurationType(val *MetricTagConfigurationType) *NullableMetricTagConfigurationType
NewNullableMetricTagConfigurationType initializes the struct as if Set has been called.
func (NullableMetricTagConfigurationType) Get ¶
func (v NullableMetricTagConfigurationType) Get() *MetricTagConfigurationType
Get returns the associated value.
func (NullableMetricTagConfigurationType) IsSet ¶
func (v NullableMetricTagConfigurationType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricTagConfigurationType) MarshalJSON ¶
func (v NullableMetricTagConfigurationType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricTagConfigurationType) Set ¶
func (v *NullableMetricTagConfigurationType) Set(val *MetricTagConfigurationType)
Set changes the value and indicates it's been called.
func (*NullableMetricTagConfigurationType) UnmarshalJSON ¶
func (v *NullableMetricTagConfigurationType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricTagConfigurationType) Unset ¶
func (v *NullableMetricTagConfigurationType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricType ¶
type NullableMetricType struct {
// contains filtered or unexported fields
}
NullableMetricType handles when a null is used for MetricType.
func NewNullableMetricType ¶
func NewNullableMetricType(val *MetricType) *NullableMetricType
NewNullableMetricType initializes the struct as if Set has been called.
func (NullableMetricType) Get ¶
func (v NullableMetricType) Get() *MetricType
Get returns the associated value.
func (NullableMetricType) IsSet ¶
func (v NullableMetricType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricType) MarshalJSON ¶
func (v NullableMetricType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricType) Set ¶
func (v *NullableMetricType) Set(val *MetricType)
Set changes the value and indicates it's been called.
func (*NullableMetricType) UnmarshalJSON ¶
func (v *NullableMetricType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricType) Unset ¶
func (v *NullableMetricType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableMetricVolumes ¶
type NullableMetricVolumes struct {
// contains filtered or unexported fields
}
NullableMetricVolumes handles when a null is used for MetricVolumes.
func NewNullableMetricVolumes ¶
func NewNullableMetricVolumes(val *MetricVolumes) *NullableMetricVolumes
NewNullableMetricVolumes initializes the struct as if Set has been called.
func (NullableMetricVolumes) Get ¶
func (v NullableMetricVolumes) Get() *MetricVolumes
Get returns the associated value.
func (NullableMetricVolumes) IsSet ¶
func (v NullableMetricVolumes) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricVolumes) MarshalJSON ¶
func (v NullableMetricVolumes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricVolumes) Set ¶
func (v *NullableMetricVolumes) Set(val *MetricVolumes)
Set changes the value and indicates it's been called.
func (*NullableMetricVolumes) UnmarshalJSON ¶
func (v *NullableMetricVolumes) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricVolumes) Unset ¶
func (v *NullableMetricVolumes) Unset()
Unset sets the value to nil and resets the set flag/
type NullableMetricsAndMetricTagConfigurations ¶
type NullableMetricsAndMetricTagConfigurations struct {
// contains filtered or unexported fields
}
NullableMetricsAndMetricTagConfigurations handles when a null is used for MetricsAndMetricTagConfigurations.
func NewNullableMetricsAndMetricTagConfigurations ¶
func NewNullableMetricsAndMetricTagConfigurations(val *MetricsAndMetricTagConfigurations) *NullableMetricsAndMetricTagConfigurations
NewNullableMetricsAndMetricTagConfigurations initializes the struct as if Set has been called.
func (NullableMetricsAndMetricTagConfigurations) IsSet ¶
func (v NullableMetricsAndMetricTagConfigurations) IsSet() bool
IsSet returns whether Set has been called.
func (NullableMetricsAndMetricTagConfigurations) MarshalJSON ¶
func (v NullableMetricsAndMetricTagConfigurations) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableMetricsAndMetricTagConfigurations) Set ¶
func (v *NullableMetricsAndMetricTagConfigurations) Set(val *MetricsAndMetricTagConfigurations)
Set changes the value and indicates it's been called.
func (*NullableMetricsAndMetricTagConfigurations) UnmarshalJSON ¶
func (v *NullableMetricsAndMetricTagConfigurations) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableMetricsAndMetricTagConfigurations) Unset ¶
func (v *NullableMetricsAndMetricTagConfigurations) Unset()
Unset sets the value to nil and resets the set flag/
type NullableNullableRelationshipToUserData ¶ added in v1.9.0
type NullableNullableRelationshipToUserData struct {
// contains filtered or unexported fields
}
NullableNullableRelationshipToUserData handles when a null is used for NullableRelationshipToUserData.
func NewNullableNullableRelationshipToUserData ¶ added in v1.9.0
func NewNullableNullableRelationshipToUserData(val *NullableRelationshipToUserData) *NullableNullableRelationshipToUserData
NewNullableNullableRelationshipToUserData initializes the struct as if Set has been called.
func (NullableNullableRelationshipToUserData) Get ¶ added in v1.9.0
func (v NullableNullableRelationshipToUserData) Get() *NullableRelationshipToUserData
Get returns the associated value.
func (NullableNullableRelationshipToUserData) IsSet ¶ added in v1.9.0
func (v NullableNullableRelationshipToUserData) IsSet() bool
IsSet returns whether Set has been called.
func (NullableNullableRelationshipToUserData) MarshalJSON ¶ added in v1.9.0
func (v NullableNullableRelationshipToUserData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableNullableRelationshipToUserData) Set ¶ added in v1.9.0
func (v *NullableNullableRelationshipToUserData) Set(val *NullableRelationshipToUserData)
Set changes the value and indicates it's been called.
func (*NullableNullableRelationshipToUserData) UnmarshalJSON ¶ added in v1.9.0
func (v *NullableNullableRelationshipToUserData) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableNullableRelationshipToUserData) Unset ¶ added in v1.9.0
func (v *NullableNullableRelationshipToUserData) Unset()
Unset sets the value to nil and resets the set flag/
type NullableOpsgenieServiceRegionType ¶ added in v1.15.0
type NullableOpsgenieServiceRegionType struct {
// contains filtered or unexported fields
}
NullableOpsgenieServiceRegionType handles when a null is used for OpsgenieServiceRegionType.
func NewNullableOpsgenieServiceRegionType ¶ added in v1.15.0
func NewNullableOpsgenieServiceRegionType(val *OpsgenieServiceRegionType) *NullableOpsgenieServiceRegionType
NewNullableOpsgenieServiceRegionType initializes the struct as if Set has been called.
func (NullableOpsgenieServiceRegionType) Get ¶ added in v1.15.0
func (v NullableOpsgenieServiceRegionType) Get() *OpsgenieServiceRegionType
Get returns the associated value.
func (NullableOpsgenieServiceRegionType) IsSet ¶ added in v1.15.0
func (v NullableOpsgenieServiceRegionType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableOpsgenieServiceRegionType) MarshalJSON ¶ added in v1.15.0
func (v NullableOpsgenieServiceRegionType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableOpsgenieServiceRegionType) Set ¶ added in v1.15.0
func (v *NullableOpsgenieServiceRegionType) Set(val *OpsgenieServiceRegionType)
Set changes the value and indicates it's been called.
func (*NullableOpsgenieServiceRegionType) UnmarshalJSON ¶ added in v1.15.0
func (v *NullableOpsgenieServiceRegionType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableOpsgenieServiceRegionType) Unset ¶ added in v1.15.0
func (v *NullableOpsgenieServiceRegionType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableOpsgenieServiceType ¶ added in v1.15.0
type NullableOpsgenieServiceType struct {
// contains filtered or unexported fields
}
NullableOpsgenieServiceType handles when a null is used for OpsgenieServiceType.
func NewNullableOpsgenieServiceType ¶ added in v1.15.0
func NewNullableOpsgenieServiceType(val *OpsgenieServiceType) *NullableOpsgenieServiceType
NewNullableOpsgenieServiceType initializes the struct as if Set has been called.
func (NullableOpsgenieServiceType) Get ¶ added in v1.15.0
func (v NullableOpsgenieServiceType) Get() *OpsgenieServiceType
Get returns the associated value.
func (NullableOpsgenieServiceType) IsSet ¶ added in v1.15.0
func (v NullableOpsgenieServiceType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableOpsgenieServiceType) MarshalJSON ¶ added in v1.15.0
func (v NullableOpsgenieServiceType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableOpsgenieServiceType) Set ¶ added in v1.15.0
func (v *NullableOpsgenieServiceType) Set(val *OpsgenieServiceType)
Set changes the value and indicates it's been called.
func (*NullableOpsgenieServiceType) UnmarshalJSON ¶ added in v1.15.0
func (v *NullableOpsgenieServiceType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableOpsgenieServiceType) Unset ¶ added in v1.15.0
func (v *NullableOpsgenieServiceType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableOrganizationsType ¶
type NullableOrganizationsType struct {
// contains filtered or unexported fields
}
NullableOrganizationsType handles when a null is used for OrganizationsType.
func NewNullableOrganizationsType ¶
func NewNullableOrganizationsType(val *OrganizationsType) *NullableOrganizationsType
NewNullableOrganizationsType initializes the struct as if Set has been called.
func (NullableOrganizationsType) Get ¶
func (v NullableOrganizationsType) Get() *OrganizationsType
Get returns the associated value.
func (NullableOrganizationsType) IsSet ¶
func (v NullableOrganizationsType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableOrganizationsType) MarshalJSON ¶
func (v NullableOrganizationsType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableOrganizationsType) Set ¶
func (v *NullableOrganizationsType) Set(val *OrganizationsType)
Set changes the value and indicates it's been called.
func (*NullableOrganizationsType) UnmarshalJSON ¶
func (v *NullableOrganizationsType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableOrganizationsType) Unset ¶
func (v *NullableOrganizationsType) Unset()
Unset sets the value to nil and resets the set flag.
type NullablePermissionsType ¶
type NullablePermissionsType struct {
// contains filtered or unexported fields
}
NullablePermissionsType handles when a null is used for PermissionsType.
func NewNullablePermissionsType ¶
func NewNullablePermissionsType(val *PermissionsType) *NullablePermissionsType
NewNullablePermissionsType initializes the struct as if Set has been called.
func (NullablePermissionsType) Get ¶
func (v NullablePermissionsType) Get() *PermissionsType
Get returns the associated value.
func (NullablePermissionsType) IsSet ¶
func (v NullablePermissionsType) IsSet() bool
IsSet returns whether Set has been called.
func (NullablePermissionsType) MarshalJSON ¶
func (v NullablePermissionsType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullablePermissionsType) Set ¶
func (v *NullablePermissionsType) Set(val *PermissionsType)
Set changes the value and indicates it's been called.
func (*NullablePermissionsType) UnmarshalJSON ¶
func (v *NullablePermissionsType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullablePermissionsType) Unset ¶
func (v *NullablePermissionsType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableProcessSummaryType ¶
type NullableProcessSummaryType struct {
// contains filtered or unexported fields
}
NullableProcessSummaryType handles when a null is used for ProcessSummaryType.
func NewNullableProcessSummaryType ¶
func NewNullableProcessSummaryType(val *ProcessSummaryType) *NullableProcessSummaryType
NewNullableProcessSummaryType initializes the struct as if Set has been called.
func (NullableProcessSummaryType) Get ¶
func (v NullableProcessSummaryType) Get() *ProcessSummaryType
Get returns the associated value.
func (NullableProcessSummaryType) IsSet ¶
func (v NullableProcessSummaryType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableProcessSummaryType) MarshalJSON ¶
func (v NullableProcessSummaryType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableProcessSummaryType) Set ¶
func (v *NullableProcessSummaryType) Set(val *ProcessSummaryType)
Set changes the value and indicates it's been called.
func (*NullableProcessSummaryType) UnmarshalJSON ¶
func (v *NullableProcessSummaryType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableProcessSummaryType) Unset ¶
func (v *NullableProcessSummaryType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableQuerySortOrder ¶
type NullableQuerySortOrder struct {
// contains filtered or unexported fields
}
NullableQuerySortOrder handles when a null is used for QuerySortOrder.
func NewNullableQuerySortOrder ¶
func NewNullableQuerySortOrder(val *QuerySortOrder) *NullableQuerySortOrder
NewNullableQuerySortOrder initializes the struct as if Set has been called.
func (NullableQuerySortOrder) Get ¶
func (v NullableQuerySortOrder) Get() *QuerySortOrder
Get returns the associated value.
func (NullableQuerySortOrder) IsSet ¶
func (v NullableQuerySortOrder) IsSet() bool
IsSet returns whether Set has been called.
func (NullableQuerySortOrder) MarshalJSON ¶
func (v NullableQuerySortOrder) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableQuerySortOrder) Set ¶
func (v *NullableQuerySortOrder) Set(val *QuerySortOrder)
Set changes the value and indicates it's been called.
func (*NullableQuerySortOrder) UnmarshalJSON ¶
func (v *NullableQuerySortOrder) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableQuerySortOrder) Unset ¶
func (v *NullableQuerySortOrder) Unset()
Unset sets the value to nil and resets the set flag.
type NullableRUMAggregateBucketValue ¶ added in v1.12.0
type NullableRUMAggregateBucketValue struct {
// contains filtered or unexported fields
}
NullableRUMAggregateBucketValue handles when a null is used for RUMAggregateBucketValue.
func NewNullableRUMAggregateBucketValue ¶ added in v1.12.0
func NewNullableRUMAggregateBucketValue(val *RUMAggregateBucketValue) *NullableRUMAggregateBucketValue
NewNullableRUMAggregateBucketValue initializes the struct as if Set has been called.
func (NullableRUMAggregateBucketValue) Get ¶ added in v1.12.0
func (v NullableRUMAggregateBucketValue) Get() *RUMAggregateBucketValue
Get returns the associated value.
func (NullableRUMAggregateBucketValue) IsSet ¶ added in v1.12.0
func (v NullableRUMAggregateBucketValue) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRUMAggregateBucketValue) MarshalJSON ¶ added in v1.12.0
func (v NullableRUMAggregateBucketValue) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRUMAggregateBucketValue) Set ¶ added in v1.12.0
func (v *NullableRUMAggregateBucketValue) Set(val *RUMAggregateBucketValue)
Set changes the value and indicates it's been called.
func (*NullableRUMAggregateBucketValue) UnmarshalJSON ¶ added in v1.12.0
func (v *NullableRUMAggregateBucketValue) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRUMAggregateBucketValue) Unset ¶ added in v1.12.0
func (v *NullableRUMAggregateBucketValue) Unset()
Unset sets the value to nil and resets the set flag/
type NullableRUMAggregateSortType ¶ added in v1.12.0
type NullableRUMAggregateSortType struct {
// contains filtered or unexported fields
}
NullableRUMAggregateSortType handles when a null is used for RUMAggregateSortType.
func NewNullableRUMAggregateSortType ¶ added in v1.12.0
func NewNullableRUMAggregateSortType(val *RUMAggregateSortType) *NullableRUMAggregateSortType
NewNullableRUMAggregateSortType initializes the struct as if Set has been called.
func (NullableRUMAggregateSortType) Get ¶ added in v1.12.0
func (v NullableRUMAggregateSortType) Get() *RUMAggregateSortType
Get returns the associated value.
func (NullableRUMAggregateSortType) IsSet ¶ added in v1.12.0
func (v NullableRUMAggregateSortType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRUMAggregateSortType) MarshalJSON ¶ added in v1.12.0
func (v NullableRUMAggregateSortType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRUMAggregateSortType) Set ¶ added in v1.12.0
func (v *NullableRUMAggregateSortType) Set(val *RUMAggregateSortType)
Set changes the value and indicates it's been called.
func (*NullableRUMAggregateSortType) UnmarshalJSON ¶ added in v1.12.0
func (v *NullableRUMAggregateSortType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRUMAggregateSortType) Unset ¶ added in v1.12.0
func (v *NullableRUMAggregateSortType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableRUMAggregationFunction ¶ added in v1.12.0
type NullableRUMAggregationFunction struct {
// contains filtered or unexported fields
}
NullableRUMAggregationFunction handles when a null is used for RUMAggregationFunction.
func NewNullableRUMAggregationFunction ¶ added in v1.12.0
func NewNullableRUMAggregationFunction(val *RUMAggregationFunction) *NullableRUMAggregationFunction
NewNullableRUMAggregationFunction initializes the struct as if Set has been called.
func (NullableRUMAggregationFunction) Get ¶ added in v1.12.0
func (v NullableRUMAggregationFunction) Get() *RUMAggregationFunction
Get returns the associated value.
func (NullableRUMAggregationFunction) IsSet ¶ added in v1.12.0
func (v NullableRUMAggregationFunction) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRUMAggregationFunction) MarshalJSON ¶ added in v1.12.0
func (v NullableRUMAggregationFunction) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRUMAggregationFunction) Set ¶ added in v1.12.0
func (v *NullableRUMAggregationFunction) Set(val *RUMAggregationFunction)
Set changes the value and indicates it's been called.
func (*NullableRUMAggregationFunction) UnmarshalJSON ¶ added in v1.12.0
func (v *NullableRUMAggregationFunction) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRUMAggregationFunction) Unset ¶ added in v1.12.0
func (v *NullableRUMAggregationFunction) Unset()
Unset sets the value to nil and resets the set flag.
type NullableRUMComputeType ¶ added in v1.12.0
type NullableRUMComputeType struct {
// contains filtered or unexported fields
}
NullableRUMComputeType handles when a null is used for RUMComputeType.
func NewNullableRUMComputeType ¶ added in v1.12.0
func NewNullableRUMComputeType(val *RUMComputeType) *NullableRUMComputeType
NewNullableRUMComputeType initializes the struct as if Set has been called.
func (NullableRUMComputeType) Get ¶ added in v1.12.0
func (v NullableRUMComputeType) Get() *RUMComputeType
Get returns the associated value.
func (NullableRUMComputeType) IsSet ¶ added in v1.12.0
func (v NullableRUMComputeType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRUMComputeType) MarshalJSON ¶ added in v1.12.0
func (v NullableRUMComputeType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRUMComputeType) Set ¶ added in v1.12.0
func (v *NullableRUMComputeType) Set(val *RUMComputeType)
Set changes the value and indicates it's been called.
func (*NullableRUMComputeType) UnmarshalJSON ¶ added in v1.12.0
func (v *NullableRUMComputeType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRUMComputeType) Unset ¶ added in v1.12.0
func (v *NullableRUMComputeType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableRUMEventType ¶ added in v1.11.0
type NullableRUMEventType struct {
// contains filtered or unexported fields
}
NullableRUMEventType handles when a null is used for RUMEventType.
func NewNullableRUMEventType ¶ added in v1.11.0
func NewNullableRUMEventType(val *RUMEventType) *NullableRUMEventType
NewNullableRUMEventType initializes the struct as if Set has been called.
func (NullableRUMEventType) Get ¶ added in v1.11.0
func (v NullableRUMEventType) Get() *RUMEventType
Get returns the associated value.
func (NullableRUMEventType) IsSet ¶ added in v1.11.0
func (v NullableRUMEventType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRUMEventType) MarshalJSON ¶ added in v1.11.0
func (v NullableRUMEventType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRUMEventType) Set ¶ added in v1.11.0
func (v *NullableRUMEventType) Set(val *RUMEventType)
Set changes the value and indicates it's been called.
func (*NullableRUMEventType) UnmarshalJSON ¶ added in v1.11.0
func (v *NullableRUMEventType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRUMEventType) Unset ¶ added in v1.11.0
func (v *NullableRUMEventType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableRUMGroupByMissing ¶ added in v1.12.0
type NullableRUMGroupByMissing struct {
// contains filtered or unexported fields
}
NullableRUMGroupByMissing handles when a null is used for RUMGroupByMissing.
func NewNullableRUMGroupByMissing ¶ added in v1.12.0
func NewNullableRUMGroupByMissing(val *RUMGroupByMissing) *NullableRUMGroupByMissing
NewNullableRUMGroupByMissing initializes the struct as if Set has been called.
func (NullableRUMGroupByMissing) Get ¶ added in v1.12.0
func (v NullableRUMGroupByMissing) Get() *RUMGroupByMissing
Get returns the associated value.
func (NullableRUMGroupByMissing) IsSet ¶ added in v1.12.0
func (v NullableRUMGroupByMissing) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRUMGroupByMissing) MarshalJSON ¶ added in v1.12.0
func (v NullableRUMGroupByMissing) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRUMGroupByMissing) Set ¶ added in v1.12.0
func (v *NullableRUMGroupByMissing) Set(val *RUMGroupByMissing)
Set changes the value and indicates it's been called.
func (*NullableRUMGroupByMissing) UnmarshalJSON ¶ added in v1.12.0
func (v *NullableRUMGroupByMissing) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRUMGroupByMissing) Unset ¶ added in v1.12.0
func (v *NullableRUMGroupByMissing) Unset()
Unset sets the value to nil and resets the set flag/
type NullableRUMGroupByTotal ¶ added in v1.12.0
type NullableRUMGroupByTotal struct {
// contains filtered or unexported fields
}
NullableRUMGroupByTotal handles when a null is used for RUMGroupByTotal.
func NewNullableRUMGroupByTotal ¶ added in v1.12.0
func NewNullableRUMGroupByTotal(val *RUMGroupByTotal) *NullableRUMGroupByTotal
NewNullableRUMGroupByTotal initializes the struct as if Set has been called.
func (NullableRUMGroupByTotal) Get ¶ added in v1.12.0
func (v NullableRUMGroupByTotal) Get() *RUMGroupByTotal
Get returns the associated value.
func (NullableRUMGroupByTotal) IsSet ¶ added in v1.12.0
func (v NullableRUMGroupByTotal) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRUMGroupByTotal) MarshalJSON ¶ added in v1.12.0
func (v NullableRUMGroupByTotal) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRUMGroupByTotal) Set ¶ added in v1.12.0
func (v *NullableRUMGroupByTotal) Set(val *RUMGroupByTotal)
Set changes the value and indicates it's been called.
func (*NullableRUMGroupByTotal) UnmarshalJSON ¶ added in v1.12.0
func (v *NullableRUMGroupByTotal) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRUMGroupByTotal) Unset ¶ added in v1.12.0
func (v *NullableRUMGroupByTotal) Unset()
Unset sets the value to nil and resets the set flag/
type NullableRUMResponseStatus ¶ added in v1.11.0
type NullableRUMResponseStatus struct {
// contains filtered or unexported fields
}
NullableRUMResponseStatus handles when a null is used for RUMResponseStatus.
func NewNullableRUMResponseStatus ¶ added in v1.11.0
func NewNullableRUMResponseStatus(val *RUMResponseStatus) *NullableRUMResponseStatus
NewNullableRUMResponseStatus initializes the struct as if Set has been called.
func (NullableRUMResponseStatus) Get ¶ added in v1.11.0
func (v NullableRUMResponseStatus) Get() *RUMResponseStatus
Get returns the associated value.
func (NullableRUMResponseStatus) IsSet ¶ added in v1.11.0
func (v NullableRUMResponseStatus) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRUMResponseStatus) MarshalJSON ¶ added in v1.11.0
func (v NullableRUMResponseStatus) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRUMResponseStatus) Set ¶ added in v1.11.0
func (v *NullableRUMResponseStatus) Set(val *RUMResponseStatus)
Set changes the value and indicates it's been called.
func (*NullableRUMResponseStatus) UnmarshalJSON ¶ added in v1.11.0
func (v *NullableRUMResponseStatus) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRUMResponseStatus) Unset ¶ added in v1.11.0
func (v *NullableRUMResponseStatus) Unset()
Unset sets the value to nil and resets the set flag.
type NullableRUMSort ¶ added in v1.11.0
type NullableRUMSort struct {
// contains filtered or unexported fields
}
NullableRUMSort handles when a null is used for RUMSort.
func NewNullableRUMSort ¶ added in v1.11.0
func NewNullableRUMSort(val *RUMSort) *NullableRUMSort
NewNullableRUMSort initializes the struct as if Set has been called.
func (NullableRUMSort) Get ¶ added in v1.11.0
func (v NullableRUMSort) Get() *RUMSort
Get returns the associated value.
func (NullableRUMSort) IsSet ¶ added in v1.11.0
func (v NullableRUMSort) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRUMSort) MarshalJSON ¶ added in v1.11.0
func (v NullableRUMSort) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRUMSort) Set ¶ added in v1.11.0
func (v *NullableRUMSort) Set(val *RUMSort)
Set changes the value and indicates it's been called.
func (*NullableRUMSort) UnmarshalJSON ¶ added in v1.11.0
func (v *NullableRUMSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRUMSort) Unset ¶ added in v1.11.0
func (v *NullableRUMSort) Unset()
Unset sets the value to nil and resets the set flag.
type NullableRUMSortOrder ¶ added in v1.12.0
type NullableRUMSortOrder struct {
// contains filtered or unexported fields
}
NullableRUMSortOrder handles when a null is used for RUMSortOrder.
func NewNullableRUMSortOrder ¶ added in v1.12.0
func NewNullableRUMSortOrder(val *RUMSortOrder) *NullableRUMSortOrder
NewNullableRUMSortOrder initializes the struct as if Set has been called.
func (NullableRUMSortOrder) Get ¶ added in v1.12.0
func (v NullableRUMSortOrder) Get() *RUMSortOrder
Get returns the associated value.
func (NullableRUMSortOrder) IsSet ¶ added in v1.12.0
func (v NullableRUMSortOrder) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRUMSortOrder) MarshalJSON ¶ added in v1.12.0
func (v NullableRUMSortOrder) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRUMSortOrder) Set ¶ added in v1.12.0
func (v *NullableRUMSortOrder) Set(val *RUMSortOrder)
Set changes the value and indicates it's been called.
func (*NullableRUMSortOrder) UnmarshalJSON ¶ added in v1.12.0
func (v *NullableRUMSortOrder) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRUMSortOrder) Unset ¶ added in v1.12.0
func (v *NullableRUMSortOrder) Unset()
Unset sets the value to nil and resets the set flag.
type NullableRelationshipToUser ¶
type NullableRelationshipToUser struct {
// Relationship to user object.
Data NullableNullableRelationshipToUserData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
NullableRelationshipToUser Relationship to user.
func NewNullableRelationshipToUser ¶
func NewNullableRelationshipToUser(data NullableNullableRelationshipToUserData) *NullableRelationshipToUser
NewNullableRelationshipToUser instantiates a new NullableRelationshipToUser object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewNullableRelationshipToUserWithDefaults ¶ added in v1.9.0
func NewNullableRelationshipToUserWithDefaults() *NullableRelationshipToUser
NewNullableRelationshipToUserWithDefaults instantiates a new NullableRelationshipToUser object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*NullableRelationshipToUser) GetData ¶ added in v1.9.0
func (o *NullableRelationshipToUser) GetData() NullableRelationshipToUserData
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
func (o *NullableRelationshipToUser) GetDataOk() (*NullableRelationshipToUserData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (NullableRelationshipToUser) MarshalJSON ¶
func (o NullableRelationshipToUser) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*NullableRelationshipToUser) SetData ¶ added in v1.9.0
func (o *NullableRelationshipToUser) SetData(v NullableRelationshipToUserData)
SetData sets field value.
func (*NullableRelationshipToUser) UnmarshalJSON ¶
func (o *NullableRelationshipToUser) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type NullableRelationshipToUserData ¶
type NullableRelationshipToUserData struct {
// A unique identifier that represents the user.
Id string `json:"id"`
// Users resource type.
Type UsersType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
NullableRelationshipToUserData Relationship to user object.
func NewNullableRelationshipToUserData ¶
func NewNullableRelationshipToUserData(id string, typeVar UsersType) *NullableRelationshipToUserData
NewNullableRelationshipToUserData instantiates a new NullableRelationshipToUserData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewNullableRelationshipToUserDataWithDefaults ¶ added in v1.9.0
func NewNullableRelationshipToUserDataWithDefaults() *NullableRelationshipToUserData
NewNullableRelationshipToUserDataWithDefaults instantiates a new NullableRelationshipToUserData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*NullableRelationshipToUserData) GetId ¶ added in v1.9.0
func (o *NullableRelationshipToUserData) GetId() string
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
func (o *NullableRelationshipToUserData) GetType() UsersType
GetType returns the Type field value.
func (*NullableRelationshipToUserData) GetTypeOk ¶ added in v1.9.0
func (o *NullableRelationshipToUserData) GetTypeOk() (*UsersType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (NullableRelationshipToUserData) MarshalJSON ¶
func (o NullableRelationshipToUserData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*NullableRelationshipToUserData) SetId ¶ added in v1.9.0
func (o *NullableRelationshipToUserData) SetId(v string)
SetId sets field value.
func (*NullableRelationshipToUserData) SetType ¶ added in v1.9.0
func (o *NullableRelationshipToUserData) SetType(v UsersType)
SetType sets field value.
func (*NullableRelationshipToUserData) UnmarshalJSON ¶
func (o *NullableRelationshipToUserData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type NullableRolesSort ¶
type NullableRolesSort struct {
// contains filtered or unexported fields
}
NullableRolesSort handles when a null is used for RolesSort.
func NewNullableRolesSort ¶
func NewNullableRolesSort(val *RolesSort) *NullableRolesSort
NewNullableRolesSort initializes the struct as if Set has been called.
func (NullableRolesSort) Get ¶
func (v NullableRolesSort) Get() *RolesSort
Get returns the associated value.
func (NullableRolesSort) IsSet ¶
func (v NullableRolesSort) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRolesSort) MarshalJSON ¶
func (v NullableRolesSort) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRolesSort) Set ¶
func (v *NullableRolesSort) Set(val *RolesSort)
Set changes the value and indicates it's been called.
func (*NullableRolesSort) UnmarshalJSON ¶
func (v *NullableRolesSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRolesSort) Unset ¶
func (v *NullableRolesSort) Unset()
Unset sets the value to nil and resets the set flag.
type NullableRolesType ¶
type NullableRolesType struct {
// contains filtered or unexported fields
}
NullableRolesType handles when a null is used for RolesType.
func NewNullableRolesType ¶
func NewNullableRolesType(val *RolesType) *NullableRolesType
NewNullableRolesType initializes the struct as if Set has been called.
func (NullableRolesType) Get ¶
func (v NullableRolesType) Get() *RolesType
Get returns the associated value.
func (NullableRolesType) IsSet ¶
func (v NullableRolesType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableRolesType) MarshalJSON ¶
func (v NullableRolesType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableRolesType) Set ¶
func (v *NullableRolesType) Set(val *RolesType)
Set changes the value and indicates it's been called.
func (*NullableRolesType) UnmarshalJSON ¶
func (v *NullableRolesType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableRolesType) Unset ¶
func (v *NullableRolesType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSAMLAssertionAttributesType ¶ added in v1.9.0
type NullableSAMLAssertionAttributesType struct {
// contains filtered or unexported fields
}
NullableSAMLAssertionAttributesType handles when a null is used for SAMLAssertionAttributesType.
func NewNullableSAMLAssertionAttributesType ¶ added in v1.9.0
func NewNullableSAMLAssertionAttributesType(val *SAMLAssertionAttributesType) *NullableSAMLAssertionAttributesType
NewNullableSAMLAssertionAttributesType initializes the struct as if Set has been called.
func (NullableSAMLAssertionAttributesType) Get ¶ added in v1.9.0
func (v NullableSAMLAssertionAttributesType) Get() *SAMLAssertionAttributesType
Get returns the associated value.
func (NullableSAMLAssertionAttributesType) IsSet ¶ added in v1.9.0
func (v NullableSAMLAssertionAttributesType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSAMLAssertionAttributesType) MarshalJSON ¶ added in v1.9.0
func (v NullableSAMLAssertionAttributesType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSAMLAssertionAttributesType) Set ¶ added in v1.9.0
func (v *NullableSAMLAssertionAttributesType) Set(val *SAMLAssertionAttributesType)
Set changes the value and indicates it's been called.
func (*NullableSAMLAssertionAttributesType) UnmarshalJSON ¶ added in v1.9.0
func (v *NullableSAMLAssertionAttributesType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSAMLAssertionAttributesType) Unset ¶ added in v1.9.0
func (v *NullableSAMLAssertionAttributesType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityFilterFilteredDataType ¶
type NullableSecurityFilterFilteredDataType struct {
// contains filtered or unexported fields
}
NullableSecurityFilterFilteredDataType handles when a null is used for SecurityFilterFilteredDataType.
func NewNullableSecurityFilterFilteredDataType ¶
func NewNullableSecurityFilterFilteredDataType(val *SecurityFilterFilteredDataType) *NullableSecurityFilterFilteredDataType
NewNullableSecurityFilterFilteredDataType initializes the struct as if Set has been called.
func (NullableSecurityFilterFilteredDataType) Get ¶
func (v NullableSecurityFilterFilteredDataType) Get() *SecurityFilterFilteredDataType
Get returns the associated value.
func (NullableSecurityFilterFilteredDataType) IsSet ¶
func (v NullableSecurityFilterFilteredDataType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityFilterFilteredDataType) MarshalJSON ¶
func (v NullableSecurityFilterFilteredDataType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityFilterFilteredDataType) Set ¶
func (v *NullableSecurityFilterFilteredDataType) Set(val *SecurityFilterFilteredDataType)
Set changes the value and indicates it's been called.
func (*NullableSecurityFilterFilteredDataType) UnmarshalJSON ¶
func (v *NullableSecurityFilterFilteredDataType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityFilterFilteredDataType) Unset ¶
func (v *NullableSecurityFilterFilteredDataType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityFilterType ¶
type NullableSecurityFilterType struct {
// contains filtered or unexported fields
}
NullableSecurityFilterType handles when a null is used for SecurityFilterType.
func NewNullableSecurityFilterType ¶
func NewNullableSecurityFilterType(val *SecurityFilterType) *NullableSecurityFilterType
NewNullableSecurityFilterType initializes the struct as if Set has been called.
func (NullableSecurityFilterType) Get ¶
func (v NullableSecurityFilterType) Get() *SecurityFilterType
Get returns the associated value.
func (NullableSecurityFilterType) IsSet ¶
func (v NullableSecurityFilterType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityFilterType) MarshalJSON ¶
func (v NullableSecurityFilterType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityFilterType) Set ¶
func (v *NullableSecurityFilterType) Set(val *SecurityFilterType)
Set changes the value and indicates it's been called.
func (*NullableSecurityFilterType) UnmarshalJSON ¶
func (v *NullableSecurityFilterType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityFilterType) Unset ¶
func (v *NullableSecurityFilterType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringFilterAction ¶
type NullableSecurityMonitoringFilterAction struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringFilterAction handles when a null is used for SecurityMonitoringFilterAction.
func NewNullableSecurityMonitoringFilterAction ¶
func NewNullableSecurityMonitoringFilterAction(val *SecurityMonitoringFilterAction) *NullableSecurityMonitoringFilterAction
NewNullableSecurityMonitoringFilterAction initializes the struct as if Set has been called.
func (NullableSecurityMonitoringFilterAction) Get ¶
func (v NullableSecurityMonitoringFilterAction) Get() *SecurityMonitoringFilterAction
Get returns the associated value.
func (NullableSecurityMonitoringFilterAction) IsSet ¶
func (v NullableSecurityMonitoringFilterAction) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringFilterAction) MarshalJSON ¶
func (v NullableSecurityMonitoringFilterAction) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringFilterAction) Set ¶
func (v *NullableSecurityMonitoringFilterAction) Set(val *SecurityMonitoringFilterAction)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringFilterAction) UnmarshalJSON ¶
func (v *NullableSecurityMonitoringFilterAction) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringFilterAction) Unset ¶
func (v *NullableSecurityMonitoringFilterAction) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleDetectionMethod ¶
type NullableSecurityMonitoringRuleDetectionMethod struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleDetectionMethod handles when a null is used for SecurityMonitoringRuleDetectionMethod.
func NewNullableSecurityMonitoringRuleDetectionMethod ¶
func NewNullableSecurityMonitoringRuleDetectionMethod(val *SecurityMonitoringRuleDetectionMethod) *NullableSecurityMonitoringRuleDetectionMethod
NewNullableSecurityMonitoringRuleDetectionMethod initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleDetectionMethod) IsSet ¶
func (v NullableSecurityMonitoringRuleDetectionMethod) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleDetectionMethod) MarshalJSON ¶
func (v NullableSecurityMonitoringRuleDetectionMethod) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleDetectionMethod) Set ¶
func (v *NullableSecurityMonitoringRuleDetectionMethod) Set(val *SecurityMonitoringRuleDetectionMethod)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleDetectionMethod) UnmarshalJSON ¶
func (v *NullableSecurityMonitoringRuleDetectionMethod) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleDetectionMethod) Unset ¶
func (v *NullableSecurityMonitoringRuleDetectionMethod) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleEvaluationWindow ¶
type NullableSecurityMonitoringRuleEvaluationWindow struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleEvaluationWindow handles when a null is used for SecurityMonitoringRuleEvaluationWindow.
func NewNullableSecurityMonitoringRuleEvaluationWindow ¶
func NewNullableSecurityMonitoringRuleEvaluationWindow(val *SecurityMonitoringRuleEvaluationWindow) *NullableSecurityMonitoringRuleEvaluationWindow
NewNullableSecurityMonitoringRuleEvaluationWindow initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleEvaluationWindow) Get ¶
func (v NullableSecurityMonitoringRuleEvaluationWindow) Get() *SecurityMonitoringRuleEvaluationWindow
Get returns the associated value.
func (NullableSecurityMonitoringRuleEvaluationWindow) IsSet ¶
func (v NullableSecurityMonitoringRuleEvaluationWindow) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleEvaluationWindow) MarshalJSON ¶
func (v NullableSecurityMonitoringRuleEvaluationWindow) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleEvaluationWindow) Set ¶
func (v *NullableSecurityMonitoringRuleEvaluationWindow) Set(val *SecurityMonitoringRuleEvaluationWindow)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleEvaluationWindow) UnmarshalJSON ¶
func (v *NullableSecurityMonitoringRuleEvaluationWindow) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleEvaluationWindow) Unset ¶
func (v *NullableSecurityMonitoringRuleEvaluationWindow) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleHardcodedEvaluatorType ¶ added in v1.14.0
type NullableSecurityMonitoringRuleHardcodedEvaluatorType struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleHardcodedEvaluatorType handles when a null is used for SecurityMonitoringRuleHardcodedEvaluatorType.
func NewNullableSecurityMonitoringRuleHardcodedEvaluatorType ¶ added in v1.14.0
func NewNullableSecurityMonitoringRuleHardcodedEvaluatorType(val *SecurityMonitoringRuleHardcodedEvaluatorType) *NullableSecurityMonitoringRuleHardcodedEvaluatorType
NewNullableSecurityMonitoringRuleHardcodedEvaluatorType initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleHardcodedEvaluatorType) Get ¶ added in v1.14.0
func (v NullableSecurityMonitoringRuleHardcodedEvaluatorType) Get() *SecurityMonitoringRuleHardcodedEvaluatorType
Get returns the associated value.
func (NullableSecurityMonitoringRuleHardcodedEvaluatorType) IsSet ¶ added in v1.14.0
func (v NullableSecurityMonitoringRuleHardcodedEvaluatorType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleHardcodedEvaluatorType) MarshalJSON ¶ added in v1.14.0
func (v NullableSecurityMonitoringRuleHardcodedEvaluatorType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleHardcodedEvaluatorType) Set ¶ added in v1.14.0
func (v *NullableSecurityMonitoringRuleHardcodedEvaluatorType) Set(val *SecurityMonitoringRuleHardcodedEvaluatorType)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleHardcodedEvaluatorType) UnmarshalJSON ¶ added in v1.14.0
func (v *NullableSecurityMonitoringRuleHardcodedEvaluatorType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleHardcodedEvaluatorType) Unset ¶ added in v1.14.0
func (v *NullableSecurityMonitoringRuleHardcodedEvaluatorType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleKeepAlive ¶
type NullableSecurityMonitoringRuleKeepAlive struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleKeepAlive handles when a null is used for SecurityMonitoringRuleKeepAlive.
func NewNullableSecurityMonitoringRuleKeepAlive ¶
func NewNullableSecurityMonitoringRuleKeepAlive(val *SecurityMonitoringRuleKeepAlive) *NullableSecurityMonitoringRuleKeepAlive
NewNullableSecurityMonitoringRuleKeepAlive initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleKeepAlive) IsSet ¶
func (v NullableSecurityMonitoringRuleKeepAlive) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleKeepAlive) MarshalJSON ¶
func (v NullableSecurityMonitoringRuleKeepAlive) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleKeepAlive) Set ¶
func (v *NullableSecurityMonitoringRuleKeepAlive) Set(val *SecurityMonitoringRuleKeepAlive)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleKeepAlive) UnmarshalJSON ¶
func (v *NullableSecurityMonitoringRuleKeepAlive) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleKeepAlive) Unset ¶
func (v *NullableSecurityMonitoringRuleKeepAlive) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleMaxSignalDuration ¶
type NullableSecurityMonitoringRuleMaxSignalDuration struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleMaxSignalDuration handles when a null is used for SecurityMonitoringRuleMaxSignalDuration.
func NewNullableSecurityMonitoringRuleMaxSignalDuration ¶
func NewNullableSecurityMonitoringRuleMaxSignalDuration(val *SecurityMonitoringRuleMaxSignalDuration) *NullableSecurityMonitoringRuleMaxSignalDuration
NewNullableSecurityMonitoringRuleMaxSignalDuration initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleMaxSignalDuration) Get ¶
func (v NullableSecurityMonitoringRuleMaxSignalDuration) Get() *SecurityMonitoringRuleMaxSignalDuration
Get returns the associated value.
func (NullableSecurityMonitoringRuleMaxSignalDuration) IsSet ¶
func (v NullableSecurityMonitoringRuleMaxSignalDuration) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleMaxSignalDuration) MarshalJSON ¶
func (v NullableSecurityMonitoringRuleMaxSignalDuration) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleMaxSignalDuration) Set ¶
func (v *NullableSecurityMonitoringRuleMaxSignalDuration) Set(val *SecurityMonitoringRuleMaxSignalDuration)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON ¶
func (v *NullableSecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleMaxSignalDuration) Unset ¶
func (v *NullableSecurityMonitoringRuleMaxSignalDuration) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleNewValueOptionsForgetAfter ¶
type NullableSecurityMonitoringRuleNewValueOptionsForgetAfter struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleNewValueOptionsForgetAfter handles when a null is used for SecurityMonitoringRuleNewValueOptionsForgetAfter.
func NewNullableSecurityMonitoringRuleNewValueOptionsForgetAfter ¶
func NewNullableSecurityMonitoringRuleNewValueOptionsForgetAfter(val *SecurityMonitoringRuleNewValueOptionsForgetAfter) *NullableSecurityMonitoringRuleNewValueOptionsForgetAfter
NewNullableSecurityMonitoringRuleNewValueOptionsForgetAfter initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Get ¶
func (v NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Get() *SecurityMonitoringRuleNewValueOptionsForgetAfter
Get returns the associated value.
func (NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) IsSet ¶
func (v NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) MarshalJSON ¶
func (v NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Set ¶
func (v *NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Set(val *SecurityMonitoringRuleNewValueOptionsForgetAfter)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) UnmarshalJSON ¶
func (v *NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Unset ¶
func (v *NullableSecurityMonitoringRuleNewValueOptionsForgetAfter) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleNewValueOptionsLearningDuration ¶
type NullableSecurityMonitoringRuleNewValueOptionsLearningDuration struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleNewValueOptionsLearningDuration handles when a null is used for SecurityMonitoringRuleNewValueOptionsLearningDuration.
func NewNullableSecurityMonitoringRuleNewValueOptionsLearningDuration ¶
func NewNullableSecurityMonitoringRuleNewValueOptionsLearningDuration(val *SecurityMonitoringRuleNewValueOptionsLearningDuration) *NullableSecurityMonitoringRuleNewValueOptionsLearningDuration
NewNullableSecurityMonitoringRuleNewValueOptionsLearningDuration initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Get ¶
func (v NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Get() *SecurityMonitoringRuleNewValueOptionsLearningDuration
Get returns the associated value.
func (NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) IsSet ¶
func (v NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) MarshalJSON ¶
func (v NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Set ¶
func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Set(val *SecurityMonitoringRuleNewValueOptionsLearningDuration)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) UnmarshalJSON ¶
func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Unset ¶
func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningDuration) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleNewValueOptionsLearningMethod ¶ added in v1.15.0
type NullableSecurityMonitoringRuleNewValueOptionsLearningMethod struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleNewValueOptionsLearningMethod handles when a null is used for SecurityMonitoringRuleNewValueOptionsLearningMethod.
func NewNullableSecurityMonitoringRuleNewValueOptionsLearningMethod ¶ added in v1.15.0
func NewNullableSecurityMonitoringRuleNewValueOptionsLearningMethod(val *SecurityMonitoringRuleNewValueOptionsLearningMethod) *NullableSecurityMonitoringRuleNewValueOptionsLearningMethod
NewNullableSecurityMonitoringRuleNewValueOptionsLearningMethod initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Get ¶ added in v1.15.0
func (v NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Get() *SecurityMonitoringRuleNewValueOptionsLearningMethod
Get returns the associated value.
func (NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) IsSet ¶ added in v1.15.0
func (v NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) MarshalJSON ¶ added in v1.15.0
func (v NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Set ¶ added in v1.15.0
func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Set(val *SecurityMonitoringRuleNewValueOptionsLearningMethod)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) UnmarshalJSON ¶ added in v1.15.0
func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Unset ¶ added in v1.15.0
func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningMethod) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold ¶ added in v1.15.0
type NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold handles when a null is used for SecurityMonitoringRuleNewValueOptionsLearningThreshold.
func NewNullableSecurityMonitoringRuleNewValueOptionsLearningThreshold ¶ added in v1.15.0
func NewNullableSecurityMonitoringRuleNewValueOptionsLearningThreshold(val *SecurityMonitoringRuleNewValueOptionsLearningThreshold) *NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold
NewNullableSecurityMonitoringRuleNewValueOptionsLearningThreshold initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Get ¶ added in v1.15.0
func (v NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Get() *SecurityMonitoringRuleNewValueOptionsLearningThreshold
Get returns the associated value.
func (NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) IsSet ¶ added in v1.15.0
func (v NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) MarshalJSON ¶ added in v1.15.0
func (v NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Set ¶ added in v1.15.0
func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Set(val *SecurityMonitoringRuleNewValueOptionsLearningThreshold)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) UnmarshalJSON ¶ added in v1.15.0
func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Unset ¶ added in v1.15.0
func (v *NullableSecurityMonitoringRuleNewValueOptionsLearningThreshold) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleQueryAggregation ¶
type NullableSecurityMonitoringRuleQueryAggregation struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleQueryAggregation handles when a null is used for SecurityMonitoringRuleQueryAggregation.
func NewNullableSecurityMonitoringRuleQueryAggregation ¶
func NewNullableSecurityMonitoringRuleQueryAggregation(val *SecurityMonitoringRuleQueryAggregation) *NullableSecurityMonitoringRuleQueryAggregation
NewNullableSecurityMonitoringRuleQueryAggregation initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleQueryAggregation) Get ¶
func (v NullableSecurityMonitoringRuleQueryAggregation) Get() *SecurityMonitoringRuleQueryAggregation
Get returns the associated value.
func (NullableSecurityMonitoringRuleQueryAggregation) IsSet ¶
func (v NullableSecurityMonitoringRuleQueryAggregation) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleQueryAggregation) MarshalJSON ¶
func (v NullableSecurityMonitoringRuleQueryAggregation) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleQueryAggregation) Set ¶
func (v *NullableSecurityMonitoringRuleQueryAggregation) Set(val *SecurityMonitoringRuleQueryAggregation)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleQueryAggregation) UnmarshalJSON ¶
func (v *NullableSecurityMonitoringRuleQueryAggregation) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleQueryAggregation) Unset ¶
func (v *NullableSecurityMonitoringRuleQueryAggregation) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleSeverity ¶
type NullableSecurityMonitoringRuleSeverity struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleSeverity handles when a null is used for SecurityMonitoringRuleSeverity.
func NewNullableSecurityMonitoringRuleSeverity ¶
func NewNullableSecurityMonitoringRuleSeverity(val *SecurityMonitoringRuleSeverity) *NullableSecurityMonitoringRuleSeverity
NewNullableSecurityMonitoringRuleSeverity initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleSeverity) Get ¶
func (v NullableSecurityMonitoringRuleSeverity) Get() *SecurityMonitoringRuleSeverity
Get returns the associated value.
func (NullableSecurityMonitoringRuleSeverity) IsSet ¶
func (v NullableSecurityMonitoringRuleSeverity) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleSeverity) MarshalJSON ¶
func (v NullableSecurityMonitoringRuleSeverity) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleSeverity) Set ¶
func (v *NullableSecurityMonitoringRuleSeverity) Set(val *SecurityMonitoringRuleSeverity)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleSeverity) UnmarshalJSON ¶
func (v *NullableSecurityMonitoringRuleSeverity) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleSeverity) Unset ¶
func (v *NullableSecurityMonitoringRuleSeverity) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleTypeCreate ¶ added in v1.3.0
type NullableSecurityMonitoringRuleTypeCreate struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleTypeCreate handles when a null is used for SecurityMonitoringRuleTypeCreate.
func NewNullableSecurityMonitoringRuleTypeCreate ¶ added in v1.3.0
func NewNullableSecurityMonitoringRuleTypeCreate(val *SecurityMonitoringRuleTypeCreate) *NullableSecurityMonitoringRuleTypeCreate
NewNullableSecurityMonitoringRuleTypeCreate initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleTypeCreate) Get ¶ added in v1.3.0
Get returns the associated value.
func (NullableSecurityMonitoringRuleTypeCreate) IsSet ¶ added in v1.3.0
func (v NullableSecurityMonitoringRuleTypeCreate) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleTypeCreate) MarshalJSON ¶ added in v1.3.0
func (v NullableSecurityMonitoringRuleTypeCreate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleTypeCreate) Set ¶ added in v1.3.0
func (v *NullableSecurityMonitoringRuleTypeCreate) Set(val *SecurityMonitoringRuleTypeCreate)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleTypeCreate) UnmarshalJSON ¶ added in v1.3.0
func (v *NullableSecurityMonitoringRuleTypeCreate) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleTypeCreate) Unset ¶ added in v1.3.0
func (v *NullableSecurityMonitoringRuleTypeCreate) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringRuleTypeRead ¶ added in v1.3.0
type NullableSecurityMonitoringRuleTypeRead struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringRuleTypeRead handles when a null is used for SecurityMonitoringRuleTypeRead.
func NewNullableSecurityMonitoringRuleTypeRead ¶ added in v1.3.0
func NewNullableSecurityMonitoringRuleTypeRead(val *SecurityMonitoringRuleTypeRead) *NullableSecurityMonitoringRuleTypeRead
NewNullableSecurityMonitoringRuleTypeRead initializes the struct as if Set has been called.
func (NullableSecurityMonitoringRuleTypeRead) Get ¶ added in v1.3.0
func (v NullableSecurityMonitoringRuleTypeRead) Get() *SecurityMonitoringRuleTypeRead
Get returns the associated value.
func (NullableSecurityMonitoringRuleTypeRead) IsSet ¶ added in v1.3.0
func (v NullableSecurityMonitoringRuleTypeRead) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringRuleTypeRead) MarshalJSON ¶ added in v1.3.0
func (v NullableSecurityMonitoringRuleTypeRead) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringRuleTypeRead) Set ¶ added in v1.3.0
func (v *NullableSecurityMonitoringRuleTypeRead) Set(val *SecurityMonitoringRuleTypeRead)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringRuleTypeRead) UnmarshalJSON ¶ added in v1.3.0
func (v *NullableSecurityMonitoringRuleTypeRead) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringRuleTypeRead) Unset ¶ added in v1.3.0
func (v *NullableSecurityMonitoringRuleTypeRead) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringSignalArchiveReason ¶ added in v1.16.0
type NullableSecurityMonitoringSignalArchiveReason struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringSignalArchiveReason handles when a null is used for SecurityMonitoringSignalArchiveReason.
func NewNullableSecurityMonitoringSignalArchiveReason ¶ added in v1.16.0
func NewNullableSecurityMonitoringSignalArchiveReason(val *SecurityMonitoringSignalArchiveReason) *NullableSecurityMonitoringSignalArchiveReason
NewNullableSecurityMonitoringSignalArchiveReason initializes the struct as if Set has been called.
func (NullableSecurityMonitoringSignalArchiveReason) Get ¶ added in v1.16.0
Get returns the associated value.
func (NullableSecurityMonitoringSignalArchiveReason) IsSet ¶ added in v1.16.0
func (v NullableSecurityMonitoringSignalArchiveReason) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringSignalArchiveReason) MarshalJSON ¶ added in v1.16.0
func (v NullableSecurityMonitoringSignalArchiveReason) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringSignalArchiveReason) Set ¶ added in v1.16.0
func (v *NullableSecurityMonitoringSignalArchiveReason) Set(val *SecurityMonitoringSignalArchiveReason)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringSignalArchiveReason) UnmarshalJSON ¶ added in v1.16.0
func (v *NullableSecurityMonitoringSignalArchiveReason) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringSignalArchiveReason) Unset ¶ added in v1.16.0
func (v *NullableSecurityMonitoringSignalArchiveReason) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringSignalState ¶ added in v1.16.0
type NullableSecurityMonitoringSignalState struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringSignalState handles when a null is used for SecurityMonitoringSignalState.
func NewNullableSecurityMonitoringSignalState ¶ added in v1.16.0
func NewNullableSecurityMonitoringSignalState(val *SecurityMonitoringSignalState) *NullableSecurityMonitoringSignalState
NewNullableSecurityMonitoringSignalState initializes the struct as if Set has been called.
func (NullableSecurityMonitoringSignalState) Get ¶ added in v1.16.0
func (v NullableSecurityMonitoringSignalState) Get() *SecurityMonitoringSignalState
Get returns the associated value.
func (NullableSecurityMonitoringSignalState) IsSet ¶ added in v1.16.0
func (v NullableSecurityMonitoringSignalState) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringSignalState) MarshalJSON ¶ added in v1.16.0
func (v NullableSecurityMonitoringSignalState) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringSignalState) Set ¶ added in v1.16.0
func (v *NullableSecurityMonitoringSignalState) Set(val *SecurityMonitoringSignalState)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringSignalState) UnmarshalJSON ¶ added in v1.16.0
func (v *NullableSecurityMonitoringSignalState) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringSignalState) Unset ¶ added in v1.16.0
func (v *NullableSecurityMonitoringSignalState) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringSignalType ¶
type NullableSecurityMonitoringSignalType struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringSignalType handles when a null is used for SecurityMonitoringSignalType.
func NewNullableSecurityMonitoringSignalType ¶
func NewNullableSecurityMonitoringSignalType(val *SecurityMonitoringSignalType) *NullableSecurityMonitoringSignalType
NewNullableSecurityMonitoringSignalType initializes the struct as if Set has been called.
func (NullableSecurityMonitoringSignalType) Get ¶
func (v NullableSecurityMonitoringSignalType) Get() *SecurityMonitoringSignalType
Get returns the associated value.
func (NullableSecurityMonitoringSignalType) IsSet ¶
func (v NullableSecurityMonitoringSignalType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringSignalType) MarshalJSON ¶
func (v NullableSecurityMonitoringSignalType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringSignalType) Set ¶
func (v *NullableSecurityMonitoringSignalType) Set(val *SecurityMonitoringSignalType)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringSignalType) UnmarshalJSON ¶
func (v *NullableSecurityMonitoringSignalType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringSignalType) Unset ¶
func (v *NullableSecurityMonitoringSignalType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableSecurityMonitoringSignalsSort ¶
type NullableSecurityMonitoringSignalsSort struct {
// contains filtered or unexported fields
}
NullableSecurityMonitoringSignalsSort handles when a null is used for SecurityMonitoringSignalsSort.
func NewNullableSecurityMonitoringSignalsSort ¶
func NewNullableSecurityMonitoringSignalsSort(val *SecurityMonitoringSignalsSort) *NullableSecurityMonitoringSignalsSort
NewNullableSecurityMonitoringSignalsSort initializes the struct as if Set has been called.
func (NullableSecurityMonitoringSignalsSort) Get ¶
func (v NullableSecurityMonitoringSignalsSort) Get() *SecurityMonitoringSignalsSort
Get returns the associated value.
func (NullableSecurityMonitoringSignalsSort) IsSet ¶
func (v NullableSecurityMonitoringSignalsSort) IsSet() bool
IsSet returns whether Set has been called.
func (NullableSecurityMonitoringSignalsSort) MarshalJSON ¶
func (v NullableSecurityMonitoringSignalsSort) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableSecurityMonitoringSignalsSort) Set ¶
func (v *NullableSecurityMonitoringSignalsSort) Set(val *SecurityMonitoringSignalsSort)
Set changes the value and indicates it's been called.
func (*NullableSecurityMonitoringSignalsSort) UnmarshalJSON ¶
func (v *NullableSecurityMonitoringSignalsSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableSecurityMonitoringSignalsSort) Unset ¶
func (v *NullableSecurityMonitoringSignalsSort) Unset()
Unset sets the value to nil and resets the set flag.
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
NullableString is a struct to hold a nullable string value.
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
NewNullableString instantiates a new nullable string.
func (NullableString) Get ¶
func (v NullableString) Get() *string
Get returns the value associated with the nullable string.
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
IsSet returns true if the value has been set.
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
Set sets the value associated with the nullable string.
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes to the associated value.
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
Unset resets fields of the nullable string.
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
NullableTime is a struct to hold a nullable Time value.
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
NewNullableTime instantiates a new nullable Time.
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
Get returns the value associated with the nullable Time.
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
IsSet returns true if the value has been set.
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
Set sets the value associated with the nullable Time.
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes to the associated value.
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
Unset resets fields of the nullable Time.
type NullableUsageTimeSeriesType ¶ added in v1.14.0
type NullableUsageTimeSeriesType struct {
// contains filtered or unexported fields
}
NullableUsageTimeSeriesType handles when a null is used for UsageTimeSeriesType.
func NewNullableUsageTimeSeriesType ¶ added in v1.14.0
func NewNullableUsageTimeSeriesType(val *UsageTimeSeriesType) *NullableUsageTimeSeriesType
NewNullableUsageTimeSeriesType initializes the struct as if Set has been called.
func (NullableUsageTimeSeriesType) Get ¶ added in v1.14.0
func (v NullableUsageTimeSeriesType) Get() *UsageTimeSeriesType
Get returns the associated value.
func (NullableUsageTimeSeriesType) IsSet ¶ added in v1.14.0
func (v NullableUsageTimeSeriesType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableUsageTimeSeriesType) MarshalJSON ¶ added in v1.14.0
func (v NullableUsageTimeSeriesType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableUsageTimeSeriesType) Set ¶ added in v1.14.0
func (v *NullableUsageTimeSeriesType) Set(val *UsageTimeSeriesType)
Set changes the value and indicates it's been called.
func (*NullableUsageTimeSeriesType) UnmarshalJSON ¶ added in v1.14.0
func (v *NullableUsageTimeSeriesType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableUsageTimeSeriesType) Unset ¶ added in v1.14.0
func (v *NullableUsageTimeSeriesType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableUserInvitationsType ¶
type NullableUserInvitationsType struct {
// contains filtered or unexported fields
}
NullableUserInvitationsType handles when a null is used for UserInvitationsType.
func NewNullableUserInvitationsType ¶
func NewNullableUserInvitationsType(val *UserInvitationsType) *NullableUserInvitationsType
NewNullableUserInvitationsType initializes the struct as if Set has been called.
func (NullableUserInvitationsType) Get ¶
func (v NullableUserInvitationsType) Get() *UserInvitationsType
Get returns the associated value.
func (NullableUserInvitationsType) IsSet ¶
func (v NullableUserInvitationsType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableUserInvitationsType) MarshalJSON ¶
func (v NullableUserInvitationsType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableUserInvitationsType) Set ¶
func (v *NullableUserInvitationsType) Set(val *UserInvitationsType)
Set changes the value and indicates it's been called.
func (*NullableUserInvitationsType) UnmarshalJSON ¶
func (v *NullableUserInvitationsType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableUserInvitationsType) Unset ¶
func (v *NullableUserInvitationsType) Unset()
Unset sets the value to nil and resets the set flag.
type NullableUserResponseIncludedItem ¶
type NullableUserResponseIncludedItem struct {
// contains filtered or unexported fields
}
NullableUserResponseIncludedItem handles when a null is used for UserResponseIncludedItem.
func NewNullableUserResponseIncludedItem ¶
func NewNullableUserResponseIncludedItem(val *UserResponseIncludedItem) *NullableUserResponseIncludedItem
NewNullableUserResponseIncludedItem initializes the struct as if Set has been called.
func (NullableUserResponseIncludedItem) Get ¶
func (v NullableUserResponseIncludedItem) Get() *UserResponseIncludedItem
Get returns the associated value.
func (NullableUserResponseIncludedItem) IsSet ¶
func (v NullableUserResponseIncludedItem) IsSet() bool
IsSet returns whether Set has been called.
func (NullableUserResponseIncludedItem) MarshalJSON ¶
func (v NullableUserResponseIncludedItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableUserResponseIncludedItem) Set ¶
func (v *NullableUserResponseIncludedItem) Set(val *UserResponseIncludedItem)
Set changes the value and indicates it's been called.
func (*NullableUserResponseIncludedItem) UnmarshalJSON ¶
func (v *NullableUserResponseIncludedItem) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableUserResponseIncludedItem) Unset ¶
func (v *NullableUserResponseIncludedItem) Unset()
Unset sets the value to nil and resets the set flag/
type NullableUsersType ¶
type NullableUsersType struct {
// contains filtered or unexported fields
}
NullableUsersType handles when a null is used for UsersType.
func NewNullableUsersType ¶
func NewNullableUsersType(val *UsersType) *NullableUsersType
NewNullableUsersType initializes the struct as if Set has been called.
func (NullableUsersType) Get ¶
func (v NullableUsersType) Get() *UsersType
Get returns the associated value.
func (NullableUsersType) IsSet ¶
func (v NullableUsersType) IsSet() bool
IsSet returns whether Set has been called.
func (NullableUsersType) MarshalJSON ¶
func (v NullableUsersType) MarshalJSON() ([]byte, error)
MarshalJSON serializes the associated value.
func (*NullableUsersType) Set ¶
func (v *NullableUsersType) Set(val *UsersType)
Set changes the value and indicates it's been called.
func (*NullableUsersType) UnmarshalJSON ¶
func (v *NullableUsersType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the payload and sets the flag as if Set has been called.
func (*NullableUsersType) Unset ¶
func (v *NullableUsersType) Unset()
Unset sets the value to nil and resets the set flag.
type OpsgenieIntegrationApiService ¶ added in v1.15.0
type OpsgenieIntegrationApiService service
OpsgenieIntegrationApiService OpsgenieIntegrationApi service.
func (*OpsgenieIntegrationApiService) CreateOpsgenieService ¶ added in v1.15.0
func (a *OpsgenieIntegrationApiService) CreateOpsgenieService(ctx _context.Context, body OpsgenieServiceCreateRequest) (OpsgenieServiceResponse, *_nethttp.Response, error)
CreateOpsgenieService Create a new service object. Create a new service object in the Opsgenie integration.
func (*OpsgenieIntegrationApiService) DeleteOpsgenieService ¶ added in v1.15.0
func (a *OpsgenieIntegrationApiService) DeleteOpsgenieService(ctx _context.Context, integrationServiceId string) (*_nethttp.Response, error)
DeleteOpsgenieService Delete a single service object. Delete a single service object in the Datadog Opsgenie integration.
func (*OpsgenieIntegrationApiService) GetOpsgenieService ¶ added in v1.15.0
func (a *OpsgenieIntegrationApiService) GetOpsgenieService(ctx _context.Context, integrationServiceId string) (OpsgenieServiceResponse, *_nethttp.Response, error)
GetOpsgenieService Get a single service object. Get a single service from the Datadog Opsgenie integration.
func (*OpsgenieIntegrationApiService) ListOpsgenieServices ¶ added in v1.15.0
func (a *OpsgenieIntegrationApiService) ListOpsgenieServices(ctx _context.Context) (OpsgenieServicesResponse, *_nethttp.Response, error)
ListOpsgenieServices Get all service objects. Get a list of all services from the Datadog Opsgenie integration.
func (*OpsgenieIntegrationApiService) UpdateOpsgenieService ¶ added in v1.15.0
func (a *OpsgenieIntegrationApiService) UpdateOpsgenieService(ctx _context.Context, integrationServiceId string, body OpsgenieServiceUpdateRequest) (OpsgenieServiceResponse, *_nethttp.Response, error)
UpdateOpsgenieService Update a single service object. Update a single service object in the Datadog Opsgenie integration.
type OpsgenieServiceCreateAttributes ¶ added in v1.15.0
type OpsgenieServiceCreateAttributes struct {
// The custom URL for a custom region.
CustomUrl *string `json:"custom_url,omitempty"`
// The name for the Opsgenie service.
Name string `json:"name"`
// The Opsgenie API key for your Opsgenie service.
OpsgenieApiKey string `json:"opsgenie_api_key"`
// The region for the Opsgenie service.
Region OpsgenieServiceRegionType `json:"region"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
OpsgenieServiceCreateAttributes The Opsgenie service attributes for a create request.
func NewOpsgenieServiceCreateAttributes ¶ added in v1.15.0
func NewOpsgenieServiceCreateAttributes(name string, opsgenieApiKey string, region OpsgenieServiceRegionType) *OpsgenieServiceCreateAttributes
NewOpsgenieServiceCreateAttributes instantiates a new OpsgenieServiceCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsgenieServiceCreateAttributesWithDefaults ¶ added in v1.15.0
func NewOpsgenieServiceCreateAttributesWithDefaults() *OpsgenieServiceCreateAttributes
NewOpsgenieServiceCreateAttributesWithDefaults instantiates a new OpsgenieServiceCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsgenieServiceCreateAttributes) GetCustomUrl ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) GetCustomUrl() string
GetCustomUrl returns the CustomUrl field value if set, zero value otherwise.
func (*OpsgenieServiceCreateAttributes) GetCustomUrlOk ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) GetCustomUrlOk() (*string, bool)
GetCustomUrlOk returns a tuple with the CustomUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsgenieServiceCreateAttributes) GetName ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) GetName() string
GetName returns the Name field value.
func (*OpsgenieServiceCreateAttributes) GetNameOk ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*OpsgenieServiceCreateAttributes) GetOpsgenieApiKey ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) GetOpsgenieApiKey() string
GetOpsgenieApiKey returns the OpsgenieApiKey field value.
func (*OpsgenieServiceCreateAttributes) GetOpsgenieApiKeyOk ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) GetOpsgenieApiKeyOk() (*string, bool)
GetOpsgenieApiKeyOk returns a tuple with the OpsgenieApiKey field value and a boolean to check if the value has been set.
func (*OpsgenieServiceCreateAttributes) GetRegion ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) GetRegion() OpsgenieServiceRegionType
GetRegion returns the Region field value.
func (*OpsgenieServiceCreateAttributes) GetRegionOk ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) GetRegionOk() (*OpsgenieServiceRegionType, bool)
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*OpsgenieServiceCreateAttributes) HasCustomUrl ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) HasCustomUrl() bool
HasCustomUrl returns a boolean if a field has been set.
func (OpsgenieServiceCreateAttributes) MarshalJSON ¶ added in v1.15.0
func (o OpsgenieServiceCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsgenieServiceCreateAttributes) SetCustomUrl ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) SetCustomUrl(v string)
SetCustomUrl gets a reference to the given string and assigns it to the CustomUrl field.
func (*OpsgenieServiceCreateAttributes) SetName ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) SetName(v string)
SetName sets field value.
func (*OpsgenieServiceCreateAttributes) SetOpsgenieApiKey ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) SetOpsgenieApiKey(v string)
SetOpsgenieApiKey sets field value.
func (*OpsgenieServiceCreateAttributes) SetRegion ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) SetRegion(v OpsgenieServiceRegionType)
SetRegion sets field value.
func (*OpsgenieServiceCreateAttributes) UnmarshalJSON ¶ added in v1.15.0
func (o *OpsgenieServiceCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsgenieServiceCreateData ¶ added in v1.15.0
type OpsgenieServiceCreateData struct {
// The Opsgenie service attributes for a create request.
Attributes OpsgenieServiceCreateAttributes `json:"attributes"`
// Opsgenie service resource type.
Type OpsgenieServiceType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
OpsgenieServiceCreateData Opsgenie service data for a create request.
func NewOpsgenieServiceCreateData ¶ added in v1.15.0
func NewOpsgenieServiceCreateData(attributes OpsgenieServiceCreateAttributes, typeVar OpsgenieServiceType) *OpsgenieServiceCreateData
NewOpsgenieServiceCreateData instantiates a new OpsgenieServiceCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsgenieServiceCreateDataWithDefaults ¶ added in v1.15.0
func NewOpsgenieServiceCreateDataWithDefaults() *OpsgenieServiceCreateData
NewOpsgenieServiceCreateDataWithDefaults instantiates a new OpsgenieServiceCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsgenieServiceCreateData) GetAttributes ¶ added in v1.15.0
func (o *OpsgenieServiceCreateData) GetAttributes() OpsgenieServiceCreateAttributes
GetAttributes returns the Attributes field value.
func (*OpsgenieServiceCreateData) GetAttributesOk ¶ added in v1.15.0
func (o *OpsgenieServiceCreateData) GetAttributesOk() (*OpsgenieServiceCreateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*OpsgenieServiceCreateData) GetType ¶ added in v1.15.0
func (o *OpsgenieServiceCreateData) GetType() OpsgenieServiceType
GetType returns the Type field value.
func (*OpsgenieServiceCreateData) GetTypeOk ¶ added in v1.15.0
func (o *OpsgenieServiceCreateData) GetTypeOk() (*OpsgenieServiceType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (OpsgenieServiceCreateData) MarshalJSON ¶ added in v1.15.0
func (o OpsgenieServiceCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsgenieServiceCreateData) SetAttributes ¶ added in v1.15.0
func (o *OpsgenieServiceCreateData) SetAttributes(v OpsgenieServiceCreateAttributes)
SetAttributes sets field value.
func (*OpsgenieServiceCreateData) SetType ¶ added in v1.15.0
func (o *OpsgenieServiceCreateData) SetType(v OpsgenieServiceType)
SetType sets field value.
func (*OpsgenieServiceCreateData) UnmarshalJSON ¶ added in v1.15.0
func (o *OpsgenieServiceCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsgenieServiceCreateRequest ¶ added in v1.15.0
type OpsgenieServiceCreateRequest struct {
// Opsgenie service data for a create request.
Data OpsgenieServiceCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
OpsgenieServiceCreateRequest Create request for an Opsgenie service.
func NewOpsgenieServiceCreateRequest ¶ added in v1.15.0
func NewOpsgenieServiceCreateRequest(data OpsgenieServiceCreateData) *OpsgenieServiceCreateRequest
NewOpsgenieServiceCreateRequest instantiates a new OpsgenieServiceCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsgenieServiceCreateRequestWithDefaults ¶ added in v1.15.0
func NewOpsgenieServiceCreateRequestWithDefaults() *OpsgenieServiceCreateRequest
NewOpsgenieServiceCreateRequestWithDefaults instantiates a new OpsgenieServiceCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsgenieServiceCreateRequest) GetData ¶ added in v1.15.0
func (o *OpsgenieServiceCreateRequest) GetData() OpsgenieServiceCreateData
GetData returns the Data field value.
func (*OpsgenieServiceCreateRequest) GetDataOk ¶ added in v1.15.0
func (o *OpsgenieServiceCreateRequest) GetDataOk() (*OpsgenieServiceCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (OpsgenieServiceCreateRequest) MarshalJSON ¶ added in v1.15.0
func (o OpsgenieServiceCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsgenieServiceCreateRequest) SetData ¶ added in v1.15.0
func (o *OpsgenieServiceCreateRequest) SetData(v OpsgenieServiceCreateData)
SetData sets field value.
func (*OpsgenieServiceCreateRequest) UnmarshalJSON ¶ added in v1.15.0
func (o *OpsgenieServiceCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsgenieServiceRegionType ¶ added in v1.15.0
type OpsgenieServiceRegionType string
OpsgenieServiceRegionType The region for the Opsgenie service.
const ( OPSGENIESERVICEREGIONTYPE_US OpsgenieServiceRegionType = "us" OPSGENIESERVICEREGIONTYPE_EU OpsgenieServiceRegionType = "eu" OPSGENIESERVICEREGIONTYPE_CUSTOM OpsgenieServiceRegionType = "custom" )
List of OpsgenieServiceRegionType.
func NewOpsgenieServiceRegionTypeFromValue ¶ added in v1.15.0
func NewOpsgenieServiceRegionTypeFromValue(v string) (*OpsgenieServiceRegionType, error)
NewOpsgenieServiceRegionTypeFromValue returns a pointer to a valid OpsgenieServiceRegionType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*OpsgenieServiceRegionType) GetAllowedValues ¶ added in v1.15.0
func (v *OpsgenieServiceRegionType) GetAllowedValues() []OpsgenieServiceRegionType
GetAllowedValues reeturns the list of possible values.
func (OpsgenieServiceRegionType) IsValid ¶ added in v1.15.0
func (v OpsgenieServiceRegionType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (OpsgenieServiceRegionType) Ptr ¶ added in v1.15.0
func (v OpsgenieServiceRegionType) Ptr() *OpsgenieServiceRegionType
Ptr returns reference to OpsgenieServiceRegionType value.
func (*OpsgenieServiceRegionType) UnmarshalJSON ¶ added in v1.15.0
func (v *OpsgenieServiceRegionType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type OpsgenieServiceResponse ¶ added in v1.15.0
type OpsgenieServiceResponse struct {
// Opsgenie service data from a response.
Data OpsgenieServiceResponseData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
OpsgenieServiceResponse Response of an Opsgenie service.
func NewOpsgenieServiceResponse ¶ added in v1.15.0
func NewOpsgenieServiceResponse(data OpsgenieServiceResponseData) *OpsgenieServiceResponse
NewOpsgenieServiceResponse instantiates a new OpsgenieServiceResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsgenieServiceResponseWithDefaults ¶ added in v1.15.0
func NewOpsgenieServiceResponseWithDefaults() *OpsgenieServiceResponse
NewOpsgenieServiceResponseWithDefaults instantiates a new OpsgenieServiceResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsgenieServiceResponse) GetData ¶ added in v1.15.0
func (o *OpsgenieServiceResponse) GetData() OpsgenieServiceResponseData
GetData returns the Data field value.
func (*OpsgenieServiceResponse) GetDataOk ¶ added in v1.15.0
func (o *OpsgenieServiceResponse) GetDataOk() (*OpsgenieServiceResponseData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (OpsgenieServiceResponse) MarshalJSON ¶ added in v1.15.0
func (o OpsgenieServiceResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsgenieServiceResponse) SetData ¶ added in v1.15.0
func (o *OpsgenieServiceResponse) SetData(v OpsgenieServiceResponseData)
SetData sets field value.
func (*OpsgenieServiceResponse) UnmarshalJSON ¶ added in v1.15.0
func (o *OpsgenieServiceResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsgenieServiceResponseAttributes ¶ added in v1.15.0
type OpsgenieServiceResponseAttributes struct {
// The custom URL for a custom region.
CustomUrl NullableString `json:"custom_url,omitempty"`
// The name for the Opsgenie service.
Name *string `json:"name,omitempty"`
// The region for the Opsgenie service.
Region *OpsgenieServiceRegionType `json:"region,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
OpsgenieServiceResponseAttributes The attributes from an Opsgenie service response.
func NewOpsgenieServiceResponseAttributes ¶ added in v1.15.0
func NewOpsgenieServiceResponseAttributes() *OpsgenieServiceResponseAttributes
NewOpsgenieServiceResponseAttributes instantiates a new OpsgenieServiceResponseAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsgenieServiceResponseAttributesWithDefaults ¶ added in v1.15.0
func NewOpsgenieServiceResponseAttributesWithDefaults() *OpsgenieServiceResponseAttributes
NewOpsgenieServiceResponseAttributesWithDefaults instantiates a new OpsgenieServiceResponseAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsgenieServiceResponseAttributes) GetCustomUrl ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) GetCustomUrl() string
GetCustomUrl returns the CustomUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OpsgenieServiceResponseAttributes) GetCustomUrlOk ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) GetCustomUrlOk() (*string, bool)
GetCustomUrlOk returns a tuple with the CustomUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*OpsgenieServiceResponseAttributes) GetName ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*OpsgenieServiceResponseAttributes) GetNameOk ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsgenieServiceResponseAttributes) GetRegion ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) GetRegion() OpsgenieServiceRegionType
GetRegion returns the Region field value if set, zero value otherwise.
func (*OpsgenieServiceResponseAttributes) GetRegionOk ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) GetRegionOk() (*OpsgenieServiceRegionType, 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 (*OpsgenieServiceResponseAttributes) HasCustomUrl ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) HasCustomUrl() bool
HasCustomUrl returns a boolean if a field has been set.
func (*OpsgenieServiceResponseAttributes) HasName ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*OpsgenieServiceResponseAttributes) HasRegion ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (OpsgenieServiceResponseAttributes) MarshalJSON ¶ added in v1.15.0
func (o OpsgenieServiceResponseAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsgenieServiceResponseAttributes) SetCustomUrl ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) SetCustomUrl(v string)
SetCustomUrl gets a reference to the given NullableString and assigns it to the CustomUrl field.
func (*OpsgenieServiceResponseAttributes) SetCustomUrlNil ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) SetCustomUrlNil()
SetCustomUrlNil sets the value for CustomUrl to be an explicit nil.
func (*OpsgenieServiceResponseAttributes) SetName ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*OpsgenieServiceResponseAttributes) SetRegion ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) SetRegion(v OpsgenieServiceRegionType)
SetRegion gets a reference to the given OpsgenieServiceRegionType and assigns it to the Region field.
func (*OpsgenieServiceResponseAttributes) UnmarshalJSON ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*OpsgenieServiceResponseAttributes) UnsetCustomUrl ¶ added in v1.15.0
func (o *OpsgenieServiceResponseAttributes) UnsetCustomUrl()
UnsetCustomUrl ensures that no value is present for CustomUrl, not even an explicit nil.
type OpsgenieServiceResponseData ¶ added in v1.15.0
type OpsgenieServiceResponseData struct {
// The attributes from an Opsgenie service response.
Attributes OpsgenieServiceResponseAttributes `json:"attributes"`
// The ID of the Opsgenie service.
Id string `json:"id"`
// Opsgenie service resource type.
Type OpsgenieServiceType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
OpsgenieServiceResponseData Opsgenie service data from a response.
func NewOpsgenieServiceResponseData ¶ added in v1.15.0
func NewOpsgenieServiceResponseData(attributes OpsgenieServiceResponseAttributes, id string, typeVar OpsgenieServiceType) *OpsgenieServiceResponseData
NewOpsgenieServiceResponseData instantiates a new OpsgenieServiceResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsgenieServiceResponseDataWithDefaults ¶ added in v1.15.0
func NewOpsgenieServiceResponseDataWithDefaults() *OpsgenieServiceResponseData
NewOpsgenieServiceResponseDataWithDefaults instantiates a new OpsgenieServiceResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsgenieServiceResponseData) GetAttributes ¶ added in v1.15.0
func (o *OpsgenieServiceResponseData) GetAttributes() OpsgenieServiceResponseAttributes
GetAttributes returns the Attributes field value.
func (*OpsgenieServiceResponseData) GetAttributesOk ¶ added in v1.15.0
func (o *OpsgenieServiceResponseData) GetAttributesOk() (*OpsgenieServiceResponseAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*OpsgenieServiceResponseData) GetId ¶ added in v1.15.0
func (o *OpsgenieServiceResponseData) GetId() string
GetId returns the Id field value.
func (*OpsgenieServiceResponseData) GetIdOk ¶ added in v1.15.0
func (o *OpsgenieServiceResponseData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*OpsgenieServiceResponseData) GetType ¶ added in v1.15.0
func (o *OpsgenieServiceResponseData) GetType() OpsgenieServiceType
GetType returns the Type field value.
func (*OpsgenieServiceResponseData) GetTypeOk ¶ added in v1.15.0
func (o *OpsgenieServiceResponseData) GetTypeOk() (*OpsgenieServiceType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (OpsgenieServiceResponseData) MarshalJSON ¶ added in v1.15.0
func (o OpsgenieServiceResponseData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsgenieServiceResponseData) SetAttributes ¶ added in v1.15.0
func (o *OpsgenieServiceResponseData) SetAttributes(v OpsgenieServiceResponseAttributes)
SetAttributes sets field value.
func (*OpsgenieServiceResponseData) SetId ¶ added in v1.15.0
func (o *OpsgenieServiceResponseData) SetId(v string)
SetId sets field value.
func (*OpsgenieServiceResponseData) SetType ¶ added in v1.15.0
func (o *OpsgenieServiceResponseData) SetType(v OpsgenieServiceType)
SetType sets field value.
func (*OpsgenieServiceResponseData) UnmarshalJSON ¶ added in v1.15.0
func (o *OpsgenieServiceResponseData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsgenieServiceType ¶ added in v1.15.0
type OpsgenieServiceType string
OpsgenieServiceType Opsgenie service resource type.
const (
OPSGENIESERVICETYPE_OPSGENIE_SERVICE OpsgenieServiceType = "opsgenie-service"
)
List of OpsgenieServiceType.
func NewOpsgenieServiceTypeFromValue ¶ added in v1.15.0
func NewOpsgenieServiceTypeFromValue(v string) (*OpsgenieServiceType, error)
NewOpsgenieServiceTypeFromValue returns a pointer to a valid OpsgenieServiceType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*OpsgenieServiceType) GetAllowedValues ¶ added in v1.15.0
func (v *OpsgenieServiceType) GetAllowedValues() []OpsgenieServiceType
GetAllowedValues reeturns the list of possible values.
func (OpsgenieServiceType) IsValid ¶ added in v1.15.0
func (v OpsgenieServiceType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (OpsgenieServiceType) Ptr ¶ added in v1.15.0
func (v OpsgenieServiceType) Ptr() *OpsgenieServiceType
Ptr returns reference to OpsgenieServiceType value.
func (*OpsgenieServiceType) UnmarshalJSON ¶ added in v1.15.0
func (v *OpsgenieServiceType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type OpsgenieServiceUpdateAttributes ¶ added in v1.15.0
type OpsgenieServiceUpdateAttributes struct {
// The custom URL for a custom region.
CustomUrl NullableString `json:"custom_url,omitempty"`
// The name for the Opsgenie service.
Name *string `json:"name,omitempty"`
// The Opsgenie API key for your Opsgenie service.
OpsgenieApiKey *string `json:"opsgenie_api_key,omitempty"`
// The region for the Opsgenie service.
Region *OpsgenieServiceRegionType `json:"region,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
OpsgenieServiceUpdateAttributes The Opsgenie service attributes for an update request.
func NewOpsgenieServiceUpdateAttributes ¶ added in v1.15.0
func NewOpsgenieServiceUpdateAttributes() *OpsgenieServiceUpdateAttributes
NewOpsgenieServiceUpdateAttributes instantiates a new OpsgenieServiceUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsgenieServiceUpdateAttributesWithDefaults ¶ added in v1.15.0
func NewOpsgenieServiceUpdateAttributesWithDefaults() *OpsgenieServiceUpdateAttributes
NewOpsgenieServiceUpdateAttributesWithDefaults instantiates a new OpsgenieServiceUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsgenieServiceUpdateAttributes) GetCustomUrl ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) GetCustomUrl() string
GetCustomUrl returns the CustomUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OpsgenieServiceUpdateAttributes) GetCustomUrlOk ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) GetCustomUrlOk() (*string, bool)
GetCustomUrlOk returns a tuple with the CustomUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*OpsgenieServiceUpdateAttributes) GetName ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*OpsgenieServiceUpdateAttributes) GetNameOk ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsgenieServiceUpdateAttributes) GetOpsgenieApiKey ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) GetOpsgenieApiKey() string
GetOpsgenieApiKey returns the OpsgenieApiKey field value if set, zero value otherwise.
func (*OpsgenieServiceUpdateAttributes) GetOpsgenieApiKeyOk ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) GetOpsgenieApiKeyOk() (*string, bool)
GetOpsgenieApiKeyOk returns a tuple with the OpsgenieApiKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsgenieServiceUpdateAttributes) GetRegion ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) GetRegion() OpsgenieServiceRegionType
GetRegion returns the Region field value if set, zero value otherwise.
func (*OpsgenieServiceUpdateAttributes) GetRegionOk ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) GetRegionOk() (*OpsgenieServiceRegionType, 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 (*OpsgenieServiceUpdateAttributes) HasCustomUrl ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) HasCustomUrl() bool
HasCustomUrl returns a boolean if a field has been set.
func (*OpsgenieServiceUpdateAttributes) HasName ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*OpsgenieServiceUpdateAttributes) HasOpsgenieApiKey ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) HasOpsgenieApiKey() bool
HasOpsgenieApiKey returns a boolean if a field has been set.
func (*OpsgenieServiceUpdateAttributes) HasRegion ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (OpsgenieServiceUpdateAttributes) MarshalJSON ¶ added in v1.15.0
func (o OpsgenieServiceUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsgenieServiceUpdateAttributes) SetCustomUrl ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) SetCustomUrl(v string)
SetCustomUrl gets a reference to the given NullableString and assigns it to the CustomUrl field.
func (*OpsgenieServiceUpdateAttributes) SetCustomUrlNil ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) SetCustomUrlNil()
SetCustomUrlNil sets the value for CustomUrl to be an explicit nil.
func (*OpsgenieServiceUpdateAttributes) SetName ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*OpsgenieServiceUpdateAttributes) SetOpsgenieApiKey ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) SetOpsgenieApiKey(v string)
SetOpsgenieApiKey gets a reference to the given string and assigns it to the OpsgenieApiKey field.
func (*OpsgenieServiceUpdateAttributes) SetRegion ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) SetRegion(v OpsgenieServiceRegionType)
SetRegion gets a reference to the given OpsgenieServiceRegionType and assigns it to the Region field.
func (*OpsgenieServiceUpdateAttributes) UnmarshalJSON ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*OpsgenieServiceUpdateAttributes) UnsetCustomUrl ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateAttributes) UnsetCustomUrl()
UnsetCustomUrl ensures that no value is present for CustomUrl, not even an explicit nil.
type OpsgenieServiceUpdateData ¶ added in v1.15.0
type OpsgenieServiceUpdateData struct {
// The Opsgenie service attributes for an update request.
Attributes OpsgenieServiceUpdateAttributes `json:"attributes"`
// The ID of the Opsgenie service.
Id string `json:"id"`
// Opsgenie service resource type.
Type OpsgenieServiceType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
OpsgenieServiceUpdateData Opsgenie service for an update request.
func NewOpsgenieServiceUpdateData ¶ added in v1.15.0
func NewOpsgenieServiceUpdateData(attributes OpsgenieServiceUpdateAttributes, id string, typeVar OpsgenieServiceType) *OpsgenieServiceUpdateData
NewOpsgenieServiceUpdateData instantiates a new OpsgenieServiceUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsgenieServiceUpdateDataWithDefaults ¶ added in v1.15.0
func NewOpsgenieServiceUpdateDataWithDefaults() *OpsgenieServiceUpdateData
NewOpsgenieServiceUpdateDataWithDefaults instantiates a new OpsgenieServiceUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsgenieServiceUpdateData) GetAttributes ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateData) GetAttributes() OpsgenieServiceUpdateAttributes
GetAttributes returns the Attributes field value.
func (*OpsgenieServiceUpdateData) GetAttributesOk ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateData) GetAttributesOk() (*OpsgenieServiceUpdateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*OpsgenieServiceUpdateData) GetId ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateData) GetId() string
GetId returns the Id field value.
func (*OpsgenieServiceUpdateData) GetIdOk ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*OpsgenieServiceUpdateData) GetType ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateData) GetType() OpsgenieServiceType
GetType returns the Type field value.
func (*OpsgenieServiceUpdateData) GetTypeOk ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateData) GetTypeOk() (*OpsgenieServiceType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (OpsgenieServiceUpdateData) MarshalJSON ¶ added in v1.15.0
func (o OpsgenieServiceUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsgenieServiceUpdateData) SetAttributes ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateData) SetAttributes(v OpsgenieServiceUpdateAttributes)
SetAttributes sets field value.
func (*OpsgenieServiceUpdateData) SetId ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateData) SetId(v string)
SetId sets field value.
func (*OpsgenieServiceUpdateData) SetType ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateData) SetType(v OpsgenieServiceType)
SetType sets field value.
func (*OpsgenieServiceUpdateData) UnmarshalJSON ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsgenieServiceUpdateRequest ¶ added in v1.15.0
type OpsgenieServiceUpdateRequest struct {
// Opsgenie service for an update request.
Data OpsgenieServiceUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
OpsgenieServiceUpdateRequest Update request for an Opsgenie service.
func NewOpsgenieServiceUpdateRequest ¶ added in v1.15.0
func NewOpsgenieServiceUpdateRequest(data OpsgenieServiceUpdateData) *OpsgenieServiceUpdateRequest
NewOpsgenieServiceUpdateRequest instantiates a new OpsgenieServiceUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsgenieServiceUpdateRequestWithDefaults ¶ added in v1.15.0
func NewOpsgenieServiceUpdateRequestWithDefaults() *OpsgenieServiceUpdateRequest
NewOpsgenieServiceUpdateRequestWithDefaults instantiates a new OpsgenieServiceUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsgenieServiceUpdateRequest) GetData ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateRequest) GetData() OpsgenieServiceUpdateData
GetData returns the Data field value.
func (*OpsgenieServiceUpdateRequest) GetDataOk ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateRequest) GetDataOk() (*OpsgenieServiceUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (OpsgenieServiceUpdateRequest) MarshalJSON ¶ added in v1.15.0
func (o OpsgenieServiceUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsgenieServiceUpdateRequest) SetData ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateRequest) SetData(v OpsgenieServiceUpdateData)
SetData sets field value.
func (*OpsgenieServiceUpdateRequest) UnmarshalJSON ¶ added in v1.15.0
func (o *OpsgenieServiceUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsgenieServicesResponse ¶ added in v1.15.0
type OpsgenieServicesResponse struct {
// An array of Opsgenie services.
Data []OpsgenieServiceResponseData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
OpsgenieServicesResponse Response with a list of Opsgenie services.
func NewOpsgenieServicesResponse ¶ added in v1.15.0
func NewOpsgenieServicesResponse(data []OpsgenieServiceResponseData) *OpsgenieServicesResponse
NewOpsgenieServicesResponse instantiates a new OpsgenieServicesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsgenieServicesResponseWithDefaults ¶ added in v1.15.0
func NewOpsgenieServicesResponseWithDefaults() *OpsgenieServicesResponse
NewOpsgenieServicesResponseWithDefaults instantiates a new OpsgenieServicesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsgenieServicesResponse) GetData ¶ added in v1.15.0
func (o *OpsgenieServicesResponse) GetData() []OpsgenieServiceResponseData
GetData returns the Data field value.
func (*OpsgenieServicesResponse) GetDataOk ¶ added in v1.15.0
func (o *OpsgenieServicesResponse) GetDataOk() (*[]OpsgenieServiceResponseData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (OpsgenieServicesResponse) MarshalJSON ¶ added in v1.15.0
func (o OpsgenieServicesResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsgenieServicesResponse) SetData ¶ added in v1.15.0
func (o *OpsgenieServicesResponse) SetData(v []OpsgenieServiceResponseData)
SetData sets field value.
func (*OpsgenieServicesResponse) UnmarshalJSON ¶ added in v1.15.0
func (o *OpsgenieServicesResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Organization ¶
type Organization struct {
// Attributes of the organization.
Attributes *OrganizationAttributes `json:"attributes,omitempty"`
// ID of the organization.
Id *string `json:"id,omitempty"`
// Organizations resource type.
Type OrganizationsType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
Organization Organization object.
func NewOrganization ¶
func NewOrganization(typeVar OrganizationsType) *Organization
NewOrganization instantiates a new Organization object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOrganizationWithDefaults ¶
func NewOrganizationWithDefaults() *Organization
NewOrganizationWithDefaults instantiates a new Organization object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Organization) GetAttributes ¶
func (o *Organization) GetAttributes() OrganizationAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*Organization) GetAttributesOk ¶
func (o *Organization) GetAttributesOk() (*OrganizationAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Organization) GetId ¶
func (o *Organization) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*Organization) GetIdOk ¶
func (o *Organization) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Organization) GetType ¶
func (o *Organization) GetType() OrganizationsType
GetType returns the Type field value.
func (*Organization) GetTypeOk ¶
func (o *Organization) GetTypeOk() (*OrganizationsType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Organization) HasAttributes ¶
func (o *Organization) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*Organization) HasId ¶
func (o *Organization) HasId() bool
HasId returns a boolean if a field has been set.
func (Organization) MarshalJSON ¶
func (o Organization) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*Organization) SetAttributes ¶
func (o *Organization) SetAttributes(v OrganizationAttributes)
SetAttributes gets a reference to the given OrganizationAttributes and assigns it to the Attributes field.
func (*Organization) SetId ¶
func (o *Organization) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*Organization) SetType ¶
func (o *Organization) SetType(v OrganizationsType)
SetType sets field value.
func (*Organization) UnmarshalJSON ¶
func (o *Organization) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OrganizationAttributes ¶
type OrganizationAttributes struct {
// Creation time of the organization.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description of the organization.
Description *string `json:"description,omitempty"`
// Whether or not the organization is disabled.
Disabled *bool `json:"disabled,omitempty"`
// Time of last organization modification.
ModifiedAt *time.Time `json:"modified_at,omitempty"`
// Name of the organization.
Name *string `json:"name,omitempty"`
// Public ID of the organization.
PublicId *string `json:"public_id,omitempty"`
// Sharing type of the organization.
Sharing *string `json:"sharing,omitempty"`
// URL of the site that this organization exists at.
Url *string `json:"url,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
OrganizationAttributes Attributes of the organization.
func NewOrganizationAttributes ¶
func NewOrganizationAttributes() *OrganizationAttributes
NewOrganizationAttributes instantiates a new OrganizationAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOrganizationAttributesWithDefaults ¶
func NewOrganizationAttributesWithDefaults() *OrganizationAttributes
NewOrganizationAttributesWithDefaults instantiates a new OrganizationAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OrganizationAttributes) GetCreatedAt ¶
func (o *OrganizationAttributes) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*OrganizationAttributes) GetCreatedAtOk ¶
func (o *OrganizationAttributes) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrganizationAttributes) GetDescription ¶
func (o *OrganizationAttributes) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*OrganizationAttributes) GetDescriptionOk ¶
func (o *OrganizationAttributes) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrganizationAttributes) GetDisabled ¶
func (o *OrganizationAttributes) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*OrganizationAttributes) GetDisabledOk ¶
func (o *OrganizationAttributes) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrganizationAttributes) GetModifiedAt ¶
func (o *OrganizationAttributes) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
func (*OrganizationAttributes) GetModifiedAtOk ¶
func (o *OrganizationAttributes) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrganizationAttributes) GetName ¶
func (o *OrganizationAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*OrganizationAttributes) GetNameOk ¶
func (o *OrganizationAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrganizationAttributes) GetPublicId ¶
func (o *OrganizationAttributes) GetPublicId() string
GetPublicId returns the PublicId field value if set, zero value otherwise.
func (*OrganizationAttributes) GetPublicIdOk ¶
func (o *OrganizationAttributes) GetPublicIdOk() (*string, bool)
GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrganizationAttributes) GetSharing ¶
func (o *OrganizationAttributes) GetSharing() string
GetSharing returns the Sharing field value if set, zero value otherwise.
func (*OrganizationAttributes) GetSharingOk ¶
func (o *OrganizationAttributes) GetSharingOk() (*string, bool)
GetSharingOk returns a tuple with the Sharing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrganizationAttributes) GetUrl ¶
func (o *OrganizationAttributes) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*OrganizationAttributes) GetUrlOk ¶
func (o *OrganizationAttributes) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrganizationAttributes) HasCreatedAt ¶
func (o *OrganizationAttributes) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*OrganizationAttributes) HasDescription ¶
func (o *OrganizationAttributes) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*OrganizationAttributes) HasDisabled ¶
func (o *OrganizationAttributes) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (*OrganizationAttributes) HasModifiedAt ¶
func (o *OrganizationAttributes) HasModifiedAt() bool
HasModifiedAt returns a boolean if a field has been set.
func (*OrganizationAttributes) HasName ¶
func (o *OrganizationAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*OrganizationAttributes) HasPublicId ¶
func (o *OrganizationAttributes) HasPublicId() bool
HasPublicId returns a boolean if a field has been set.
func (*OrganizationAttributes) HasSharing ¶
func (o *OrganizationAttributes) HasSharing() bool
HasSharing returns a boolean if a field has been set.
func (*OrganizationAttributes) HasUrl ¶
func (o *OrganizationAttributes) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (OrganizationAttributes) MarshalJSON ¶
func (o OrganizationAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OrganizationAttributes) SetCreatedAt ¶
func (o *OrganizationAttributes) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*OrganizationAttributes) SetDescription ¶
func (o *OrganizationAttributes) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*OrganizationAttributes) SetDisabled ¶
func (o *OrganizationAttributes) SetDisabled(v bool)
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*OrganizationAttributes) SetModifiedAt ¶
func (o *OrganizationAttributes) SetModifiedAt(v time.Time)
SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.
func (*OrganizationAttributes) SetName ¶
func (o *OrganizationAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*OrganizationAttributes) SetPublicId ¶
func (o *OrganizationAttributes) SetPublicId(v string)
SetPublicId gets a reference to the given string and assigns it to the PublicId field.
func (*OrganizationAttributes) SetSharing ¶
func (o *OrganizationAttributes) SetSharing(v string)
SetSharing gets a reference to the given string and assigns it to the Sharing field.
func (*OrganizationAttributes) SetUrl ¶
func (o *OrganizationAttributes) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*OrganizationAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *OrganizationAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OrganizationsApiService ¶ added in v1.13.0
type OrganizationsApiService service
OrganizationsApiService OrganizationsApi service.
func (*OrganizationsApiService) UploadIdPMetadata ¶ added in v1.13.0
func (a *OrganizationsApiService) UploadIdPMetadata(ctx _context.Context, o ...UploadIdPMetadataOptionalParameters) (*_nethttp.Response, error)
UploadIdPMetadata Upload IdP metadata. Endpoint for uploading IdP metadata for SAML setup.
Use this endpoint to upload or replace IdP metadata for SAML login configuration.
type OrganizationsType ¶
type OrganizationsType string
OrganizationsType Organizations resource type.
const (
ORGANIZATIONSTYPE_ORGS OrganizationsType = "orgs"
)
List of OrganizationsType.
func NewOrganizationsTypeFromValue ¶
func NewOrganizationsTypeFromValue(v string) (*OrganizationsType, error)
NewOrganizationsTypeFromValue returns a pointer to a valid OrganizationsType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*OrganizationsType) GetAllowedValues ¶ added in v1.1.0
func (v *OrganizationsType) GetAllowedValues() []OrganizationsType
GetAllowedValues reeturns the list of possible values.
func (OrganizationsType) IsValid ¶
func (v OrganizationsType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (OrganizationsType) Ptr ¶
func (v OrganizationsType) Ptr() *OrganizationsType
Ptr returns reference to OrganizationsType value.
func (*OrganizationsType) UnmarshalJSON ¶
func (v *OrganizationsType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type Pagination ¶
type Pagination struct {
// Total count.
TotalCount *int64 `json:"total_count,omitempty"`
// Total count of elements matched by the filter.
TotalFilteredCount *int64 `json:"total_filtered_count,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
Pagination Pagination object.
func NewPagination ¶
func NewPagination() *Pagination
NewPagination instantiates a new Pagination object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Pagination) GetTotalCount ¶
func (o *Pagination) GetTotalCount() int64
GetTotalCount returns the TotalCount field value if set, zero value otherwise.
func (*Pagination) GetTotalCountOk ¶
func (o *Pagination) GetTotalCountOk() (*int64, bool)
GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) GetTotalFilteredCount ¶
func (o *Pagination) GetTotalFilteredCount() int64
GetTotalFilteredCount returns the TotalFilteredCount field value if set, zero value otherwise.
func (*Pagination) GetTotalFilteredCountOk ¶
func (o *Pagination) GetTotalFilteredCountOk() (*int64, bool)
GetTotalFilteredCountOk returns a tuple with the TotalFilteredCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) HasTotalCount ¶
func (o *Pagination) HasTotalCount() bool
HasTotalCount returns a boolean if a field has been set.
func (*Pagination) HasTotalFilteredCount ¶
func (o *Pagination) HasTotalFilteredCount() bool
HasTotalFilteredCount returns a boolean if a field has been set.
func (Pagination) MarshalJSON ¶
func (o Pagination) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*Pagination) SetTotalCount ¶
func (o *Pagination) SetTotalCount(v int64)
SetTotalCount gets a reference to the given int64 and assigns it to the TotalCount field.
func (*Pagination) SetTotalFilteredCount ¶
func (o *Pagination) SetTotalFilteredCount(v int64)
SetTotalFilteredCount gets a reference to the given int64 and assigns it to the TotalFilteredCount field.
func (*Pagination) UnmarshalJSON ¶ added in v1.3.0
func (o *Pagination) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type PartialAPIKey ¶
type PartialAPIKey struct {
// Attributes of a partial API key.
Attributes *PartialAPIKeyAttributes `json:"attributes,omitempty"`
// ID of the API key.
Id *string `json:"id,omitempty"`
// Resources related to the API key.
Relationships *APIKeyRelationships `json:"relationships,omitempty"`
// API Keys resource type.
Type *APIKeysType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
PartialAPIKey Partial Datadog API key.
func NewPartialAPIKey ¶
func NewPartialAPIKey() *PartialAPIKey
NewPartialAPIKey instantiates a new PartialAPIKey object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPartialAPIKeyWithDefaults ¶
func NewPartialAPIKeyWithDefaults() *PartialAPIKey
NewPartialAPIKeyWithDefaults instantiates a new PartialAPIKey object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*PartialAPIKey) GetAttributes ¶
func (o *PartialAPIKey) GetAttributes() PartialAPIKeyAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*PartialAPIKey) GetAttributesOk ¶
func (o *PartialAPIKey) GetAttributesOk() (*PartialAPIKeyAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialAPIKey) GetId ¶
func (o *PartialAPIKey) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*PartialAPIKey) GetIdOk ¶
func (o *PartialAPIKey) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialAPIKey) GetRelationships ¶
func (o *PartialAPIKey) GetRelationships() APIKeyRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*PartialAPIKey) GetRelationshipsOk ¶
func (o *PartialAPIKey) GetRelationshipsOk() (*APIKeyRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialAPIKey) GetType ¶
func (o *PartialAPIKey) GetType() APIKeysType
GetType returns the Type field value if set, zero value otherwise.
func (*PartialAPIKey) GetTypeOk ¶
func (o *PartialAPIKey) GetTypeOk() (*APIKeysType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialAPIKey) HasAttributes ¶
func (o *PartialAPIKey) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*PartialAPIKey) HasId ¶
func (o *PartialAPIKey) HasId() bool
HasId returns a boolean if a field has been set.
func (*PartialAPIKey) HasRelationships ¶
func (o *PartialAPIKey) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (*PartialAPIKey) HasType ¶
func (o *PartialAPIKey) HasType() bool
HasType returns a boolean if a field has been set.
func (PartialAPIKey) MarshalJSON ¶
func (o PartialAPIKey) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*PartialAPIKey) SetAttributes ¶
func (o *PartialAPIKey) SetAttributes(v PartialAPIKeyAttributes)
SetAttributes gets a reference to the given PartialAPIKeyAttributes and assigns it to the Attributes field.
func (*PartialAPIKey) SetId ¶
func (o *PartialAPIKey) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*PartialAPIKey) SetRelationships ¶
func (o *PartialAPIKey) SetRelationships(v APIKeyRelationships)
SetRelationships gets a reference to the given APIKeyRelationships and assigns it to the Relationships field.
func (*PartialAPIKey) SetType ¶
func (o *PartialAPIKey) SetType(v APIKeysType)
SetType gets a reference to the given APIKeysType and assigns it to the Type field.
func (*PartialAPIKey) UnmarshalJSON ¶ added in v1.3.0
func (o *PartialAPIKey) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type PartialAPIKeyAttributes ¶
type PartialAPIKeyAttributes struct {
// Creation date of the API key.
CreatedAt *string `json:"created_at,omitempty"`
// The last four characters of the API key.
Last4 *string `json:"last4,omitempty"`
// Date the API key was last modified.
ModifiedAt *string `json:"modified_at,omitempty"`
// Name of the API key.
Name *string `json:"name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
PartialAPIKeyAttributes Attributes of a partial API key.
func NewPartialAPIKeyAttributes ¶
func NewPartialAPIKeyAttributes() *PartialAPIKeyAttributes
NewPartialAPIKeyAttributes instantiates a new PartialAPIKeyAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPartialAPIKeyAttributesWithDefaults ¶
func NewPartialAPIKeyAttributesWithDefaults() *PartialAPIKeyAttributes
NewPartialAPIKeyAttributesWithDefaults instantiates a new PartialAPIKeyAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*PartialAPIKeyAttributes) GetCreatedAt ¶
func (o *PartialAPIKeyAttributes) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*PartialAPIKeyAttributes) GetCreatedAtOk ¶
func (o *PartialAPIKeyAttributes) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialAPIKeyAttributes) GetLast4 ¶
func (o *PartialAPIKeyAttributes) GetLast4() string
GetLast4 returns the Last4 field value if set, zero value otherwise.
func (*PartialAPIKeyAttributes) GetLast4Ok ¶
func (o *PartialAPIKeyAttributes) GetLast4Ok() (*string, bool)
GetLast4Ok returns a tuple with the Last4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialAPIKeyAttributes) GetModifiedAt ¶
func (o *PartialAPIKeyAttributes) GetModifiedAt() string
GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
func (*PartialAPIKeyAttributes) GetModifiedAtOk ¶
func (o *PartialAPIKeyAttributes) GetModifiedAtOk() (*string, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialAPIKeyAttributes) GetName ¶
func (o *PartialAPIKeyAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PartialAPIKeyAttributes) GetNameOk ¶
func (o *PartialAPIKeyAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialAPIKeyAttributes) HasCreatedAt ¶
func (o *PartialAPIKeyAttributes) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*PartialAPIKeyAttributes) HasLast4 ¶
func (o *PartialAPIKeyAttributes) HasLast4() bool
HasLast4 returns a boolean if a field has been set.
func (*PartialAPIKeyAttributes) HasModifiedAt ¶
func (o *PartialAPIKeyAttributes) HasModifiedAt() bool
HasModifiedAt returns a boolean if a field has been set.
func (*PartialAPIKeyAttributes) HasName ¶
func (o *PartialAPIKeyAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (PartialAPIKeyAttributes) MarshalJSON ¶
func (o PartialAPIKeyAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*PartialAPIKeyAttributes) SetCreatedAt ¶
func (o *PartialAPIKeyAttributes) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*PartialAPIKeyAttributes) SetLast4 ¶
func (o *PartialAPIKeyAttributes) SetLast4(v string)
SetLast4 gets a reference to the given string and assigns it to the Last4 field.
func (*PartialAPIKeyAttributes) SetModifiedAt ¶
func (o *PartialAPIKeyAttributes) SetModifiedAt(v string)
SetModifiedAt gets a reference to the given string and assigns it to the ModifiedAt field.
func (*PartialAPIKeyAttributes) SetName ¶
func (o *PartialAPIKeyAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PartialAPIKeyAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *PartialAPIKeyAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type PartialApplicationKey ¶
type PartialApplicationKey struct {
// Attributes of a partial application key.
Attributes *PartialApplicationKeyAttributes `json:"attributes,omitempty"`
// ID of the application key.
Id *string `json:"id,omitempty"`
// Resources related to the application key.
Relationships *ApplicationKeyRelationships `json:"relationships,omitempty"`
// Application Keys resource type.
Type *ApplicationKeysType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
PartialApplicationKey Partial Datadog application key.
func NewPartialApplicationKey ¶
func NewPartialApplicationKey() *PartialApplicationKey
NewPartialApplicationKey instantiates a new PartialApplicationKey object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPartialApplicationKeyWithDefaults ¶
func NewPartialApplicationKeyWithDefaults() *PartialApplicationKey
NewPartialApplicationKeyWithDefaults instantiates a new PartialApplicationKey object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*PartialApplicationKey) GetAttributes ¶
func (o *PartialApplicationKey) GetAttributes() PartialApplicationKeyAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*PartialApplicationKey) GetAttributesOk ¶
func (o *PartialApplicationKey) GetAttributesOk() (*PartialApplicationKeyAttributes, 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 (*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 ¶
func (o *PartialApplicationKey) GetType() ApplicationKeysType
GetType returns the Type field value if set, zero value otherwise.
func (*PartialApplicationKey) GetTypeOk ¶
func (o *PartialApplicationKey) GetTypeOk() (*ApplicationKeysType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialApplicationKey) HasAttributes ¶
func (o *PartialApplicationKey) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*PartialApplicationKey) HasId ¶
func (o *PartialApplicationKey) HasId() bool
HasId returns a boolean if a field has been set.
func (*PartialApplicationKey) HasRelationships ¶
func (o *PartialApplicationKey) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (*PartialApplicationKey) HasType ¶
func (o *PartialApplicationKey) HasType() bool
HasType returns a boolean if a field has been set.
func (PartialApplicationKey) MarshalJSON ¶
func (o PartialApplicationKey) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*PartialApplicationKey) SetAttributes ¶
func (o *PartialApplicationKey) SetAttributes(v PartialApplicationKeyAttributes)
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 ¶
func (o *PartialApplicationKey) SetType(v ApplicationKeysType)
SetType gets a reference to the given ApplicationKeysType and assigns it to the Type field.
func (*PartialApplicationKey) UnmarshalJSON ¶ added in v1.3.0
func (o *PartialApplicationKey) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type PartialApplicationKeyAttributes ¶
type PartialApplicationKeyAttributes struct {
// Creation date of the application key.
CreatedAt *string `json:"created_at,omitempty"`
// The last four characters of the application key.
Last4 *string `json:"last4,omitempty"`
// Name of the application key.
Name *string `json:"name,omitempty"`
// Array of scopes to grant the application key. This feature is in private beta, please contact Datadog support to enable scopes for your application keys.
Scopes []string `json:"scopes,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
PartialApplicationKeyAttributes Attributes of a partial application key.
func NewPartialApplicationKeyAttributes ¶
func NewPartialApplicationKeyAttributes() *PartialApplicationKeyAttributes
NewPartialApplicationKeyAttributes instantiates a new PartialApplicationKeyAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPartialApplicationKeyAttributesWithDefaults ¶
func NewPartialApplicationKeyAttributesWithDefaults() *PartialApplicationKeyAttributes
NewPartialApplicationKeyAttributesWithDefaults instantiates a new PartialApplicationKeyAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*PartialApplicationKeyAttributes) GetCreatedAt ¶
func (o *PartialApplicationKeyAttributes) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*PartialApplicationKeyAttributes) GetCreatedAtOk ¶
func (o *PartialApplicationKeyAttributes) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialApplicationKeyAttributes) GetLast4 ¶
func (o *PartialApplicationKeyAttributes) GetLast4() string
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 ¶
func (o *PartialApplicationKeyAttributes) GetName() string
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 ¶
func (o *PartialApplicationKeyAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*PartialApplicationKeyAttributes) HasScopes ¶ added in v1.8.0
func (o *PartialApplicationKeyAttributes) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (PartialApplicationKeyAttributes) MarshalJSON ¶
func (o PartialApplicationKeyAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*PartialApplicationKeyAttributes) SetCreatedAt ¶
func (o *PartialApplicationKeyAttributes) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*PartialApplicationKeyAttributes) SetLast4 ¶
func (o *PartialApplicationKeyAttributes) SetLast4(v string)
SetLast4 gets a reference to the given string and assigns it to the Last4 field.
func (*PartialApplicationKeyAttributes) SetName ¶
func (o *PartialApplicationKeyAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PartialApplicationKeyAttributes) SetScopes ¶ added in v1.8.0
func (o *PartialApplicationKeyAttributes) SetScopes(v []string)
SetScopes gets a reference to the given []string and assigns it to the Scopes field.
func (*PartialApplicationKeyAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *PartialApplicationKeyAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type PartialApplicationKeyResponse ¶ added in v1.3.0
type PartialApplicationKeyResponse struct {
// Partial Datadog application key.
Data *PartialApplicationKey `json:"data,omitempty"`
// Array of objects related to the application key.
Included []ApplicationKeyResponseIncludedItem `json:"included,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
PartialApplicationKeyResponse Response for retrieving a partial application key.
func NewPartialApplicationKeyResponse ¶ added in v1.3.0
func NewPartialApplicationKeyResponse() *PartialApplicationKeyResponse
NewPartialApplicationKeyResponse instantiates a new PartialApplicationKeyResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPartialApplicationKeyResponseWithDefaults ¶ added in v1.3.0
func NewPartialApplicationKeyResponseWithDefaults() *PartialApplicationKeyResponse
NewPartialApplicationKeyResponseWithDefaults instantiates a new PartialApplicationKeyResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*PartialApplicationKeyResponse) GetData ¶ added in v1.3.0
func (o *PartialApplicationKeyResponse) GetData() PartialApplicationKey
GetData returns the Data field value if set, zero value otherwise.
func (*PartialApplicationKeyResponse) GetDataOk ¶ added in v1.3.0
func (o *PartialApplicationKeyResponse) GetDataOk() (*PartialApplicationKey, 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 (*PartialApplicationKeyResponse) GetIncluded ¶ added in v1.3.0
func (o *PartialApplicationKeyResponse) GetIncluded() []ApplicationKeyResponseIncludedItem
GetIncluded returns the Included field value if set, zero value otherwise.
func (*PartialApplicationKeyResponse) GetIncludedOk ¶ added in v1.3.0
func (o *PartialApplicationKeyResponse) GetIncludedOk() (*[]ApplicationKeyResponseIncludedItem, 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 (*PartialApplicationKeyResponse) HasData ¶ added in v1.3.0
func (o *PartialApplicationKeyResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*PartialApplicationKeyResponse) HasIncluded ¶ added in v1.3.0
func (o *PartialApplicationKeyResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (PartialApplicationKeyResponse) MarshalJSON ¶ added in v1.3.0
func (o PartialApplicationKeyResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*PartialApplicationKeyResponse) SetData ¶ added in v1.3.0
func (o *PartialApplicationKeyResponse) SetData(v PartialApplicationKey)
SetData gets a reference to the given PartialApplicationKey and assigns it to the Data field.
func (*PartialApplicationKeyResponse) SetIncluded ¶ added in v1.3.0
func (o *PartialApplicationKeyResponse) SetIncluded(v []ApplicationKeyResponseIncludedItem)
SetIncluded gets a reference to the given []ApplicationKeyResponseIncludedItem and assigns it to the Included field.
func (*PartialApplicationKeyResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *PartialApplicationKeyResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Permission ¶
type Permission struct {
// Attributes of a permission.
Attributes *PermissionAttributes `json:"attributes,omitempty"`
// ID of the permission.
Id *string `json:"id,omitempty"`
// Permissions resource type.
Type PermissionsType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
Permission Permission object.
func NewPermission ¶
func NewPermission(typeVar PermissionsType) *Permission
NewPermission instantiates a new Permission object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPermissionWithDefaults ¶
func NewPermissionWithDefaults() *Permission
NewPermissionWithDefaults instantiates a new Permission object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Permission) GetAttributes ¶
func (o *Permission) GetAttributes() PermissionAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*Permission) GetAttributesOk ¶
func (o *Permission) GetAttributesOk() (*PermissionAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Permission) GetId ¶
func (o *Permission) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*Permission) GetIdOk ¶
func (o *Permission) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Permission) GetType ¶
func (o *Permission) GetType() PermissionsType
GetType returns the Type field value.
func (*Permission) GetTypeOk ¶
func (o *Permission) GetTypeOk() (*PermissionsType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Permission) HasAttributes ¶
func (o *Permission) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*Permission) HasId ¶
func (o *Permission) HasId() bool
HasId returns a boolean if a field has been set.
func (Permission) MarshalJSON ¶
func (o Permission) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*Permission) SetAttributes ¶
func (o *Permission) SetAttributes(v PermissionAttributes)
SetAttributes gets a reference to the given PermissionAttributes and assigns it to the Attributes field.
func (*Permission) SetId ¶
func (o *Permission) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*Permission) SetType ¶
func (o *Permission) SetType(v PermissionsType)
SetType sets field value.
func (*Permission) UnmarshalJSON ¶
func (o *Permission) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type PermissionAttributes ¶
type PermissionAttributes struct {
// Creation time of the permission.
Created *time.Time `json:"created,omitempty"`
// Description of the permission.
Description *string `json:"description,omitempty"`
// Displayed name for the permission.
DisplayName *string `json:"display_name,omitempty"`
// Display type.
DisplayType *string `json:"display_type,omitempty"`
// Name of the permission group.
GroupName *string `json:"group_name,omitempty"`
// Name of the permission.
Name *string `json:"name,omitempty"`
// Whether or not the permission is restricted.
Restricted *bool `json:"restricted,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
PermissionAttributes Attributes of a permission.
func NewPermissionAttributes ¶
func NewPermissionAttributes() *PermissionAttributes
NewPermissionAttributes instantiates a new PermissionAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPermissionAttributesWithDefaults ¶
func NewPermissionAttributesWithDefaults() *PermissionAttributes
NewPermissionAttributesWithDefaults instantiates a new PermissionAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*PermissionAttributes) GetCreated ¶
func (o *PermissionAttributes) GetCreated() time.Time
GetCreated returns the Created field value if set, zero value otherwise.
func (*PermissionAttributes) GetCreatedOk ¶
func (o *PermissionAttributes) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PermissionAttributes) GetDescription ¶
func (o *PermissionAttributes) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PermissionAttributes) GetDescriptionOk ¶
func (o *PermissionAttributes) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PermissionAttributes) GetDisplayName ¶
func (o *PermissionAttributes) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*PermissionAttributes) GetDisplayNameOk ¶
func (o *PermissionAttributes) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PermissionAttributes) GetDisplayType ¶
func (o *PermissionAttributes) GetDisplayType() string
GetDisplayType returns the DisplayType field value if set, zero value otherwise.
func (*PermissionAttributes) GetDisplayTypeOk ¶
func (o *PermissionAttributes) GetDisplayTypeOk() (*string, bool)
GetDisplayTypeOk returns a tuple with the DisplayType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PermissionAttributes) GetGroupName ¶
func (o *PermissionAttributes) GetGroupName() string
GetGroupName returns the GroupName field value if set, zero value otherwise.
func (*PermissionAttributes) GetGroupNameOk ¶
func (o *PermissionAttributes) GetGroupNameOk() (*string, bool)
GetGroupNameOk returns a tuple with the GroupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PermissionAttributes) GetName ¶
func (o *PermissionAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PermissionAttributes) GetNameOk ¶
func (o *PermissionAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PermissionAttributes) GetRestricted ¶
func (o *PermissionAttributes) GetRestricted() bool
GetRestricted returns the Restricted field value if set, zero value otherwise.
func (*PermissionAttributes) GetRestrictedOk ¶
func (o *PermissionAttributes) GetRestrictedOk() (*bool, bool)
GetRestrictedOk returns a tuple with the Restricted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PermissionAttributes) HasCreated ¶
func (o *PermissionAttributes) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*PermissionAttributes) HasDescription ¶
func (o *PermissionAttributes) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PermissionAttributes) HasDisplayName ¶
func (o *PermissionAttributes) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*PermissionAttributes) HasDisplayType ¶
func (o *PermissionAttributes) HasDisplayType() bool
HasDisplayType returns a boolean if a field has been set.
func (*PermissionAttributes) HasGroupName ¶
func (o *PermissionAttributes) HasGroupName() bool
HasGroupName returns a boolean if a field has been set.
func (*PermissionAttributes) HasName ¶
func (o *PermissionAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*PermissionAttributes) HasRestricted ¶
func (o *PermissionAttributes) HasRestricted() bool
HasRestricted returns a boolean if a field has been set.
func (PermissionAttributes) MarshalJSON ¶
func (o PermissionAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*PermissionAttributes) SetCreated ¶
func (o *PermissionAttributes) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (*PermissionAttributes) SetDescription ¶
func (o *PermissionAttributes) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PermissionAttributes) SetDisplayName ¶
func (o *PermissionAttributes) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*PermissionAttributes) SetDisplayType ¶
func (o *PermissionAttributes) SetDisplayType(v string)
SetDisplayType gets a reference to the given string and assigns it to the DisplayType field.
func (*PermissionAttributes) SetGroupName ¶
func (o *PermissionAttributes) SetGroupName(v string)
SetGroupName gets a reference to the given string and assigns it to the GroupName field.
func (*PermissionAttributes) SetName ¶
func (o *PermissionAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*PermissionAttributes) SetRestricted ¶
func (o *PermissionAttributes) SetRestricted(v bool)
SetRestricted gets a reference to the given bool and assigns it to the Restricted field.
func (*PermissionAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *PermissionAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type PermissionsResponse ¶
type PermissionsResponse struct {
// Array of permissions.
Data []Permission `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
PermissionsResponse Payload with API-returned permissions.
func NewPermissionsResponse ¶
func NewPermissionsResponse() *PermissionsResponse
NewPermissionsResponse instantiates a new PermissionsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPermissionsResponseWithDefaults ¶
func NewPermissionsResponseWithDefaults() *PermissionsResponse
NewPermissionsResponseWithDefaults instantiates a new PermissionsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*PermissionsResponse) GetData ¶
func (o *PermissionsResponse) GetData() []Permission
GetData returns the Data field value if set, zero value otherwise.
func (*PermissionsResponse) GetDataOk ¶
func (o *PermissionsResponse) GetDataOk() (*[]Permission, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PermissionsResponse) HasData ¶
func (o *PermissionsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (PermissionsResponse) MarshalJSON ¶
func (o PermissionsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*PermissionsResponse) SetData ¶
func (o *PermissionsResponse) SetData(v []Permission)
SetData gets a reference to the given []Permission and assigns it to the Data field.
func (*PermissionsResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *PermissionsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type PermissionsType ¶
type PermissionsType string
PermissionsType Permissions resource type.
const (
PERMISSIONSTYPE_PERMISSIONS PermissionsType = "permissions"
)
List of PermissionsType.
func NewPermissionsTypeFromValue ¶
func NewPermissionsTypeFromValue(v string) (*PermissionsType, error)
NewPermissionsTypeFromValue returns a pointer to a valid PermissionsType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*PermissionsType) GetAllowedValues ¶ added in v1.1.0
func (v *PermissionsType) GetAllowedValues() []PermissionsType
GetAllowedValues reeturns the list of possible values.
func (PermissionsType) IsValid ¶
func (v PermissionsType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (PermissionsType) Ptr ¶
func (v PermissionsType) Ptr() *PermissionsType
Ptr returns reference to PermissionsType value.
func (*PermissionsType) UnmarshalJSON ¶
func (v *PermissionsType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type ProcessSummariesMeta ¶
type ProcessSummariesMeta struct {
// Paging attributes.
Page *ProcessSummariesMetaPage `json:"page,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ProcessSummariesMeta Response metadata object.
func NewProcessSummariesMeta ¶
func NewProcessSummariesMeta() *ProcessSummariesMeta
NewProcessSummariesMeta instantiates a new ProcessSummariesMeta object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewProcessSummariesMetaWithDefaults ¶
func NewProcessSummariesMetaWithDefaults() *ProcessSummariesMeta
NewProcessSummariesMetaWithDefaults instantiates a new ProcessSummariesMeta object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ProcessSummariesMeta) GetPage ¶
func (o *ProcessSummariesMeta) GetPage() ProcessSummariesMetaPage
GetPage returns the Page field value if set, zero value otherwise.
func (*ProcessSummariesMeta) GetPageOk ¶
func (o *ProcessSummariesMeta) GetPageOk() (*ProcessSummariesMetaPage, 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 (*ProcessSummariesMeta) HasPage ¶
func (o *ProcessSummariesMeta) HasPage() bool
HasPage returns a boolean if a field has been set.
func (ProcessSummariesMeta) MarshalJSON ¶
func (o ProcessSummariesMeta) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ProcessSummariesMeta) SetPage ¶
func (o *ProcessSummariesMeta) SetPage(v ProcessSummariesMetaPage)
SetPage gets a reference to the given ProcessSummariesMetaPage and assigns it to the Page field.
func (*ProcessSummariesMeta) UnmarshalJSON ¶ added in v1.3.0
func (o *ProcessSummariesMeta) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ProcessSummariesMetaPage ¶
type ProcessSummariesMetaPage struct {
// The cursor used to get the next results, if any. To make the next request, use the same
// parameters with the addition of the `page[cursor]`.
After *string `json:"after,omitempty"`
// Number of results returned.
Size *int32 `json:"size,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ProcessSummariesMetaPage Paging attributes.
func NewProcessSummariesMetaPage ¶
func NewProcessSummariesMetaPage() *ProcessSummariesMetaPage
NewProcessSummariesMetaPage instantiates a new ProcessSummariesMetaPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewProcessSummariesMetaPageWithDefaults ¶
func NewProcessSummariesMetaPageWithDefaults() *ProcessSummariesMetaPage
NewProcessSummariesMetaPageWithDefaults instantiates a new ProcessSummariesMetaPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ProcessSummariesMetaPage) GetAfter ¶
func (o *ProcessSummariesMetaPage) GetAfter() string
GetAfter returns the After field value if set, zero value otherwise.
func (*ProcessSummariesMetaPage) GetAfterOk ¶
func (o *ProcessSummariesMetaPage) GetAfterOk() (*string, bool)
GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummariesMetaPage) GetSize ¶
func (o *ProcessSummariesMetaPage) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*ProcessSummariesMetaPage) GetSizeOk ¶
func (o *ProcessSummariesMetaPage) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummariesMetaPage) HasAfter ¶
func (o *ProcessSummariesMetaPage) HasAfter() bool
HasAfter returns a boolean if a field has been set.
func (*ProcessSummariesMetaPage) HasSize ¶
func (o *ProcessSummariesMetaPage) HasSize() bool
HasSize returns a boolean if a field has been set.
func (ProcessSummariesMetaPage) MarshalJSON ¶
func (o ProcessSummariesMetaPage) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ProcessSummariesMetaPage) SetAfter ¶
func (o *ProcessSummariesMetaPage) SetAfter(v string)
SetAfter gets a reference to the given string and assigns it to the After field.
func (*ProcessSummariesMetaPage) SetSize ¶
func (o *ProcessSummariesMetaPage) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (*ProcessSummariesMetaPage) UnmarshalJSON ¶ added in v1.3.0
func (o *ProcessSummariesMetaPage) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ProcessSummariesResponse ¶
type ProcessSummariesResponse struct {
// Array of process summary objects.
Data []ProcessSummary `json:"data,omitempty"`
// Response metadata object.
Meta *ProcessSummariesMeta `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ProcessSummariesResponse List of process summaries.
func NewProcessSummariesResponse ¶
func NewProcessSummariesResponse() *ProcessSummariesResponse
NewProcessSummariesResponse instantiates a new ProcessSummariesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewProcessSummariesResponseWithDefaults ¶
func NewProcessSummariesResponseWithDefaults() *ProcessSummariesResponse
NewProcessSummariesResponseWithDefaults instantiates a new ProcessSummariesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ProcessSummariesResponse) GetData ¶
func (o *ProcessSummariesResponse) GetData() []ProcessSummary
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 ¶
func (o *ProcessSummariesResponse) GetMeta() ProcessSummariesMeta
GetMeta returns the Meta field value if set, zero value otherwise.
func (*ProcessSummariesResponse) GetMetaOk ¶
func (o *ProcessSummariesResponse) GetMetaOk() (*ProcessSummariesMeta, 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 (*ProcessSummariesResponse) HasData ¶
func (o *ProcessSummariesResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*ProcessSummariesResponse) HasMeta ¶
func (o *ProcessSummariesResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (ProcessSummariesResponse) MarshalJSON ¶
func (o ProcessSummariesResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ProcessSummariesResponse) SetData ¶
func (o *ProcessSummariesResponse) SetData(v []ProcessSummary)
SetData gets a reference to the given []ProcessSummary and assigns it to the Data field.
func (*ProcessSummariesResponse) SetMeta ¶
func (o *ProcessSummariesResponse) SetMeta(v ProcessSummariesMeta)
SetMeta gets a reference to the given ProcessSummariesMeta and assigns it to the Meta field.
func (*ProcessSummariesResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *ProcessSummariesResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ProcessSummary ¶
type ProcessSummary struct {
// Attributes for a process summary.
Attributes *ProcessSummaryAttributes `json:"attributes,omitempty"`
// Process ID.
Id *string `json:"id,omitempty"`
// Type of process summary.
Type *ProcessSummaryType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ProcessSummary Process summary object.
func NewProcessSummary ¶
func NewProcessSummary() *ProcessSummary
NewProcessSummary instantiates a new ProcessSummary object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewProcessSummaryWithDefaults ¶
func NewProcessSummaryWithDefaults() *ProcessSummary
NewProcessSummaryWithDefaults instantiates a new ProcessSummary object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ProcessSummary) GetAttributes ¶
func (o *ProcessSummary) GetAttributes() ProcessSummaryAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*ProcessSummary) GetAttributesOk ¶
func (o *ProcessSummary) GetAttributesOk() (*ProcessSummaryAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummary) GetId ¶
func (o *ProcessSummary) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ProcessSummary) GetIdOk ¶
func (o *ProcessSummary) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummary) GetType ¶
func (o *ProcessSummary) GetType() ProcessSummaryType
GetType returns the Type field value if set, zero value otherwise.
func (*ProcessSummary) GetTypeOk ¶
func (o *ProcessSummary) GetTypeOk() (*ProcessSummaryType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummary) HasAttributes ¶
func (o *ProcessSummary) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*ProcessSummary) HasId ¶
func (o *ProcessSummary) HasId() bool
HasId returns a boolean if a field has been set.
func (*ProcessSummary) HasType ¶
func (o *ProcessSummary) HasType() bool
HasType returns a boolean if a field has been set.
func (ProcessSummary) MarshalJSON ¶
func (o ProcessSummary) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ProcessSummary) SetAttributes ¶
func (o *ProcessSummary) SetAttributes(v ProcessSummaryAttributes)
SetAttributes gets a reference to the given ProcessSummaryAttributes and assigns it to the Attributes field.
func (*ProcessSummary) SetId ¶
func (o *ProcessSummary) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ProcessSummary) SetType ¶
func (o *ProcessSummary) SetType(v ProcessSummaryType)
SetType gets a reference to the given ProcessSummaryType and assigns it to the Type field.
func (*ProcessSummary) UnmarshalJSON ¶ added in v1.3.0
func (o *ProcessSummary) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ProcessSummaryAttributes ¶
type ProcessSummaryAttributes struct {
// Process command line.
Cmdline *string `json:"cmdline,omitempty"`
// Host running the process.
Host *string `json:"host,omitempty"`
// Process ID.
Pid *int64 `json:"pid,omitempty"`
// Parent process ID.
Ppid *int64 `json:"ppid,omitempty"`
// Time the process was started.
Start *string `json:"start,omitempty"`
// List of tags associated with the process.
Tags []string `json:"tags,omitempty"`
// Time the process was seen.
Timestamp *string `json:"timestamp,omitempty"`
// Process owner.
User *string `json:"user,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ProcessSummaryAttributes Attributes for a process summary.
func NewProcessSummaryAttributes ¶
func NewProcessSummaryAttributes() *ProcessSummaryAttributes
NewProcessSummaryAttributes instantiates a new ProcessSummaryAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewProcessSummaryAttributesWithDefaults ¶
func NewProcessSummaryAttributesWithDefaults() *ProcessSummaryAttributes
NewProcessSummaryAttributesWithDefaults instantiates a new ProcessSummaryAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ProcessSummaryAttributes) GetCmdline ¶
func (o *ProcessSummaryAttributes) GetCmdline() string
GetCmdline returns the Cmdline field value if set, zero value otherwise.
func (*ProcessSummaryAttributes) GetCmdlineOk ¶
func (o *ProcessSummaryAttributes) GetCmdlineOk() (*string, bool)
GetCmdlineOk returns a tuple with the Cmdline field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummaryAttributes) GetHost ¶
func (o *ProcessSummaryAttributes) GetHost() string
GetHost returns the Host field value if set, zero value otherwise.
func (*ProcessSummaryAttributes) GetHostOk ¶
func (o *ProcessSummaryAttributes) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummaryAttributes) GetPid ¶
func (o *ProcessSummaryAttributes) GetPid() int64
GetPid returns the Pid field value if set, zero value otherwise.
func (*ProcessSummaryAttributes) GetPidOk ¶
func (o *ProcessSummaryAttributes) GetPidOk() (*int64, bool)
GetPidOk returns a tuple with the Pid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummaryAttributes) GetPpid ¶
func (o *ProcessSummaryAttributes) GetPpid() int64
GetPpid returns the Ppid field value if set, zero value otherwise.
func (*ProcessSummaryAttributes) GetPpidOk ¶
func (o *ProcessSummaryAttributes) GetPpidOk() (*int64, bool)
GetPpidOk returns a tuple with the Ppid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummaryAttributes) GetStart ¶
func (o *ProcessSummaryAttributes) GetStart() string
GetStart returns the Start field value if set, zero value otherwise.
func (*ProcessSummaryAttributes) GetStartOk ¶
func (o *ProcessSummaryAttributes) GetStartOk() (*string, bool)
GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummaryAttributes) GetTags ¶
func (o *ProcessSummaryAttributes) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*ProcessSummaryAttributes) GetTagsOk ¶
func (o *ProcessSummaryAttributes) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummaryAttributes) GetTimestamp ¶
func (o *ProcessSummaryAttributes) GetTimestamp() string
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*ProcessSummaryAttributes) GetTimestampOk ¶
func (o *ProcessSummaryAttributes) GetTimestampOk() (*string, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummaryAttributes) GetUser ¶
func (o *ProcessSummaryAttributes) GetUser() string
GetUser returns the User field value if set, zero value otherwise.
func (*ProcessSummaryAttributes) GetUserOk ¶
func (o *ProcessSummaryAttributes) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProcessSummaryAttributes) HasCmdline ¶
func (o *ProcessSummaryAttributes) HasCmdline() bool
HasCmdline returns a boolean if a field has been set.
func (*ProcessSummaryAttributes) HasHost ¶
func (o *ProcessSummaryAttributes) HasHost() bool
HasHost returns a boolean if a field has been set.
func (*ProcessSummaryAttributes) HasPid ¶
func (o *ProcessSummaryAttributes) HasPid() bool
HasPid returns a boolean if a field has been set.
func (*ProcessSummaryAttributes) HasPpid ¶
func (o *ProcessSummaryAttributes) HasPpid() bool
HasPpid returns a boolean if a field has been set.
func (*ProcessSummaryAttributes) HasStart ¶
func (o *ProcessSummaryAttributes) HasStart() bool
HasStart returns a boolean if a field has been set.
func (*ProcessSummaryAttributes) HasTags ¶
func (o *ProcessSummaryAttributes) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*ProcessSummaryAttributes) HasTimestamp ¶
func (o *ProcessSummaryAttributes) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (*ProcessSummaryAttributes) HasUser ¶
func (o *ProcessSummaryAttributes) HasUser() bool
HasUser returns a boolean if a field has been set.
func (ProcessSummaryAttributes) MarshalJSON ¶
func (o ProcessSummaryAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ProcessSummaryAttributes) SetCmdline ¶
func (o *ProcessSummaryAttributes) SetCmdline(v string)
SetCmdline gets a reference to the given string and assigns it to the Cmdline field.
func (*ProcessSummaryAttributes) SetHost ¶
func (o *ProcessSummaryAttributes) SetHost(v string)
SetHost gets a reference to the given string and assigns it to the Host field.
func (*ProcessSummaryAttributes) SetPid ¶
func (o *ProcessSummaryAttributes) SetPid(v int64)
SetPid gets a reference to the given int64 and assigns it to the Pid field.
func (*ProcessSummaryAttributes) SetPpid ¶
func (o *ProcessSummaryAttributes) SetPpid(v int64)
SetPpid gets a reference to the given int64 and assigns it to the Ppid field.
func (*ProcessSummaryAttributes) SetStart ¶
func (o *ProcessSummaryAttributes) SetStart(v string)
SetStart gets a reference to the given string and assigns it to the Start field.
func (*ProcessSummaryAttributes) SetTags ¶
func (o *ProcessSummaryAttributes) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*ProcessSummaryAttributes) SetTimestamp ¶
func (o *ProcessSummaryAttributes) SetTimestamp(v string)
SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.
func (*ProcessSummaryAttributes) SetUser ¶
func (o *ProcessSummaryAttributes) SetUser(v string)
SetUser gets a reference to the given string and assigns it to the User field.
func (*ProcessSummaryAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *ProcessSummaryAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ProcessSummaryType ¶
type ProcessSummaryType string
ProcessSummaryType Type of process summary.
const (
PROCESSSUMMARYTYPE_PROCESS ProcessSummaryType = "process"
)
List of ProcessSummaryType.
func NewProcessSummaryTypeFromValue ¶
func NewProcessSummaryTypeFromValue(v string) (*ProcessSummaryType, error)
NewProcessSummaryTypeFromValue returns a pointer to a valid ProcessSummaryType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*ProcessSummaryType) GetAllowedValues ¶ added in v1.1.0
func (v *ProcessSummaryType) GetAllowedValues() []ProcessSummaryType
GetAllowedValues reeturns the list of possible values.
func (ProcessSummaryType) IsValid ¶
func (v ProcessSummaryType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ProcessSummaryType) Ptr ¶
func (v ProcessSummaryType) Ptr() *ProcessSummaryType
Ptr returns reference to ProcessSummaryType value.
func (*ProcessSummaryType) UnmarshalJSON ¶
func (v *ProcessSummaryType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type ProcessesApiService ¶
type ProcessesApiService service
ProcessesApiService ProcessesApi service.
func (*ProcessesApiService) ListProcesses ¶
func (a *ProcessesApiService) ListProcesses(ctx _context.Context, o ...ListProcessesOptionalParameters) (ProcessSummariesResponse, *_nethttp.Response, error)
ListProcesses Get all processes. Get all processes for your organization.
func (*ProcessesApiService) ListProcessesWithPagination ¶ added in v1.14.0
func (a *ProcessesApiService) ListProcessesWithPagination(ctx _context.Context, o ...ListProcessesOptionalParameters) (<-chan ProcessSummary, func(), error)
ListProcessesWithPagination provides a paginated version of ListProcesses returning a channel with all items.
type QuerySortOrder ¶
type QuerySortOrder string
QuerySortOrder Direction of sort.
const ( QUERYSORTORDER_ASC QuerySortOrder = "asc" QUERYSORTORDER_DESC QuerySortOrder = "desc" )
List of QuerySortOrder.
func NewQuerySortOrderFromValue ¶
func NewQuerySortOrderFromValue(v string) (*QuerySortOrder, error)
NewQuerySortOrderFromValue returns a pointer to a valid QuerySortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*QuerySortOrder) GetAllowedValues ¶ added in v1.1.0
func (v *QuerySortOrder) GetAllowedValues() []QuerySortOrder
GetAllowedValues reeturns the list of possible values.
func (QuerySortOrder) IsValid ¶
func (v QuerySortOrder) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (QuerySortOrder) Ptr ¶
func (v QuerySortOrder) Ptr() *QuerySortOrder
Ptr returns reference to QuerySortOrder value.
func (*QuerySortOrder) UnmarshalJSON ¶
func (v *QuerySortOrder) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type RUMAggregateBucketValue ¶ added in v1.12.0
type RUMAggregateBucketValue struct {
RUMAggregateBucketValueSingleString *string
RUMAggregateBucketValueSingleNumber *float64
RUMAggregateBucketValueTimeseries *RUMAggregateBucketValueTimeseries
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
RUMAggregateBucketValue - A bucket value, can be either a timeseries or a single value.
func RUMAggregateBucketValueSingleNumberAsRUMAggregateBucketValue ¶ added in v1.12.0
func RUMAggregateBucketValueSingleNumberAsRUMAggregateBucketValue(v *float64) RUMAggregateBucketValue
RUMAggregateBucketValueSingleNumberAsRUMAggregateBucketValue is a convenience function that returns float64 wrapped in RUMAggregateBucketValue.
func RUMAggregateBucketValueSingleStringAsRUMAggregateBucketValue ¶ added in v1.12.0
func RUMAggregateBucketValueSingleStringAsRUMAggregateBucketValue(v *string) RUMAggregateBucketValue
RUMAggregateBucketValueSingleStringAsRUMAggregateBucketValue is a convenience function that returns string wrapped in RUMAggregateBucketValue.
func RUMAggregateBucketValueTimeseriesAsRUMAggregateBucketValue ¶ added in v1.12.0
func RUMAggregateBucketValueTimeseriesAsRUMAggregateBucketValue(v *RUMAggregateBucketValueTimeseries) RUMAggregateBucketValue
RUMAggregateBucketValueTimeseriesAsRUMAggregateBucketValue is a convenience function that returns RUMAggregateBucketValueTimeseries wrapped in RUMAggregateBucketValue.
func (*RUMAggregateBucketValue) GetActualInstance ¶ added in v1.12.0
func (obj *RUMAggregateBucketValue) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (RUMAggregateBucketValue) MarshalJSON ¶ added in v1.12.0
func (obj RUMAggregateBucketValue) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*RUMAggregateBucketValue) UnmarshalJSON ¶ added in v1.12.0
func (obj *RUMAggregateBucketValue) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type RUMAggregateBucketValueTimeseries ¶ added in v1.12.0
type RUMAggregateBucketValueTimeseries struct {
Items []RUMAggregateBucketValueTimeseriesPoint
// UnparsedObject contains the raw value of the array if there was an error when deserializing into the struct
UnparsedObject []interface{} `json:-`
}
RUMAggregateBucketValueTimeseries A timeseries array.
func NewRUMAggregateBucketValueTimeseries ¶ added in v1.12.0
func NewRUMAggregateBucketValueTimeseries() *RUMAggregateBucketValueTimeseries
NewRUMAggregateBucketValueTimeseries instantiates a new RUMAggregateBucketValueTimeseries object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMAggregateBucketValueTimeseriesWithDefaults ¶ added in v1.12.0
func NewRUMAggregateBucketValueTimeseriesWithDefaults() *RUMAggregateBucketValueTimeseries
NewRUMAggregateBucketValueTimeseriesWithDefaults instantiates a new RUMAggregateBucketValueTimeseries object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (RUMAggregateBucketValueTimeseries) MarshalJSON ¶ added in v1.12.0
func (o RUMAggregateBucketValueTimeseries) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMAggregateBucketValueTimeseries) UnmarshalJSON ¶ added in v1.12.0
func (o *RUMAggregateBucketValueTimeseries) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMAggregateBucketValueTimeseriesPoint ¶ added in v1.12.0
type RUMAggregateBucketValueTimeseriesPoint struct {
// The time value for this point.
Time *time.Time `json:"time,omitempty"`
// The value for this point.
Value *float64 `json:"value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMAggregateBucketValueTimeseriesPoint A timeseries point.
func NewRUMAggregateBucketValueTimeseriesPoint ¶ added in v1.12.0
func NewRUMAggregateBucketValueTimeseriesPoint() *RUMAggregateBucketValueTimeseriesPoint
NewRUMAggregateBucketValueTimeseriesPoint instantiates a new RUMAggregateBucketValueTimeseriesPoint object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMAggregateBucketValueTimeseriesPointWithDefaults ¶ added in v1.12.0
func NewRUMAggregateBucketValueTimeseriesPointWithDefaults() *RUMAggregateBucketValueTimeseriesPoint
NewRUMAggregateBucketValueTimeseriesPointWithDefaults instantiates a new RUMAggregateBucketValueTimeseriesPoint object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMAggregateBucketValueTimeseriesPoint) GetTime ¶ added in v1.12.0
func (o *RUMAggregateBucketValueTimeseriesPoint) GetTime() time.Time
GetTime returns the Time field value if set, zero value otherwise.
func (*RUMAggregateBucketValueTimeseriesPoint) GetTimeOk ¶ added in v1.12.0
func (o *RUMAggregateBucketValueTimeseriesPoint) GetTimeOk() (*time.Time, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregateBucketValueTimeseriesPoint) GetValue ¶ added in v1.12.0
func (o *RUMAggregateBucketValueTimeseriesPoint) GetValue() float64
GetValue returns the Value field value if set, zero value otherwise.
func (*RUMAggregateBucketValueTimeseriesPoint) GetValueOk ¶ added in v1.12.0
func (o *RUMAggregateBucketValueTimeseriesPoint) GetValueOk() (*float64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregateBucketValueTimeseriesPoint) HasTime ¶ added in v1.12.0
func (o *RUMAggregateBucketValueTimeseriesPoint) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*RUMAggregateBucketValueTimeseriesPoint) HasValue ¶ added in v1.12.0
func (o *RUMAggregateBucketValueTimeseriesPoint) HasValue() bool
HasValue returns a boolean if a field has been set.
func (RUMAggregateBucketValueTimeseriesPoint) MarshalJSON ¶ added in v1.12.0
func (o RUMAggregateBucketValueTimeseriesPoint) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMAggregateBucketValueTimeseriesPoint) SetTime ¶ added in v1.12.0
func (o *RUMAggregateBucketValueTimeseriesPoint) SetTime(v time.Time)
SetTime gets a reference to the given time.Time and assigns it to the Time field.
func (*RUMAggregateBucketValueTimeseriesPoint) SetValue ¶ added in v1.12.0
func (o *RUMAggregateBucketValueTimeseriesPoint) SetValue(v float64)
SetValue gets a reference to the given float64 and assigns it to the Value field.
func (*RUMAggregateBucketValueTimeseriesPoint) UnmarshalJSON ¶ added in v1.12.0
func (o *RUMAggregateBucketValueTimeseriesPoint) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMAggregateRequest ¶ added in v1.12.0
type RUMAggregateRequest struct {
// The list of metrics or timeseries to compute for the retrieved buckets.
Compute []RUMCompute `json:"compute,omitempty"`
// The search and filter query settings.
Filter *RUMQueryFilter `json:"filter,omitempty"`
// The rules for the group by.
GroupBy []RUMGroupBy `json:"group_by,omitempty"`
// Global query options that are used during the query.
// Note: Only supply timezone or time offset, not both. Otherwise, the query fails.
Options *RUMQueryOptions `json:"options,omitempty"`
// Paging attributes for listing events.
Page *RUMQueryPageOptions `json:"page,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMAggregateRequest The object sent with the request to retrieve aggregation buckets of RUM events from your organization.
func NewRUMAggregateRequest ¶ added in v1.12.0
func NewRUMAggregateRequest() *RUMAggregateRequest
NewRUMAggregateRequest instantiates a new RUMAggregateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMAggregateRequestWithDefaults ¶ added in v1.12.0
func NewRUMAggregateRequestWithDefaults() *RUMAggregateRequest
NewRUMAggregateRequestWithDefaults instantiates a new RUMAggregateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMAggregateRequest) GetCompute ¶ added in v1.12.0
func (o *RUMAggregateRequest) GetCompute() []RUMCompute
GetCompute returns the Compute field value if set, zero value otherwise.
func (*RUMAggregateRequest) GetComputeOk ¶ added in v1.12.0
func (o *RUMAggregateRequest) GetComputeOk() (*[]RUMCompute, bool)
GetComputeOk returns a tuple with the Compute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregateRequest) GetFilter ¶ added in v1.12.0
func (o *RUMAggregateRequest) GetFilter() RUMQueryFilter
GetFilter returns the Filter field value if set, zero value otherwise.
func (*RUMAggregateRequest) GetFilterOk ¶ added in v1.12.0
func (o *RUMAggregateRequest) GetFilterOk() (*RUMQueryFilter, bool)
GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregateRequest) GetGroupBy ¶ added in v1.12.0
func (o *RUMAggregateRequest) GetGroupBy() []RUMGroupBy
GetGroupBy returns the GroupBy field value if set, zero value otherwise.
func (*RUMAggregateRequest) GetGroupByOk ¶ added in v1.12.0
func (o *RUMAggregateRequest) GetGroupByOk() (*[]RUMGroupBy, bool)
GetGroupByOk returns a tuple with the GroupBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregateRequest) GetOptions ¶ added in v1.12.0
func (o *RUMAggregateRequest) GetOptions() RUMQueryOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*RUMAggregateRequest) GetOptionsOk ¶ added in v1.12.0
func (o *RUMAggregateRequest) GetOptionsOk() (*RUMQueryOptions, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregateRequest) GetPage ¶ added in v1.12.0
func (o *RUMAggregateRequest) GetPage() RUMQueryPageOptions
GetPage returns the Page field value if set, zero value otherwise.
func (*RUMAggregateRequest) GetPageOk ¶ added in v1.12.0
func (o *RUMAggregateRequest) GetPageOk() (*RUMQueryPageOptions, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregateRequest) HasCompute ¶ added in v1.12.0
func (o *RUMAggregateRequest) HasCompute() bool
HasCompute returns a boolean if a field has been set.
func (*RUMAggregateRequest) HasFilter ¶ added in v1.12.0
func (o *RUMAggregateRequest) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*RUMAggregateRequest) HasGroupBy ¶ added in v1.12.0
func (o *RUMAggregateRequest) HasGroupBy() bool
HasGroupBy returns a boolean if a field has been set.
func (*RUMAggregateRequest) HasOptions ¶ added in v1.12.0
func (o *RUMAggregateRequest) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*RUMAggregateRequest) HasPage ¶ added in v1.12.0
func (o *RUMAggregateRequest) HasPage() bool
HasPage returns a boolean if a field has been set.
func (RUMAggregateRequest) MarshalJSON ¶ added in v1.12.0
func (o RUMAggregateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMAggregateRequest) SetCompute ¶ added in v1.12.0
func (o *RUMAggregateRequest) SetCompute(v []RUMCompute)
SetCompute gets a reference to the given []RUMCompute and assigns it to the Compute field.
func (*RUMAggregateRequest) SetFilter ¶ added in v1.12.0
func (o *RUMAggregateRequest) SetFilter(v RUMQueryFilter)
SetFilter gets a reference to the given RUMQueryFilter and assigns it to the Filter field.
func (*RUMAggregateRequest) SetGroupBy ¶ added in v1.12.0
func (o *RUMAggregateRequest) SetGroupBy(v []RUMGroupBy)
SetGroupBy gets a reference to the given []RUMGroupBy and assigns it to the GroupBy field.
func (*RUMAggregateRequest) SetOptions ¶ added in v1.12.0
func (o *RUMAggregateRequest) SetOptions(v RUMQueryOptions)
SetOptions gets a reference to the given RUMQueryOptions and assigns it to the Options field.
func (*RUMAggregateRequest) SetPage ¶ added in v1.12.0
func (o *RUMAggregateRequest) SetPage(v RUMQueryPageOptions)
SetPage gets a reference to the given RUMQueryPageOptions and assigns it to the Page field.
func (*RUMAggregateRequest) UnmarshalJSON ¶ added in v1.12.0
func (o *RUMAggregateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMAggregateSort ¶ added in v1.12.0
type RUMAggregateSort struct {
// An aggregation function.
Aggregation *RUMAggregationFunction `json:"aggregation,omitempty"`
// The metric to sort by (only used for `type=measure`).
Metric *string `json:"metric,omitempty"`
// The order to use, ascending or descending.
Order *RUMSortOrder `json:"order,omitempty"`
// The type of sorting algorithm.
Type *RUMAggregateSortType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMAggregateSort A sort rule.
func NewRUMAggregateSort ¶ added in v1.12.0
func NewRUMAggregateSort() *RUMAggregateSort
NewRUMAggregateSort instantiates a new RUMAggregateSort object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMAggregateSortWithDefaults ¶ added in v1.12.0
func NewRUMAggregateSortWithDefaults() *RUMAggregateSort
NewRUMAggregateSortWithDefaults instantiates a new RUMAggregateSort object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMAggregateSort) GetAggregation ¶ added in v1.12.0
func (o *RUMAggregateSort) GetAggregation() RUMAggregationFunction
GetAggregation returns the Aggregation field value if set, zero value otherwise.
func (*RUMAggregateSort) GetAggregationOk ¶ added in v1.12.0
func (o *RUMAggregateSort) GetAggregationOk() (*RUMAggregationFunction, bool)
GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregateSort) GetMetric ¶ added in v1.12.0
func (o *RUMAggregateSort) GetMetric() string
GetMetric returns the Metric field value if set, zero value otherwise.
func (*RUMAggregateSort) GetMetricOk ¶ added in v1.12.0
func (o *RUMAggregateSort) GetMetricOk() (*string, bool)
GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregateSort) GetOrder ¶ added in v1.12.0
func (o *RUMAggregateSort) GetOrder() RUMSortOrder
GetOrder returns the Order field value if set, zero value otherwise.
func (*RUMAggregateSort) GetOrderOk ¶ added in v1.12.0
func (o *RUMAggregateSort) GetOrderOk() (*RUMSortOrder, bool)
GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregateSort) GetType ¶ added in v1.12.0
func (o *RUMAggregateSort) GetType() RUMAggregateSortType
GetType returns the Type field value if set, zero value otherwise.
func (*RUMAggregateSort) GetTypeOk ¶ added in v1.12.0
func (o *RUMAggregateSort) GetTypeOk() (*RUMAggregateSortType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregateSort) HasAggregation ¶ added in v1.12.0
func (o *RUMAggregateSort) HasAggregation() bool
HasAggregation returns a boolean if a field has been set.
func (*RUMAggregateSort) HasMetric ¶ added in v1.12.0
func (o *RUMAggregateSort) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (*RUMAggregateSort) HasOrder ¶ added in v1.12.0
func (o *RUMAggregateSort) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (*RUMAggregateSort) HasType ¶ added in v1.12.0
func (o *RUMAggregateSort) HasType() bool
HasType returns a boolean if a field has been set.
func (RUMAggregateSort) MarshalJSON ¶ added in v1.12.0
func (o RUMAggregateSort) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMAggregateSort) SetAggregation ¶ added in v1.12.0
func (o *RUMAggregateSort) SetAggregation(v RUMAggregationFunction)
SetAggregation gets a reference to the given RUMAggregationFunction and assigns it to the Aggregation field.
func (*RUMAggregateSort) SetMetric ¶ added in v1.12.0
func (o *RUMAggregateSort) SetMetric(v string)
SetMetric gets a reference to the given string and assigns it to the Metric field.
func (*RUMAggregateSort) SetOrder ¶ added in v1.12.0
func (o *RUMAggregateSort) SetOrder(v RUMSortOrder)
SetOrder gets a reference to the given RUMSortOrder and assigns it to the Order field.
func (*RUMAggregateSort) SetType ¶ added in v1.12.0
func (o *RUMAggregateSort) SetType(v RUMAggregateSortType)
SetType gets a reference to the given RUMAggregateSortType and assigns it to the Type field.
func (*RUMAggregateSort) UnmarshalJSON ¶ added in v1.12.0
func (o *RUMAggregateSort) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMAggregateSortType ¶ added in v1.12.0
type RUMAggregateSortType string
RUMAggregateSortType The type of sorting algorithm.
const ( RUMAGGREGATESORTTYPE_ALPHABETICAL RUMAggregateSortType = "alphabetical" RUMAGGREGATESORTTYPE_MEASURE RUMAggregateSortType = "measure" )
List of RUMAggregateSortType.
func NewRUMAggregateSortTypeFromValue ¶ added in v1.12.0
func NewRUMAggregateSortTypeFromValue(v string) (*RUMAggregateSortType, error)
NewRUMAggregateSortTypeFromValue returns a pointer to a valid RUMAggregateSortType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*RUMAggregateSortType) GetAllowedValues ¶ added in v1.12.0
func (v *RUMAggregateSortType) GetAllowedValues() []RUMAggregateSortType
GetAllowedValues reeturns the list of possible values.
func (RUMAggregateSortType) IsValid ¶ added in v1.12.0
func (v RUMAggregateSortType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (RUMAggregateSortType) Ptr ¶ added in v1.12.0
func (v RUMAggregateSortType) Ptr() *RUMAggregateSortType
Ptr returns reference to RUMAggregateSortType value.
func (*RUMAggregateSortType) UnmarshalJSON ¶ added in v1.12.0
func (v *RUMAggregateSortType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type RUMAggregationBucketsResponse ¶ added in v1.12.0
type RUMAggregationBucketsResponse struct {
// The list of matching buckets, one item per bucket.
Buckets []RUMBucketResponse `json:"buckets,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMAggregationBucketsResponse The query results.
func NewRUMAggregationBucketsResponse ¶ added in v1.12.0
func NewRUMAggregationBucketsResponse() *RUMAggregationBucketsResponse
NewRUMAggregationBucketsResponse instantiates a new RUMAggregationBucketsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMAggregationBucketsResponseWithDefaults ¶ added in v1.12.0
func NewRUMAggregationBucketsResponseWithDefaults() *RUMAggregationBucketsResponse
NewRUMAggregationBucketsResponseWithDefaults instantiates a new RUMAggregationBucketsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMAggregationBucketsResponse) GetBuckets ¶ added in v1.12.0
func (o *RUMAggregationBucketsResponse) GetBuckets() []RUMBucketResponse
GetBuckets returns the Buckets field value if set, zero value otherwise.
func (*RUMAggregationBucketsResponse) GetBucketsOk ¶ added in v1.12.0
func (o *RUMAggregationBucketsResponse) GetBucketsOk() (*[]RUMBucketResponse, bool)
GetBucketsOk returns a tuple with the Buckets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMAggregationBucketsResponse) HasBuckets ¶ added in v1.12.0
func (o *RUMAggregationBucketsResponse) HasBuckets() bool
HasBuckets returns a boolean if a field has been set.
func (RUMAggregationBucketsResponse) MarshalJSON ¶ added in v1.12.0
func (o RUMAggregationBucketsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMAggregationBucketsResponse) SetBuckets ¶ added in v1.12.0
func (o *RUMAggregationBucketsResponse) SetBuckets(v []RUMBucketResponse)
SetBuckets gets a reference to the given []RUMBucketResponse and assigns it to the Buckets field.
func (*RUMAggregationBucketsResponse) UnmarshalJSON ¶ added in v1.12.0
func (o *RUMAggregationBucketsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMAggregationFunction ¶ added in v1.12.0
type RUMAggregationFunction string
RUMAggregationFunction An aggregation function.
const ( RUMAGGREGATIONFUNCTION_COUNT RUMAggregationFunction = "count" RUMAGGREGATIONFUNCTION_CARDINALITY RUMAggregationFunction = "cardinality" RUMAGGREGATIONFUNCTION_PERCENTILE_75 RUMAggregationFunction = "pc75" RUMAGGREGATIONFUNCTION_PERCENTILE_90 RUMAggregationFunction = "pc90" RUMAGGREGATIONFUNCTION_PERCENTILE_95 RUMAggregationFunction = "pc95" RUMAGGREGATIONFUNCTION_PERCENTILE_98 RUMAggregationFunction = "pc98" RUMAGGREGATIONFUNCTION_PERCENTILE_99 RUMAggregationFunction = "pc99" RUMAGGREGATIONFUNCTION_SUM RUMAggregationFunction = "sum" RUMAGGREGATIONFUNCTION_MIN RUMAggregationFunction = "min" RUMAGGREGATIONFUNCTION_MAX RUMAggregationFunction = "max" RUMAGGREGATIONFUNCTION_AVG RUMAggregationFunction = "avg" RUMAGGREGATIONFUNCTION_MEDIAN RUMAggregationFunction = "median" )
List of RUMAggregationFunction.
func NewRUMAggregationFunctionFromValue ¶ added in v1.12.0
func NewRUMAggregationFunctionFromValue(v string) (*RUMAggregationFunction, error)
NewRUMAggregationFunctionFromValue returns a pointer to a valid RUMAggregationFunction for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*RUMAggregationFunction) GetAllowedValues ¶ added in v1.12.0
func (v *RUMAggregationFunction) GetAllowedValues() []RUMAggregationFunction
GetAllowedValues reeturns the list of possible values.
func (RUMAggregationFunction) IsValid ¶ added in v1.12.0
func (v RUMAggregationFunction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (RUMAggregationFunction) Ptr ¶ added in v1.12.0
func (v RUMAggregationFunction) Ptr() *RUMAggregationFunction
Ptr returns reference to RUMAggregationFunction value.
func (*RUMAggregationFunction) UnmarshalJSON ¶ added in v1.12.0
func (v *RUMAggregationFunction) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type RUMAnalyticsAggregateResponse ¶ added in v1.12.0
type RUMAnalyticsAggregateResponse struct {
// The query results.
Data *RUMAggregationBucketsResponse `json:"data,omitempty"`
// Links attributes.
Links *RUMResponseLinks `json:"links,omitempty"`
// The metadata associated with a request.
Meta *RUMResponseMetadata `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMAnalyticsAggregateResponse The response object for the RUM events aggregate API endpoint.
func NewRUMAnalyticsAggregateResponse ¶ added in v1.12.0
func NewRUMAnalyticsAggregateResponse() *RUMAnalyticsAggregateResponse
NewRUMAnalyticsAggregateResponse instantiates a new RUMAnalyticsAggregateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMAnalyticsAggregateResponseWithDefaults ¶ added in v1.12.0
func NewRUMAnalyticsAggregateResponseWithDefaults() *RUMAnalyticsAggregateResponse
NewRUMAnalyticsAggregateResponseWithDefaults instantiates a new RUMAnalyticsAggregateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMAnalyticsAggregateResponse) GetData ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) GetData() RUMAggregationBucketsResponse
GetData returns the Data field value if set, zero value otherwise.
func (*RUMAnalyticsAggregateResponse) GetDataOk ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) GetDataOk() (*RUMAggregationBucketsResponse, 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 (*RUMAnalyticsAggregateResponse) GetLinks ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) GetLinks() RUMResponseLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*RUMAnalyticsAggregateResponse) GetLinksOk ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) 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 (*RUMAnalyticsAggregateResponse) GetMeta ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) GetMeta() RUMResponseMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*RUMAnalyticsAggregateResponse) GetMetaOk ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) 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 (*RUMAnalyticsAggregateResponse) HasData ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*RUMAnalyticsAggregateResponse) HasLinks ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*RUMAnalyticsAggregateResponse) HasMeta ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (RUMAnalyticsAggregateResponse) MarshalJSON ¶ added in v1.12.0
func (o RUMAnalyticsAggregateResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMAnalyticsAggregateResponse) SetData ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) SetData(v RUMAggregationBucketsResponse)
SetData gets a reference to the given RUMAggregationBucketsResponse and assigns it to the Data field.
func (*RUMAnalyticsAggregateResponse) SetLinks ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) SetLinks(v RUMResponseLinks)
SetLinks gets a reference to the given RUMResponseLinks and assigns it to the Links field.
func (*RUMAnalyticsAggregateResponse) SetMeta ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) SetMeta(v RUMResponseMetadata)
SetMeta gets a reference to the given RUMResponseMetadata and assigns it to the Meta field.
func (*RUMAnalyticsAggregateResponse) UnmarshalJSON ¶ added in v1.12.0
func (o *RUMAnalyticsAggregateResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMApiService ¶ added in v1.11.0
type RUMApiService service
RUMApiService RUMApi service.
func (*RUMApiService) AggregateRUMEvents ¶ added in v1.12.0
func (a *RUMApiService) AggregateRUMEvents(ctx _context.Context, body RUMAggregateRequest) (RUMAnalyticsAggregateResponse, *_nethttp.Response, error)
AggregateRUMEvents Aggregate RUM events. The API endpoint to aggregate RUM events into buckets of computed metrics and timeseries.
func (*RUMApiService) ListRUMEvents ¶ added in v1.11.0
func (a *RUMApiService) ListRUMEvents(ctx _context.Context, o ...ListRUMEventsOptionalParameters) (RUMEventsResponse, *_nethttp.Response, error)
ListRUMEvents Get a list of RUM events. List endpoint returns events that match a RUM search query. [Results are paginated]1.
Use this endpoint to see your latest RUM events.
func (*RUMApiService) ListRUMEventsWithPagination ¶ added in v1.14.0
func (a *RUMApiService) ListRUMEventsWithPagination(ctx _context.Context, o ...ListRUMEventsOptionalParameters) (<-chan RUMEvent, func(), error)
ListRUMEventsWithPagination provides a paginated version of ListRUMEvents returning a channel with all items.
func (*RUMApiService) SearchRUMEvents ¶ added in v1.11.0
func (a *RUMApiService) SearchRUMEvents(ctx _context.Context, body RUMSearchEventsRequest) (RUMEventsResponse, *_nethttp.Response, error)
SearchRUMEvents Search RUM events. List endpoint returns RUM events that match a RUM search query. [Results are paginated]1.
Use this endpoint to build complex RUM events filtering and search.
func (*RUMApiService) SearchRUMEventsWithPagination ¶ added in v1.14.0
func (a *RUMApiService) SearchRUMEventsWithPagination(ctx _context.Context, body RUMSearchEventsRequest) (<-chan RUMEvent, func(), error)
SearchRUMEventsWithPagination provides a paginated version of SearchRUMEvents returning a channel with all items.
type RUMBucketResponse ¶ added in v1.12.0
type RUMBucketResponse struct {
// The key-value pairs for each group-by.
By map[string]string `json:"by,omitempty"`
// A map of the metric name to value for regular compute, or a list of values for a timeseries.
Computes map[string]RUMAggregateBucketValue `json:"computes,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMBucketResponse Bucket values.
func NewRUMBucketResponse ¶ added in v1.12.0
func NewRUMBucketResponse() *RUMBucketResponse
NewRUMBucketResponse instantiates a new RUMBucketResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMBucketResponseWithDefaults ¶ added in v1.12.0
func NewRUMBucketResponseWithDefaults() *RUMBucketResponse
NewRUMBucketResponseWithDefaults instantiates a new RUMBucketResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMBucketResponse) GetBy ¶ added in v1.12.0
func (o *RUMBucketResponse) GetBy() map[string]string
GetBy returns the By field value if set, zero value otherwise.
func (*RUMBucketResponse) GetByOk ¶ added in v1.12.0
func (o *RUMBucketResponse) GetByOk() (*map[string]string, bool)
GetByOk returns a tuple with the By field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMBucketResponse) GetComputes ¶ added in v1.12.0
func (o *RUMBucketResponse) GetComputes() map[string]RUMAggregateBucketValue
GetComputes returns the Computes field value if set, zero value otherwise.
func (*RUMBucketResponse) GetComputesOk ¶ added in v1.12.0
func (o *RUMBucketResponse) GetComputesOk() (*map[string]RUMAggregateBucketValue, bool)
GetComputesOk returns a tuple with the Computes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMBucketResponse) HasBy ¶ added in v1.12.0
func (o *RUMBucketResponse) HasBy() bool
HasBy returns a boolean if a field has been set.
func (*RUMBucketResponse) HasComputes ¶ added in v1.12.0
func (o *RUMBucketResponse) HasComputes() bool
HasComputes returns a boolean if a field has been set.
func (RUMBucketResponse) MarshalJSON ¶ added in v1.12.0
func (o RUMBucketResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMBucketResponse) SetBy ¶ added in v1.12.0
func (o *RUMBucketResponse) SetBy(v map[string]string)
SetBy gets a reference to the given map[string]string and assigns it to the By field.
func (*RUMBucketResponse) SetComputes ¶ added in v1.12.0
func (o *RUMBucketResponse) SetComputes(v map[string]RUMAggregateBucketValue)
SetComputes gets a reference to the given map[string]RUMAggregateBucketValue and assigns it to the Computes field.
func (*RUMBucketResponse) UnmarshalJSON ¶ added in v1.12.0
func (o *RUMBucketResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMCompute ¶ added in v1.12.0
type RUMCompute struct {
// An aggregation function.
Aggregation RUMAggregationFunction `json:"aggregation"`
// The time buckets' size (only used for type=timeseries)
// Defaults to a resolution of 150 points.
Interval *string `json:"interval,omitempty"`
// The metric to use.
Metric *string `json:"metric,omitempty"`
// The type of compute.
Type *RUMComputeType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMCompute A compute rule to compute metrics or timeseries.
func NewRUMCompute ¶ added in v1.12.0
func NewRUMCompute(aggregation RUMAggregationFunction) *RUMCompute
NewRUMCompute instantiates a new RUMCompute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMComputeWithDefaults ¶ added in v1.12.0
func NewRUMComputeWithDefaults() *RUMCompute
NewRUMComputeWithDefaults instantiates a new RUMCompute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMCompute) GetAggregation ¶ added in v1.12.0
func (o *RUMCompute) GetAggregation() RUMAggregationFunction
GetAggregation returns the Aggregation field value.
func (*RUMCompute) GetAggregationOk ¶ added in v1.12.0
func (o *RUMCompute) GetAggregationOk() (*RUMAggregationFunction, bool)
GetAggregationOk returns a tuple with the Aggregation field value and a boolean to check if the value has been set.
func (*RUMCompute) GetInterval ¶ added in v1.12.0
func (o *RUMCompute) GetInterval() string
GetInterval returns the Interval field value if set, zero value otherwise.
func (*RUMCompute) GetIntervalOk ¶ added in v1.12.0
func (o *RUMCompute) GetIntervalOk() (*string, bool)
GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMCompute) GetMetric ¶ added in v1.12.0
func (o *RUMCompute) GetMetric() string
GetMetric returns the Metric field value if set, zero value otherwise.
func (*RUMCompute) GetMetricOk ¶ added in v1.12.0
func (o *RUMCompute) GetMetricOk() (*string, bool)
GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMCompute) GetType ¶ added in v1.12.0
func (o *RUMCompute) GetType() RUMComputeType
GetType returns the Type field value if set, zero value otherwise.
func (*RUMCompute) GetTypeOk ¶ added in v1.12.0
func (o *RUMCompute) GetTypeOk() (*RUMComputeType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMCompute) HasInterval ¶ added in v1.12.0
func (o *RUMCompute) HasInterval() bool
HasInterval returns a boolean if a field has been set.
func (*RUMCompute) HasMetric ¶ added in v1.12.0
func (o *RUMCompute) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (*RUMCompute) HasType ¶ added in v1.12.0
func (o *RUMCompute) HasType() bool
HasType returns a boolean if a field has been set.
func (RUMCompute) MarshalJSON ¶ added in v1.12.0
func (o RUMCompute) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMCompute) SetAggregation ¶ added in v1.12.0
func (o *RUMCompute) SetAggregation(v RUMAggregationFunction)
SetAggregation sets field value.
func (*RUMCompute) SetInterval ¶ added in v1.12.0
func (o *RUMCompute) SetInterval(v string)
SetInterval gets a reference to the given string and assigns it to the Interval field.
func (*RUMCompute) SetMetric ¶ added in v1.12.0
func (o *RUMCompute) SetMetric(v string)
SetMetric gets a reference to the given string and assigns it to the Metric field.
func (*RUMCompute) SetType ¶ added in v1.12.0
func (o *RUMCompute) SetType(v RUMComputeType)
SetType gets a reference to the given RUMComputeType and assigns it to the Type field.
func (*RUMCompute) UnmarshalJSON ¶ added in v1.12.0
func (o *RUMCompute) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMComputeType ¶ added in v1.12.0
type RUMComputeType string
RUMComputeType The type of compute.
const ( RUMCOMPUTETYPE_TIMESERIES RUMComputeType = "timeseries" RUMCOMPUTETYPE_TOTAL RUMComputeType = "total" )
List of RUMComputeType.
func NewRUMComputeTypeFromValue ¶ added in v1.12.0
func NewRUMComputeTypeFromValue(v string) (*RUMComputeType, error)
NewRUMComputeTypeFromValue returns a pointer to a valid RUMComputeType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*RUMComputeType) GetAllowedValues ¶ added in v1.12.0
func (v *RUMComputeType) GetAllowedValues() []RUMComputeType
GetAllowedValues reeturns the list of possible values.
func (RUMComputeType) IsValid ¶ added in v1.12.0
func (v RUMComputeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (RUMComputeType) Ptr ¶ added in v1.12.0
func (v RUMComputeType) Ptr() *RUMComputeType
Ptr returns reference to RUMComputeType value.
func (*RUMComputeType) UnmarshalJSON ¶ added in v1.12.0
func (v *RUMComputeType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type RUMEvent ¶ added in v1.11.0
type RUMEvent struct {
// JSON object containing all event attributes and their associated values.
Attributes *RUMEventAttributes `json:"attributes,omitempty"`
// Unique ID of the event.
Id *string `json:"id,omitempty"`
// Type of the event.
Type *RUMEventType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMEvent Object description of a RUM event after being processed and stored by Datadog.
func NewRUMEvent ¶ added in v1.11.0
func NewRUMEvent() *RUMEvent
NewRUMEvent instantiates a new RUMEvent object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMEventWithDefaults ¶ added in v1.11.0
func NewRUMEventWithDefaults() *RUMEvent
NewRUMEventWithDefaults instantiates a new RUMEvent object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMEvent) GetAttributes ¶ added in v1.11.0
func (o *RUMEvent) GetAttributes() RUMEventAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*RUMEvent) GetAttributesOk ¶ added in v1.11.0
func (o *RUMEvent) GetAttributesOk() (*RUMEventAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMEvent) GetId ¶ added in v1.11.0
GetId returns the Id field value if set, zero value otherwise.
func (*RUMEvent) GetIdOk ¶ added in v1.11.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 (*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
HasAttributes returns a boolean if a field has been set.
func (RUMEvent) MarshalJSON ¶ added in v1.11.0
MarshalJSON serializes the struct using spec logic.
func (*RUMEvent) SetAttributes ¶ added in v1.11.0
func (o *RUMEvent) SetAttributes(v RUMEventAttributes)
SetAttributes gets a reference to the given RUMEventAttributes and assigns it to the Attributes field.
func (*RUMEvent) SetId ¶ added in v1.11.0
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
UnmarshalJSON deserializes the given payload.
type RUMEventAttributes ¶ added in v1.11.0
type RUMEventAttributes struct {
// JSON object of attributes from RUM events.
Attributes map[string]interface{} `json:"attributes,omitempty"`
// The name of the application or service generating RUM events.
// It is used to switch from RUM to APM, so make sure you define the same
// value when you use both products.
Service *string `json:"service,omitempty"`
// Array of tags associated with your event.
Tags []string `json:"tags,omitempty"`
// Timestamp of your event.
Timestamp *time.Time `json:"timestamp,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMEventAttributes JSON object containing all event attributes and their associated values.
func NewRUMEventAttributes ¶ added in v1.11.0
func NewRUMEventAttributes() *RUMEventAttributes
NewRUMEventAttributes instantiates a new RUMEventAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMEventAttributesWithDefaults ¶ added in v1.11.0
func NewRUMEventAttributesWithDefaults() *RUMEventAttributes
NewRUMEventAttributesWithDefaults instantiates a new RUMEventAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMEventAttributes) GetAttributes ¶ added in v1.11.0
func (o *RUMEventAttributes) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*RUMEventAttributes) GetAttributesOk ¶ added in v1.11.0
func (o *RUMEventAttributes) GetAttributesOk() (*map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMEventAttributes) GetService ¶ added in v1.11.0
func (o *RUMEventAttributes) GetService() string
GetService returns the Service field value if set, zero value otherwise.
func (*RUMEventAttributes) GetServiceOk ¶ added in v1.11.0
func (o *RUMEventAttributes) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMEventAttributes) GetTags ¶ added in v1.11.0
func (o *RUMEventAttributes) GetTags() []string
GetTags returns the Tags field value if set, zero value otherwise.
func (*RUMEventAttributes) GetTagsOk ¶ added in v1.11.0
func (o *RUMEventAttributes) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMEventAttributes) GetTimestamp ¶ added in v1.11.0
func (o *RUMEventAttributes) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*RUMEventAttributes) GetTimestampOk ¶ added in v1.11.0
func (o *RUMEventAttributes) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMEventAttributes) HasAttributes ¶ added in v1.11.0
func (o *RUMEventAttributes) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*RUMEventAttributes) HasService ¶ added in v1.11.0
func (o *RUMEventAttributes) HasService() bool
HasService returns a boolean if a field has been set.
func (*RUMEventAttributes) HasTags ¶ added in v1.11.0
func (o *RUMEventAttributes) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*RUMEventAttributes) HasTimestamp ¶ added in v1.11.0
func (o *RUMEventAttributes) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (RUMEventAttributes) MarshalJSON ¶ added in v1.11.0
func (o RUMEventAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMEventAttributes) SetAttributes ¶ added in v1.11.0
func (o *RUMEventAttributes) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (*RUMEventAttributes) SetService ¶ added in v1.11.0
func (o *RUMEventAttributes) SetService(v string)
SetService gets a reference to the given string and assigns it to the Service field.
func (*RUMEventAttributes) SetTags ¶ added in v1.11.0
func (o *RUMEventAttributes) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*RUMEventAttributes) SetTimestamp ¶ added in v1.11.0
func (o *RUMEventAttributes) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
func (*RUMEventAttributes) UnmarshalJSON ¶ added in v1.11.0
func (o *RUMEventAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMEventType ¶ added in v1.11.0
type RUMEventType string
RUMEventType Type of the event.
const (
RUMEVENTTYPE_RUM RUMEventType = "rum"
)
List of RUMEventType.
func NewRUMEventTypeFromValue ¶ added in v1.11.0
func NewRUMEventTypeFromValue(v string) (*RUMEventType, error)
NewRUMEventTypeFromValue returns a pointer to a valid RUMEventType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*RUMEventType) GetAllowedValues ¶ added in v1.11.0
func (v *RUMEventType) GetAllowedValues() []RUMEventType
GetAllowedValues reeturns the list of possible values.
func (RUMEventType) IsValid ¶ added in v1.11.0
func (v RUMEventType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (RUMEventType) Ptr ¶ added in v1.11.0
func (v RUMEventType) Ptr() *RUMEventType
Ptr returns reference to RUMEventType value.
func (*RUMEventType) UnmarshalJSON ¶ added in v1.11.0
func (v *RUMEventType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type RUMEventsResponse ¶ added in v1.11.0
type RUMEventsResponse struct {
// Array of events matching the request.
Data []RUMEvent `json:"data,omitempty"`
// Links attributes.
Links *RUMResponseLinks `json:"links,omitempty"`
// The metadata associated with a request.
Meta *RUMResponseMetadata `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMEventsResponse Response object with all events matching the request and pagination information.
func NewRUMEventsResponse ¶ added in v1.11.0
func NewRUMEventsResponse() *RUMEventsResponse
NewRUMEventsResponse instantiates a new RUMEventsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMEventsResponseWithDefaults ¶ added in v1.11.0
func NewRUMEventsResponseWithDefaults() *RUMEventsResponse
NewRUMEventsResponseWithDefaults instantiates a new RUMEventsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMEventsResponse) GetData ¶ added in v1.11.0
func (o *RUMEventsResponse) GetData() []RUMEvent
GetData returns the Data field value if set, zero value otherwise.
func (*RUMEventsResponse) GetDataOk ¶ added in v1.11.0
func (o *RUMEventsResponse) GetDataOk() (*[]RUMEvent, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMEventsResponse) GetLinks ¶ added in v1.11.0
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
func (o *RUMEventsResponse) GetMeta() RUMResponseMetadata
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 (*RUMEventsResponse) HasLinks ¶ added in v1.11.0
func (o *RUMEventsResponse) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*RUMEventsResponse) HasMeta ¶ added in v1.11.0
func (o *RUMEventsResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (RUMEventsResponse) MarshalJSON ¶ added in v1.11.0
func (o RUMEventsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMEventsResponse) SetData ¶ added in v1.11.0
func (o *RUMEventsResponse) SetData(v []RUMEvent)
SetData gets a reference to the given []RUMEvent and assigns it to the Data field.
func (*RUMEventsResponse) SetLinks ¶ added in v1.11.0
func (o *RUMEventsResponse) SetLinks(v RUMResponseLinks)
SetLinks gets a reference to the given RUMResponseLinks and assigns it to the Links field.
func (*RUMEventsResponse) SetMeta ¶ added in v1.11.0
func (o *RUMEventsResponse) SetMeta(v RUMResponseMetadata)
SetMeta gets a reference to the given RUMResponseMetadata and assigns it to the Meta field.
func (*RUMEventsResponse) UnmarshalJSON ¶ added in v1.11.0
func (o *RUMEventsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMGroupBy ¶ added in v1.12.0
type RUMGroupBy struct {
// The name of the facet to use (required).
Facet string `json:"facet"`
// Used to perform a histogram computation (only for measure facets).
// Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval.
Histogram *RUMGroupByHistogram `json:"histogram,omitempty"`
// The maximum buckets to return for this group-by.
Limit *int64 `json:"limit,omitempty"`
// The value to use for logs that don't have the facet used to group by.
Missing *RUMGroupByMissing `json:"missing,omitempty"`
// A sort rule.
Sort *RUMAggregateSort `json:"sort,omitempty"`
// A resulting object to put the given computes in over all the matching records.
Total *RUMGroupByTotal `json:"total,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMGroupBy A group-by rule.
func NewRUMGroupBy ¶ added in v1.12.0
func NewRUMGroupBy(facet string) *RUMGroupBy
NewRUMGroupBy instantiates a new RUMGroupBy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMGroupByWithDefaults ¶ added in v1.12.0
func NewRUMGroupByWithDefaults() *RUMGroupBy
NewRUMGroupByWithDefaults instantiates a new RUMGroupBy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMGroupBy) GetFacet ¶ added in v1.12.0
func (o *RUMGroupBy) GetFacet() string
GetFacet returns the Facet field value.
func (*RUMGroupBy) GetFacetOk ¶ added in v1.12.0
func (o *RUMGroupBy) GetFacetOk() (*string, bool)
GetFacetOk returns a tuple with the Facet field value and a boolean to check if the value has been set.
func (*RUMGroupBy) GetHistogram ¶ added in v1.12.0
func (o *RUMGroupBy) GetHistogram() RUMGroupByHistogram
GetHistogram returns the Histogram field value if set, zero value otherwise.
func (*RUMGroupBy) GetHistogramOk ¶ added in v1.12.0
func (o *RUMGroupBy) GetHistogramOk() (*RUMGroupByHistogram, bool)
GetHistogramOk returns a tuple with the Histogram field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMGroupBy) GetLimit ¶ added in v1.12.0
func (o *RUMGroupBy) GetLimit() int64
GetLimit returns the Limit field value if set, zero value otherwise.
func (*RUMGroupBy) GetLimitOk ¶ added in v1.12.0
func (o *RUMGroupBy) GetLimitOk() (*int64, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMGroupBy) GetMissing ¶ added in v1.12.0
func (o *RUMGroupBy) GetMissing() RUMGroupByMissing
GetMissing returns the Missing field value if set, zero value otherwise.
func (*RUMGroupBy) GetMissingOk ¶ added in v1.12.0
func (o *RUMGroupBy) GetMissingOk() (*RUMGroupByMissing, bool)
GetMissingOk returns a tuple with the Missing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMGroupBy) GetSort ¶ added in v1.12.0
func (o *RUMGroupBy) GetSort() RUMAggregateSort
GetSort returns the Sort field value if set, zero value otherwise.
func (*RUMGroupBy) GetSortOk ¶ added in v1.12.0
func (o *RUMGroupBy) GetSortOk() (*RUMAggregateSort, bool)
GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMGroupBy) GetTotal ¶ added in v1.12.0
func (o *RUMGroupBy) GetTotal() RUMGroupByTotal
GetTotal returns the Total field value if set, zero value otherwise.
func (*RUMGroupBy) GetTotalOk ¶ added in v1.12.0
func (o *RUMGroupBy) GetTotalOk() (*RUMGroupByTotal, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMGroupBy) HasHistogram ¶ added in v1.12.0
func (o *RUMGroupBy) HasHistogram() bool
HasHistogram returns a boolean if a field has been set.
func (*RUMGroupBy) HasLimit ¶ added in v1.12.0
func (o *RUMGroupBy) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*RUMGroupBy) HasMissing ¶ added in v1.12.0
func (o *RUMGroupBy) HasMissing() bool
HasMissing returns a boolean if a field has been set.
func (*RUMGroupBy) HasSort ¶ added in v1.12.0
func (o *RUMGroupBy) HasSort() bool
HasSort returns a boolean if a field has been set.
func (*RUMGroupBy) HasTotal ¶ added in v1.12.0
func (o *RUMGroupBy) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (RUMGroupBy) MarshalJSON ¶ added in v1.12.0
func (o RUMGroupBy) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMGroupBy) SetFacet ¶ added in v1.12.0
func (o *RUMGroupBy) SetFacet(v string)
SetFacet sets field value.
func (*RUMGroupBy) SetHistogram ¶ added in v1.12.0
func (o *RUMGroupBy) SetHistogram(v RUMGroupByHistogram)
SetHistogram gets a reference to the given RUMGroupByHistogram and assigns it to the Histogram field.
func (*RUMGroupBy) SetLimit ¶ added in v1.12.0
func (o *RUMGroupBy) SetLimit(v int64)
SetLimit gets a reference to the given int64 and assigns it to the Limit field.
func (*RUMGroupBy) SetMissing ¶ added in v1.12.0
func (o *RUMGroupBy) SetMissing(v RUMGroupByMissing)
SetMissing gets a reference to the given RUMGroupByMissing and assigns it to the Missing field.
func (*RUMGroupBy) SetSort ¶ added in v1.12.0
func (o *RUMGroupBy) SetSort(v RUMAggregateSort)
SetSort gets a reference to the given RUMAggregateSort and assigns it to the Sort field.
func (*RUMGroupBy) SetTotal ¶ added in v1.12.0
func (o *RUMGroupBy) SetTotal(v RUMGroupByTotal)
SetTotal gets a reference to the given RUMGroupByTotal and assigns it to the Total field.
func (*RUMGroupBy) UnmarshalJSON ¶ added in v1.12.0
func (o *RUMGroupBy) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMGroupByHistogram ¶ added in v1.12.0
type RUMGroupByHistogram struct {
// The bin size of the histogram buckets.
Interval float64 `json:"interval"`
// The maximum value for the measure used in the histogram
// (values greater than this one are filtered out).
Max float64 `json:"max"`
// The minimum value for the measure used in the histogram
// (values smaller than this one are filtered out).
Min float64 `json:"min"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMGroupByHistogram Used to perform a histogram computation (only for measure facets). Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval.
func NewRUMGroupByHistogram ¶ added in v1.12.0
func NewRUMGroupByHistogram(interval float64, max float64, min float64) *RUMGroupByHistogram
NewRUMGroupByHistogram instantiates a new RUMGroupByHistogram object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMGroupByHistogramWithDefaults ¶ added in v1.12.0
func NewRUMGroupByHistogramWithDefaults() *RUMGroupByHistogram
NewRUMGroupByHistogramWithDefaults instantiates a new RUMGroupByHistogram object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMGroupByHistogram) GetInterval ¶ added in v1.12.0
func (o *RUMGroupByHistogram) GetInterval() float64
GetInterval returns the Interval field value.
func (*RUMGroupByHistogram) GetIntervalOk ¶ added in v1.12.0
func (o *RUMGroupByHistogram) GetIntervalOk() (*float64, bool)
GetIntervalOk returns a tuple with the Interval field value and a boolean to check if the value has been set.
func (*RUMGroupByHistogram) GetMax ¶ added in v1.12.0
func (o *RUMGroupByHistogram) GetMax() float64
GetMax returns the Max field value.
func (*RUMGroupByHistogram) GetMaxOk ¶ added in v1.12.0
func (o *RUMGroupByHistogram) GetMaxOk() (*float64, bool)
GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.
func (*RUMGroupByHistogram) GetMin ¶ added in v1.12.0
func (o *RUMGroupByHistogram) GetMin() float64
GetMin returns the Min field value.
func (*RUMGroupByHistogram) GetMinOk ¶ added in v1.12.0
func (o *RUMGroupByHistogram) GetMinOk() (*float64, bool)
GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.
func (RUMGroupByHistogram) MarshalJSON ¶ added in v1.12.0
func (o RUMGroupByHistogram) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMGroupByHistogram) SetInterval ¶ added in v1.12.0
func (o *RUMGroupByHistogram) SetInterval(v float64)
SetInterval sets field value.
func (*RUMGroupByHistogram) SetMax ¶ added in v1.12.0
func (o *RUMGroupByHistogram) SetMax(v float64)
SetMax sets field value.
func (*RUMGroupByHistogram) SetMin ¶ added in v1.12.0
func (o *RUMGroupByHistogram) SetMin(v float64)
SetMin sets field value.
func (*RUMGroupByHistogram) UnmarshalJSON ¶ added in v1.12.0
func (o *RUMGroupByHistogram) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMGroupByMissing ¶ added in v1.12.0
type RUMGroupByMissing struct {
RUMGroupByMissingString *string
RUMGroupByMissingNumber *float64
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
RUMGroupByMissing - The value to use for logs that don't have the facet used to group by.
func RUMGroupByMissingNumberAsRUMGroupByMissing ¶ added in v1.12.0
func RUMGroupByMissingNumberAsRUMGroupByMissing(v *float64) RUMGroupByMissing
RUMGroupByMissingNumberAsRUMGroupByMissing is a convenience function that returns float64 wrapped in RUMGroupByMissing.
func RUMGroupByMissingStringAsRUMGroupByMissing ¶ added in v1.12.0
func RUMGroupByMissingStringAsRUMGroupByMissing(v *string) RUMGroupByMissing
RUMGroupByMissingStringAsRUMGroupByMissing is a convenience function that returns string wrapped in RUMGroupByMissing.
func (*RUMGroupByMissing) GetActualInstance ¶ added in v1.12.0
func (obj *RUMGroupByMissing) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (RUMGroupByMissing) MarshalJSON ¶ added in v1.12.0
func (obj RUMGroupByMissing) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*RUMGroupByMissing) UnmarshalJSON ¶ added in v1.12.0
func (obj *RUMGroupByMissing) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type RUMGroupByTotal ¶ added in v1.12.0
type RUMGroupByTotal struct {
RUMGroupByTotalBoolean *bool
RUMGroupByTotalString *string
RUMGroupByTotalNumber *float64
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
RUMGroupByTotal - A resulting object to put the given computes in over all the matching records.
func RUMGroupByTotalBooleanAsRUMGroupByTotal ¶ added in v1.12.0
func RUMGroupByTotalBooleanAsRUMGroupByTotal(v *bool) RUMGroupByTotal
RUMGroupByTotalBooleanAsRUMGroupByTotal is a convenience function that returns bool wrapped in RUMGroupByTotal.
func RUMGroupByTotalNumberAsRUMGroupByTotal ¶ added in v1.12.0
func RUMGroupByTotalNumberAsRUMGroupByTotal(v *float64) RUMGroupByTotal
RUMGroupByTotalNumberAsRUMGroupByTotal is a convenience function that returns float64 wrapped in RUMGroupByTotal.
func RUMGroupByTotalStringAsRUMGroupByTotal ¶ added in v1.12.0
func RUMGroupByTotalStringAsRUMGroupByTotal(v *string) RUMGroupByTotal
RUMGroupByTotalStringAsRUMGroupByTotal is a convenience function that returns string wrapped in RUMGroupByTotal.
func (*RUMGroupByTotal) GetActualInstance ¶ added in v1.12.0
func (obj *RUMGroupByTotal) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (RUMGroupByTotal) MarshalJSON ¶ added in v1.12.0
func (obj RUMGroupByTotal) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*RUMGroupByTotal) UnmarshalJSON ¶ added in v1.12.0
func (obj *RUMGroupByTotal) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type RUMQueryFilter ¶ added in v1.11.0
type RUMQueryFilter struct {
// The minimum time for the requested events; supports date, math, and regular timestamps (in milliseconds).
From *string `json:"from,omitempty"`
// The search query following the RUM search syntax.
Query *string `json:"query,omitempty"`
// The maximum time for the requested events; supports date, math, and regular timestamps (in milliseconds).
To *string `json:"to,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMQueryFilter The search and filter query settings.
func NewRUMQueryFilter ¶ added in v1.11.0
func NewRUMQueryFilter() *RUMQueryFilter
NewRUMQueryFilter instantiates a new RUMQueryFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMQueryFilterWithDefaults ¶ added in v1.11.0
func NewRUMQueryFilterWithDefaults() *RUMQueryFilter
NewRUMQueryFilterWithDefaults instantiates a new RUMQueryFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMQueryFilter) GetFrom ¶ added in v1.11.0
func (o *RUMQueryFilter) GetFrom() string
GetFrom returns the From field value if set, zero value otherwise.
func (*RUMQueryFilter) GetFromOk ¶ added in v1.11.0
func (o *RUMQueryFilter) GetFromOk() (*string, bool)
GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMQueryFilter) GetQuery ¶ added in v1.11.0
func (o *RUMQueryFilter) GetQuery() string
GetQuery returns the Query field value if set, zero value otherwise.
func (*RUMQueryFilter) GetQueryOk ¶ added in v1.11.0
func (o *RUMQueryFilter) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMQueryFilter) GetTo ¶ added in v1.11.0
func (o *RUMQueryFilter) GetTo() string
GetTo returns the To field value if set, zero value otherwise.
func (*RUMQueryFilter) GetToOk ¶ added in v1.11.0
func (o *RUMQueryFilter) GetToOk() (*string, bool)
GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMQueryFilter) HasFrom ¶ added in v1.11.0
func (o *RUMQueryFilter) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (*RUMQueryFilter) HasQuery ¶ added in v1.11.0
func (o *RUMQueryFilter) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*RUMQueryFilter) HasTo ¶ added in v1.11.0
func (o *RUMQueryFilter) HasTo() bool
HasTo returns a boolean if a field has been set.
func (RUMQueryFilter) MarshalJSON ¶ added in v1.11.0
func (o RUMQueryFilter) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMQueryFilter) SetFrom ¶ added in v1.11.0
func (o *RUMQueryFilter) SetFrom(v string)
SetFrom gets a reference to the given string and assigns it to the From field.
func (*RUMQueryFilter) SetQuery ¶ added in v1.11.0
func (o *RUMQueryFilter) SetQuery(v string)
SetQuery gets a reference to the given string and assigns it to the Query field.
func (*RUMQueryFilter) SetTo ¶ added in v1.11.0
func (o *RUMQueryFilter) SetTo(v string)
SetTo gets a reference to the given string and assigns it to the To field.
func (*RUMQueryFilter) UnmarshalJSON ¶ added in v1.11.0
func (o *RUMQueryFilter) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMQueryOptions ¶ added in v1.11.0
type RUMQueryOptions struct {
// The time offset (in seconds) to apply to the query.
TimeOffset *int64 `json:"time_offset,omitempty"`
// The timezone can be specified both as an offset, for example: "UTC+03:00".
Timezone *string `json:"timezone,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMQueryOptions Global query options that are used during the query. Note: Only supply timezone or time offset, not both. Otherwise, the query fails.
func NewRUMQueryOptions ¶ added in v1.11.0
func NewRUMQueryOptions() *RUMQueryOptions
NewRUMQueryOptions instantiates a new RUMQueryOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMQueryOptionsWithDefaults ¶ added in v1.11.0
func NewRUMQueryOptionsWithDefaults() *RUMQueryOptions
NewRUMQueryOptionsWithDefaults instantiates a new RUMQueryOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMQueryOptions) GetTimeOffset ¶ added in v1.11.0
func (o *RUMQueryOptions) GetTimeOffset() int64
GetTimeOffset returns the TimeOffset field value if set, zero value otherwise.
func (*RUMQueryOptions) GetTimeOffsetOk ¶ added in v1.11.0
func (o *RUMQueryOptions) GetTimeOffsetOk() (*int64, bool)
GetTimeOffsetOk returns a tuple with the TimeOffset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMQueryOptions) GetTimezone ¶ added in v1.11.0
func (o *RUMQueryOptions) GetTimezone() string
GetTimezone returns the Timezone field value if set, zero value otherwise.
func (*RUMQueryOptions) GetTimezoneOk ¶ added in v1.11.0
func (o *RUMQueryOptions) GetTimezoneOk() (*string, bool)
GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMQueryOptions) HasTimeOffset ¶ added in v1.11.0
func (o *RUMQueryOptions) HasTimeOffset() bool
HasTimeOffset returns a boolean if a field has been set.
func (*RUMQueryOptions) HasTimezone ¶ added in v1.11.0
func (o *RUMQueryOptions) HasTimezone() bool
HasTimezone returns a boolean if a field has been set.
func (RUMQueryOptions) MarshalJSON ¶ added in v1.11.0
func (o RUMQueryOptions) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMQueryOptions) SetTimeOffset ¶ added in v1.11.0
func (o *RUMQueryOptions) SetTimeOffset(v int64)
SetTimeOffset gets a reference to the given int64 and assigns it to the TimeOffset field.
func (*RUMQueryOptions) SetTimezone ¶ added in v1.11.0
func (o *RUMQueryOptions) SetTimezone(v string)
SetTimezone gets a reference to the given string and assigns it to the Timezone field.
func (*RUMQueryOptions) UnmarshalJSON ¶ added in v1.11.0
func (o *RUMQueryOptions) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMQueryPageOptions ¶ added in v1.11.0
type RUMQueryPageOptions struct {
// List following results with a cursor provided in the previous query.
Cursor *string `json:"cursor,omitempty"`
// Maximum number of events in the response.
Limit *int32 `json:"limit,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMQueryPageOptions Paging attributes for listing events.
func NewRUMQueryPageOptions ¶ added in v1.11.0
func NewRUMQueryPageOptions() *RUMQueryPageOptions
NewRUMQueryPageOptions instantiates a new RUMQueryPageOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMQueryPageOptionsWithDefaults ¶ added in v1.11.0
func NewRUMQueryPageOptionsWithDefaults() *RUMQueryPageOptions
NewRUMQueryPageOptionsWithDefaults instantiates a new RUMQueryPageOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMQueryPageOptions) GetCursor ¶ added in v1.11.0
func (o *RUMQueryPageOptions) GetCursor() string
GetCursor returns the Cursor field value if set, zero value otherwise.
func (*RUMQueryPageOptions) GetCursorOk ¶ added in v1.11.0
func (o *RUMQueryPageOptions) GetCursorOk() (*string, bool)
GetCursorOk returns a tuple with the Cursor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMQueryPageOptions) GetLimit ¶ added in v1.11.0
func (o *RUMQueryPageOptions) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*RUMQueryPageOptions) GetLimitOk ¶ added in v1.11.0
func (o *RUMQueryPageOptions) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMQueryPageOptions) HasCursor ¶ added in v1.11.0
func (o *RUMQueryPageOptions) HasCursor() bool
HasCursor returns a boolean if a field has been set.
func (*RUMQueryPageOptions) HasLimit ¶ added in v1.11.0
func (o *RUMQueryPageOptions) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (RUMQueryPageOptions) MarshalJSON ¶ added in v1.11.0
func (o RUMQueryPageOptions) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMQueryPageOptions) SetCursor ¶ added in v1.11.0
func (o *RUMQueryPageOptions) SetCursor(v string)
SetCursor gets a reference to the given string and assigns it to the Cursor field.
func (*RUMQueryPageOptions) SetLimit ¶ added in v1.11.0
func (o *RUMQueryPageOptions) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*RUMQueryPageOptions) UnmarshalJSON ¶ added in v1.11.0
func (o *RUMQueryPageOptions) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMResponseLinks ¶ added in v1.11.0
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 ¶ added in v1.11.0
func NewRUMResponseLinks() *RUMResponseLinks
NewRUMResponseLinks instantiates a new RUMResponseLinks object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMResponseLinksWithDefaults ¶ added in v1.11.0
func NewRUMResponseLinksWithDefaults() *RUMResponseLinks
NewRUMResponseLinksWithDefaults instantiates a new RUMResponseLinks object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMResponseLinks) GetNext ¶ added in v1.11.0
func (o *RUMResponseLinks) GetNext() string
GetNext returns the Next field value if set, zero value otherwise.
func (*RUMResponseLinks) GetNextOk ¶ added in v1.11.0
func (o *RUMResponseLinks) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMResponseLinks) HasNext ¶ added in v1.11.0
func (o *RUMResponseLinks) HasNext() bool
HasNext returns a boolean if a field has been set.
func (RUMResponseLinks) MarshalJSON ¶ added in v1.11.0
func (o RUMResponseLinks) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMResponseLinks) SetNext ¶ added in v1.11.0
func (o *RUMResponseLinks) SetNext(v string)
SetNext gets a reference to the given string and assigns it to the Next field.
func (*RUMResponseLinks) UnmarshalJSON ¶ added in v1.11.0
func (o *RUMResponseLinks) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMResponseMetadata ¶ added in v1.11.0
type RUMResponseMetadata struct {
// The time elapsed in milliseconds.
Elapsed *int64 `json:"elapsed,omitempty"`
// Paging attributes.
Page *RUMResponsePage `json:"page,omitempty"`
// The identifier of the request.
RequestId *string `json:"request_id,omitempty"`
// The status of the response.
Status *RUMResponseStatus `json:"status,omitempty"`
// A list of warnings (non-fatal errors) encountered. Partial results may return if
// warnings are present in the response.
Warnings []RUMWarning `json:"warnings,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMResponseMetadata The metadata associated with a request.
func NewRUMResponseMetadata ¶ added in v1.11.0
func NewRUMResponseMetadata() *RUMResponseMetadata
NewRUMResponseMetadata instantiates a new RUMResponseMetadata object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMResponseMetadataWithDefaults ¶ added in v1.11.0
func NewRUMResponseMetadataWithDefaults() *RUMResponseMetadata
NewRUMResponseMetadataWithDefaults instantiates a new RUMResponseMetadata object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMResponseMetadata) GetElapsed ¶ added in v1.11.0
func (o *RUMResponseMetadata) GetElapsed() int64
GetElapsed returns the Elapsed field value if set, zero value otherwise.
func (*RUMResponseMetadata) GetElapsedOk ¶ added in v1.11.0
func (o *RUMResponseMetadata) GetElapsedOk() (*int64, bool)
GetElapsedOk returns a tuple with the Elapsed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMResponseMetadata) GetPage ¶ added in v1.11.0
func (o *RUMResponseMetadata) GetPage() RUMResponsePage
GetPage returns the Page field value if set, zero value otherwise.
func (*RUMResponseMetadata) GetPageOk ¶ added in v1.11.0
func (o *RUMResponseMetadata) GetPageOk() (*RUMResponsePage, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMResponseMetadata) GetRequestId ¶ added in v1.11.0
func (o *RUMResponseMetadata) GetRequestId() string
GetRequestId returns the RequestId field value if set, zero value otherwise.
func (*RUMResponseMetadata) GetRequestIdOk ¶ added in v1.11.0
func (o *RUMResponseMetadata) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMResponseMetadata) GetStatus ¶ added in v1.11.0
func (o *RUMResponseMetadata) GetStatus() RUMResponseStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*RUMResponseMetadata) GetStatusOk ¶ added in v1.11.0
func (o *RUMResponseMetadata) GetStatusOk() (*RUMResponseStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMResponseMetadata) GetWarnings ¶ added in v1.11.0
func (o *RUMResponseMetadata) GetWarnings() []RUMWarning
GetWarnings returns the Warnings field value if set, zero value otherwise.
func (*RUMResponseMetadata) GetWarningsOk ¶ added in v1.11.0
func (o *RUMResponseMetadata) GetWarningsOk() (*[]RUMWarning, bool)
GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMResponseMetadata) HasElapsed ¶ added in v1.11.0
func (o *RUMResponseMetadata) HasElapsed() bool
HasElapsed returns a boolean if a field has been set.
func (*RUMResponseMetadata) HasPage ¶ added in v1.11.0
func (o *RUMResponseMetadata) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*RUMResponseMetadata) HasRequestId ¶ added in v1.11.0
func (o *RUMResponseMetadata) HasRequestId() bool
HasRequestId returns a boolean if a field has been set.
func (*RUMResponseMetadata) HasStatus ¶ added in v1.11.0
func (o *RUMResponseMetadata) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*RUMResponseMetadata) HasWarnings ¶ added in v1.11.0
func (o *RUMResponseMetadata) HasWarnings() bool
HasWarnings returns a boolean if a field has been set.
func (RUMResponseMetadata) MarshalJSON ¶ added in v1.11.0
func (o RUMResponseMetadata) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMResponseMetadata) SetElapsed ¶ added in v1.11.0
func (o *RUMResponseMetadata) SetElapsed(v int64)
SetElapsed gets a reference to the given int64 and assigns it to the Elapsed field.
func (*RUMResponseMetadata) SetPage ¶ added in v1.11.0
func (o *RUMResponseMetadata) SetPage(v RUMResponsePage)
SetPage gets a reference to the given RUMResponsePage and assigns it to the Page field.
func (*RUMResponseMetadata) SetRequestId ¶ added in v1.11.0
func (o *RUMResponseMetadata) SetRequestId(v string)
SetRequestId gets a reference to the given string and assigns it to the RequestId field.
func (*RUMResponseMetadata) SetStatus ¶ added in v1.11.0
func (o *RUMResponseMetadata) SetStatus(v RUMResponseStatus)
SetStatus gets a reference to the given RUMResponseStatus and assigns it to the Status field.
func (*RUMResponseMetadata) SetWarnings ¶ added in v1.11.0
func (o *RUMResponseMetadata) SetWarnings(v []RUMWarning)
SetWarnings gets a reference to the given []RUMWarning and assigns it to the Warnings field.
func (*RUMResponseMetadata) UnmarshalJSON ¶ added in v1.11.0
func (o *RUMResponseMetadata) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMResponsePage ¶ added in v1.11.0
type RUMResponsePage struct {
// The cursor to use to get the next results, if any. To make the next request, use the same parameters with the addition of `page[cursor]`.
After *string `json:"after,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMResponsePage Paging attributes.
func NewRUMResponsePage ¶ added in v1.11.0
func NewRUMResponsePage() *RUMResponsePage
NewRUMResponsePage instantiates a new RUMResponsePage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMResponsePageWithDefaults ¶ added in v1.11.0
func NewRUMResponsePageWithDefaults() *RUMResponsePage
NewRUMResponsePageWithDefaults instantiates a new RUMResponsePage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMResponsePage) GetAfter ¶ added in v1.11.0
func (o *RUMResponsePage) GetAfter() string
GetAfter returns the After field value if set, zero value otherwise.
func (*RUMResponsePage) GetAfterOk ¶ added in v1.11.0
func (o *RUMResponsePage) GetAfterOk() (*string, bool)
GetAfterOk returns a tuple with the After field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMResponsePage) HasAfter ¶ added in v1.11.0
func (o *RUMResponsePage) HasAfter() bool
HasAfter returns a boolean if a field has been set.
func (RUMResponsePage) MarshalJSON ¶ added in v1.11.0
func (o RUMResponsePage) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMResponsePage) SetAfter ¶ added in v1.11.0
func (o *RUMResponsePage) SetAfter(v string)
SetAfter gets a reference to the given string and assigns it to the After field.
func (*RUMResponsePage) UnmarshalJSON ¶ added in v1.11.0
func (o *RUMResponsePage) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMResponseStatus ¶ added in v1.11.0
type RUMResponseStatus string
RUMResponseStatus The status of the response.
const ( RUMRESPONSESTATUS_DONE RUMResponseStatus = "done" RUMRESPONSESTATUS_TIMEOUT RUMResponseStatus = "timeout" )
List of RUMResponseStatus.
func NewRUMResponseStatusFromValue ¶ added in v1.11.0
func NewRUMResponseStatusFromValue(v string) (*RUMResponseStatus, error)
NewRUMResponseStatusFromValue returns a pointer to a valid RUMResponseStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*RUMResponseStatus) GetAllowedValues ¶ added in v1.11.0
func (v *RUMResponseStatus) GetAllowedValues() []RUMResponseStatus
GetAllowedValues reeturns the list of possible values.
func (RUMResponseStatus) IsValid ¶ added in v1.11.0
func (v RUMResponseStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (RUMResponseStatus) Ptr ¶ added in v1.11.0
func (v RUMResponseStatus) Ptr() *RUMResponseStatus
Ptr returns reference to RUMResponseStatus value.
func (*RUMResponseStatus) UnmarshalJSON ¶ added in v1.11.0
func (v *RUMResponseStatus) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type RUMSearchEventsRequest ¶ added in v1.11.0
type RUMSearchEventsRequest struct {
// The search and filter query settings.
Filter *RUMQueryFilter `json:"filter,omitempty"`
// Global query options that are used during the query.
// Note: Only supply timezone or time offset, not both. Otherwise, the query fails.
Options *RUMQueryOptions `json:"options,omitempty"`
// Paging attributes for listing events.
Page *RUMQueryPageOptions `json:"page,omitempty"`
// Sort parameters when querying events.
Sort *RUMSort `json:"sort,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMSearchEventsRequest The request for a RUM events list.
func NewRUMSearchEventsRequest ¶ added in v1.11.0
func NewRUMSearchEventsRequest() *RUMSearchEventsRequest
NewRUMSearchEventsRequest instantiates a new RUMSearchEventsRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMSearchEventsRequestWithDefaults ¶ added in v1.11.0
func NewRUMSearchEventsRequestWithDefaults() *RUMSearchEventsRequest
NewRUMSearchEventsRequestWithDefaults instantiates a new RUMSearchEventsRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMSearchEventsRequest) GetFilter ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) GetFilter() RUMQueryFilter
GetFilter returns the Filter field value if set, zero value otherwise.
func (*RUMSearchEventsRequest) GetFilterOk ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) GetFilterOk() (*RUMQueryFilter, bool)
GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMSearchEventsRequest) GetOptions ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) GetOptions() RUMQueryOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*RUMSearchEventsRequest) GetOptionsOk ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) GetOptionsOk() (*RUMQueryOptions, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMSearchEventsRequest) GetPage ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) GetPage() RUMQueryPageOptions
GetPage returns the Page field value if set, zero value otherwise.
func (*RUMSearchEventsRequest) GetPageOk ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) GetPageOk() (*RUMQueryPageOptions, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMSearchEventsRequest) GetSort ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) GetSort() RUMSort
GetSort returns the Sort field value if set, zero value otherwise.
func (*RUMSearchEventsRequest) GetSortOk ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) GetSortOk() (*RUMSort, bool)
GetSortOk returns a tuple with the Sort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMSearchEventsRequest) HasFilter ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*RUMSearchEventsRequest) HasOptions ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*RUMSearchEventsRequest) HasPage ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*RUMSearchEventsRequest) HasSort ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) HasSort() bool
HasSort returns a boolean if a field has been set.
func (RUMSearchEventsRequest) MarshalJSON ¶ added in v1.11.0
func (o RUMSearchEventsRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMSearchEventsRequest) SetFilter ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) SetFilter(v RUMQueryFilter)
SetFilter gets a reference to the given RUMQueryFilter and assigns it to the Filter field.
func (*RUMSearchEventsRequest) SetOptions ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) SetOptions(v RUMQueryOptions)
SetOptions gets a reference to the given RUMQueryOptions and assigns it to the Options field.
func (*RUMSearchEventsRequest) SetPage ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) SetPage(v RUMQueryPageOptions)
SetPage gets a reference to the given RUMQueryPageOptions and assigns it to the Page field.
func (*RUMSearchEventsRequest) SetSort ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) SetSort(v RUMSort)
SetSort gets a reference to the given RUMSort and assigns it to the Sort field.
func (*RUMSearchEventsRequest) UnmarshalJSON ¶ added in v1.11.0
func (o *RUMSearchEventsRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RUMSort ¶ added in v1.11.0
type RUMSort string
RUMSort Sort parameters when querying events.
const ( RUMSORT_TIMESTAMP_ASCENDING RUMSort = "timestamp" RUMSORT_TIMESTAMP_DESCENDING RUMSort = "-timestamp" )
List of RUMSort.
func NewRUMSortFromValue ¶ added in v1.11.0
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
GetAllowedValues reeturns the list of possible values.
func (RUMSort) IsValid ¶ added in v1.11.0
IsValid return true if the value is valid for the enum, false otherwise.
func (*RUMSort) UnmarshalJSON ¶ added in v1.11.0
UnmarshalJSON deserializes the given payload.
type RUMSortOrder ¶ added in v1.12.0
type RUMSortOrder string
RUMSortOrder The order to use, ascending or descending.
const ( RUMSORTORDER_ASCENDING RUMSortOrder = "asc" RUMSORTORDER_DESCENDING RUMSortOrder = "desc" )
List of RUMSortOrder.
func NewRUMSortOrderFromValue ¶ added in v1.12.0
func NewRUMSortOrderFromValue(v string) (*RUMSortOrder, error)
NewRUMSortOrderFromValue returns a pointer to a valid RUMSortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*RUMSortOrder) GetAllowedValues ¶ added in v1.12.0
func (v *RUMSortOrder) GetAllowedValues() []RUMSortOrder
GetAllowedValues reeturns the list of possible values.
func (RUMSortOrder) IsValid ¶ added in v1.12.0
func (v RUMSortOrder) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (RUMSortOrder) Ptr ¶ added in v1.12.0
func (v RUMSortOrder) Ptr() *RUMSortOrder
Ptr returns reference to RUMSortOrder value.
func (*RUMSortOrder) UnmarshalJSON ¶ added in v1.12.0
func (v *RUMSortOrder) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type RUMWarning ¶ added in v1.11.0
type RUMWarning struct {
// A unique code for this type of warning.
Code *string `json:"code,omitempty"`
// A detailed explanation of this specific warning.
Detail *string `json:"detail,omitempty"`
// A short human-readable summary of the warning.
Title *string `json:"title,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RUMWarning A warning message indicating something that went wrong with the query.
func NewRUMWarning ¶ added in v1.11.0
func NewRUMWarning() *RUMWarning
NewRUMWarning instantiates a new RUMWarning object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRUMWarningWithDefaults ¶ added in v1.11.0
func NewRUMWarningWithDefaults() *RUMWarning
NewRUMWarningWithDefaults instantiates a new RUMWarning object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RUMWarning) GetCode ¶ added in v1.11.0
func (o *RUMWarning) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*RUMWarning) GetCodeOk ¶ added in v1.11.0
func (o *RUMWarning) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMWarning) GetDetail ¶ added in v1.11.0
func (o *RUMWarning) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*RUMWarning) GetDetailOk ¶ added in v1.11.0
func (o *RUMWarning) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMWarning) GetTitle ¶ added in v1.11.0
func (o *RUMWarning) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*RUMWarning) GetTitleOk ¶ added in v1.11.0
func (o *RUMWarning) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RUMWarning) HasCode ¶ added in v1.11.0
func (o *RUMWarning) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*RUMWarning) HasDetail ¶ added in v1.11.0
func (o *RUMWarning) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*RUMWarning) HasTitle ¶ added in v1.11.0
func (o *RUMWarning) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (RUMWarning) MarshalJSON ¶ added in v1.11.0
func (o RUMWarning) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RUMWarning) SetCode ¶ added in v1.11.0
func (o *RUMWarning) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*RUMWarning) SetDetail ¶ added in v1.11.0
func (o *RUMWarning) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*RUMWarning) SetTitle ¶ added in v1.11.0
func (o *RUMWarning) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*RUMWarning) UnmarshalJSON ¶ added in v1.11.0
func (o *RUMWarning) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToIncidentIntegrationMetadataData ¶
type RelationshipToIncidentIntegrationMetadataData struct {
// A unique identifier that represents the integration metadata.
Id string `json:"id"`
// Integration metadata resource type.
Type IncidentIntegrationMetadataType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToIncidentIntegrationMetadataData A relationship reference for an integration metadata object.
func NewRelationshipToIncidentIntegrationMetadataData ¶
func NewRelationshipToIncidentIntegrationMetadataData(id string, typeVar IncidentIntegrationMetadataType) *RelationshipToIncidentIntegrationMetadataData
NewRelationshipToIncidentIntegrationMetadataData instantiates a new RelationshipToIncidentIntegrationMetadataData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToIncidentIntegrationMetadataDataWithDefaults ¶
func NewRelationshipToIncidentIntegrationMetadataDataWithDefaults() *RelationshipToIncidentIntegrationMetadataData
NewRelationshipToIncidentIntegrationMetadataDataWithDefaults instantiates a new RelationshipToIncidentIntegrationMetadataData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToIncidentIntegrationMetadataData) GetId ¶
func (o *RelationshipToIncidentIntegrationMetadataData) GetId() string
GetId returns the Id field value.
func (*RelationshipToIncidentIntegrationMetadataData) GetIdOk ¶
func (o *RelationshipToIncidentIntegrationMetadataData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RelationshipToIncidentIntegrationMetadataData) GetType ¶
func (o *RelationshipToIncidentIntegrationMetadataData) GetType() IncidentIntegrationMetadataType
GetType returns the Type field value.
func (*RelationshipToIncidentIntegrationMetadataData) GetTypeOk ¶
func (o *RelationshipToIncidentIntegrationMetadataData) GetTypeOk() (*IncidentIntegrationMetadataType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (RelationshipToIncidentIntegrationMetadataData) MarshalJSON ¶
func (o RelationshipToIncidentIntegrationMetadataData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToIncidentIntegrationMetadataData) SetId ¶
func (o *RelationshipToIncidentIntegrationMetadataData) SetId(v string)
SetId sets field value.
func (*RelationshipToIncidentIntegrationMetadataData) SetType ¶
func (o *RelationshipToIncidentIntegrationMetadataData) SetType(v IncidentIntegrationMetadataType)
SetType sets field value.
func (*RelationshipToIncidentIntegrationMetadataData) UnmarshalJSON ¶
func (o *RelationshipToIncidentIntegrationMetadataData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToIncidentIntegrationMetadatas ¶
type RelationshipToIncidentIntegrationMetadatas struct {
// The integration metadata relationship array
Data []RelationshipToIncidentIntegrationMetadataData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToIncidentIntegrationMetadatas A relationship reference for multiple integration metadata objects.
func NewRelationshipToIncidentIntegrationMetadatas ¶
func NewRelationshipToIncidentIntegrationMetadatas(data []RelationshipToIncidentIntegrationMetadataData) *RelationshipToIncidentIntegrationMetadatas
NewRelationshipToIncidentIntegrationMetadatas instantiates a new RelationshipToIncidentIntegrationMetadatas object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToIncidentIntegrationMetadatasWithDefaults ¶
func NewRelationshipToIncidentIntegrationMetadatasWithDefaults() *RelationshipToIncidentIntegrationMetadatas
NewRelationshipToIncidentIntegrationMetadatasWithDefaults instantiates a new RelationshipToIncidentIntegrationMetadatas object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToIncidentIntegrationMetadatas) GetData ¶
func (o *RelationshipToIncidentIntegrationMetadatas) GetData() []RelationshipToIncidentIntegrationMetadataData
GetData returns the Data field value.
func (*RelationshipToIncidentIntegrationMetadatas) GetDataOk ¶
func (o *RelationshipToIncidentIntegrationMetadatas) GetDataOk() (*[]RelationshipToIncidentIntegrationMetadataData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (RelationshipToIncidentIntegrationMetadatas) MarshalJSON ¶
func (o RelationshipToIncidentIntegrationMetadatas) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToIncidentIntegrationMetadatas) SetData ¶
func (o *RelationshipToIncidentIntegrationMetadatas) SetData(v []RelationshipToIncidentIntegrationMetadataData)
SetData sets field value.
func (*RelationshipToIncidentIntegrationMetadatas) UnmarshalJSON ¶
func (o *RelationshipToIncidentIntegrationMetadatas) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToIncidentPostmortem ¶
type RelationshipToIncidentPostmortem struct {
// The postmortem relationship data.
Data RelationshipToIncidentPostmortemData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToIncidentPostmortem A relationship reference for postmortems.
func NewRelationshipToIncidentPostmortem ¶
func NewRelationshipToIncidentPostmortem(data RelationshipToIncidentPostmortemData) *RelationshipToIncidentPostmortem
NewRelationshipToIncidentPostmortem instantiates a new RelationshipToIncidentPostmortem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToIncidentPostmortemWithDefaults ¶
func NewRelationshipToIncidentPostmortemWithDefaults() *RelationshipToIncidentPostmortem
NewRelationshipToIncidentPostmortemWithDefaults instantiates a new RelationshipToIncidentPostmortem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToIncidentPostmortem) GetData ¶
func (o *RelationshipToIncidentPostmortem) GetData() RelationshipToIncidentPostmortemData
GetData returns the Data field value.
func (*RelationshipToIncidentPostmortem) GetDataOk ¶
func (o *RelationshipToIncidentPostmortem) GetDataOk() (*RelationshipToIncidentPostmortemData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (RelationshipToIncidentPostmortem) MarshalJSON ¶
func (o RelationshipToIncidentPostmortem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToIncidentPostmortem) SetData ¶
func (o *RelationshipToIncidentPostmortem) SetData(v RelationshipToIncidentPostmortemData)
SetData sets field value.
func (*RelationshipToIncidentPostmortem) UnmarshalJSON ¶
func (o *RelationshipToIncidentPostmortem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToIncidentPostmortemData ¶
type RelationshipToIncidentPostmortemData struct {
// A unique identifier that represents the postmortem.
Id string `json:"id"`
// Incident postmortem resource type.
Type IncidentPostmortemType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToIncidentPostmortemData The postmortem relationship data.
func NewRelationshipToIncidentPostmortemData ¶
func NewRelationshipToIncidentPostmortemData(id string, typeVar IncidentPostmortemType) *RelationshipToIncidentPostmortemData
NewRelationshipToIncidentPostmortemData instantiates a new RelationshipToIncidentPostmortemData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToIncidentPostmortemDataWithDefaults ¶
func NewRelationshipToIncidentPostmortemDataWithDefaults() *RelationshipToIncidentPostmortemData
NewRelationshipToIncidentPostmortemDataWithDefaults instantiates a new RelationshipToIncidentPostmortemData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToIncidentPostmortemData) GetId ¶
func (o *RelationshipToIncidentPostmortemData) GetId() string
GetId returns the Id field value.
func (*RelationshipToIncidentPostmortemData) GetIdOk ¶
func (o *RelationshipToIncidentPostmortemData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RelationshipToIncidentPostmortemData) GetType ¶
func (o *RelationshipToIncidentPostmortemData) GetType() IncidentPostmortemType
GetType returns the Type field value.
func (*RelationshipToIncidentPostmortemData) GetTypeOk ¶
func (o *RelationshipToIncidentPostmortemData) GetTypeOk() (*IncidentPostmortemType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (RelationshipToIncidentPostmortemData) MarshalJSON ¶
func (o RelationshipToIncidentPostmortemData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToIncidentPostmortemData) SetId ¶
func (o *RelationshipToIncidentPostmortemData) SetId(v string)
SetId sets field value.
func (*RelationshipToIncidentPostmortemData) SetType ¶
func (o *RelationshipToIncidentPostmortemData) SetType(v IncidentPostmortemType)
SetType sets field value.
func (*RelationshipToIncidentPostmortemData) UnmarshalJSON ¶
func (o *RelationshipToIncidentPostmortemData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToOrganization ¶
type RelationshipToOrganization struct {
// Relationship to organization object.
Data RelationshipToOrganizationData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToOrganization Relationship to an organization.
func NewRelationshipToOrganization ¶
func NewRelationshipToOrganization(data RelationshipToOrganizationData) *RelationshipToOrganization
NewRelationshipToOrganization instantiates a new RelationshipToOrganization object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToOrganizationWithDefaults ¶
func NewRelationshipToOrganizationWithDefaults() *RelationshipToOrganization
NewRelationshipToOrganizationWithDefaults instantiates a new RelationshipToOrganization object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToOrganization) GetData ¶
func (o *RelationshipToOrganization) GetData() RelationshipToOrganizationData
GetData returns the Data field value.
func (*RelationshipToOrganization) GetDataOk ¶
func (o *RelationshipToOrganization) GetDataOk() (*RelationshipToOrganizationData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (RelationshipToOrganization) MarshalJSON ¶
func (o RelationshipToOrganization) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToOrganization) SetData ¶
func (o *RelationshipToOrganization) SetData(v RelationshipToOrganizationData)
SetData sets field value.
func (*RelationshipToOrganization) UnmarshalJSON ¶
func (o *RelationshipToOrganization) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToOrganizationData ¶
type RelationshipToOrganizationData struct {
// ID of the organization.
Id string `json:"id"`
// Organizations resource type.
Type OrganizationsType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToOrganizationData Relationship to organization object.
func NewRelationshipToOrganizationData ¶
func NewRelationshipToOrganizationData(id string, typeVar OrganizationsType) *RelationshipToOrganizationData
NewRelationshipToOrganizationData instantiates a new RelationshipToOrganizationData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToOrganizationDataWithDefaults ¶
func NewRelationshipToOrganizationDataWithDefaults() *RelationshipToOrganizationData
NewRelationshipToOrganizationDataWithDefaults instantiates a new RelationshipToOrganizationData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToOrganizationData) GetId ¶
func (o *RelationshipToOrganizationData) GetId() string
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 ¶
func (o *RelationshipToOrganizationData) GetType() OrganizationsType
GetType returns the Type field value.
func (*RelationshipToOrganizationData) GetTypeOk ¶
func (o *RelationshipToOrganizationData) GetTypeOk() (*OrganizationsType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (RelationshipToOrganizationData) MarshalJSON ¶
func (o RelationshipToOrganizationData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToOrganizationData) SetId ¶
func (o *RelationshipToOrganizationData) SetId(v string)
SetId sets field value.
func (*RelationshipToOrganizationData) SetType ¶
func (o *RelationshipToOrganizationData) SetType(v OrganizationsType)
SetType sets field value.
func (*RelationshipToOrganizationData) UnmarshalJSON ¶
func (o *RelationshipToOrganizationData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToOrganizations ¶
type RelationshipToOrganizations struct {
// Relationships to organization objects.
Data []RelationshipToOrganizationData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToOrganizations Relationship to organizations.
func NewRelationshipToOrganizations ¶
func NewRelationshipToOrganizations(data []RelationshipToOrganizationData) *RelationshipToOrganizations
NewRelationshipToOrganizations instantiates a new RelationshipToOrganizations object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToOrganizationsWithDefaults ¶
func NewRelationshipToOrganizationsWithDefaults() *RelationshipToOrganizations
NewRelationshipToOrganizationsWithDefaults instantiates a new RelationshipToOrganizations object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToOrganizations) GetData ¶
func (o *RelationshipToOrganizations) GetData() []RelationshipToOrganizationData
GetData returns the Data field value.
func (*RelationshipToOrganizations) GetDataOk ¶
func (o *RelationshipToOrganizations) GetDataOk() (*[]RelationshipToOrganizationData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (RelationshipToOrganizations) MarshalJSON ¶
func (o RelationshipToOrganizations) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToOrganizations) SetData ¶
func (o *RelationshipToOrganizations) SetData(v []RelationshipToOrganizationData)
SetData sets field value.
func (*RelationshipToOrganizations) UnmarshalJSON ¶
func (o *RelationshipToOrganizations) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToPermission ¶
type RelationshipToPermission struct {
// Relationship to permission object.
Data *RelationshipToPermissionData `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToPermission Relationship to a permissions object.
func NewRelationshipToPermission ¶
func NewRelationshipToPermission() *RelationshipToPermission
NewRelationshipToPermission instantiates a new RelationshipToPermission object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToPermissionWithDefaults ¶
func NewRelationshipToPermissionWithDefaults() *RelationshipToPermission
NewRelationshipToPermissionWithDefaults instantiates a new RelationshipToPermission object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToPermission) GetData ¶
func (o *RelationshipToPermission) GetData() RelationshipToPermissionData
GetData returns the Data field value if set, zero value otherwise.
func (*RelationshipToPermission) GetDataOk ¶
func (o *RelationshipToPermission) GetDataOk() (*RelationshipToPermissionData, 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 (*RelationshipToPermission) HasData ¶
func (o *RelationshipToPermission) HasData() bool
HasData returns a boolean if a field has been set.
func (RelationshipToPermission) MarshalJSON ¶
func (o RelationshipToPermission) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToPermission) SetData ¶
func (o *RelationshipToPermission) SetData(v RelationshipToPermissionData)
SetData gets a reference to the given RelationshipToPermissionData and assigns it to the Data field.
func (*RelationshipToPermission) UnmarshalJSON ¶ added in v1.3.0
func (o *RelationshipToPermission) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToPermissionData ¶
type RelationshipToPermissionData struct {
// ID of the permission.
Id *string `json:"id,omitempty"`
// Permissions resource type.
Type *PermissionsType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToPermissionData Relationship to permission object.
func NewRelationshipToPermissionData ¶
func NewRelationshipToPermissionData() *RelationshipToPermissionData
NewRelationshipToPermissionData instantiates a new RelationshipToPermissionData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToPermissionDataWithDefaults ¶
func NewRelationshipToPermissionDataWithDefaults() *RelationshipToPermissionData
NewRelationshipToPermissionDataWithDefaults instantiates a new RelationshipToPermissionData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToPermissionData) GetId ¶
func (o *RelationshipToPermissionData) GetId() string
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 ¶
func (o *RelationshipToPermissionData) GetType() PermissionsType
GetType returns the Type field value if set, zero value otherwise.
func (*RelationshipToPermissionData) GetTypeOk ¶
func (o *RelationshipToPermissionData) GetTypeOk() (*PermissionsType, 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 (*RelationshipToPermissionData) HasId ¶
func (o *RelationshipToPermissionData) HasId() bool
HasId returns a boolean if a field has been set.
func (*RelationshipToPermissionData) HasType ¶
func (o *RelationshipToPermissionData) HasType() bool
HasType returns a boolean if a field has been set.
func (RelationshipToPermissionData) MarshalJSON ¶
func (o RelationshipToPermissionData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToPermissionData) SetId ¶
func (o *RelationshipToPermissionData) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*RelationshipToPermissionData) SetType ¶
func (o *RelationshipToPermissionData) SetType(v PermissionsType)
SetType gets a reference to the given PermissionsType and assigns it to the Type field.
func (*RelationshipToPermissionData) UnmarshalJSON ¶ added in v1.3.0
func (o *RelationshipToPermissionData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToPermissions ¶
type RelationshipToPermissions struct {
// Relationships to permission objects.
Data []RelationshipToPermissionData `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToPermissions Relationship to multiple permissions objects.
func NewRelationshipToPermissions ¶
func NewRelationshipToPermissions() *RelationshipToPermissions
NewRelationshipToPermissions instantiates a new RelationshipToPermissions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToPermissionsWithDefaults ¶
func NewRelationshipToPermissionsWithDefaults() *RelationshipToPermissions
NewRelationshipToPermissionsWithDefaults instantiates a new RelationshipToPermissions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToPermissions) GetData ¶
func (o *RelationshipToPermissions) GetData() []RelationshipToPermissionData
GetData returns the Data field value if set, zero value otherwise.
func (*RelationshipToPermissions) GetDataOk ¶
func (o *RelationshipToPermissions) GetDataOk() (*[]RelationshipToPermissionData, 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 (*RelationshipToPermissions) HasData ¶
func (o *RelationshipToPermissions) HasData() bool
HasData returns a boolean if a field has been set.
func (RelationshipToPermissions) MarshalJSON ¶
func (o RelationshipToPermissions) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToPermissions) SetData ¶
func (o *RelationshipToPermissions) SetData(v []RelationshipToPermissionData)
SetData gets a reference to the given []RelationshipToPermissionData and assigns it to the Data field.
func (*RelationshipToPermissions) UnmarshalJSON ¶ added in v1.3.0
func (o *RelationshipToPermissions) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToRole ¶
type RelationshipToRole struct {
// Relationship to role object.
Data *RelationshipToRoleData `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToRole Relationship to role.
func NewRelationshipToRole ¶
func NewRelationshipToRole() *RelationshipToRole
NewRelationshipToRole instantiates a new RelationshipToRole object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToRoleWithDefaults ¶
func NewRelationshipToRoleWithDefaults() *RelationshipToRole
NewRelationshipToRoleWithDefaults instantiates a new RelationshipToRole object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToRole) GetData ¶
func (o *RelationshipToRole) GetData() RelationshipToRoleData
GetData returns the Data field value if set, zero value otherwise.
func (*RelationshipToRole) GetDataOk ¶
func (o *RelationshipToRole) GetDataOk() (*RelationshipToRoleData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationshipToRole) HasData ¶
func (o *RelationshipToRole) HasData() bool
HasData returns a boolean if a field has been set.
func (RelationshipToRole) MarshalJSON ¶
func (o RelationshipToRole) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToRole) SetData ¶
func (o *RelationshipToRole) SetData(v RelationshipToRoleData)
SetData gets a reference to the given RelationshipToRoleData and assigns it to the Data field.
func (*RelationshipToRole) UnmarshalJSON ¶ added in v1.3.0
func (o *RelationshipToRole) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToRoleData ¶
type RelationshipToRoleData struct {
// The unique identifier of the role.
Id *string `json:"id,omitempty"`
// Roles type.
Type *RolesType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToRoleData Relationship to role object.
func NewRelationshipToRoleData ¶
func NewRelationshipToRoleData() *RelationshipToRoleData
NewRelationshipToRoleData instantiates a new RelationshipToRoleData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToRoleDataWithDefaults ¶
func NewRelationshipToRoleDataWithDefaults() *RelationshipToRoleData
NewRelationshipToRoleDataWithDefaults instantiates a new RelationshipToRoleData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToRoleData) GetId ¶
func (o *RelationshipToRoleData) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*RelationshipToRoleData) GetIdOk ¶
func (o *RelationshipToRoleData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationshipToRoleData) GetType ¶
func (o *RelationshipToRoleData) GetType() RolesType
GetType returns the Type field value if set, zero value otherwise.
func (*RelationshipToRoleData) GetTypeOk ¶
func (o *RelationshipToRoleData) GetTypeOk() (*RolesType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationshipToRoleData) HasId ¶
func (o *RelationshipToRoleData) HasId() bool
HasId returns a boolean if a field has been set.
func (*RelationshipToRoleData) HasType ¶
func (o *RelationshipToRoleData) HasType() bool
HasType returns a boolean if a field has been set.
func (RelationshipToRoleData) MarshalJSON ¶
func (o RelationshipToRoleData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToRoleData) SetId ¶
func (o *RelationshipToRoleData) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*RelationshipToRoleData) SetType ¶
func (o *RelationshipToRoleData) SetType(v RolesType)
SetType gets a reference to the given RolesType and assigns it to the Type field.
func (*RelationshipToRoleData) UnmarshalJSON ¶ added in v1.3.0
func (o *RelationshipToRoleData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToRoles ¶
type RelationshipToRoles struct {
// An array containing type and the unique identifier of a role.
Data []RelationshipToRoleData `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToRoles Relationship to roles.
func NewRelationshipToRoles ¶
func NewRelationshipToRoles() *RelationshipToRoles
NewRelationshipToRoles instantiates a new RelationshipToRoles object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToRolesWithDefaults ¶
func NewRelationshipToRolesWithDefaults() *RelationshipToRoles
NewRelationshipToRolesWithDefaults instantiates a new RelationshipToRoles object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToRoles) GetData ¶
func (o *RelationshipToRoles) GetData() []RelationshipToRoleData
GetData returns the Data field value if set, zero value otherwise.
func (*RelationshipToRoles) GetDataOk ¶
func (o *RelationshipToRoles) GetDataOk() (*[]RelationshipToRoleData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationshipToRoles) HasData ¶
func (o *RelationshipToRoles) HasData() bool
HasData returns a boolean if a field has been set.
func (RelationshipToRoles) MarshalJSON ¶
func (o RelationshipToRoles) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToRoles) SetData ¶
func (o *RelationshipToRoles) SetData(v []RelationshipToRoleData)
SetData gets a reference to the given []RelationshipToRoleData and assigns it to the Data field.
func (*RelationshipToRoles) UnmarshalJSON ¶ added in v1.3.0
func (o *RelationshipToRoles) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToSAMLAssertionAttribute ¶ added in v1.9.0
type RelationshipToSAMLAssertionAttribute struct {
// Data of AuthN Mapping relationship to SAML Assertion Attribute.
Data RelationshipToSAMLAssertionAttributeData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToSAMLAssertionAttribute AuthN Mapping relationship to SAML Assertion Attribute.
func NewRelationshipToSAMLAssertionAttribute ¶ added in v1.9.0
func NewRelationshipToSAMLAssertionAttribute(data RelationshipToSAMLAssertionAttributeData) *RelationshipToSAMLAssertionAttribute
NewRelationshipToSAMLAssertionAttribute instantiates a new RelationshipToSAMLAssertionAttribute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToSAMLAssertionAttributeWithDefaults ¶ added in v1.9.0
func NewRelationshipToSAMLAssertionAttributeWithDefaults() *RelationshipToSAMLAssertionAttribute
NewRelationshipToSAMLAssertionAttributeWithDefaults instantiates a new RelationshipToSAMLAssertionAttribute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToSAMLAssertionAttribute) GetData ¶ added in v1.9.0
func (o *RelationshipToSAMLAssertionAttribute) GetData() RelationshipToSAMLAssertionAttributeData
GetData returns the Data field value.
func (*RelationshipToSAMLAssertionAttribute) GetDataOk ¶ added in v1.9.0
func (o *RelationshipToSAMLAssertionAttribute) GetDataOk() (*RelationshipToSAMLAssertionAttributeData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (RelationshipToSAMLAssertionAttribute) MarshalJSON ¶ added in v1.9.0
func (o RelationshipToSAMLAssertionAttribute) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToSAMLAssertionAttribute) SetData ¶ added in v1.9.0
func (o *RelationshipToSAMLAssertionAttribute) SetData(v RelationshipToSAMLAssertionAttributeData)
SetData sets field value.
func (*RelationshipToSAMLAssertionAttribute) UnmarshalJSON ¶ added in v1.9.0
func (o *RelationshipToSAMLAssertionAttribute) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToSAMLAssertionAttributeData ¶ added in v1.9.0
type RelationshipToSAMLAssertionAttributeData struct {
// The ID of the SAML assertion attribute.
Id string `json:"id"`
// SAML assertion attributes resource type.
Type SAMLAssertionAttributesType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToSAMLAssertionAttributeData Data of AuthN Mapping relationship to SAML Assertion Attribute.
func NewRelationshipToSAMLAssertionAttributeData ¶ added in v1.9.0
func NewRelationshipToSAMLAssertionAttributeData(id string, typeVar SAMLAssertionAttributesType) *RelationshipToSAMLAssertionAttributeData
NewRelationshipToSAMLAssertionAttributeData instantiates a new RelationshipToSAMLAssertionAttributeData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToSAMLAssertionAttributeDataWithDefaults ¶ added in v1.9.0
func NewRelationshipToSAMLAssertionAttributeDataWithDefaults() *RelationshipToSAMLAssertionAttributeData
NewRelationshipToSAMLAssertionAttributeDataWithDefaults instantiates a new RelationshipToSAMLAssertionAttributeData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToSAMLAssertionAttributeData) GetId ¶ added in v1.9.0
func (o *RelationshipToSAMLAssertionAttributeData) GetId() string
GetId returns the Id field value.
func (*RelationshipToSAMLAssertionAttributeData) GetIdOk ¶ added in v1.9.0
func (o *RelationshipToSAMLAssertionAttributeData) GetIdOk() (*string, bool)
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
func (o *RelationshipToSAMLAssertionAttributeData) GetType() SAMLAssertionAttributesType
GetType returns the Type field value.
func (*RelationshipToSAMLAssertionAttributeData) GetTypeOk ¶ added in v1.9.0
func (o *RelationshipToSAMLAssertionAttributeData) GetTypeOk() (*SAMLAssertionAttributesType, bool)
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 (o RelationshipToSAMLAssertionAttributeData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToSAMLAssertionAttributeData) SetId ¶ added in v1.9.0
func (o *RelationshipToSAMLAssertionAttributeData) SetId(v string)
SetId sets field value.
func (*RelationshipToSAMLAssertionAttributeData) SetType ¶ added in v1.9.0
func (o *RelationshipToSAMLAssertionAttributeData) SetType(v SAMLAssertionAttributesType)
SetType sets field value.
func (*RelationshipToSAMLAssertionAttributeData) UnmarshalJSON ¶ added in v1.9.0
func (o *RelationshipToSAMLAssertionAttributeData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToUser ¶
type RelationshipToUser struct {
// Relationship to user object.
Data RelationshipToUserData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToUser Relationship to user.
func NewRelationshipToUser ¶
func NewRelationshipToUser(data RelationshipToUserData) *RelationshipToUser
NewRelationshipToUser instantiates a new RelationshipToUser object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToUserWithDefaults ¶
func NewRelationshipToUserWithDefaults() *RelationshipToUser
NewRelationshipToUserWithDefaults instantiates a new RelationshipToUser object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToUser) GetData ¶
func (o *RelationshipToUser) GetData() RelationshipToUserData
GetData returns the Data field value.
func (*RelationshipToUser) GetDataOk ¶
func (o *RelationshipToUser) GetDataOk() (*RelationshipToUserData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (RelationshipToUser) MarshalJSON ¶
func (o RelationshipToUser) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToUser) SetData ¶
func (o *RelationshipToUser) SetData(v RelationshipToUserData)
SetData sets field value.
func (*RelationshipToUser) UnmarshalJSON ¶
func (o *RelationshipToUser) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToUserData ¶
type RelationshipToUserData struct {
// A unique identifier that represents the user.
Id string `json:"id"`
// Users resource type.
Type UsersType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToUserData Relationship to user object.
func NewRelationshipToUserData ¶
func NewRelationshipToUserData(id string, typeVar UsersType) *RelationshipToUserData
NewRelationshipToUserData instantiates a new RelationshipToUserData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToUserDataWithDefaults ¶
func NewRelationshipToUserDataWithDefaults() *RelationshipToUserData
NewRelationshipToUserDataWithDefaults instantiates a new RelationshipToUserData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToUserData) GetId ¶
func (o *RelationshipToUserData) GetId() string
GetId returns the Id field value.
func (*RelationshipToUserData) GetIdOk ¶
func (o *RelationshipToUserData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RelationshipToUserData) GetType ¶
func (o *RelationshipToUserData) GetType() UsersType
GetType returns the Type field value.
func (*RelationshipToUserData) GetTypeOk ¶
func (o *RelationshipToUserData) GetTypeOk() (*UsersType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (RelationshipToUserData) MarshalJSON ¶
func (o RelationshipToUserData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToUserData) SetId ¶
func (o *RelationshipToUserData) SetId(v string)
SetId sets field value.
func (*RelationshipToUserData) SetType ¶
func (o *RelationshipToUserData) SetType(v UsersType)
SetType sets field value.
func (*RelationshipToUserData) UnmarshalJSON ¶
func (o *RelationshipToUserData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RelationshipToUsers ¶
type RelationshipToUsers struct {
// Relationships to user objects.
Data []RelationshipToUserData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RelationshipToUsers Relationship to users.
func NewRelationshipToUsers ¶
func NewRelationshipToUsers(data []RelationshipToUserData) *RelationshipToUsers
NewRelationshipToUsers instantiates a new RelationshipToUsers object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRelationshipToUsersWithDefaults ¶
func NewRelationshipToUsersWithDefaults() *RelationshipToUsers
NewRelationshipToUsersWithDefaults instantiates a new RelationshipToUsers object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RelationshipToUsers) GetData ¶
func (o *RelationshipToUsers) GetData() []RelationshipToUserData
GetData returns the Data field value.
func (*RelationshipToUsers) GetDataOk ¶
func (o *RelationshipToUsers) GetDataOk() (*[]RelationshipToUserData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (RelationshipToUsers) MarshalJSON ¶
func (o RelationshipToUsers) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RelationshipToUsers) SetData ¶
func (o *RelationshipToUsers) SetData(v []RelationshipToUserData)
SetData sets field value.
func (*RelationshipToUsers) UnmarshalJSON ¶
func (o *RelationshipToUsers) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ResponseMetaAttributes ¶
type ResponseMetaAttributes struct {
// Pagination object.
Page *Pagination `json:"page,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ResponseMetaAttributes Object describing meta attributes of response.
func NewResponseMetaAttributes ¶
func NewResponseMetaAttributes() *ResponseMetaAttributes
NewResponseMetaAttributes instantiates a new ResponseMetaAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewResponseMetaAttributesWithDefaults ¶
func NewResponseMetaAttributesWithDefaults() *ResponseMetaAttributes
NewResponseMetaAttributesWithDefaults instantiates a new ResponseMetaAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ResponseMetaAttributes) GetPage ¶
func (o *ResponseMetaAttributes) GetPage() Pagination
GetPage returns the Page field value if set, zero value otherwise.
func (*ResponseMetaAttributes) GetPageOk ¶
func (o *ResponseMetaAttributes) GetPageOk() (*Pagination, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseMetaAttributes) HasPage ¶
func (o *ResponseMetaAttributes) HasPage() bool
HasPage returns a boolean if a field has been set.
func (ResponseMetaAttributes) MarshalJSON ¶
func (o ResponseMetaAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ResponseMetaAttributes) SetPage ¶
func (o *ResponseMetaAttributes) SetPage(v Pagination)
SetPage gets a reference to the given Pagination and assigns it to the Page field.
func (*ResponseMetaAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *ResponseMetaAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Role ¶
type Role struct {
// Attributes of the role.
Attributes *RoleAttributes `json:"attributes,omitempty"`
// The unique identifier of the role.
Id *string `json:"id,omitempty"`
// Relationships of the role object returned by the API.
Relationships *RoleResponseRelationships `json:"relationships,omitempty"`
// Roles type.
Type RolesType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
Role Role object returned by the API.
func NewRole ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Role) HasAttributes ¶
HasAttributes returns a boolean if a field has been set.
func (*Role) HasRelationships ¶
HasRelationships returns a boolean if a field has been set.
func (Role) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Role) SetAttributes ¶
func (o *Role) SetAttributes(v RoleAttributes)
SetAttributes gets a reference to the given RoleAttributes and assigns it to the Attributes field.
func (*Role) SetRelationships ¶
func (o *Role) SetRelationships(v RoleResponseRelationships)
SetRelationships gets a reference to the given RoleResponseRelationships and assigns it to the Relationships field.
func (*Role) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type RoleAttributes ¶
type RoleAttributes struct {
// Creation time of the role.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Time of last role modification.
ModifiedAt *time.Time `json:"modified_at,omitempty"`
// The name of the role. The name is neither unique nor a stable identifier of the role.
Name *string `json:"name,omitempty"`
// Number of users with that role.
UserCount *int64 `json:"user_count,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleAttributes Attributes of the role.
func NewRoleAttributes ¶
func NewRoleAttributes() *RoleAttributes
NewRoleAttributes instantiates a new RoleAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleAttributesWithDefaults ¶
func NewRoleAttributesWithDefaults() *RoleAttributes
NewRoleAttributesWithDefaults instantiates a new RoleAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleAttributes) GetCreatedAt ¶
func (o *RoleAttributes) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*RoleAttributes) GetCreatedAtOk ¶
func (o *RoleAttributes) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleAttributes) GetModifiedAt ¶
func (o *RoleAttributes) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
func (*RoleAttributes) GetModifiedAtOk ¶
func (o *RoleAttributes) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleAttributes) GetName ¶
func (o *RoleAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RoleAttributes) GetNameOk ¶
func (o *RoleAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleAttributes) GetUserCount ¶
func (o *RoleAttributes) GetUserCount() int64
GetUserCount returns the UserCount field value if set, zero value otherwise.
func (*RoleAttributes) GetUserCountOk ¶
func (o *RoleAttributes) GetUserCountOk() (*int64, bool)
GetUserCountOk returns a tuple with the UserCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleAttributes) HasCreatedAt ¶
func (o *RoleAttributes) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*RoleAttributes) HasModifiedAt ¶
func (o *RoleAttributes) HasModifiedAt() bool
HasModifiedAt returns a boolean if a field has been set.
func (*RoleAttributes) HasName ¶
func (o *RoleAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*RoleAttributes) HasUserCount ¶
func (o *RoleAttributes) HasUserCount() bool
HasUserCount returns a boolean if a field has been set.
func (RoleAttributes) MarshalJSON ¶
func (o RoleAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleAttributes) SetCreatedAt ¶
func (o *RoleAttributes) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*RoleAttributes) SetModifiedAt ¶
func (o *RoleAttributes) SetModifiedAt(v time.Time)
SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.
func (*RoleAttributes) SetName ¶
func (o *RoleAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*RoleAttributes) SetUserCount ¶
func (o *RoleAttributes) SetUserCount(v int64)
SetUserCount gets a reference to the given int64 and assigns it to the UserCount field.
func (*RoleAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *RoleAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleClone ¶ added in v1.8.0
type RoleClone struct {
// Attributes required to create a new role by cloning an existing one.
Attributes RoleCloneAttributes `json:"attributes"`
// Roles type.
Type RolesType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleClone Data for the clone role request.
func NewRoleClone ¶ added in v1.8.0
func NewRoleClone(attributes RoleCloneAttributes, typeVar RolesType) *RoleClone
NewRoleClone instantiates a new RoleClone object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleCloneWithDefaults ¶ added in v1.8.0
func NewRoleCloneWithDefaults() *RoleClone
NewRoleCloneWithDefaults instantiates a new RoleClone object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleClone) GetAttributes ¶ added in v1.8.0
func (o *RoleClone) GetAttributes() RoleCloneAttributes
GetAttributes returns the Attributes field value.
func (*RoleClone) GetAttributesOk ¶ added in v1.8.0
func (o *RoleClone) GetAttributesOk() (*RoleCloneAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*RoleClone) 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 (RoleClone) MarshalJSON ¶ added in v1.8.0
MarshalJSON serializes the struct using spec logic.
func (*RoleClone) SetAttributes ¶ added in v1.8.0
func (o *RoleClone) SetAttributes(v RoleCloneAttributes)
SetAttributes sets field value.
func (*RoleClone) UnmarshalJSON ¶ added in v1.8.0
UnmarshalJSON deserializes the given payload.
type RoleCloneAttributes ¶ added in v1.8.0
type RoleCloneAttributes struct {
// Name of the new role that is cloned.
Name string `json:"name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleCloneAttributes Attributes required to create a new role by cloning an existing one.
func NewRoleCloneAttributes ¶ added in v1.8.0
func NewRoleCloneAttributes(name string) *RoleCloneAttributes
NewRoleCloneAttributes instantiates a new RoleCloneAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleCloneAttributesWithDefaults ¶ added in v1.8.0
func NewRoleCloneAttributesWithDefaults() *RoleCloneAttributes
NewRoleCloneAttributesWithDefaults instantiates a new RoleCloneAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleCloneAttributes) GetName ¶ added in v1.8.0
func (o *RoleCloneAttributes) GetName() string
GetName returns the Name field value.
func (*RoleCloneAttributes) GetNameOk ¶ added in v1.8.0
func (o *RoleCloneAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (RoleCloneAttributes) MarshalJSON ¶ added in v1.8.0
func (o RoleCloneAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleCloneAttributes) SetName ¶ added in v1.8.0
func (o *RoleCloneAttributes) SetName(v string)
SetName sets field value.
func (*RoleCloneAttributes) UnmarshalJSON ¶ added in v1.8.0
func (o *RoleCloneAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleCloneRequest ¶ added in v1.8.0
type RoleCloneRequest struct {
// Data for the clone role request.
Data RoleClone `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleCloneRequest Request to create a role by cloning an existing role.
func NewRoleCloneRequest ¶ added in v1.8.0
func NewRoleCloneRequest(data RoleClone) *RoleCloneRequest
NewRoleCloneRequest instantiates a new RoleCloneRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleCloneRequestWithDefaults ¶ added in v1.8.0
func NewRoleCloneRequestWithDefaults() *RoleCloneRequest
NewRoleCloneRequestWithDefaults instantiates a new RoleCloneRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleCloneRequest) GetData ¶ added in v1.8.0
func (o *RoleCloneRequest) GetData() RoleClone
GetData returns the Data field value.
func (*RoleCloneRequest) GetDataOk ¶ added in v1.8.0
func (o *RoleCloneRequest) GetDataOk() (*RoleClone, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (RoleCloneRequest) MarshalJSON ¶ added in v1.8.0
func (o RoleCloneRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleCloneRequest) SetData ¶ added in v1.8.0
func (o *RoleCloneRequest) SetData(v RoleClone)
SetData sets field value.
func (*RoleCloneRequest) UnmarshalJSON ¶ added in v1.8.0
func (o *RoleCloneRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleCreateAttributes ¶
type RoleCreateAttributes struct {
// Creation time of the role.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Time of last role modification.
ModifiedAt *time.Time `json:"modified_at,omitempty"`
// Name of the role.
Name string `json:"name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleCreateAttributes Attributes of the created role.
func NewRoleCreateAttributes ¶
func NewRoleCreateAttributes(name string) *RoleCreateAttributes
NewRoleCreateAttributes instantiates a new RoleCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleCreateAttributesWithDefaults ¶
func NewRoleCreateAttributesWithDefaults() *RoleCreateAttributes
NewRoleCreateAttributesWithDefaults instantiates a new RoleCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleCreateAttributes) GetCreatedAt ¶
func (o *RoleCreateAttributes) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*RoleCreateAttributes) GetCreatedAtOk ¶
func (o *RoleCreateAttributes) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateAttributes) GetModifiedAt ¶
func (o *RoleCreateAttributes) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
func (*RoleCreateAttributes) GetModifiedAtOk ¶
func (o *RoleCreateAttributes) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateAttributes) GetName ¶
func (o *RoleCreateAttributes) GetName() string
GetName returns the Name field value.
func (*RoleCreateAttributes) GetNameOk ¶
func (o *RoleCreateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*RoleCreateAttributes) HasCreatedAt ¶
func (o *RoleCreateAttributes) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*RoleCreateAttributes) HasModifiedAt ¶
func (o *RoleCreateAttributes) HasModifiedAt() bool
HasModifiedAt returns a boolean if a field has been set.
func (RoleCreateAttributes) MarshalJSON ¶
func (o RoleCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleCreateAttributes) SetCreatedAt ¶
func (o *RoleCreateAttributes) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*RoleCreateAttributes) SetModifiedAt ¶
func (o *RoleCreateAttributes) SetModifiedAt(v time.Time)
SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.
func (*RoleCreateAttributes) SetName ¶
func (o *RoleCreateAttributes) SetName(v string)
SetName sets field value.
func (*RoleCreateAttributes) UnmarshalJSON ¶
func (o *RoleCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleCreateData ¶
type RoleCreateData struct {
// Attributes of the created role.
Attributes RoleCreateAttributes `json:"attributes"`
// Relationships of the role object.
Relationships *RoleRelationships `json:"relationships,omitempty"`
// Roles type.
Type *RolesType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleCreateData Data related to the creation of a role.
func NewRoleCreateData ¶
func NewRoleCreateData(attributes RoleCreateAttributes) *RoleCreateData
NewRoleCreateData instantiates a new RoleCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleCreateDataWithDefaults ¶
func NewRoleCreateDataWithDefaults() *RoleCreateData
NewRoleCreateDataWithDefaults instantiates a new RoleCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleCreateData) GetAttributes ¶
func (o *RoleCreateData) GetAttributes() RoleCreateAttributes
GetAttributes returns the Attributes field value.
func (*RoleCreateData) GetAttributesOk ¶
func (o *RoleCreateData) GetAttributesOk() (*RoleCreateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*RoleCreateData) GetRelationships ¶
func (o *RoleCreateData) GetRelationships() RoleRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*RoleCreateData) GetRelationshipsOk ¶
func (o *RoleCreateData) GetRelationshipsOk() (*RoleRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateData) GetType ¶
func (o *RoleCreateData) GetType() RolesType
GetType returns the Type field value if set, zero value otherwise.
func (*RoleCreateData) GetTypeOk ¶
func (o *RoleCreateData) GetTypeOk() (*RolesType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateData) HasRelationships ¶
func (o *RoleCreateData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (*RoleCreateData) HasType ¶
func (o *RoleCreateData) HasType() bool
HasType returns a boolean if a field has been set.
func (RoleCreateData) MarshalJSON ¶
func (o RoleCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleCreateData) SetAttributes ¶
func (o *RoleCreateData) SetAttributes(v RoleCreateAttributes)
SetAttributes sets field value.
func (*RoleCreateData) SetRelationships ¶
func (o *RoleCreateData) SetRelationships(v RoleRelationships)
SetRelationships gets a reference to the given RoleRelationships and assigns it to the Relationships field.
func (*RoleCreateData) SetType ¶
func (o *RoleCreateData) SetType(v RolesType)
SetType gets a reference to the given RolesType and assigns it to the Type field.
func (*RoleCreateData) UnmarshalJSON ¶
func (o *RoleCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleCreateRequest ¶
type RoleCreateRequest struct {
// Data related to the creation of a role.
Data RoleCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleCreateRequest Create a role.
func NewRoleCreateRequest ¶
func NewRoleCreateRequest(data RoleCreateData) *RoleCreateRequest
NewRoleCreateRequest instantiates a new RoleCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleCreateRequestWithDefaults ¶
func NewRoleCreateRequestWithDefaults() *RoleCreateRequest
NewRoleCreateRequestWithDefaults instantiates a new RoleCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleCreateRequest) GetData ¶
func (o *RoleCreateRequest) GetData() RoleCreateData
GetData returns the Data field value.
func (*RoleCreateRequest) GetDataOk ¶
func (o *RoleCreateRequest) GetDataOk() (*RoleCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (RoleCreateRequest) MarshalJSON ¶
func (o RoleCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleCreateRequest) SetData ¶
func (o *RoleCreateRequest) SetData(v RoleCreateData)
SetData sets field value.
func (*RoleCreateRequest) UnmarshalJSON ¶
func (o *RoleCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleCreateResponse ¶
type RoleCreateResponse struct {
// Role object returned by the API.
Data *RoleCreateResponseData `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleCreateResponse Response containing information about a created role.
func NewRoleCreateResponse ¶
func NewRoleCreateResponse() *RoleCreateResponse
NewRoleCreateResponse instantiates a new RoleCreateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleCreateResponseWithDefaults ¶
func NewRoleCreateResponseWithDefaults() *RoleCreateResponse
NewRoleCreateResponseWithDefaults instantiates a new RoleCreateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleCreateResponse) GetData ¶
func (o *RoleCreateResponse) GetData() RoleCreateResponseData
GetData returns the Data field value if set, zero value otherwise.
func (*RoleCreateResponse) GetDataOk ¶
func (o *RoleCreateResponse) GetDataOk() (*RoleCreateResponseData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateResponse) HasData ¶
func (o *RoleCreateResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (RoleCreateResponse) MarshalJSON ¶
func (o RoleCreateResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleCreateResponse) SetData ¶
func (o *RoleCreateResponse) SetData(v RoleCreateResponseData)
SetData gets a reference to the given RoleCreateResponseData and assigns it to the Data field.
func (*RoleCreateResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *RoleCreateResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleCreateResponseData ¶
type RoleCreateResponseData struct {
// Attributes of the created role.
Attributes *RoleCreateAttributes `json:"attributes,omitempty"`
// The unique identifier of the role.
Id *string `json:"id,omitempty"`
// Relationships of the role object returned by the API.
Relationships *RoleResponseRelationships `json:"relationships,omitempty"`
// Roles type.
Type RolesType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleCreateResponseData Role object returned by the API.
func NewRoleCreateResponseData ¶
func NewRoleCreateResponseData(typeVar RolesType) *RoleCreateResponseData
NewRoleCreateResponseData instantiates a new RoleCreateResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleCreateResponseDataWithDefaults ¶
func NewRoleCreateResponseDataWithDefaults() *RoleCreateResponseData
NewRoleCreateResponseDataWithDefaults instantiates a new RoleCreateResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleCreateResponseData) GetAttributes ¶
func (o *RoleCreateResponseData) GetAttributes() RoleCreateAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*RoleCreateResponseData) GetAttributesOk ¶
func (o *RoleCreateResponseData) GetAttributesOk() (*RoleCreateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateResponseData) GetId ¶
func (o *RoleCreateResponseData) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*RoleCreateResponseData) GetIdOk ¶
func (o *RoleCreateResponseData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateResponseData) GetRelationships ¶
func (o *RoleCreateResponseData) GetRelationships() RoleResponseRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*RoleCreateResponseData) GetRelationshipsOk ¶
func (o *RoleCreateResponseData) GetRelationshipsOk() (*RoleResponseRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreateResponseData) GetType ¶
func (o *RoleCreateResponseData) GetType() RolesType
GetType returns the Type field value.
func (*RoleCreateResponseData) GetTypeOk ¶
func (o *RoleCreateResponseData) GetTypeOk() (*RolesType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RoleCreateResponseData) HasAttributes ¶
func (o *RoleCreateResponseData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*RoleCreateResponseData) HasId ¶
func (o *RoleCreateResponseData) HasId() bool
HasId returns a boolean if a field has been set.
func (*RoleCreateResponseData) HasRelationships ¶
func (o *RoleCreateResponseData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (RoleCreateResponseData) MarshalJSON ¶
func (o RoleCreateResponseData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleCreateResponseData) SetAttributes ¶
func (o *RoleCreateResponseData) SetAttributes(v RoleCreateAttributes)
SetAttributes gets a reference to the given RoleCreateAttributes and assigns it to the Attributes field.
func (*RoleCreateResponseData) SetId ¶
func (o *RoleCreateResponseData) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*RoleCreateResponseData) SetRelationships ¶
func (o *RoleCreateResponseData) SetRelationships(v RoleResponseRelationships)
SetRelationships gets a reference to the given RoleResponseRelationships and assigns it to the Relationships field.
func (*RoleCreateResponseData) SetType ¶
func (o *RoleCreateResponseData) SetType(v RolesType)
SetType sets field value.
func (*RoleCreateResponseData) UnmarshalJSON ¶
func (o *RoleCreateResponseData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleRelationships ¶
type RoleRelationships struct {
// Relationship to multiple permissions objects.
Permissions *RelationshipToPermissions `json:"permissions,omitempty"`
// Relationship to users.
Users *RelationshipToUsers `json:"users,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleRelationships Relationships of the role object.
func NewRoleRelationships ¶
func NewRoleRelationships() *RoleRelationships
NewRoleRelationships instantiates a new RoleRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleRelationshipsWithDefaults ¶
func NewRoleRelationshipsWithDefaults() *RoleRelationships
NewRoleRelationshipsWithDefaults instantiates a new RoleRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleRelationships) GetPermissions ¶
func (o *RoleRelationships) GetPermissions() RelationshipToPermissions
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*RoleRelationships) GetPermissionsOk ¶
func (o *RoleRelationships) GetPermissionsOk() (*RelationshipToPermissions, bool)
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleRelationships) GetUsers ¶
func (o *RoleRelationships) GetUsers() RelationshipToUsers
GetUsers returns the Users field value if set, zero value otherwise.
func (*RoleRelationships) GetUsersOk ¶
func (o *RoleRelationships) GetUsersOk() (*RelationshipToUsers, bool)
GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleRelationships) HasPermissions ¶
func (o *RoleRelationships) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (*RoleRelationships) HasUsers ¶
func (o *RoleRelationships) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (RoleRelationships) MarshalJSON ¶
func (o RoleRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleRelationships) SetPermissions ¶
func (o *RoleRelationships) SetPermissions(v RelationshipToPermissions)
SetPermissions gets a reference to the given RelationshipToPermissions and assigns it to the Permissions field.
func (*RoleRelationships) SetUsers ¶
func (o *RoleRelationships) SetUsers(v RelationshipToUsers)
SetUsers gets a reference to the given RelationshipToUsers and assigns it to the Users field.
func (*RoleRelationships) UnmarshalJSON ¶ added in v1.3.0
func (o *RoleRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleResponse ¶
type RoleResponse struct {
// Role object returned by the API.
Data *Role `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleResponse Response containing information about a single role.
func NewRoleResponse ¶
func NewRoleResponse() *RoleResponse
NewRoleResponse instantiates a new RoleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleResponseWithDefaults ¶
func NewRoleResponseWithDefaults() *RoleResponse
NewRoleResponseWithDefaults instantiates a new RoleResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleResponse) GetData ¶
func (o *RoleResponse) GetData() Role
GetData returns the Data field value if set, zero value otherwise.
func (*RoleResponse) GetDataOk ¶
func (o *RoleResponse) GetDataOk() (*Role, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleResponse) HasData ¶
func (o *RoleResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (RoleResponse) MarshalJSON ¶
func (o RoleResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleResponse) SetData ¶
func (o *RoleResponse) SetData(v Role)
SetData gets a reference to the given Role and assigns it to the Data field.
func (*RoleResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *RoleResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleResponseRelationships ¶
type RoleResponseRelationships struct {
// Relationship to multiple permissions objects.
Permissions *RelationshipToPermissions `json:"permissions,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleResponseRelationships Relationships of the role object returned by the API.
func NewRoleResponseRelationships ¶
func NewRoleResponseRelationships() *RoleResponseRelationships
NewRoleResponseRelationships instantiates a new RoleResponseRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleResponseRelationshipsWithDefaults ¶
func NewRoleResponseRelationshipsWithDefaults() *RoleResponseRelationships
NewRoleResponseRelationshipsWithDefaults instantiates a new RoleResponseRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleResponseRelationships) GetPermissions ¶
func (o *RoleResponseRelationships) GetPermissions() RelationshipToPermissions
GetPermissions returns the Permissions field value if set, zero value otherwise.
func (*RoleResponseRelationships) GetPermissionsOk ¶
func (o *RoleResponseRelationships) GetPermissionsOk() (*RelationshipToPermissions, bool)
GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleResponseRelationships) HasPermissions ¶
func (o *RoleResponseRelationships) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (RoleResponseRelationships) MarshalJSON ¶
func (o RoleResponseRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleResponseRelationships) SetPermissions ¶
func (o *RoleResponseRelationships) SetPermissions(v RelationshipToPermissions)
SetPermissions gets a reference to the given RelationshipToPermissions and assigns it to the Permissions field.
func (*RoleResponseRelationships) UnmarshalJSON ¶ added in v1.3.0
func (o *RoleResponseRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleUpdateAttributes ¶
type RoleUpdateAttributes struct {
// Creation time of the role.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Time of last role modification.
ModifiedAt *time.Time `json:"modified_at,omitempty"`
// Name of the role.
Name *string `json:"name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleUpdateAttributes Attributes of the role.
func NewRoleUpdateAttributes ¶
func NewRoleUpdateAttributes() *RoleUpdateAttributes
NewRoleUpdateAttributes instantiates a new RoleUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleUpdateAttributesWithDefaults ¶
func NewRoleUpdateAttributesWithDefaults() *RoleUpdateAttributes
NewRoleUpdateAttributesWithDefaults instantiates a new RoleUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleUpdateAttributes) GetCreatedAt ¶
func (o *RoleUpdateAttributes) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*RoleUpdateAttributes) GetCreatedAtOk ¶
func (o *RoleUpdateAttributes) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateAttributes) GetModifiedAt ¶
func (o *RoleUpdateAttributes) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
func (*RoleUpdateAttributes) GetModifiedAtOk ¶
func (o *RoleUpdateAttributes) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateAttributes) GetName ¶
func (o *RoleUpdateAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RoleUpdateAttributes) GetNameOk ¶
func (o *RoleUpdateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateAttributes) HasCreatedAt ¶
func (o *RoleUpdateAttributes) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*RoleUpdateAttributes) HasModifiedAt ¶
func (o *RoleUpdateAttributes) HasModifiedAt() bool
HasModifiedAt returns a boolean if a field has been set.
func (*RoleUpdateAttributes) HasName ¶
func (o *RoleUpdateAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (RoleUpdateAttributes) MarshalJSON ¶
func (o RoleUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleUpdateAttributes) SetCreatedAt ¶
func (o *RoleUpdateAttributes) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*RoleUpdateAttributes) SetModifiedAt ¶
func (o *RoleUpdateAttributes) SetModifiedAt(v time.Time)
SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.
func (*RoleUpdateAttributes) SetName ¶
func (o *RoleUpdateAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*RoleUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *RoleUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleUpdateData ¶
type RoleUpdateData struct {
// Attributes of the role.
Attributes RoleUpdateAttributes `json:"attributes"`
// The unique identifier of the role.
Id string `json:"id"`
// Roles type.
Type RolesType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleUpdateData Data related to the update of a role.
func NewRoleUpdateData ¶
func NewRoleUpdateData(attributes RoleUpdateAttributes, id string, typeVar RolesType) *RoleUpdateData
NewRoleUpdateData instantiates a new RoleUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleUpdateDataWithDefaults ¶
func NewRoleUpdateDataWithDefaults() *RoleUpdateData
NewRoleUpdateDataWithDefaults instantiates a new RoleUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleUpdateData) GetAttributes ¶
func (o *RoleUpdateData) GetAttributes() RoleUpdateAttributes
GetAttributes returns the Attributes field value.
func (*RoleUpdateData) GetAttributesOk ¶
func (o *RoleUpdateData) GetAttributesOk() (*RoleUpdateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*RoleUpdateData) GetId ¶
func (o *RoleUpdateData) GetId() string
GetId returns the Id field value.
func (*RoleUpdateData) GetIdOk ¶
func (o *RoleUpdateData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RoleUpdateData) GetType ¶
func (o *RoleUpdateData) GetType() RolesType
GetType returns the Type field value.
func (*RoleUpdateData) GetTypeOk ¶
func (o *RoleUpdateData) GetTypeOk() (*RolesType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (RoleUpdateData) MarshalJSON ¶
func (o RoleUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleUpdateData) SetAttributes ¶
func (o *RoleUpdateData) SetAttributes(v RoleUpdateAttributes)
SetAttributes sets field value.
func (*RoleUpdateData) SetType ¶
func (o *RoleUpdateData) SetType(v RolesType)
SetType sets field value.
func (*RoleUpdateData) UnmarshalJSON ¶
func (o *RoleUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleUpdateRequest ¶
type RoleUpdateRequest struct {
// Data related to the update of a role.
Data RoleUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleUpdateRequest Update a role.
func NewRoleUpdateRequest ¶
func NewRoleUpdateRequest(data RoleUpdateData) *RoleUpdateRequest
NewRoleUpdateRequest instantiates a new RoleUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleUpdateRequestWithDefaults ¶
func NewRoleUpdateRequestWithDefaults() *RoleUpdateRequest
NewRoleUpdateRequestWithDefaults instantiates a new RoleUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleUpdateRequest) GetData ¶
func (o *RoleUpdateRequest) GetData() RoleUpdateData
GetData returns the Data field value.
func (*RoleUpdateRequest) GetDataOk ¶
func (o *RoleUpdateRequest) GetDataOk() (*RoleUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (RoleUpdateRequest) MarshalJSON ¶
func (o RoleUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleUpdateRequest) SetData ¶
func (o *RoleUpdateRequest) SetData(v RoleUpdateData)
SetData sets field value.
func (*RoleUpdateRequest) UnmarshalJSON ¶
func (o *RoleUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleUpdateResponse ¶
type RoleUpdateResponse struct {
// Role object returned by the API.
Data *RoleUpdateResponseData `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleUpdateResponse Response containing information about an updated role.
func NewRoleUpdateResponse ¶
func NewRoleUpdateResponse() *RoleUpdateResponse
NewRoleUpdateResponse instantiates a new RoleUpdateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleUpdateResponseWithDefaults ¶
func NewRoleUpdateResponseWithDefaults() *RoleUpdateResponse
NewRoleUpdateResponseWithDefaults instantiates a new RoleUpdateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleUpdateResponse) GetData ¶
func (o *RoleUpdateResponse) GetData() RoleUpdateResponseData
GetData returns the Data field value if set, zero value otherwise.
func (*RoleUpdateResponse) GetDataOk ¶
func (o *RoleUpdateResponse) GetDataOk() (*RoleUpdateResponseData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateResponse) HasData ¶
func (o *RoleUpdateResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (RoleUpdateResponse) MarshalJSON ¶
func (o RoleUpdateResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleUpdateResponse) SetData ¶
func (o *RoleUpdateResponse) SetData(v RoleUpdateResponseData)
SetData gets a reference to the given RoleUpdateResponseData and assigns it to the Data field.
func (*RoleUpdateResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *RoleUpdateResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleUpdateResponseData ¶
type RoleUpdateResponseData struct {
// Attributes of the role.
Attributes *RoleUpdateAttributes `json:"attributes,omitempty"`
// The unique identifier of the role.
Id *string `json:"id,omitempty"`
// Relationships of the role object returned by the API.
Relationships *RoleResponseRelationships `json:"relationships,omitempty"`
// Roles type.
Type RolesType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
RoleUpdateResponseData Role object returned by the API.
func NewRoleUpdateResponseData ¶
func NewRoleUpdateResponseData(typeVar RolesType) *RoleUpdateResponseData
NewRoleUpdateResponseData instantiates a new RoleUpdateResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleUpdateResponseDataWithDefaults ¶
func NewRoleUpdateResponseDataWithDefaults() *RoleUpdateResponseData
NewRoleUpdateResponseDataWithDefaults instantiates a new RoleUpdateResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleUpdateResponseData) GetAttributes ¶
func (o *RoleUpdateResponseData) GetAttributes() RoleUpdateAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*RoleUpdateResponseData) GetAttributesOk ¶
func (o *RoleUpdateResponseData) GetAttributesOk() (*RoleUpdateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateResponseData) GetId ¶
func (o *RoleUpdateResponseData) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*RoleUpdateResponseData) GetIdOk ¶
func (o *RoleUpdateResponseData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateResponseData) GetRelationships ¶
func (o *RoleUpdateResponseData) GetRelationships() RoleResponseRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*RoleUpdateResponseData) GetRelationshipsOk ¶
func (o *RoleUpdateResponseData) GetRelationshipsOk() (*RoleResponseRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdateResponseData) GetType ¶
func (o *RoleUpdateResponseData) GetType() RolesType
GetType returns the Type field value.
func (*RoleUpdateResponseData) GetTypeOk ¶
func (o *RoleUpdateResponseData) GetTypeOk() (*RolesType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RoleUpdateResponseData) HasAttributes ¶
func (o *RoleUpdateResponseData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*RoleUpdateResponseData) HasId ¶
func (o *RoleUpdateResponseData) HasId() bool
HasId returns a boolean if a field has been set.
func (*RoleUpdateResponseData) HasRelationships ¶
func (o *RoleUpdateResponseData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (RoleUpdateResponseData) MarshalJSON ¶
func (o RoleUpdateResponseData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleUpdateResponseData) SetAttributes ¶
func (o *RoleUpdateResponseData) SetAttributes(v RoleUpdateAttributes)
SetAttributes gets a reference to the given RoleUpdateAttributes and assigns it to the Attributes field.
func (*RoleUpdateResponseData) SetId ¶
func (o *RoleUpdateResponseData) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*RoleUpdateResponseData) SetRelationships ¶
func (o *RoleUpdateResponseData) SetRelationships(v RoleResponseRelationships)
SetRelationships gets a reference to the given RoleResponseRelationships and assigns it to the Relationships field.
func (*RoleUpdateResponseData) SetType ¶
func (o *RoleUpdateResponseData) SetType(v RolesType)
SetType sets field value.
func (*RoleUpdateResponseData) UnmarshalJSON ¶
func (o *RoleUpdateResponseData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RolesApiService ¶
type RolesApiService service
RolesApiService RolesApi service.
func (*RolesApiService) AddPermissionToRole ¶
func (a *RolesApiService) AddPermissionToRole(ctx _context.Context, roleId string, body RelationshipToPermission) (PermissionsResponse, *_nethttp.Response, error)
AddPermissionToRole Grant permission to a role. Adds a permission to a role.
func (*RolesApiService) AddUserToRole ¶
func (a *RolesApiService) AddUserToRole(ctx _context.Context, roleId string, body RelationshipToUser) (UsersResponse, *_nethttp.Response, error)
AddUserToRole Add a user to a role. Adds a user to a role.
func (*RolesApiService) CloneRole ¶ added in v1.8.0
func (a *RolesApiService) CloneRole(ctx _context.Context, roleId string, body RoleCloneRequest) (RoleResponse, *_nethttp.Response, error)
CloneRole Create a new role by cloning an existing role. Clone an existing role
func (*RolesApiService) CreateRole ¶
func (a *RolesApiService) CreateRole(ctx _context.Context, body RoleCreateRequest) (RoleCreateResponse, *_nethttp.Response, error)
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 ¶
func (a *RolesApiService) GetRole(ctx _context.Context, roleId string) (RoleResponse, *_nethttp.Response, error)
GetRole Get a role. Get a role in the organization specified by the role’s `role_id`.
func (*RolesApiService) ListPermissions ¶
func (a *RolesApiService) ListPermissions(ctx _context.Context) (PermissionsResponse, *_nethttp.Response, error)
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 ¶
func (a *RolesApiService) ListRoleUsers(ctx _context.Context, roleId string, o ...ListRoleUsersOptionalParameters) (UsersResponse, *_nethttp.Response, error)
ListRoleUsers Get all users of a role. Gets all users of a role.
func (*RolesApiService) ListRoles ¶
func (a *RolesApiService) ListRoles(ctx _context.Context, o ...ListRolesOptionalParameters) (RolesResponse, *_nethttp.Response, error)
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 ¶
func (a *RolesApiService) UpdateRole(ctx _context.Context, roleId string, body RoleUpdateRequest) (RoleUpdateResponse, *_nethttp.Response, error)
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 ¶
func (o *RolesResponse) GetMeta() ResponseMetaAttributes
GetMeta returns the Meta field value if set, zero value otherwise.
func (*RolesResponse) GetMetaOk ¶
func (o *RolesResponse) GetMetaOk() (*ResponseMetaAttributes, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RolesResponse) HasData ¶
func (o *RolesResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*RolesResponse) HasMeta ¶
func (o *RolesResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (RolesResponse) MarshalJSON ¶
func (o RolesResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RolesResponse) SetData ¶
func (o *RolesResponse) SetData(v []Role)
SetData gets a reference to the given []Role and assigns it to the Data field.
func (*RolesResponse) SetMeta ¶
func (o *RolesResponse) SetMeta(v ResponseMetaAttributes)
SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.
func (*RolesResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *RolesResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RolesSort ¶
type RolesSort string
RolesSort Sorting options for roles.
const ( ROLESSORT_NAME_ASCENDING RolesSort = "name" ROLESSORT_NAME_DESCENDING RolesSort = "-name" ROLESSORT_MODIFIED_AT_ASCENDING RolesSort = "modified_at" ROLESSORT_MODIFIED_AT_DESCENDING RolesSort = "-modified_at" ROLESSORT_USER_COUNT_ASCENDING RolesSort = "user_count" ROLESSORT_USER_COUNT_DESCENDING RolesSort = "-user_count" )
List of RolesSort.
func NewRolesSortFromValue ¶
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
GetAllowedValues reeturns the list of possible values.
func (RolesSort) IsValid ¶
IsValid return true if the value is valid for the enum, false otherwise.
func (*RolesSort) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type RolesType ¶
type RolesType string
RolesType Roles type.
const (
ROLESTYPE_ROLES RolesType = "roles"
)
List of RolesType.
func NewRolesTypeFromValue ¶
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
GetAllowedValues reeturns the list of possible values.
func (RolesType) IsValid ¶
IsValid return true if the value is valid for the enum, false otherwise.
func (*RolesType) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type SAMLAssertionAttribute ¶ added in v1.9.0
type SAMLAssertionAttribute struct {
// Key/Value pair of attributes used in SAML assertion attributes.
Attributes *SAMLAssertionAttributeAttributes `json:"attributes,omitempty"`
// The ID of the SAML assertion attribute.
Id string `json:"id"`
// SAML assertion attributes resource type.
Type SAMLAssertionAttributesType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SAMLAssertionAttribute SAML assertion attribute.
func NewSAMLAssertionAttribute ¶ added in v1.9.0
func NewSAMLAssertionAttribute(id string, typeVar SAMLAssertionAttributesType) *SAMLAssertionAttribute
NewSAMLAssertionAttribute instantiates a new SAMLAssertionAttribute object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSAMLAssertionAttributeWithDefaults ¶ added in v1.9.0
func NewSAMLAssertionAttributeWithDefaults() *SAMLAssertionAttribute
NewSAMLAssertionAttributeWithDefaults instantiates a new SAMLAssertionAttribute object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SAMLAssertionAttribute) GetAttributes ¶ added in v1.9.0
func (o *SAMLAssertionAttribute) GetAttributes() SAMLAssertionAttributeAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*SAMLAssertionAttribute) GetAttributesOk ¶ added in v1.9.0
func (o *SAMLAssertionAttribute) GetAttributesOk() (*SAMLAssertionAttributeAttributes, 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 (*SAMLAssertionAttribute) GetId ¶ added in v1.9.0
func (o *SAMLAssertionAttribute) GetId() string
GetId returns the Id field value.
func (*SAMLAssertionAttribute) GetIdOk ¶ added in v1.9.0
func (o *SAMLAssertionAttribute) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*SAMLAssertionAttribute) GetType ¶ added in v1.9.0
func (o *SAMLAssertionAttribute) GetType() SAMLAssertionAttributesType
GetType returns the Type field value.
func (*SAMLAssertionAttribute) GetTypeOk ¶ added in v1.9.0
func (o *SAMLAssertionAttribute) GetTypeOk() (*SAMLAssertionAttributesType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*SAMLAssertionAttribute) HasAttributes ¶ added in v1.9.0
func (o *SAMLAssertionAttribute) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (SAMLAssertionAttribute) MarshalJSON ¶ added in v1.9.0
func (o SAMLAssertionAttribute) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SAMLAssertionAttribute) SetAttributes ¶ added in v1.9.0
func (o *SAMLAssertionAttribute) SetAttributes(v SAMLAssertionAttributeAttributes)
SetAttributes gets a reference to the given SAMLAssertionAttributeAttributes and assigns it to the Attributes field.
func (*SAMLAssertionAttribute) SetId ¶ added in v1.9.0
func (o *SAMLAssertionAttribute) SetId(v string)
SetId sets field value.
func (*SAMLAssertionAttribute) SetType ¶ added in v1.9.0
func (o *SAMLAssertionAttribute) SetType(v SAMLAssertionAttributesType)
SetType sets field value.
func (*SAMLAssertionAttribute) UnmarshalJSON ¶ added in v1.9.0
func (o *SAMLAssertionAttribute) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SAMLAssertionAttributeAttributes ¶ added in v1.9.0
type SAMLAssertionAttributeAttributes struct {
// Key portion of a key/value pair of the attribute sent from the Identity Provider.
AttributeKey *string `json:"attribute_key,omitempty"`
// Value portion of a key/value pair of the attribute sent from the Identity Provider.
AttributeValue *string `json:"attribute_value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SAMLAssertionAttributeAttributes Key/Value pair of attributes used in SAML assertion attributes.
func NewSAMLAssertionAttributeAttributes ¶ added in v1.9.0
func NewSAMLAssertionAttributeAttributes() *SAMLAssertionAttributeAttributes
NewSAMLAssertionAttributeAttributes instantiates a new SAMLAssertionAttributeAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSAMLAssertionAttributeAttributesWithDefaults ¶ added in v1.9.0
func NewSAMLAssertionAttributeAttributesWithDefaults() *SAMLAssertionAttributeAttributes
NewSAMLAssertionAttributeAttributesWithDefaults instantiates a new SAMLAssertionAttributeAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SAMLAssertionAttributeAttributes) GetAttributeKey ¶ added in v1.9.0
func (o *SAMLAssertionAttributeAttributes) GetAttributeKey() string
GetAttributeKey returns the AttributeKey field value if set, zero value otherwise.
func (*SAMLAssertionAttributeAttributes) GetAttributeKeyOk ¶ added in v1.9.0
func (o *SAMLAssertionAttributeAttributes) GetAttributeKeyOk() (*string, bool)
GetAttributeKeyOk returns a tuple with the AttributeKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SAMLAssertionAttributeAttributes) GetAttributeValue ¶ added in v1.9.0
func (o *SAMLAssertionAttributeAttributes) GetAttributeValue() string
GetAttributeValue returns the AttributeValue field value if set, zero value otherwise.
func (*SAMLAssertionAttributeAttributes) GetAttributeValueOk ¶ added in v1.9.0
func (o *SAMLAssertionAttributeAttributes) GetAttributeValueOk() (*string, bool)
GetAttributeValueOk returns a tuple with the AttributeValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SAMLAssertionAttributeAttributes) HasAttributeKey ¶ added in v1.9.0
func (o *SAMLAssertionAttributeAttributes) HasAttributeKey() bool
HasAttributeKey returns a boolean if a field has been set.
func (*SAMLAssertionAttributeAttributes) HasAttributeValue ¶ added in v1.9.0
func (o *SAMLAssertionAttributeAttributes) HasAttributeValue() bool
HasAttributeValue returns a boolean if a field has been set.
func (SAMLAssertionAttributeAttributes) MarshalJSON ¶ added in v1.9.0
func (o SAMLAssertionAttributeAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SAMLAssertionAttributeAttributes) SetAttributeKey ¶ added in v1.9.0
func (o *SAMLAssertionAttributeAttributes) SetAttributeKey(v string)
SetAttributeKey gets a reference to the given string and assigns it to the AttributeKey field.
func (*SAMLAssertionAttributeAttributes) SetAttributeValue ¶ added in v1.9.0
func (o *SAMLAssertionAttributeAttributes) SetAttributeValue(v string)
SetAttributeValue gets a reference to the given string and assigns it to the AttributeValue field.
func (*SAMLAssertionAttributeAttributes) UnmarshalJSON ¶ added in v1.9.0
func (o *SAMLAssertionAttributeAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SAMLAssertionAttributesType ¶ added in v1.9.0
type SAMLAssertionAttributesType string
SAMLAssertionAttributesType SAML assertion attributes resource type.
const (
SAMLASSERTIONATTRIBUTESTYPE_SAML_ASSERTION_ATTRIBUTES SAMLAssertionAttributesType = "saml_assertion_attributes"
)
List of SAMLAssertionAttributesType.
func NewSAMLAssertionAttributesTypeFromValue ¶ added in v1.9.0
func NewSAMLAssertionAttributesTypeFromValue(v string) (*SAMLAssertionAttributesType, error)
NewSAMLAssertionAttributesTypeFromValue returns a pointer to a valid SAMLAssertionAttributesType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SAMLAssertionAttributesType) GetAllowedValues ¶ added in v1.9.0
func (v *SAMLAssertionAttributesType) GetAllowedValues() []SAMLAssertionAttributesType
GetAllowedValues reeturns the list of possible values.
func (SAMLAssertionAttributesType) IsValid ¶ added in v1.9.0
func (v SAMLAssertionAttributesType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SAMLAssertionAttributesType) Ptr ¶ added in v1.9.0
func (v SAMLAssertionAttributesType) Ptr() *SAMLAssertionAttributesType
Ptr returns reference to SAMLAssertionAttributesType value.
func (*SAMLAssertionAttributesType) UnmarshalJSON ¶ added in v1.9.0
func (v *SAMLAssertionAttributesType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SearchAuditLogsOptionalParameters ¶ added in v1.11.0
type SearchAuditLogsOptionalParameters struct {
Body *AuditLogsSearchEventsRequest
}
SearchAuditLogsOptionalParameters holds optional parameters for SearchAuditLogs.
func NewSearchAuditLogsOptionalParameters ¶ added in v1.11.0
func NewSearchAuditLogsOptionalParameters() *SearchAuditLogsOptionalParameters
NewSearchAuditLogsOptionalParameters creates an empty struct for parameters.
func (*SearchAuditLogsOptionalParameters) WithBody ¶ added in v1.11.0
func (r *SearchAuditLogsOptionalParameters) WithBody(body AuditLogsSearchEventsRequest) *SearchAuditLogsOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type SearchSecurityMonitoringSignalsOptionalParameters ¶
type SearchSecurityMonitoringSignalsOptionalParameters struct {
Body *SecurityMonitoringSignalListRequest
}
SearchSecurityMonitoringSignalsOptionalParameters holds optional parameters for SearchSecurityMonitoringSignals.
func NewSearchSecurityMonitoringSignalsOptionalParameters ¶
func NewSearchSecurityMonitoringSignalsOptionalParameters() *SearchSecurityMonitoringSignalsOptionalParameters
NewSearchSecurityMonitoringSignalsOptionalParameters creates an empty struct for parameters.
func (*SearchSecurityMonitoringSignalsOptionalParameters) WithBody ¶
func (r *SearchSecurityMonitoringSignalsOptionalParameters) WithBody(body SecurityMonitoringSignalListRequest) *SearchSecurityMonitoringSignalsOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type SecurityFilter ¶
type SecurityFilter struct {
// The object describing a security filter.
Attributes *SecurityFilterAttributes `json:"attributes,omitempty"`
// The ID of the security filter.
Id *string `json:"id,omitempty"`
// The type of the resource. The value should always be `security_filters`.
Type *SecurityFilterType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilter The security filter's properties.
func NewSecurityFilter ¶
func NewSecurityFilter() *SecurityFilter
NewSecurityFilter instantiates a new SecurityFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterWithDefaults ¶
func NewSecurityFilterWithDefaults() *SecurityFilter
NewSecurityFilterWithDefaults instantiates a new SecurityFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilter) GetAttributes ¶
func (o *SecurityFilter) GetAttributes() SecurityFilterAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*SecurityFilter) GetAttributesOk ¶
func (o *SecurityFilter) GetAttributesOk() (*SecurityFilterAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilter) GetId ¶
func (o *SecurityFilter) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SecurityFilter) GetIdOk ¶
func (o *SecurityFilter) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilter) GetType ¶
func (o *SecurityFilter) GetType() SecurityFilterType
GetType returns the Type field value if set, zero value otherwise.
func (*SecurityFilter) GetTypeOk ¶
func (o *SecurityFilter) GetTypeOk() (*SecurityFilterType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilter) HasAttributes ¶
func (o *SecurityFilter) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*SecurityFilter) HasId ¶
func (o *SecurityFilter) HasId() bool
HasId returns a boolean if a field has been set.
func (*SecurityFilter) HasType ¶
func (o *SecurityFilter) HasType() bool
HasType returns a boolean if a field has been set.
func (SecurityFilter) MarshalJSON ¶
func (o SecurityFilter) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilter) SetAttributes ¶
func (o *SecurityFilter) SetAttributes(v SecurityFilterAttributes)
SetAttributes gets a reference to the given SecurityFilterAttributes and assigns it to the Attributes field.
func (*SecurityFilter) SetId ¶
func (o *SecurityFilter) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SecurityFilter) SetType ¶
func (o *SecurityFilter) SetType(v SecurityFilterType)
SetType gets a reference to the given SecurityFilterType and assigns it to the Type field.
func (*SecurityFilter) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityFilter) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFilterAttributes ¶
type SecurityFilterAttributes struct {
// The list of exclusion filters applied in this security filter.
ExclusionFilters []SecurityFilterExclusionFilterResponse `json:"exclusion_filters,omitempty"`
// The filtered data type.
FilteredDataType *SecurityFilterFilteredDataType `json:"filtered_data_type,omitempty"`
// Whether the security filter is the built-in filter.
IsBuiltin *bool `json:"is_builtin,omitempty"`
// Whether the security filter is enabled.
IsEnabled *bool `json:"is_enabled,omitempty"`
// The security filter name.
Name *string `json:"name,omitempty"`
// The security filter query. Logs accepted by this query will be accepted by this filter.
Query *string `json:"query,omitempty"`
// The version of the security filter.
Version *int32 `json:"version,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilterAttributes The object describing a security filter.
func NewSecurityFilterAttributes ¶
func NewSecurityFilterAttributes() *SecurityFilterAttributes
NewSecurityFilterAttributes instantiates a new SecurityFilterAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterAttributesWithDefaults ¶
func NewSecurityFilterAttributesWithDefaults() *SecurityFilterAttributes
NewSecurityFilterAttributesWithDefaults instantiates a new SecurityFilterAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilterAttributes) GetExclusionFilters ¶
func (o *SecurityFilterAttributes) GetExclusionFilters() []SecurityFilterExclusionFilterResponse
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 ¶
func (o *SecurityFilterAttributes) GetFilteredDataType() SecurityFilterFilteredDataType
GetFilteredDataType returns the FilteredDataType field value if set, zero value otherwise.
func (*SecurityFilterAttributes) GetFilteredDataTypeOk ¶
func (o *SecurityFilterAttributes) GetFilteredDataTypeOk() (*SecurityFilterFilteredDataType, bool)
GetFilteredDataTypeOk returns a tuple with the FilteredDataType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilterAttributes) GetIsBuiltin ¶
func (o *SecurityFilterAttributes) GetIsBuiltin() bool
GetIsBuiltin returns the IsBuiltin field value if set, zero value otherwise.
func (*SecurityFilterAttributes) GetIsBuiltinOk ¶
func (o *SecurityFilterAttributes) GetIsBuiltinOk() (*bool, bool)
GetIsBuiltinOk returns a tuple with the IsBuiltin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilterAttributes) GetIsEnabled ¶
func (o *SecurityFilterAttributes) GetIsEnabled() bool
GetIsEnabled returns the IsEnabled field value if set, zero value otherwise.
func (*SecurityFilterAttributes) GetIsEnabledOk ¶
func (o *SecurityFilterAttributes) GetIsEnabledOk() (*bool, bool)
GetIsEnabledOk returns a tuple with the IsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilterAttributes) GetName ¶
func (o *SecurityFilterAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SecurityFilterAttributes) GetNameOk ¶
func (o *SecurityFilterAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilterAttributes) GetQuery ¶
func (o *SecurityFilterAttributes) GetQuery() string
GetQuery returns the Query field value if set, zero value otherwise.
func (*SecurityFilterAttributes) GetQueryOk ¶
func (o *SecurityFilterAttributes) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilterAttributes) GetVersion ¶
func (o *SecurityFilterAttributes) GetVersion() int32
GetVersion returns the Version field value if set, zero value otherwise.
func (*SecurityFilterAttributes) GetVersionOk ¶
func (o *SecurityFilterAttributes) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilterAttributes) HasExclusionFilters ¶
func (o *SecurityFilterAttributes) HasExclusionFilters() bool
HasExclusionFilters returns a boolean if a field has been set.
func (*SecurityFilterAttributes) HasFilteredDataType ¶
func (o *SecurityFilterAttributes) HasFilteredDataType() bool
HasFilteredDataType returns a boolean if a field has been set.
func (*SecurityFilterAttributes) HasIsBuiltin ¶
func (o *SecurityFilterAttributes) HasIsBuiltin() bool
HasIsBuiltin returns a boolean if a field has been set.
func (*SecurityFilterAttributes) HasIsEnabled ¶
func (o *SecurityFilterAttributes) HasIsEnabled() bool
HasIsEnabled returns a boolean if a field has been set.
func (*SecurityFilterAttributes) HasName ¶
func (o *SecurityFilterAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*SecurityFilterAttributes) HasQuery ¶
func (o *SecurityFilterAttributes) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*SecurityFilterAttributes) HasVersion ¶
func (o *SecurityFilterAttributes) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (SecurityFilterAttributes) MarshalJSON ¶
func (o SecurityFilterAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilterAttributes) SetExclusionFilters ¶
func (o *SecurityFilterAttributes) SetExclusionFilters(v []SecurityFilterExclusionFilterResponse)
SetExclusionFilters gets a reference to the given []SecurityFilterExclusionFilterResponse and assigns it to the ExclusionFilters field.
func (*SecurityFilterAttributes) SetFilteredDataType ¶
func (o *SecurityFilterAttributes) SetFilteredDataType(v SecurityFilterFilteredDataType)
SetFilteredDataType gets a reference to the given SecurityFilterFilteredDataType and assigns it to the FilteredDataType field.
func (*SecurityFilterAttributes) SetIsBuiltin ¶
func (o *SecurityFilterAttributes) SetIsBuiltin(v bool)
SetIsBuiltin gets a reference to the given bool and assigns it to the IsBuiltin field.
func (*SecurityFilterAttributes) SetIsEnabled ¶
func (o *SecurityFilterAttributes) SetIsEnabled(v bool)
SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.
func (*SecurityFilterAttributes) SetName ¶
func (o *SecurityFilterAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SecurityFilterAttributes) SetQuery ¶
func (o *SecurityFilterAttributes) SetQuery(v string)
SetQuery gets a reference to the given string and assigns it to the Query field.
func (*SecurityFilterAttributes) SetVersion ¶
func (o *SecurityFilterAttributes) SetVersion(v int32)
SetVersion gets a reference to the given int32 and assigns it to the Version field.
func (*SecurityFilterAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityFilterAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFilterCreateAttributes ¶
type SecurityFilterCreateAttributes struct {
// Exclusion filters to exclude some logs from the security filter.
ExclusionFilters []SecurityFilterExclusionFilter `json:"exclusion_filters"`
// The filtered data type.
FilteredDataType SecurityFilterFilteredDataType `json:"filtered_data_type"`
// Whether the security filter is enabled.
IsEnabled bool `json:"is_enabled"`
// The name of the security filter.
Name string `json:"name"`
// The query of the security filter.
Query string `json:"query"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilterCreateAttributes Object containing the attributes of the security filter to be created.
func NewSecurityFilterCreateAttributes ¶
func NewSecurityFilterCreateAttributes(exclusionFilters []SecurityFilterExclusionFilter, filteredDataType SecurityFilterFilteredDataType, isEnabled bool, name string, query string) *SecurityFilterCreateAttributes
NewSecurityFilterCreateAttributes instantiates a new SecurityFilterCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterCreateAttributesWithDefaults ¶
func NewSecurityFilterCreateAttributesWithDefaults() *SecurityFilterCreateAttributes
NewSecurityFilterCreateAttributesWithDefaults instantiates a new SecurityFilterCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilterCreateAttributes) GetExclusionFilters ¶
func (o *SecurityFilterCreateAttributes) GetExclusionFilters() []SecurityFilterExclusionFilter
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 ¶
func (o *SecurityFilterCreateAttributes) GetFilteredDataType() SecurityFilterFilteredDataType
GetFilteredDataType returns the FilteredDataType field value.
func (*SecurityFilterCreateAttributes) GetFilteredDataTypeOk ¶
func (o *SecurityFilterCreateAttributes) GetFilteredDataTypeOk() (*SecurityFilterFilteredDataType, bool)
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 ¶
func (o *SecurityFilterCreateAttributes) GetName() string
GetName returns the Name field value.
func (*SecurityFilterCreateAttributes) GetNameOk ¶
func (o *SecurityFilterCreateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*SecurityFilterCreateAttributes) GetQuery ¶
func (o *SecurityFilterCreateAttributes) GetQuery() string
GetQuery returns the Query field value.
func (*SecurityFilterCreateAttributes) GetQueryOk ¶
func (o *SecurityFilterCreateAttributes) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (SecurityFilterCreateAttributes) MarshalJSON ¶
func (o SecurityFilterCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilterCreateAttributes) SetExclusionFilters ¶
func (o *SecurityFilterCreateAttributes) SetExclusionFilters(v []SecurityFilterExclusionFilter)
SetExclusionFilters sets field value.
func (*SecurityFilterCreateAttributes) SetFilteredDataType ¶
func (o *SecurityFilterCreateAttributes) SetFilteredDataType(v SecurityFilterFilteredDataType)
SetFilteredDataType sets field value.
func (*SecurityFilterCreateAttributes) SetIsEnabled ¶
func (o *SecurityFilterCreateAttributes) SetIsEnabled(v bool)
SetIsEnabled sets field value.
func (*SecurityFilterCreateAttributes) SetName ¶
func (o *SecurityFilterCreateAttributes) SetName(v string)
SetName sets field value.
func (*SecurityFilterCreateAttributes) SetQuery ¶
func (o *SecurityFilterCreateAttributes) SetQuery(v string)
SetQuery sets field value.
func (*SecurityFilterCreateAttributes) UnmarshalJSON ¶
func (o *SecurityFilterCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFilterCreateData ¶
type SecurityFilterCreateData struct {
// Object containing the attributes of the security filter to be created.
Attributes SecurityFilterCreateAttributes `json:"attributes"`
// The type of the resource. The value should always be `security_filters`.
Type SecurityFilterType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilterCreateData Object for a single security filter.
func NewSecurityFilterCreateData ¶
func NewSecurityFilterCreateData(attributes SecurityFilterCreateAttributes, typeVar SecurityFilterType) *SecurityFilterCreateData
NewSecurityFilterCreateData instantiates a new SecurityFilterCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterCreateDataWithDefaults ¶
func NewSecurityFilterCreateDataWithDefaults() *SecurityFilterCreateData
NewSecurityFilterCreateDataWithDefaults instantiates a new SecurityFilterCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilterCreateData) GetAttributes ¶
func (o *SecurityFilterCreateData) GetAttributes() SecurityFilterCreateAttributes
GetAttributes returns the Attributes field value.
func (*SecurityFilterCreateData) GetAttributesOk ¶
func (o *SecurityFilterCreateData) GetAttributesOk() (*SecurityFilterCreateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*SecurityFilterCreateData) GetType ¶
func (o *SecurityFilterCreateData) GetType() SecurityFilterType
GetType returns the Type field value.
func (*SecurityFilterCreateData) GetTypeOk ¶
func (o *SecurityFilterCreateData) GetTypeOk() (*SecurityFilterType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (SecurityFilterCreateData) MarshalJSON ¶
func (o SecurityFilterCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilterCreateData) SetAttributes ¶
func (o *SecurityFilterCreateData) SetAttributes(v SecurityFilterCreateAttributes)
SetAttributes sets field value.
func (*SecurityFilterCreateData) SetType ¶
func (o *SecurityFilterCreateData) SetType(v SecurityFilterType)
SetType sets field value.
func (*SecurityFilterCreateData) UnmarshalJSON ¶
func (o *SecurityFilterCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFilterCreateRequest ¶
type SecurityFilterCreateRequest struct {
// Object for a single security filter.
Data SecurityFilterCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilterCreateRequest Request object that includes the security filter that you would like to create.
func NewSecurityFilterCreateRequest ¶
func NewSecurityFilterCreateRequest(data SecurityFilterCreateData) *SecurityFilterCreateRequest
NewSecurityFilterCreateRequest instantiates a new SecurityFilterCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterCreateRequestWithDefaults ¶
func NewSecurityFilterCreateRequestWithDefaults() *SecurityFilterCreateRequest
NewSecurityFilterCreateRequestWithDefaults instantiates a new SecurityFilterCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilterCreateRequest) GetData ¶
func (o *SecurityFilterCreateRequest) GetData() SecurityFilterCreateData
GetData returns the Data field value.
func (*SecurityFilterCreateRequest) GetDataOk ¶
func (o *SecurityFilterCreateRequest) GetDataOk() (*SecurityFilterCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecurityFilterCreateRequest) MarshalJSON ¶
func (o SecurityFilterCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilterCreateRequest) SetData ¶
func (o *SecurityFilterCreateRequest) SetData(v SecurityFilterCreateData)
SetData sets field value.
func (*SecurityFilterCreateRequest) UnmarshalJSON ¶
func (o *SecurityFilterCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFilterExclusionFilter ¶
type SecurityFilterExclusionFilter struct {
// Exclusion filter name.
Name string `json:"name"`
// Exclusion filter query. Logs that match this query are excluded from the security filter.
Query string `json:"query"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilterExclusionFilter Exclusion filter for the security filter.
func NewSecurityFilterExclusionFilter ¶
func NewSecurityFilterExclusionFilter(name string, query string) *SecurityFilterExclusionFilter
NewSecurityFilterExclusionFilter instantiates a new SecurityFilterExclusionFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterExclusionFilterWithDefaults ¶
func NewSecurityFilterExclusionFilterWithDefaults() *SecurityFilterExclusionFilter
NewSecurityFilterExclusionFilterWithDefaults instantiates a new SecurityFilterExclusionFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilterExclusionFilter) GetName ¶
func (o *SecurityFilterExclusionFilter) GetName() string
GetName returns the Name field value.
func (*SecurityFilterExclusionFilter) GetNameOk ¶
func (o *SecurityFilterExclusionFilter) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*SecurityFilterExclusionFilter) GetQuery ¶
func (o *SecurityFilterExclusionFilter) GetQuery() string
GetQuery returns the Query field value.
func (*SecurityFilterExclusionFilter) GetQueryOk ¶
func (o *SecurityFilterExclusionFilter) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (SecurityFilterExclusionFilter) MarshalJSON ¶
func (o SecurityFilterExclusionFilter) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilterExclusionFilter) SetName ¶
func (o *SecurityFilterExclusionFilter) SetName(v string)
SetName sets field value.
func (*SecurityFilterExclusionFilter) SetQuery ¶
func (o *SecurityFilterExclusionFilter) SetQuery(v string)
SetQuery sets field value.
func (*SecurityFilterExclusionFilter) UnmarshalJSON ¶
func (o *SecurityFilterExclusionFilter) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFilterExclusionFilterResponse ¶
type SecurityFilterExclusionFilterResponse struct {
// The exclusion filter name.
Name *string `json:"name,omitempty"`
// The exclusion filter query.
Query *string `json:"query,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilterExclusionFilterResponse A single exclusion filter.
func NewSecurityFilterExclusionFilterResponse ¶
func NewSecurityFilterExclusionFilterResponse() *SecurityFilterExclusionFilterResponse
NewSecurityFilterExclusionFilterResponse instantiates a new SecurityFilterExclusionFilterResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterExclusionFilterResponseWithDefaults ¶
func NewSecurityFilterExclusionFilterResponseWithDefaults() *SecurityFilterExclusionFilterResponse
NewSecurityFilterExclusionFilterResponseWithDefaults instantiates a new SecurityFilterExclusionFilterResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilterExclusionFilterResponse) GetName ¶
func (o *SecurityFilterExclusionFilterResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SecurityFilterExclusionFilterResponse) GetNameOk ¶
func (o *SecurityFilterExclusionFilterResponse) 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 (*SecurityFilterExclusionFilterResponse) GetQuery ¶
func (o *SecurityFilterExclusionFilterResponse) GetQuery() string
GetQuery returns the Query field value if set, zero value otherwise.
func (*SecurityFilterExclusionFilterResponse) GetQueryOk ¶
func (o *SecurityFilterExclusionFilterResponse) 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 (*SecurityFilterExclusionFilterResponse) HasName ¶
func (o *SecurityFilterExclusionFilterResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*SecurityFilterExclusionFilterResponse) HasQuery ¶
func (o *SecurityFilterExclusionFilterResponse) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (SecurityFilterExclusionFilterResponse) MarshalJSON ¶
func (o SecurityFilterExclusionFilterResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilterExclusionFilterResponse) SetName ¶
func (o *SecurityFilterExclusionFilterResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SecurityFilterExclusionFilterResponse) SetQuery ¶
func (o *SecurityFilterExclusionFilterResponse) SetQuery(v string)
SetQuery gets a reference to the given string and assigns it to the Query field.
func (*SecurityFilterExclusionFilterResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityFilterExclusionFilterResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFilterFilteredDataType ¶
type SecurityFilterFilteredDataType string
SecurityFilterFilteredDataType The filtered data type.
const (
SECURITYFILTERFILTEREDDATATYPE_LOGS SecurityFilterFilteredDataType = "logs"
)
List of SecurityFilterFilteredDataType.
func NewSecurityFilterFilteredDataTypeFromValue ¶
func NewSecurityFilterFilteredDataTypeFromValue(v string) (*SecurityFilterFilteredDataType, error)
NewSecurityFilterFilteredDataTypeFromValue returns a pointer to a valid SecurityFilterFilteredDataType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityFilterFilteredDataType) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityFilterFilteredDataType) GetAllowedValues() []SecurityFilterFilteredDataType
GetAllowedValues reeturns the list of possible values.
func (SecurityFilterFilteredDataType) IsValid ¶
func (v SecurityFilterFilteredDataType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityFilterFilteredDataType) Ptr ¶
func (v SecurityFilterFilteredDataType) Ptr() *SecurityFilterFilteredDataType
Ptr returns reference to SecurityFilterFilteredDataType value.
func (*SecurityFilterFilteredDataType) UnmarshalJSON ¶
func (v *SecurityFilterFilteredDataType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityFilterMeta ¶
type SecurityFilterMeta struct {
// A warning message.
Warning *string `json:"warning,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilterMeta Optional metadata associated to the response.
func NewSecurityFilterMeta ¶
func NewSecurityFilterMeta() *SecurityFilterMeta
NewSecurityFilterMeta instantiates a new SecurityFilterMeta object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterMetaWithDefaults ¶
func NewSecurityFilterMetaWithDefaults() *SecurityFilterMeta
NewSecurityFilterMetaWithDefaults instantiates a new SecurityFilterMeta object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilterMeta) GetWarning ¶
func (o *SecurityFilterMeta) GetWarning() string
GetWarning returns the Warning field value if set, zero value otherwise.
func (*SecurityFilterMeta) GetWarningOk ¶
func (o *SecurityFilterMeta) GetWarningOk() (*string, bool)
GetWarningOk returns a tuple with the Warning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilterMeta) HasWarning ¶
func (o *SecurityFilterMeta) HasWarning() bool
HasWarning returns a boolean if a field has been set.
func (SecurityFilterMeta) MarshalJSON ¶
func (o SecurityFilterMeta) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilterMeta) SetWarning ¶
func (o *SecurityFilterMeta) SetWarning(v string)
SetWarning gets a reference to the given string and assigns it to the Warning field.
func (*SecurityFilterMeta) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityFilterMeta) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFilterResponse ¶
type SecurityFilterResponse struct {
// The security filter's properties.
Data *SecurityFilter `json:"data,omitempty"`
// Optional metadata associated to the response.
Meta *SecurityFilterMeta `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilterResponse Response object which includes a single security filter.
func NewSecurityFilterResponse ¶
func NewSecurityFilterResponse() *SecurityFilterResponse
NewSecurityFilterResponse instantiates a new SecurityFilterResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterResponseWithDefaults ¶
func NewSecurityFilterResponseWithDefaults() *SecurityFilterResponse
NewSecurityFilterResponseWithDefaults instantiates a new SecurityFilterResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilterResponse) GetData ¶
func (o *SecurityFilterResponse) GetData() SecurityFilter
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 ¶
func (o *SecurityFilterResponse) GetMeta() SecurityFilterMeta
GetMeta returns the Meta field value if set, zero value otherwise.
func (*SecurityFilterResponse) GetMetaOk ¶
func (o *SecurityFilterResponse) GetMetaOk() (*SecurityFilterMeta, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilterResponse) HasData ¶
func (o *SecurityFilterResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*SecurityFilterResponse) HasMeta ¶
func (o *SecurityFilterResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (SecurityFilterResponse) MarshalJSON ¶
func (o SecurityFilterResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilterResponse) SetData ¶
func (o *SecurityFilterResponse) SetData(v SecurityFilter)
SetData gets a reference to the given SecurityFilter and assigns it to the Data field.
func (*SecurityFilterResponse) SetMeta ¶
func (o *SecurityFilterResponse) SetMeta(v SecurityFilterMeta)
SetMeta gets a reference to the given SecurityFilterMeta and assigns it to the Meta field.
func (*SecurityFilterResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityFilterResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFilterType ¶
type SecurityFilterType string
SecurityFilterType The type of the resource. The value should always be `security_filters`.
const (
SECURITYFILTERTYPE_SECURITY_FILTERS SecurityFilterType = "security_filters"
)
List of SecurityFilterType.
func NewSecurityFilterTypeFromValue ¶
func NewSecurityFilterTypeFromValue(v string) (*SecurityFilterType, error)
NewSecurityFilterTypeFromValue returns a pointer to a valid SecurityFilterType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityFilterType) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityFilterType) GetAllowedValues() []SecurityFilterType
GetAllowedValues reeturns the list of possible values.
func (SecurityFilterType) IsValid ¶
func (v SecurityFilterType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityFilterType) Ptr ¶
func (v SecurityFilterType) Ptr() *SecurityFilterType
Ptr returns reference to SecurityFilterType value.
func (*SecurityFilterType) UnmarshalJSON ¶
func (v *SecurityFilterType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityFilterUpdateAttributes ¶
type SecurityFilterUpdateAttributes struct {
// Exclusion filters to exclude some logs from the security filter.
ExclusionFilters []SecurityFilterExclusionFilter `json:"exclusion_filters,omitempty"`
// The filtered data type.
FilteredDataType *SecurityFilterFilteredDataType `json:"filtered_data_type,omitempty"`
// Whether the security filter is enabled.
IsEnabled *bool `json:"is_enabled,omitempty"`
// The name of the security filter.
Name *string `json:"name,omitempty"`
// The query of the security filter.
Query *string `json:"query,omitempty"`
// The version of the security filter to update.
Version *int32 `json:"version,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilterUpdateAttributes The security filters properties to be updated.
func NewSecurityFilterUpdateAttributes ¶
func NewSecurityFilterUpdateAttributes() *SecurityFilterUpdateAttributes
NewSecurityFilterUpdateAttributes instantiates a new SecurityFilterUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterUpdateAttributesWithDefaults ¶
func NewSecurityFilterUpdateAttributesWithDefaults() *SecurityFilterUpdateAttributes
NewSecurityFilterUpdateAttributesWithDefaults instantiates a new SecurityFilterUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilterUpdateAttributes) GetExclusionFilters ¶
func (o *SecurityFilterUpdateAttributes) GetExclusionFilters() []SecurityFilterExclusionFilter
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 ¶
func (o *SecurityFilterUpdateAttributes) GetFilteredDataType() SecurityFilterFilteredDataType
GetFilteredDataType returns the FilteredDataType field value if set, zero value otherwise.
func (*SecurityFilterUpdateAttributes) GetFilteredDataTypeOk ¶
func (o *SecurityFilterUpdateAttributes) 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 (*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 ¶
func (o *SecurityFilterUpdateAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SecurityFilterUpdateAttributes) GetNameOk ¶
func (o *SecurityFilterUpdateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilterUpdateAttributes) GetQuery ¶
func (o *SecurityFilterUpdateAttributes) GetQuery() string
GetQuery returns the Query field value if set, zero value otherwise.
func (*SecurityFilterUpdateAttributes) GetQueryOk ¶
func (o *SecurityFilterUpdateAttributes) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilterUpdateAttributes) GetVersion ¶
func (o *SecurityFilterUpdateAttributes) GetVersion() int32
GetVersion returns the Version field value if set, zero value otherwise.
func (*SecurityFilterUpdateAttributes) GetVersionOk ¶
func (o *SecurityFilterUpdateAttributes) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFilterUpdateAttributes) HasExclusionFilters ¶
func (o *SecurityFilterUpdateAttributes) HasExclusionFilters() bool
HasExclusionFilters returns a boolean if a field has been set.
func (*SecurityFilterUpdateAttributes) HasFilteredDataType ¶
func (o *SecurityFilterUpdateAttributes) HasFilteredDataType() bool
HasFilteredDataType returns a boolean if a field has been set.
func (*SecurityFilterUpdateAttributes) HasIsEnabled ¶
func (o *SecurityFilterUpdateAttributes) HasIsEnabled() bool
HasIsEnabled returns a boolean if a field has been set.
func (*SecurityFilterUpdateAttributes) HasName ¶
func (o *SecurityFilterUpdateAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*SecurityFilterUpdateAttributes) HasQuery ¶
func (o *SecurityFilterUpdateAttributes) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*SecurityFilterUpdateAttributes) HasVersion ¶
func (o *SecurityFilterUpdateAttributes) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (SecurityFilterUpdateAttributes) MarshalJSON ¶
func (o SecurityFilterUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilterUpdateAttributes) SetExclusionFilters ¶
func (o *SecurityFilterUpdateAttributes) SetExclusionFilters(v []SecurityFilterExclusionFilter)
SetExclusionFilters gets a reference to the given []SecurityFilterExclusionFilter and assigns it to the ExclusionFilters field.
func (*SecurityFilterUpdateAttributes) SetFilteredDataType ¶
func (o *SecurityFilterUpdateAttributes) SetFilteredDataType(v SecurityFilterFilteredDataType)
SetFilteredDataType gets a reference to the given SecurityFilterFilteredDataType and assigns it to the FilteredDataType field.
func (*SecurityFilterUpdateAttributes) SetIsEnabled ¶
func (o *SecurityFilterUpdateAttributes) SetIsEnabled(v bool)
SetIsEnabled gets a reference to the given bool and assigns it to the IsEnabled field.
func (*SecurityFilterUpdateAttributes) SetName ¶
func (o *SecurityFilterUpdateAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SecurityFilterUpdateAttributes) SetQuery ¶
func (o *SecurityFilterUpdateAttributes) SetQuery(v string)
SetQuery gets a reference to the given string and assigns it to the Query field.
func (*SecurityFilterUpdateAttributes) SetVersion ¶
func (o *SecurityFilterUpdateAttributes) SetVersion(v int32)
SetVersion gets a reference to the given int32 and assigns it to the Version field.
func (*SecurityFilterUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityFilterUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFilterUpdateData ¶
type SecurityFilterUpdateData struct {
// The security filters properties to be updated.
Attributes SecurityFilterUpdateAttributes `json:"attributes"`
// The type of the resource. The value should always be `security_filters`.
Type SecurityFilterType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilterUpdateData The new security filter properties.
func NewSecurityFilterUpdateData ¶
func NewSecurityFilterUpdateData(attributes SecurityFilterUpdateAttributes, typeVar SecurityFilterType) *SecurityFilterUpdateData
NewSecurityFilterUpdateData instantiates a new SecurityFilterUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterUpdateDataWithDefaults ¶
func NewSecurityFilterUpdateDataWithDefaults() *SecurityFilterUpdateData
NewSecurityFilterUpdateDataWithDefaults instantiates a new SecurityFilterUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilterUpdateData) GetAttributes ¶
func (o *SecurityFilterUpdateData) GetAttributes() SecurityFilterUpdateAttributes
GetAttributes returns the Attributes field value.
func (*SecurityFilterUpdateData) GetAttributesOk ¶
func (o *SecurityFilterUpdateData) GetAttributesOk() (*SecurityFilterUpdateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*SecurityFilterUpdateData) GetType ¶
func (o *SecurityFilterUpdateData) GetType() SecurityFilterType
GetType returns the Type field value.
func (*SecurityFilterUpdateData) GetTypeOk ¶
func (o *SecurityFilterUpdateData) GetTypeOk() (*SecurityFilterType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (SecurityFilterUpdateData) MarshalJSON ¶
func (o SecurityFilterUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilterUpdateData) SetAttributes ¶
func (o *SecurityFilterUpdateData) SetAttributes(v SecurityFilterUpdateAttributes)
SetAttributes sets field value.
func (*SecurityFilterUpdateData) SetType ¶
func (o *SecurityFilterUpdateData) SetType(v SecurityFilterType)
SetType sets field value.
func (*SecurityFilterUpdateData) UnmarshalJSON ¶
func (o *SecurityFilterUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFilterUpdateRequest ¶
type SecurityFilterUpdateRequest struct {
// The new security filter properties.
Data SecurityFilterUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFilterUpdateRequest The new security filter body.
func NewSecurityFilterUpdateRequest ¶
func NewSecurityFilterUpdateRequest(data SecurityFilterUpdateData) *SecurityFilterUpdateRequest
NewSecurityFilterUpdateRequest instantiates a new SecurityFilterUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFilterUpdateRequestWithDefaults ¶
func NewSecurityFilterUpdateRequestWithDefaults() *SecurityFilterUpdateRequest
NewSecurityFilterUpdateRequestWithDefaults instantiates a new SecurityFilterUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFilterUpdateRequest) GetData ¶
func (o *SecurityFilterUpdateRequest) GetData() SecurityFilterUpdateData
GetData returns the Data field value.
func (*SecurityFilterUpdateRequest) GetDataOk ¶
func (o *SecurityFilterUpdateRequest) GetDataOk() (*SecurityFilterUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecurityFilterUpdateRequest) MarshalJSON ¶
func (o SecurityFilterUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFilterUpdateRequest) SetData ¶
func (o *SecurityFilterUpdateRequest) SetData(v SecurityFilterUpdateData)
SetData sets field value.
func (*SecurityFilterUpdateRequest) UnmarshalJSON ¶
func (o *SecurityFilterUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityFiltersResponse ¶
type SecurityFiltersResponse struct {
// A list of security filters objects.
Data []SecurityFilter `json:"data,omitempty"`
// Optional metadata associated to the response.
Meta *SecurityFilterMeta `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityFiltersResponse All the available security filters objects.
func NewSecurityFiltersResponse ¶
func NewSecurityFiltersResponse() *SecurityFiltersResponse
NewSecurityFiltersResponse instantiates a new SecurityFiltersResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityFiltersResponseWithDefaults ¶
func NewSecurityFiltersResponseWithDefaults() *SecurityFiltersResponse
NewSecurityFiltersResponseWithDefaults instantiates a new SecurityFiltersResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityFiltersResponse) GetData ¶
func (o *SecurityFiltersResponse) GetData() []SecurityFilter
GetData returns the Data field value if set, zero value otherwise.
func (*SecurityFiltersResponse) GetDataOk ¶
func (o *SecurityFiltersResponse) GetDataOk() (*[]SecurityFilter, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFiltersResponse) GetMeta ¶
func (o *SecurityFiltersResponse) GetMeta() SecurityFilterMeta
GetMeta returns the Meta field value if set, zero value otherwise.
func (*SecurityFiltersResponse) GetMetaOk ¶
func (o *SecurityFiltersResponse) GetMetaOk() (*SecurityFilterMeta, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityFiltersResponse) HasData ¶
func (o *SecurityFiltersResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*SecurityFiltersResponse) HasMeta ¶
func (o *SecurityFiltersResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (SecurityFiltersResponse) MarshalJSON ¶
func (o SecurityFiltersResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityFiltersResponse) SetData ¶
func (o *SecurityFiltersResponse) SetData(v []SecurityFilter)
SetData gets a reference to the given []SecurityFilter and assigns it to the Data field.
func (*SecurityFiltersResponse) SetMeta ¶
func (o *SecurityFiltersResponse) SetMeta(v SecurityFilterMeta)
SetMeta gets a reference to the given SecurityFilterMeta and assigns it to the Meta field.
func (*SecurityFiltersResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityFiltersResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringApiService ¶
type SecurityMonitoringApiService service
SecurityMonitoringApiService SecurityMonitoringApi service.
func (*SecurityMonitoringApiService) CreateSecurityFilter ¶
func (a *SecurityMonitoringApiService) CreateSecurityFilter(ctx _context.Context, body SecurityFilterCreateRequest) (SecurityFilterResponse, *_nethttp.Response, error)
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 ¶
func (a *SecurityMonitoringApiService) CreateSecurityMonitoringRule(ctx _context.Context, body SecurityMonitoringRuleCreatePayload) (SecurityMonitoringRuleResponse, *_nethttp.Response, error)
CreateSecurityMonitoringRule Create a detection rule. Create a detection rule.
func (*SecurityMonitoringApiService) DeleteSecurityFilter ¶
func (a *SecurityMonitoringApiService) DeleteSecurityFilter(ctx _context.Context, securityFilterId string) (*_nethttp.Response, error)
DeleteSecurityFilter Delete a security filter. Delete a specific security filter.
func (*SecurityMonitoringApiService) DeleteSecurityMonitoringRule ¶
func (a *SecurityMonitoringApiService) DeleteSecurityMonitoringRule(ctx _context.Context, ruleId string) (*_nethttp.Response, error)
DeleteSecurityMonitoringRule Delete an existing rule. Delete an existing rule. Default rules cannot be deleted.
func (*SecurityMonitoringApiService) EditSecurityMonitoringSignalAssignee ¶ added in v1.16.0
func (a *SecurityMonitoringApiService) EditSecurityMonitoringSignalAssignee(ctx _context.Context, signalId string, body SecurityMonitoringSignalAssigneeUpdateRequest) (SecurityMonitoringSignalTriageUpdateResponse, *_nethttp.Response, error)
EditSecurityMonitoringSignalAssignee Modify the triage assignee of a security signal. Modify the triage assignee of a security signal.
func (*SecurityMonitoringApiService) EditSecurityMonitoringSignalIncidents ¶ added in v1.16.0
func (a *SecurityMonitoringApiService) EditSecurityMonitoringSignalIncidents(ctx _context.Context, signalId string, body SecurityMonitoringSignalIncidentsUpdateRequest) (SecurityMonitoringSignalTriageUpdateResponse, *_nethttp.Response, error)
EditSecurityMonitoringSignalIncidents Change the related incidents of a security signal. Change the related incidents for a security signal.
func (*SecurityMonitoringApiService) EditSecurityMonitoringSignalState ¶ added in v1.16.0
func (a *SecurityMonitoringApiService) EditSecurityMonitoringSignalState(ctx _context.Context, signalId string, body SecurityMonitoringSignalStateUpdateRequest) (SecurityMonitoringSignalTriageUpdateResponse, *_nethttp.Response, error)
EditSecurityMonitoringSignalState Change the triage state of a security signal. Change the triage state of a security signal.
func (*SecurityMonitoringApiService) GetSecurityFilter ¶
func (a *SecurityMonitoringApiService) GetSecurityFilter(ctx _context.Context, securityFilterId string) (SecurityFilterResponse, *_nethttp.Response, error)
GetSecurityFilter Get a security filter. Get the details of a specific security filter.
See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) for more examples.
func (*SecurityMonitoringApiService) GetSecurityMonitoringRule ¶
func (a *SecurityMonitoringApiService) GetSecurityMonitoringRule(ctx _context.Context, ruleId string) (SecurityMonitoringRuleResponse, *_nethttp.Response, error)
GetSecurityMonitoringRule Get a rule's details. Get a rule's details.
func (*SecurityMonitoringApiService) ListSecurityFilters ¶
func (a *SecurityMonitoringApiService) ListSecurityFilters(ctx _context.Context) (SecurityFiltersResponse, *_nethttp.Response, error)
ListSecurityFilters Get all security filters. Get the list of configured security filters with their definitions.
func (*SecurityMonitoringApiService) ListSecurityMonitoringRules ¶
func (a *SecurityMonitoringApiService) ListSecurityMonitoringRules(ctx _context.Context, o ...ListSecurityMonitoringRulesOptionalParameters) (SecurityMonitoringListRulesResponse, *_nethttp.Response, error)
ListSecurityMonitoringRules List rules. List rules.
func (*SecurityMonitoringApiService) ListSecurityMonitoringSignals ¶
func (a *SecurityMonitoringApiService) ListSecurityMonitoringSignals(ctx _context.Context, o ...ListSecurityMonitoringSignalsOptionalParameters) (SecurityMonitoringSignalsListResponse, *_nethttp.Response, error)
ListSecurityMonitoringSignals Get a quick list of security signals. The list endpoint returns security signals that match a search query. Both this endpoint and the POST endpoint can be used interchangeably when listing security signals.
func (*SecurityMonitoringApiService) ListSecurityMonitoringSignalsWithPagination ¶ added in v1.14.0
func (a *SecurityMonitoringApiService) ListSecurityMonitoringSignalsWithPagination(ctx _context.Context, o ...ListSecurityMonitoringSignalsOptionalParameters) (<-chan SecurityMonitoringSignal, func(), error)
ListSecurityMonitoringSignalsWithPagination provides a paginated version of ListSecurityMonitoringSignals returning a channel with all items.
func (*SecurityMonitoringApiService) SearchSecurityMonitoringSignals ¶
func (a *SecurityMonitoringApiService) SearchSecurityMonitoringSignals(ctx _context.Context, o ...SearchSecurityMonitoringSignalsOptionalParameters) (SecurityMonitoringSignalsListResponse, *_nethttp.Response, error)
SearchSecurityMonitoringSignals Get a list of security signals. Returns security signals that match a search query. Both this endpoint and the GET endpoint can be used interchangeably for listing security signals.
func (*SecurityMonitoringApiService) SearchSecurityMonitoringSignalsWithPagination ¶ added in v1.14.0
func (a *SecurityMonitoringApiService) SearchSecurityMonitoringSignalsWithPagination(ctx _context.Context, o ...SearchSecurityMonitoringSignalsOptionalParameters) (<-chan SecurityMonitoringSignal, func(), error)
SearchSecurityMonitoringSignalsWithPagination provides a paginated version of SearchSecurityMonitoringSignals returning a channel with all items.
func (*SecurityMonitoringApiService) UpdateSecurityFilter ¶
func (a *SecurityMonitoringApiService) UpdateSecurityFilter(ctx _context.Context, securityFilterId string, body SecurityFilterUpdateRequest) (SecurityFilterResponse, *_nethttp.Response, error)
UpdateSecurityFilter Update a security filter. Update a specific security filter. Returns the security filter object when the request is successful.
func (*SecurityMonitoringApiService) UpdateSecurityMonitoringRule ¶
func (a *SecurityMonitoringApiService) UpdateSecurityMonitoringRule(ctx _context.Context, ruleId string, body SecurityMonitoringRuleUpdatePayload) (SecurityMonitoringRuleResponse, *_nethttp.Response, error)
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 ¶
func (o *SecurityMonitoringFilter) GetAction() SecurityMonitoringFilterAction
GetAction returns the Action field value if set, zero value otherwise.
func (*SecurityMonitoringFilter) GetActionOk ¶
func (o *SecurityMonitoringFilter) GetActionOk() (*SecurityMonitoringFilterAction, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringFilter) GetQuery ¶
func (o *SecurityMonitoringFilter) GetQuery() string
GetQuery returns the Query field value if set, zero value otherwise.
func (*SecurityMonitoringFilter) GetQueryOk ¶
func (o *SecurityMonitoringFilter) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringFilter) HasAction ¶
func (o *SecurityMonitoringFilter) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*SecurityMonitoringFilter) HasQuery ¶
func (o *SecurityMonitoringFilter) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (SecurityMonitoringFilter) MarshalJSON ¶
func (o SecurityMonitoringFilter) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringFilter) SetAction ¶
func (o *SecurityMonitoringFilter) SetAction(v SecurityMonitoringFilterAction)
SetAction gets a reference to the given SecurityMonitoringFilterAction and assigns it to the Action field.
func (*SecurityMonitoringFilter) SetQuery ¶
func (o *SecurityMonitoringFilter) SetQuery(v string)
SetQuery gets a reference to the given string and assigns it to the Query field.
func (*SecurityMonitoringFilter) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringFilter) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringFilterAction ¶
type SecurityMonitoringFilterAction string
SecurityMonitoringFilterAction The type of filtering action.
const ( SECURITYMONITORINGFILTERACTION_REQUIRE SecurityMonitoringFilterAction = "require" SECURITYMONITORINGFILTERACTION_SUPPRESS SecurityMonitoringFilterAction = "suppress" )
List of SecurityMonitoringFilterAction.
func NewSecurityMonitoringFilterActionFromValue ¶
func NewSecurityMonitoringFilterActionFromValue(v string) (*SecurityMonitoringFilterAction, error)
NewSecurityMonitoringFilterActionFromValue returns a pointer to a valid SecurityMonitoringFilterAction for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringFilterAction) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityMonitoringFilterAction) GetAllowedValues() []SecurityMonitoringFilterAction
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringFilterAction) IsValid ¶
func (v SecurityMonitoringFilterAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringFilterAction) Ptr ¶
func (v SecurityMonitoringFilterAction) Ptr() *SecurityMonitoringFilterAction
Ptr returns reference to SecurityMonitoringFilterAction value.
func (*SecurityMonitoringFilterAction) UnmarshalJSON ¶
func (v *SecurityMonitoringFilterAction) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringListRulesResponse ¶
type SecurityMonitoringListRulesResponse struct {
// Array containing the list of rules.
Data []SecurityMonitoringRuleResponse `json:"data,omitempty"`
// Object describing meta attributes of response.
Meta *ResponseMetaAttributes `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringListRulesResponse List of rules.
func NewSecurityMonitoringListRulesResponse ¶
func NewSecurityMonitoringListRulesResponse() *SecurityMonitoringListRulesResponse
NewSecurityMonitoringListRulesResponse instantiates a new SecurityMonitoringListRulesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringListRulesResponseWithDefaults ¶
func NewSecurityMonitoringListRulesResponseWithDefaults() *SecurityMonitoringListRulesResponse
NewSecurityMonitoringListRulesResponseWithDefaults instantiates a new SecurityMonitoringListRulesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringListRulesResponse) GetData ¶
func (o *SecurityMonitoringListRulesResponse) GetData() []SecurityMonitoringRuleResponse
GetData returns the Data field value if set, zero value otherwise.
func (*SecurityMonitoringListRulesResponse) GetDataOk ¶
func (o *SecurityMonitoringListRulesResponse) GetDataOk() (*[]SecurityMonitoringRuleResponse, 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 (*SecurityMonitoringListRulesResponse) GetMeta ¶
func (o *SecurityMonitoringListRulesResponse) GetMeta() ResponseMetaAttributes
GetMeta returns the Meta field value if set, zero value otherwise.
func (*SecurityMonitoringListRulesResponse) GetMetaOk ¶
func (o *SecurityMonitoringListRulesResponse) 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 (*SecurityMonitoringListRulesResponse) HasData ¶
func (o *SecurityMonitoringListRulesResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*SecurityMonitoringListRulesResponse) HasMeta ¶
func (o *SecurityMonitoringListRulesResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (SecurityMonitoringListRulesResponse) MarshalJSON ¶
func (o SecurityMonitoringListRulesResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringListRulesResponse) SetData ¶
func (o *SecurityMonitoringListRulesResponse) SetData(v []SecurityMonitoringRuleResponse)
SetData gets a reference to the given []SecurityMonitoringRuleResponse and assigns it to the Data field.
func (*SecurityMonitoringListRulesResponse) SetMeta ¶
func (o *SecurityMonitoringListRulesResponse) SetMeta(v ResponseMetaAttributes)
SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.
func (*SecurityMonitoringListRulesResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringListRulesResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleCase ¶
type SecurityMonitoringRuleCase struct {
// A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated
// based on the event counts in the previously defined queries.
Condition *string `json:"condition,omitempty"`
// Name of the case.
Name *string `json:"name,omitempty"`
// Notification targets for each rule case.
Notifications []string `json:"notifications,omitempty"`
// Severity of the Security Signal.
Status *SecurityMonitoringRuleSeverity `json:"status,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringRuleCase Case when signal is generated.
func NewSecurityMonitoringRuleCase ¶
func NewSecurityMonitoringRuleCase() *SecurityMonitoringRuleCase
NewSecurityMonitoringRuleCase instantiates a new SecurityMonitoringRuleCase object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringRuleCaseWithDefaults ¶
func NewSecurityMonitoringRuleCaseWithDefaults() *SecurityMonitoringRuleCase
NewSecurityMonitoringRuleCaseWithDefaults instantiates a new SecurityMonitoringRuleCase object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringRuleCase) GetCondition ¶
func (o *SecurityMonitoringRuleCase) GetCondition() string
GetCondition returns the Condition field value if set, zero value otherwise.
func (*SecurityMonitoringRuleCase) GetConditionOk ¶
func (o *SecurityMonitoringRuleCase) GetConditionOk() (*string, bool)
GetConditionOk returns a tuple with the Condition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleCase) GetName ¶
func (o *SecurityMonitoringRuleCase) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SecurityMonitoringRuleCase) GetNameOk ¶
func (o *SecurityMonitoringRuleCase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleCase) GetNotifications ¶
func (o *SecurityMonitoringRuleCase) GetNotifications() []string
GetNotifications returns the Notifications field value if set, zero value otherwise.
func (*SecurityMonitoringRuleCase) GetNotificationsOk ¶
func (o *SecurityMonitoringRuleCase) GetNotificationsOk() (*[]string, bool)
GetNotificationsOk returns a tuple with the Notifications field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleCase) GetStatus ¶
func (o *SecurityMonitoringRuleCase) GetStatus() SecurityMonitoringRuleSeverity
GetStatus returns the Status field value if set, zero value otherwise.
func (*SecurityMonitoringRuleCase) GetStatusOk ¶
func (o *SecurityMonitoringRuleCase) GetStatusOk() (*SecurityMonitoringRuleSeverity, 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 (*SecurityMonitoringRuleCase) HasCondition ¶
func (o *SecurityMonitoringRuleCase) HasCondition() bool
HasCondition returns a boolean if a field has been set.
func (*SecurityMonitoringRuleCase) HasName ¶
func (o *SecurityMonitoringRuleCase) HasName() bool
HasName returns a boolean if a field has been set.
func (*SecurityMonitoringRuleCase) HasNotifications ¶
func (o *SecurityMonitoringRuleCase) HasNotifications() bool
HasNotifications returns a boolean if a field has been set.
func (*SecurityMonitoringRuleCase) HasStatus ¶
func (o *SecurityMonitoringRuleCase) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (SecurityMonitoringRuleCase) MarshalJSON ¶
func (o SecurityMonitoringRuleCase) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringRuleCase) SetCondition ¶
func (o *SecurityMonitoringRuleCase) SetCondition(v string)
SetCondition gets a reference to the given string and assigns it to the Condition field.
func (*SecurityMonitoringRuleCase) SetName ¶
func (o *SecurityMonitoringRuleCase) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SecurityMonitoringRuleCase) SetNotifications ¶
func (o *SecurityMonitoringRuleCase) SetNotifications(v []string)
SetNotifications gets a reference to the given []string and assigns it to the Notifications field.
func (*SecurityMonitoringRuleCase) SetStatus ¶
func (o *SecurityMonitoringRuleCase) SetStatus(v SecurityMonitoringRuleSeverity)
SetStatus gets a reference to the given SecurityMonitoringRuleSeverity and assigns it to the Status field.
func (*SecurityMonitoringRuleCase) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringRuleCase) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleCaseCreate ¶
type SecurityMonitoringRuleCaseCreate struct {
// A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated
// based on the event counts in the previously defined queries.
Condition *string `json:"condition,omitempty"`
// Name of the case.
Name *string `json:"name,omitempty"`
// Notification targets for each rule case.
Notifications []string `json:"notifications,omitempty"`
// Severity of the Security Signal.
Status SecurityMonitoringRuleSeverity `json:"status"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringRuleCaseCreate Case when signal is generated.
func NewSecurityMonitoringRuleCaseCreate ¶
func NewSecurityMonitoringRuleCaseCreate(status SecurityMonitoringRuleSeverity) *SecurityMonitoringRuleCaseCreate
NewSecurityMonitoringRuleCaseCreate instantiates a new SecurityMonitoringRuleCaseCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringRuleCaseCreateWithDefaults ¶
func NewSecurityMonitoringRuleCaseCreateWithDefaults() *SecurityMonitoringRuleCaseCreate
NewSecurityMonitoringRuleCaseCreateWithDefaults instantiates a new SecurityMonitoringRuleCaseCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringRuleCaseCreate) GetCondition ¶
func (o *SecurityMonitoringRuleCaseCreate) GetCondition() string
GetCondition returns the Condition field value if set, zero value otherwise.
func (*SecurityMonitoringRuleCaseCreate) GetConditionOk ¶
func (o *SecurityMonitoringRuleCaseCreate) GetConditionOk() (*string, bool)
GetConditionOk returns a tuple with the Condition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleCaseCreate) GetName ¶
func (o *SecurityMonitoringRuleCaseCreate) GetName() string
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 ¶
func (o *SecurityMonitoringRuleCaseCreate) GetStatus() SecurityMonitoringRuleSeverity
GetStatus returns the Status field value.
func (*SecurityMonitoringRuleCaseCreate) GetStatusOk ¶
func (o *SecurityMonitoringRuleCaseCreate) GetStatusOk() (*SecurityMonitoringRuleSeverity, bool)
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 ¶
func (o *SecurityMonitoringRuleCaseCreate) HasName() bool
HasName returns a boolean if a field has been set.
func (*SecurityMonitoringRuleCaseCreate) HasNotifications ¶
func (o *SecurityMonitoringRuleCaseCreate) HasNotifications() bool
HasNotifications returns a boolean if a field has been set.
func (SecurityMonitoringRuleCaseCreate) MarshalJSON ¶
func (o SecurityMonitoringRuleCaseCreate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringRuleCaseCreate) SetCondition ¶
func (o *SecurityMonitoringRuleCaseCreate) SetCondition(v string)
SetCondition gets a reference to the given string and assigns it to the Condition field.
func (*SecurityMonitoringRuleCaseCreate) SetName ¶
func (o *SecurityMonitoringRuleCaseCreate) SetName(v string)
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 ¶
func (o *SecurityMonitoringRuleCaseCreate) SetStatus(v SecurityMonitoringRuleSeverity)
SetStatus sets field value.
func (*SecurityMonitoringRuleCaseCreate) UnmarshalJSON ¶
func (o *SecurityMonitoringRuleCaseCreate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleCreatePayload ¶
type SecurityMonitoringRuleCreatePayload struct {
// Cases for generating signals.
Cases []SecurityMonitoringRuleCaseCreate `json:"cases"`
// Additional queries to filter matched events before they are processed.
Filters []SecurityMonitoringFilter `json:"filters,omitempty"`
// Whether the notifications include the triggering group-by values in their title.
HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty"`
// Whether the rule is enabled.
IsEnabled bool `json:"isEnabled"`
// Message for generated signals.
Message string `json:"message"`
// The name of the rule.
Name string `json:"name"`
// Options on rules.
Options SecurityMonitoringRuleOptions `json:"options"`
// Queries for selecting logs which are part of the rule.
Queries []SecurityMonitoringRuleQueryCreate `json:"queries"`
// Tags for generated signals.
Tags []string `json:"tags,omitempty"`
// The rule type.
Type *SecurityMonitoringRuleTypeCreate `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringRuleCreatePayload Create a new rule.
func NewSecurityMonitoringRuleCreatePayload ¶
func NewSecurityMonitoringRuleCreatePayload(cases []SecurityMonitoringRuleCaseCreate, isEnabled bool, message string, name string, options SecurityMonitoringRuleOptions, queries []SecurityMonitoringRuleQueryCreate) *SecurityMonitoringRuleCreatePayload
NewSecurityMonitoringRuleCreatePayload instantiates a new SecurityMonitoringRuleCreatePayload object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringRuleCreatePayloadWithDefaults ¶
func NewSecurityMonitoringRuleCreatePayloadWithDefaults() *SecurityMonitoringRuleCreatePayload
NewSecurityMonitoringRuleCreatePayloadWithDefaults instantiates a new SecurityMonitoringRuleCreatePayload object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringRuleCreatePayload) GetCases ¶
func (o *SecurityMonitoringRuleCreatePayload) GetCases() []SecurityMonitoringRuleCaseCreate
GetCases returns the Cases field value.
func (*SecurityMonitoringRuleCreatePayload) GetCasesOk ¶
func (o *SecurityMonitoringRuleCreatePayload) GetCasesOk() (*[]SecurityMonitoringRuleCaseCreate, bool)
GetCasesOk returns a tuple with the Cases field value and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleCreatePayload) GetFilters ¶
func (o *SecurityMonitoringRuleCreatePayload) GetFilters() []SecurityMonitoringFilter
GetFilters returns the Filters field value if set, zero value otherwise.
func (*SecurityMonitoringRuleCreatePayload) GetFiltersOk ¶
func (o *SecurityMonitoringRuleCreatePayload) GetFiltersOk() (*[]SecurityMonitoringFilter, bool)
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 ¶
func (o *SecurityMonitoringRuleCreatePayload) GetMessage() string
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 ¶
func (o *SecurityMonitoringRuleCreatePayload) GetName() string
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 ¶
func (o *SecurityMonitoringRuleCreatePayload) GetOptions() SecurityMonitoringRuleOptions
GetOptions returns the Options field value.
func (*SecurityMonitoringRuleCreatePayload) GetOptionsOk ¶
func (o *SecurityMonitoringRuleCreatePayload) GetOptionsOk() (*SecurityMonitoringRuleOptions, bool)
GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleCreatePayload) GetQueries ¶
func (o *SecurityMonitoringRuleCreatePayload) GetQueries() []SecurityMonitoringRuleQueryCreate
GetQueries returns the Queries field value.
func (*SecurityMonitoringRuleCreatePayload) GetQueriesOk ¶
func (o *SecurityMonitoringRuleCreatePayload) GetQueriesOk() (*[]SecurityMonitoringRuleQueryCreate, bool)
GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleCreatePayload) GetTags ¶
func (o *SecurityMonitoringRuleCreatePayload) GetTags() []string
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
func (o *SecurityMonitoringRuleCreatePayload) GetType() SecurityMonitoringRuleTypeCreate
GetType returns the Type field value if set, zero value otherwise.
func (*SecurityMonitoringRuleCreatePayload) GetTypeOk ¶ added in v1.3.0
func (o *SecurityMonitoringRuleCreatePayload) GetTypeOk() (*SecurityMonitoringRuleTypeCreate, 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 (*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 ¶
func (o *SecurityMonitoringRuleCreatePayload) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*SecurityMonitoringRuleCreatePayload) HasType ¶ added in v1.3.0
func (o *SecurityMonitoringRuleCreatePayload) HasType() bool
HasType returns a boolean if a field has been set.
func (SecurityMonitoringRuleCreatePayload) MarshalJSON ¶
func (o SecurityMonitoringRuleCreatePayload) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringRuleCreatePayload) SetCases ¶
func (o *SecurityMonitoringRuleCreatePayload) SetCases(v []SecurityMonitoringRuleCaseCreate)
SetCases sets field value.
func (*SecurityMonitoringRuleCreatePayload) SetFilters ¶
func (o *SecurityMonitoringRuleCreatePayload) SetFilters(v []SecurityMonitoringFilter)
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 ¶
func (o *SecurityMonitoringRuleCreatePayload) SetMessage(v string)
SetMessage sets field value.
func (*SecurityMonitoringRuleCreatePayload) SetName ¶
func (o *SecurityMonitoringRuleCreatePayload) SetName(v string)
SetName sets field value.
func (*SecurityMonitoringRuleCreatePayload) SetOptions ¶
func (o *SecurityMonitoringRuleCreatePayload) SetOptions(v SecurityMonitoringRuleOptions)
SetOptions sets field value.
func (*SecurityMonitoringRuleCreatePayload) SetQueries ¶
func (o *SecurityMonitoringRuleCreatePayload) SetQueries(v []SecurityMonitoringRuleQueryCreate)
SetQueries sets field value.
func (*SecurityMonitoringRuleCreatePayload) SetTags ¶
func (o *SecurityMonitoringRuleCreatePayload) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*SecurityMonitoringRuleCreatePayload) SetType ¶ added in v1.3.0
func (o *SecurityMonitoringRuleCreatePayload) SetType(v SecurityMonitoringRuleTypeCreate)
SetType gets a reference to the given SecurityMonitoringRuleTypeCreate and assigns it to the Type field.
func (*SecurityMonitoringRuleCreatePayload) UnmarshalJSON ¶
func (o *SecurityMonitoringRuleCreatePayload) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleDetectionMethod ¶
type SecurityMonitoringRuleDetectionMethod string
SecurityMonitoringRuleDetectionMethod The detection method.
const ( SECURITYMONITORINGRULEDETECTIONMETHOD_THRESHOLD SecurityMonitoringRuleDetectionMethod = "threshold" SECURITYMONITORINGRULEDETECTIONMETHOD_NEW_VALUE SecurityMonitoringRuleDetectionMethod = "new_value" SECURITYMONITORINGRULEDETECTIONMETHOD_ANOMALY_DETECTION SecurityMonitoringRuleDetectionMethod = "anomaly_detection" SECURITYMONITORINGRULEDETECTIONMETHOD_IMPOSSIBLE_TRAVEL SecurityMonitoringRuleDetectionMethod = "impossible_travel" SECURITYMONITORINGRULEDETECTIONMETHOD_HARDCODED SecurityMonitoringRuleDetectionMethod = "hardcoded" )
List of SecurityMonitoringRuleDetectionMethod.
func NewSecurityMonitoringRuleDetectionMethodFromValue ¶
func NewSecurityMonitoringRuleDetectionMethodFromValue(v string) (*SecurityMonitoringRuleDetectionMethod, error)
NewSecurityMonitoringRuleDetectionMethodFromValue returns a pointer to a valid SecurityMonitoringRuleDetectionMethod for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleDetectionMethod) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityMonitoringRuleDetectionMethod) GetAllowedValues() []SecurityMonitoringRuleDetectionMethod
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleDetectionMethod) IsValid ¶
func (v SecurityMonitoringRuleDetectionMethod) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleDetectionMethod) Ptr ¶
Ptr returns reference to SecurityMonitoringRuleDetectionMethod value.
func (*SecurityMonitoringRuleDetectionMethod) UnmarshalJSON ¶
func (v *SecurityMonitoringRuleDetectionMethod) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleEvaluationWindow ¶
type SecurityMonitoringRuleEvaluationWindow int32
SecurityMonitoringRuleEvaluationWindow A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time.
const ( SECURITYMONITORINGRULEEVALUATIONWINDOW_ZERO_MINUTES SecurityMonitoringRuleEvaluationWindow = 0 SECURITYMONITORINGRULEEVALUATIONWINDOW_ONE_MINUTE SecurityMonitoringRuleEvaluationWindow = 60 SECURITYMONITORINGRULEEVALUATIONWINDOW_FIVE_MINUTES SecurityMonitoringRuleEvaluationWindow = 300 SECURITYMONITORINGRULEEVALUATIONWINDOW_TEN_MINUTES SecurityMonitoringRuleEvaluationWindow = 600 SECURITYMONITORINGRULEEVALUATIONWINDOW_FIFTEEN_MINUTES SecurityMonitoringRuleEvaluationWindow = 900 SECURITYMONITORINGRULEEVALUATIONWINDOW_THIRTY_MINUTES SecurityMonitoringRuleEvaluationWindow = 1800 SECURITYMONITORINGRULEEVALUATIONWINDOW_ONE_HOUR SecurityMonitoringRuleEvaluationWindow = 3600 SECURITYMONITORINGRULEEVALUATIONWINDOW_TWO_HOURS SecurityMonitoringRuleEvaluationWindow = 7200 )
List of SecurityMonitoringRuleEvaluationWindow.
func NewSecurityMonitoringRuleEvaluationWindowFromValue ¶
func NewSecurityMonitoringRuleEvaluationWindowFromValue(v int32) (*SecurityMonitoringRuleEvaluationWindow, error)
NewSecurityMonitoringRuleEvaluationWindowFromValue returns a pointer to a valid SecurityMonitoringRuleEvaluationWindow for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleEvaluationWindow) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityMonitoringRuleEvaluationWindow) GetAllowedValues() []SecurityMonitoringRuleEvaluationWindow
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleEvaluationWindow) IsValid ¶
func (v SecurityMonitoringRuleEvaluationWindow) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleEvaluationWindow) Ptr ¶
Ptr returns reference to SecurityMonitoringRuleEvaluationWindow value.
func (*SecurityMonitoringRuleEvaluationWindow) UnmarshalJSON ¶
func (v *SecurityMonitoringRuleEvaluationWindow) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleHardcodedEvaluatorType ¶ added in v1.14.0
type SecurityMonitoringRuleHardcodedEvaluatorType string
SecurityMonitoringRuleHardcodedEvaluatorType Hardcoded evaluator type.
const (
SECURITYMONITORINGRULEHARDCODEDEVALUATORTYPE_LOG4SHELL SecurityMonitoringRuleHardcodedEvaluatorType = "log4shell"
)
List of SecurityMonitoringRuleHardcodedEvaluatorType.
func NewSecurityMonitoringRuleHardcodedEvaluatorTypeFromValue ¶ added in v1.14.0
func NewSecurityMonitoringRuleHardcodedEvaluatorTypeFromValue(v string) (*SecurityMonitoringRuleHardcodedEvaluatorType, error)
NewSecurityMonitoringRuleHardcodedEvaluatorTypeFromValue returns a pointer to a valid SecurityMonitoringRuleHardcodedEvaluatorType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleHardcodedEvaluatorType) GetAllowedValues ¶ added in v1.14.0
func (v *SecurityMonitoringRuleHardcodedEvaluatorType) GetAllowedValues() []SecurityMonitoringRuleHardcodedEvaluatorType
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleHardcodedEvaluatorType) IsValid ¶ added in v1.14.0
func (v SecurityMonitoringRuleHardcodedEvaluatorType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleHardcodedEvaluatorType) Ptr ¶ added in v1.14.0
func (v SecurityMonitoringRuleHardcodedEvaluatorType) Ptr() *SecurityMonitoringRuleHardcodedEvaluatorType
Ptr returns reference to SecurityMonitoringRuleHardcodedEvaluatorType value.
func (*SecurityMonitoringRuleHardcodedEvaluatorType) UnmarshalJSON ¶ added in v1.14.0
func (v *SecurityMonitoringRuleHardcodedEvaluatorType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleImpossibleTravelOptions ¶ added in v1.10.0
type SecurityMonitoringRuleImpossibleTravelOptions struct {
// If true, signals are suppressed for the first 24 hours. In that time, Datadog learns the user's regular
// access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access.
BaselineUserLocations *bool `json:"baselineUserLocations,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringRuleImpossibleTravelOptions Options on impossible travel rules.
func NewSecurityMonitoringRuleImpossibleTravelOptions ¶ added in v1.10.0
func NewSecurityMonitoringRuleImpossibleTravelOptions() *SecurityMonitoringRuleImpossibleTravelOptions
NewSecurityMonitoringRuleImpossibleTravelOptions instantiates a new SecurityMonitoringRuleImpossibleTravelOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringRuleImpossibleTravelOptionsWithDefaults ¶ added in v1.10.0
func NewSecurityMonitoringRuleImpossibleTravelOptionsWithDefaults() *SecurityMonitoringRuleImpossibleTravelOptions
NewSecurityMonitoringRuleImpossibleTravelOptionsWithDefaults instantiates a new SecurityMonitoringRuleImpossibleTravelOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocations ¶ added in v1.10.0
func (o *SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocations() bool
GetBaselineUserLocations returns the BaselineUserLocations field value if set, zero value otherwise.
func (*SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocationsOk ¶ added in v1.10.0
func (o *SecurityMonitoringRuleImpossibleTravelOptions) GetBaselineUserLocationsOk() (*bool, bool)
GetBaselineUserLocationsOk returns a tuple with the BaselineUserLocations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleImpossibleTravelOptions) HasBaselineUserLocations ¶ added in v1.10.0
func (o *SecurityMonitoringRuleImpossibleTravelOptions) HasBaselineUserLocations() bool
HasBaselineUserLocations returns a boolean if a field has been set.
func (SecurityMonitoringRuleImpossibleTravelOptions) MarshalJSON ¶ added in v1.10.0
func (o SecurityMonitoringRuleImpossibleTravelOptions) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringRuleImpossibleTravelOptions) SetBaselineUserLocations ¶ added in v1.10.0
func (o *SecurityMonitoringRuleImpossibleTravelOptions) SetBaselineUserLocations(v bool)
SetBaselineUserLocations gets a reference to the given bool and assigns it to the BaselineUserLocations field.
func (*SecurityMonitoringRuleImpossibleTravelOptions) UnmarshalJSON ¶ added in v1.10.0
func (o *SecurityMonitoringRuleImpossibleTravelOptions) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleKeepAlive ¶
type SecurityMonitoringRuleKeepAlive int32
SecurityMonitoringRuleKeepAlive Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window.
const ( SECURITYMONITORINGRULEKEEPALIVE_ZERO_MINUTES SecurityMonitoringRuleKeepAlive = 0 SECURITYMONITORINGRULEKEEPALIVE_ONE_MINUTE SecurityMonitoringRuleKeepAlive = 60 SECURITYMONITORINGRULEKEEPALIVE_FIVE_MINUTES SecurityMonitoringRuleKeepAlive = 300 SECURITYMONITORINGRULEKEEPALIVE_TEN_MINUTES SecurityMonitoringRuleKeepAlive = 600 SECURITYMONITORINGRULEKEEPALIVE_FIFTEEN_MINUTES SecurityMonitoringRuleKeepAlive = 900 SECURITYMONITORINGRULEKEEPALIVE_THIRTY_MINUTES SecurityMonitoringRuleKeepAlive = 1800 SECURITYMONITORINGRULEKEEPALIVE_ONE_HOUR SecurityMonitoringRuleKeepAlive = 3600 SECURITYMONITORINGRULEKEEPALIVE_TWO_HOURS SecurityMonitoringRuleKeepAlive = 7200 SECURITYMONITORINGRULEKEEPALIVE_THREE_HOURS SecurityMonitoringRuleKeepAlive = 10800 SECURITYMONITORINGRULEKEEPALIVE_SIX_HOURS SecurityMonitoringRuleKeepAlive = 21600 )
List of SecurityMonitoringRuleKeepAlive.
func NewSecurityMonitoringRuleKeepAliveFromValue ¶
func NewSecurityMonitoringRuleKeepAliveFromValue(v int32) (*SecurityMonitoringRuleKeepAlive, error)
NewSecurityMonitoringRuleKeepAliveFromValue returns a pointer to a valid SecurityMonitoringRuleKeepAlive for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleKeepAlive) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityMonitoringRuleKeepAlive) GetAllowedValues() []SecurityMonitoringRuleKeepAlive
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleKeepAlive) IsValid ¶
func (v SecurityMonitoringRuleKeepAlive) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleKeepAlive) Ptr ¶
func (v SecurityMonitoringRuleKeepAlive) Ptr() *SecurityMonitoringRuleKeepAlive
Ptr returns reference to SecurityMonitoringRuleKeepAlive value.
func (*SecurityMonitoringRuleKeepAlive) UnmarshalJSON ¶
func (v *SecurityMonitoringRuleKeepAlive) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleMaxSignalDuration ¶
type SecurityMonitoringRuleMaxSignalDuration int32
SecurityMonitoringRuleMaxSignalDuration A signal will “close” regardless of the query being matched once the time exceeds the maximum duration. This time is calculated from the first seen timestamp.
const ( SECURITYMONITORINGRULEMAXSIGNALDURATION_ZERO_MINUTES SecurityMonitoringRuleMaxSignalDuration = 0 SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_MINUTE SecurityMonitoringRuleMaxSignalDuration = 60 SECURITYMONITORINGRULEMAXSIGNALDURATION_FIVE_MINUTES SecurityMonitoringRuleMaxSignalDuration = 300 SECURITYMONITORINGRULEMAXSIGNALDURATION_TEN_MINUTES SecurityMonitoringRuleMaxSignalDuration = 600 SECURITYMONITORINGRULEMAXSIGNALDURATION_FIFTEEN_MINUTES SecurityMonitoringRuleMaxSignalDuration = 900 SECURITYMONITORINGRULEMAXSIGNALDURATION_THIRTY_MINUTES SecurityMonitoringRuleMaxSignalDuration = 1800 SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_HOUR SecurityMonitoringRuleMaxSignalDuration = 3600 SECURITYMONITORINGRULEMAXSIGNALDURATION_TWO_HOURS SecurityMonitoringRuleMaxSignalDuration = 7200 SECURITYMONITORINGRULEMAXSIGNALDURATION_THREE_HOURS SecurityMonitoringRuleMaxSignalDuration = 10800 SECURITYMONITORINGRULEMAXSIGNALDURATION_SIX_HOURS SecurityMonitoringRuleMaxSignalDuration = 21600 SECURITYMONITORINGRULEMAXSIGNALDURATION_TWELVE_HOURS SecurityMonitoringRuleMaxSignalDuration = 43200 SECURITYMONITORINGRULEMAXSIGNALDURATION_ONE_DAY SecurityMonitoringRuleMaxSignalDuration = 86400 )
List of SecurityMonitoringRuleMaxSignalDuration.
func NewSecurityMonitoringRuleMaxSignalDurationFromValue ¶
func NewSecurityMonitoringRuleMaxSignalDurationFromValue(v int32) (*SecurityMonitoringRuleMaxSignalDuration, error)
NewSecurityMonitoringRuleMaxSignalDurationFromValue returns a pointer to a valid SecurityMonitoringRuleMaxSignalDuration for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleMaxSignalDuration) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityMonitoringRuleMaxSignalDuration) GetAllowedValues() []SecurityMonitoringRuleMaxSignalDuration
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleMaxSignalDuration) IsValid ¶
func (v SecurityMonitoringRuleMaxSignalDuration) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleMaxSignalDuration) Ptr ¶
Ptr returns reference to SecurityMonitoringRuleMaxSignalDuration value.
func (*SecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON ¶
func (v *SecurityMonitoringRuleMaxSignalDuration) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleNewValueOptions ¶
type SecurityMonitoringRuleNewValueOptions struct {
// The duration in days after which a learned value is forgotten.
ForgetAfter *SecurityMonitoringRuleNewValueOptionsForgetAfter `json:"forgetAfter,omitempty"`
// The duration in days during which values are learned, and after which signals will be generated for values that
// weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned.
LearningDuration *SecurityMonitoringRuleNewValueOptionsLearningDuration `json:"learningDuration,omitempty"`
// The learning method used to determine when signals should be generated for values that weren't learned.
LearningMethod *SecurityMonitoringRuleNewValueOptionsLearningMethod `json:"learningMethod,omitempty"`
// A number of occurrences after which signals will be generated for values that weren't learned.
LearningThreshold *SecurityMonitoringRuleNewValueOptionsLearningThreshold `json:"learningThreshold,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringRuleNewValueOptions Options on new value rules.
func NewSecurityMonitoringRuleNewValueOptions ¶
func NewSecurityMonitoringRuleNewValueOptions() *SecurityMonitoringRuleNewValueOptions
NewSecurityMonitoringRuleNewValueOptions instantiates a new SecurityMonitoringRuleNewValueOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringRuleNewValueOptionsWithDefaults ¶
func NewSecurityMonitoringRuleNewValueOptionsWithDefaults() *SecurityMonitoringRuleNewValueOptions
NewSecurityMonitoringRuleNewValueOptionsWithDefaults instantiates a new SecurityMonitoringRuleNewValueOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringRuleNewValueOptions) GetForgetAfter ¶
func (o *SecurityMonitoringRuleNewValueOptions) GetForgetAfter() SecurityMonitoringRuleNewValueOptionsForgetAfter
GetForgetAfter returns the ForgetAfter field value if set, zero value otherwise.
func (*SecurityMonitoringRuleNewValueOptions) GetForgetAfterOk ¶
func (o *SecurityMonitoringRuleNewValueOptions) GetForgetAfterOk() (*SecurityMonitoringRuleNewValueOptionsForgetAfter, bool)
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 ¶
func (o *SecurityMonitoringRuleNewValueOptions) GetLearningDuration() SecurityMonitoringRuleNewValueOptionsLearningDuration
GetLearningDuration returns the LearningDuration field value if set, zero value otherwise.
func (*SecurityMonitoringRuleNewValueOptions) GetLearningDurationOk ¶
func (o *SecurityMonitoringRuleNewValueOptions) GetLearningDurationOk() (*SecurityMonitoringRuleNewValueOptionsLearningDuration, bool)
GetLearningDurationOk returns a tuple with the LearningDuration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleNewValueOptions) GetLearningMethod ¶ added in v1.15.0
func (o *SecurityMonitoringRuleNewValueOptions) GetLearningMethod() SecurityMonitoringRuleNewValueOptionsLearningMethod
GetLearningMethod returns the LearningMethod field value if set, zero value otherwise.
func (*SecurityMonitoringRuleNewValueOptions) GetLearningMethodOk ¶ added in v1.15.0
func (o *SecurityMonitoringRuleNewValueOptions) GetLearningMethodOk() (*SecurityMonitoringRuleNewValueOptionsLearningMethod, bool)
GetLearningMethodOk returns a tuple with the LearningMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleNewValueOptions) GetLearningThreshold ¶ added in v1.15.0
func (o *SecurityMonitoringRuleNewValueOptions) GetLearningThreshold() SecurityMonitoringRuleNewValueOptionsLearningThreshold
GetLearningThreshold returns the LearningThreshold field value if set, zero value otherwise.
func (*SecurityMonitoringRuleNewValueOptions) GetLearningThresholdOk ¶ added in v1.15.0
func (o *SecurityMonitoringRuleNewValueOptions) GetLearningThresholdOk() (*SecurityMonitoringRuleNewValueOptionsLearningThreshold, bool)
GetLearningThresholdOk returns a tuple with the LearningThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleNewValueOptions) HasForgetAfter ¶
func (o *SecurityMonitoringRuleNewValueOptions) HasForgetAfter() bool
HasForgetAfter returns a boolean if a field has been set.
func (*SecurityMonitoringRuleNewValueOptions) HasLearningDuration ¶
func (o *SecurityMonitoringRuleNewValueOptions) HasLearningDuration() bool
HasLearningDuration returns a boolean if a field has been set.
func (*SecurityMonitoringRuleNewValueOptions) HasLearningMethod ¶ added in v1.15.0
func (o *SecurityMonitoringRuleNewValueOptions) HasLearningMethod() bool
HasLearningMethod returns a boolean if a field has been set.
func (*SecurityMonitoringRuleNewValueOptions) HasLearningThreshold ¶ added in v1.15.0
func (o *SecurityMonitoringRuleNewValueOptions) HasLearningThreshold() bool
HasLearningThreshold returns a boolean if a field has been set.
func (SecurityMonitoringRuleNewValueOptions) MarshalJSON ¶
func (o SecurityMonitoringRuleNewValueOptions) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringRuleNewValueOptions) SetForgetAfter ¶
func (o *SecurityMonitoringRuleNewValueOptions) SetForgetAfter(v SecurityMonitoringRuleNewValueOptionsForgetAfter)
SetForgetAfter gets a reference to the given SecurityMonitoringRuleNewValueOptionsForgetAfter and assigns it to the ForgetAfter field.
func (*SecurityMonitoringRuleNewValueOptions) SetLearningDuration ¶
func (o *SecurityMonitoringRuleNewValueOptions) SetLearningDuration(v SecurityMonitoringRuleNewValueOptionsLearningDuration)
SetLearningDuration gets a reference to the given SecurityMonitoringRuleNewValueOptionsLearningDuration and assigns it to the LearningDuration field.
func (*SecurityMonitoringRuleNewValueOptions) SetLearningMethod ¶ added in v1.15.0
func (o *SecurityMonitoringRuleNewValueOptions) SetLearningMethod(v SecurityMonitoringRuleNewValueOptionsLearningMethod)
SetLearningMethod gets a reference to the given SecurityMonitoringRuleNewValueOptionsLearningMethod and assigns it to the LearningMethod field.
func (*SecurityMonitoringRuleNewValueOptions) SetLearningThreshold ¶ added in v1.15.0
func (o *SecurityMonitoringRuleNewValueOptions) SetLearningThreshold(v SecurityMonitoringRuleNewValueOptionsLearningThreshold)
SetLearningThreshold gets a reference to the given SecurityMonitoringRuleNewValueOptionsLearningThreshold and assigns it to the LearningThreshold field.
func (*SecurityMonitoringRuleNewValueOptions) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringRuleNewValueOptions) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleNewValueOptionsForgetAfter ¶
type SecurityMonitoringRuleNewValueOptionsForgetAfter int32
SecurityMonitoringRuleNewValueOptionsForgetAfter The duration in days after which a learned value is forgotten.
const ( SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_ONE_DAY SecurityMonitoringRuleNewValueOptionsForgetAfter = 1 SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_TWO_DAYS SecurityMonitoringRuleNewValueOptionsForgetAfter = 2 SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_ONE_WEEK SecurityMonitoringRuleNewValueOptionsForgetAfter = 7 SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_TWO_WEEKS SecurityMonitoringRuleNewValueOptionsForgetAfter = 14 SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_THREE_WEEKS SecurityMonitoringRuleNewValueOptionsForgetAfter = 21 SECURITYMONITORINGRULENEWVALUEOPTIONSFORGETAFTER_FOUR_WEEKS SecurityMonitoringRuleNewValueOptionsForgetAfter = 28 )
List of SecurityMonitoringRuleNewValueOptionsForgetAfter.
func NewSecurityMonitoringRuleNewValueOptionsForgetAfterFromValue ¶
func NewSecurityMonitoringRuleNewValueOptionsForgetAfterFromValue(v int32) (*SecurityMonitoringRuleNewValueOptionsForgetAfter, error)
NewSecurityMonitoringRuleNewValueOptionsForgetAfterFromValue returns a pointer to a valid SecurityMonitoringRuleNewValueOptionsForgetAfter for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleNewValueOptionsForgetAfter) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityMonitoringRuleNewValueOptionsForgetAfter) GetAllowedValues() []SecurityMonitoringRuleNewValueOptionsForgetAfter
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleNewValueOptionsForgetAfter) IsValid ¶
func (v SecurityMonitoringRuleNewValueOptionsForgetAfter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleNewValueOptionsForgetAfter) Ptr ¶
func (v SecurityMonitoringRuleNewValueOptionsForgetAfter) Ptr() *SecurityMonitoringRuleNewValueOptionsForgetAfter
Ptr returns reference to SecurityMonitoringRuleNewValueOptionsForgetAfter value.
func (*SecurityMonitoringRuleNewValueOptionsForgetAfter) UnmarshalJSON ¶
func (v *SecurityMonitoringRuleNewValueOptionsForgetAfter) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleNewValueOptionsLearningDuration ¶
type SecurityMonitoringRuleNewValueOptionsLearningDuration int32
SecurityMonitoringRuleNewValueOptionsLearningDuration The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned.
const ( SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGDURATION_ZERO_DAYS SecurityMonitoringRuleNewValueOptionsLearningDuration = 0 SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGDURATION_ONE_DAY SecurityMonitoringRuleNewValueOptionsLearningDuration = 1 SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGDURATION_SEVEN_DAYS SecurityMonitoringRuleNewValueOptionsLearningDuration = 7 )
List of SecurityMonitoringRuleNewValueOptionsLearningDuration.
func NewSecurityMonitoringRuleNewValueOptionsLearningDurationFromValue ¶
func NewSecurityMonitoringRuleNewValueOptionsLearningDurationFromValue(v int32) (*SecurityMonitoringRuleNewValueOptionsLearningDuration, error)
NewSecurityMonitoringRuleNewValueOptionsLearningDurationFromValue returns a pointer to a valid SecurityMonitoringRuleNewValueOptionsLearningDuration for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleNewValueOptionsLearningDuration) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityMonitoringRuleNewValueOptionsLearningDuration) GetAllowedValues() []SecurityMonitoringRuleNewValueOptionsLearningDuration
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleNewValueOptionsLearningDuration) IsValid ¶
func (v SecurityMonitoringRuleNewValueOptionsLearningDuration) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleNewValueOptionsLearningDuration) Ptr ¶
func (v SecurityMonitoringRuleNewValueOptionsLearningDuration) Ptr() *SecurityMonitoringRuleNewValueOptionsLearningDuration
Ptr returns reference to SecurityMonitoringRuleNewValueOptionsLearningDuration value.
func (*SecurityMonitoringRuleNewValueOptionsLearningDuration) UnmarshalJSON ¶
func (v *SecurityMonitoringRuleNewValueOptionsLearningDuration) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleNewValueOptionsLearningMethod ¶ added in v1.15.0
type SecurityMonitoringRuleNewValueOptionsLearningMethod string
SecurityMonitoringRuleNewValueOptionsLearningMethod The learning method used to determine when signals should be generated for values that weren't learned.
const ( SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGMETHOD_DURATION SecurityMonitoringRuleNewValueOptionsLearningMethod = "duration" SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGMETHOD_THRESHOLD SecurityMonitoringRuleNewValueOptionsLearningMethod = "threshold" )
List of SecurityMonitoringRuleNewValueOptionsLearningMethod.
func NewSecurityMonitoringRuleNewValueOptionsLearningMethodFromValue ¶ added in v1.15.0
func NewSecurityMonitoringRuleNewValueOptionsLearningMethodFromValue(v string) (*SecurityMonitoringRuleNewValueOptionsLearningMethod, error)
NewSecurityMonitoringRuleNewValueOptionsLearningMethodFromValue returns a pointer to a valid SecurityMonitoringRuleNewValueOptionsLearningMethod for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleNewValueOptionsLearningMethod) GetAllowedValues ¶ added in v1.15.0
func (v *SecurityMonitoringRuleNewValueOptionsLearningMethod) GetAllowedValues() []SecurityMonitoringRuleNewValueOptionsLearningMethod
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleNewValueOptionsLearningMethod) IsValid ¶ added in v1.15.0
func (v SecurityMonitoringRuleNewValueOptionsLearningMethod) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleNewValueOptionsLearningMethod) Ptr ¶ added in v1.15.0
func (v SecurityMonitoringRuleNewValueOptionsLearningMethod) Ptr() *SecurityMonitoringRuleNewValueOptionsLearningMethod
Ptr returns reference to SecurityMonitoringRuleNewValueOptionsLearningMethod value.
func (*SecurityMonitoringRuleNewValueOptionsLearningMethod) UnmarshalJSON ¶ added in v1.15.0
func (v *SecurityMonitoringRuleNewValueOptionsLearningMethod) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleNewValueOptionsLearningThreshold ¶ added in v1.15.0
type SecurityMonitoringRuleNewValueOptionsLearningThreshold int32
SecurityMonitoringRuleNewValueOptionsLearningThreshold A number of occurrences after which signals will be generated for values that weren't learned.
const ( SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGTHRESHOLD_ZERO_OCCURRENCES SecurityMonitoringRuleNewValueOptionsLearningThreshold = 0 SECURITYMONITORINGRULENEWVALUEOPTIONSLEARNINGTHRESHOLD_ONE_OCCURRENCE SecurityMonitoringRuleNewValueOptionsLearningThreshold = 1 )
List of SecurityMonitoringRuleNewValueOptionsLearningThreshold.
func NewSecurityMonitoringRuleNewValueOptionsLearningThresholdFromValue ¶ added in v1.15.0
func NewSecurityMonitoringRuleNewValueOptionsLearningThresholdFromValue(v int32) (*SecurityMonitoringRuleNewValueOptionsLearningThreshold, error)
NewSecurityMonitoringRuleNewValueOptionsLearningThresholdFromValue returns a pointer to a valid SecurityMonitoringRuleNewValueOptionsLearningThreshold for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleNewValueOptionsLearningThreshold) GetAllowedValues ¶ added in v1.15.0
func (v *SecurityMonitoringRuleNewValueOptionsLearningThreshold) GetAllowedValues() []SecurityMonitoringRuleNewValueOptionsLearningThreshold
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleNewValueOptionsLearningThreshold) IsValid ¶ added in v1.15.0
func (v SecurityMonitoringRuleNewValueOptionsLearningThreshold) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleNewValueOptionsLearningThreshold) Ptr ¶ added in v1.15.0
func (v SecurityMonitoringRuleNewValueOptionsLearningThreshold) Ptr() *SecurityMonitoringRuleNewValueOptionsLearningThreshold
Ptr returns reference to SecurityMonitoringRuleNewValueOptionsLearningThreshold value.
func (*SecurityMonitoringRuleNewValueOptionsLearningThreshold) UnmarshalJSON ¶ added in v1.15.0
func (v *SecurityMonitoringRuleNewValueOptionsLearningThreshold) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleOptions ¶
type SecurityMonitoringRuleOptions struct {
// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce signal noise.
// The severity is decreased by one level: `CRITICAL` in production becomes `HIGH` in non-production, `HIGH` becomes `MEDIUM` and so on. `INFO` remains `INFO`.
// The decrement is applied when the environment tag of the signal starts with `staging`, `test` or `dev`.
DecreaseCriticalityBasedOnEnv *bool `json:"decreaseCriticalityBasedOnEnv,omitempty"`
// The detection method.
DetectionMethod *SecurityMonitoringRuleDetectionMethod `json:"detectionMethod,omitempty"`
// A time window is specified to match when at least one of the cases matches true. This is a sliding window
// and evaluates in real time.
EvaluationWindow *SecurityMonitoringRuleEvaluationWindow `json:"evaluationWindow,omitempty"`
// Hardcoded evaluator type.
HardcodedEvaluatorType *SecurityMonitoringRuleHardcodedEvaluatorType `json:"hardcodedEvaluatorType,omitempty"`
// Options on impossible travel rules.
ImpossibleTravelOptions *SecurityMonitoringRuleImpossibleTravelOptions `json:"impossibleTravelOptions,omitempty"`
// Once a signal is generated, the signal will remain “open” if a case is matched at least once within
// this keep alive window.
KeepAlive *SecurityMonitoringRuleKeepAlive `json:"keepAlive,omitempty"`
// A signal will “close” regardless of the query being matched once the time exceeds the maximum duration.
// This time is calculated from the first seen timestamp.
MaxSignalDuration *SecurityMonitoringRuleMaxSignalDuration `json:"maxSignalDuration,omitempty"`
// Options on new value rules.
NewValueOptions *SecurityMonitoringRuleNewValueOptions `json:"newValueOptions,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringRuleOptions Options on rules.
func NewSecurityMonitoringRuleOptions ¶
func NewSecurityMonitoringRuleOptions() *SecurityMonitoringRuleOptions
NewSecurityMonitoringRuleOptions instantiates a new SecurityMonitoringRuleOptions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringRuleOptionsWithDefaults ¶
func NewSecurityMonitoringRuleOptionsWithDefaults() *SecurityMonitoringRuleOptions
NewSecurityMonitoringRuleOptionsWithDefaults instantiates a new SecurityMonitoringRuleOptions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnv ¶ added in v1.15.0
func (o *SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnv() bool
GetDecreaseCriticalityBasedOnEnv returns the DecreaseCriticalityBasedOnEnv field value if set, zero value otherwise.
func (*SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnvOk ¶ added in v1.15.0
func (o *SecurityMonitoringRuleOptions) GetDecreaseCriticalityBasedOnEnvOk() (*bool, bool)
GetDecreaseCriticalityBasedOnEnvOk returns a tuple with the DecreaseCriticalityBasedOnEnv field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleOptions) GetDetectionMethod ¶
func (o *SecurityMonitoringRuleOptions) GetDetectionMethod() SecurityMonitoringRuleDetectionMethod
GetDetectionMethod returns the DetectionMethod field value if set, zero value otherwise.
func (*SecurityMonitoringRuleOptions) GetDetectionMethodOk ¶
func (o *SecurityMonitoringRuleOptions) GetDetectionMethodOk() (*SecurityMonitoringRuleDetectionMethod, bool)
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 ¶
func (o *SecurityMonitoringRuleOptions) GetEvaluationWindow() SecurityMonitoringRuleEvaluationWindow
GetEvaluationWindow returns the EvaluationWindow field value if set, zero value otherwise.
func (*SecurityMonitoringRuleOptions) GetEvaluationWindowOk ¶
func (o *SecurityMonitoringRuleOptions) GetEvaluationWindowOk() (*SecurityMonitoringRuleEvaluationWindow, bool)
GetEvaluationWindowOk returns a tuple with the EvaluationWindow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleOptions) GetHardcodedEvaluatorType ¶ added in v1.14.0
func (o *SecurityMonitoringRuleOptions) GetHardcodedEvaluatorType() SecurityMonitoringRuleHardcodedEvaluatorType
GetHardcodedEvaluatorType returns the HardcodedEvaluatorType field value if set, zero value otherwise.
func (*SecurityMonitoringRuleOptions) GetHardcodedEvaluatorTypeOk ¶ added in v1.14.0
func (o *SecurityMonitoringRuleOptions) GetHardcodedEvaluatorTypeOk() (*SecurityMonitoringRuleHardcodedEvaluatorType, bool)
GetHardcodedEvaluatorTypeOk returns a tuple with the HardcodedEvaluatorType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleOptions) GetImpossibleTravelOptions ¶ added in v1.10.0
func (o *SecurityMonitoringRuleOptions) GetImpossibleTravelOptions() SecurityMonitoringRuleImpossibleTravelOptions
GetImpossibleTravelOptions returns the ImpossibleTravelOptions field value if set, zero value otherwise.
func (*SecurityMonitoringRuleOptions) GetImpossibleTravelOptionsOk ¶ added in v1.10.0
func (o *SecurityMonitoringRuleOptions) GetImpossibleTravelOptionsOk() (*SecurityMonitoringRuleImpossibleTravelOptions, bool)
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 ¶
func (o *SecurityMonitoringRuleOptions) GetKeepAlive() SecurityMonitoringRuleKeepAlive
GetKeepAlive returns the KeepAlive field value if set, zero value otherwise.
func (*SecurityMonitoringRuleOptions) GetKeepAliveOk ¶
func (o *SecurityMonitoringRuleOptions) GetKeepAliveOk() (*SecurityMonitoringRuleKeepAlive, bool)
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 ¶
func (o *SecurityMonitoringRuleOptions) GetMaxSignalDuration() SecurityMonitoringRuleMaxSignalDuration
GetMaxSignalDuration returns the MaxSignalDuration field value if set, zero value otherwise.
func (*SecurityMonitoringRuleOptions) GetMaxSignalDurationOk ¶
func (o *SecurityMonitoringRuleOptions) GetMaxSignalDurationOk() (*SecurityMonitoringRuleMaxSignalDuration, bool)
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 ¶
func (o *SecurityMonitoringRuleOptions) GetNewValueOptions() SecurityMonitoringRuleNewValueOptions
GetNewValueOptions returns the NewValueOptions field value if set, zero value otherwise.
func (*SecurityMonitoringRuleOptions) GetNewValueOptionsOk ¶
func (o *SecurityMonitoringRuleOptions) GetNewValueOptionsOk() (*SecurityMonitoringRuleNewValueOptions, bool)
GetNewValueOptionsOk returns a tuple with the NewValueOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleOptions) HasDecreaseCriticalityBasedOnEnv ¶ added in v1.15.0
func (o *SecurityMonitoringRuleOptions) HasDecreaseCriticalityBasedOnEnv() bool
HasDecreaseCriticalityBasedOnEnv returns a boolean if a field has been set.
func (*SecurityMonitoringRuleOptions) HasDetectionMethod ¶
func (o *SecurityMonitoringRuleOptions) HasDetectionMethod() bool
HasDetectionMethod returns a boolean if a field has been set.
func (*SecurityMonitoringRuleOptions) HasEvaluationWindow ¶
func (o *SecurityMonitoringRuleOptions) HasEvaluationWindow() bool
HasEvaluationWindow returns a boolean if a field has been set.
func (*SecurityMonitoringRuleOptions) HasHardcodedEvaluatorType ¶ added in v1.14.0
func (o *SecurityMonitoringRuleOptions) HasHardcodedEvaluatorType() bool
HasHardcodedEvaluatorType returns a boolean if a field has been set.
func (*SecurityMonitoringRuleOptions) HasImpossibleTravelOptions ¶ added in v1.10.0
func (o *SecurityMonitoringRuleOptions) HasImpossibleTravelOptions() bool
HasImpossibleTravelOptions returns a boolean if a field has been set.
func (*SecurityMonitoringRuleOptions) HasKeepAlive ¶
func (o *SecurityMonitoringRuleOptions) HasKeepAlive() bool
HasKeepAlive returns a boolean if a field has been set.
func (*SecurityMonitoringRuleOptions) HasMaxSignalDuration ¶
func (o *SecurityMonitoringRuleOptions) HasMaxSignalDuration() bool
HasMaxSignalDuration returns a boolean if a field has been set.
func (*SecurityMonitoringRuleOptions) HasNewValueOptions ¶
func (o *SecurityMonitoringRuleOptions) HasNewValueOptions() bool
HasNewValueOptions returns a boolean if a field has been set.
func (SecurityMonitoringRuleOptions) MarshalJSON ¶
func (o SecurityMonitoringRuleOptions) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringRuleOptions) SetDecreaseCriticalityBasedOnEnv ¶ added in v1.15.0
func (o *SecurityMonitoringRuleOptions) SetDecreaseCriticalityBasedOnEnv(v bool)
SetDecreaseCriticalityBasedOnEnv gets a reference to the given bool and assigns it to the DecreaseCriticalityBasedOnEnv field.
func (*SecurityMonitoringRuleOptions) SetDetectionMethod ¶
func (o *SecurityMonitoringRuleOptions) SetDetectionMethod(v SecurityMonitoringRuleDetectionMethod)
SetDetectionMethod gets a reference to the given SecurityMonitoringRuleDetectionMethod and assigns it to the DetectionMethod field.
func (*SecurityMonitoringRuleOptions) SetEvaluationWindow ¶
func (o *SecurityMonitoringRuleOptions) SetEvaluationWindow(v SecurityMonitoringRuleEvaluationWindow)
SetEvaluationWindow gets a reference to the given SecurityMonitoringRuleEvaluationWindow and assigns it to the EvaluationWindow field.
func (*SecurityMonitoringRuleOptions) SetHardcodedEvaluatorType ¶ added in v1.14.0
func (o *SecurityMonitoringRuleOptions) SetHardcodedEvaluatorType(v SecurityMonitoringRuleHardcodedEvaluatorType)
SetHardcodedEvaluatorType gets a reference to the given SecurityMonitoringRuleHardcodedEvaluatorType and assigns it to the HardcodedEvaluatorType field.
func (*SecurityMonitoringRuleOptions) SetImpossibleTravelOptions ¶ added in v1.10.0
func (o *SecurityMonitoringRuleOptions) SetImpossibleTravelOptions(v SecurityMonitoringRuleImpossibleTravelOptions)
SetImpossibleTravelOptions gets a reference to the given SecurityMonitoringRuleImpossibleTravelOptions and assigns it to the ImpossibleTravelOptions field.
func (*SecurityMonitoringRuleOptions) SetKeepAlive ¶
func (o *SecurityMonitoringRuleOptions) SetKeepAlive(v SecurityMonitoringRuleKeepAlive)
SetKeepAlive gets a reference to the given SecurityMonitoringRuleKeepAlive and assigns it to the KeepAlive field.
func (*SecurityMonitoringRuleOptions) SetMaxSignalDuration ¶
func (o *SecurityMonitoringRuleOptions) SetMaxSignalDuration(v SecurityMonitoringRuleMaxSignalDuration)
SetMaxSignalDuration gets a reference to the given SecurityMonitoringRuleMaxSignalDuration and assigns it to the MaxSignalDuration field.
func (*SecurityMonitoringRuleOptions) SetNewValueOptions ¶
func (o *SecurityMonitoringRuleOptions) SetNewValueOptions(v SecurityMonitoringRuleNewValueOptions)
SetNewValueOptions gets a reference to the given SecurityMonitoringRuleNewValueOptions and assigns it to the NewValueOptions field.
func (*SecurityMonitoringRuleOptions) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringRuleOptions) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleQuery ¶
type SecurityMonitoringRuleQuery struct {
// The aggregation type.
Aggregation *SecurityMonitoringRuleQueryAggregation `json:"aggregation,omitempty"`
// Field for which the cardinality is measured. Sent as an array.
DistinctFields []string `json:"distinctFields,omitempty"`
// Fields to group by.
GroupByFields []string `json:"groupByFields,omitempty"`
// The target field to aggregate over when using the sum or max
// aggregations.
Metric *string `json:"metric,omitempty"`
// Group of target fields to aggregate over when using the new value aggregations.
Metrics []string `json:"metrics,omitempty"`
// Name of the query.
Name *string `json:"name,omitempty"`
// Query to run on logs.
Query *string `json:"query,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringRuleQuery Query for matching rule.
func NewSecurityMonitoringRuleQuery ¶
func NewSecurityMonitoringRuleQuery() *SecurityMonitoringRuleQuery
NewSecurityMonitoringRuleQuery instantiates a new SecurityMonitoringRuleQuery object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringRuleQueryWithDefaults ¶
func NewSecurityMonitoringRuleQueryWithDefaults() *SecurityMonitoringRuleQuery
NewSecurityMonitoringRuleQueryWithDefaults instantiates a new SecurityMonitoringRuleQuery object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringRuleQuery) GetAggregation ¶
func (o *SecurityMonitoringRuleQuery) GetAggregation() SecurityMonitoringRuleQueryAggregation
GetAggregation returns the Aggregation field value if set, zero value otherwise.
func (*SecurityMonitoringRuleQuery) GetAggregationOk ¶
func (o *SecurityMonitoringRuleQuery) GetAggregationOk() (*SecurityMonitoringRuleQueryAggregation, 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 (*SecurityMonitoringRuleQuery) GetDistinctFields ¶
func (o *SecurityMonitoringRuleQuery) GetDistinctFields() []string
GetDistinctFields returns the DistinctFields field value if set, zero value otherwise.
func (*SecurityMonitoringRuleQuery) GetDistinctFieldsOk ¶
func (o *SecurityMonitoringRuleQuery) GetDistinctFieldsOk() (*[]string, bool)
GetDistinctFieldsOk returns a tuple with the DistinctFields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleQuery) GetGroupByFields ¶
func (o *SecurityMonitoringRuleQuery) GetGroupByFields() []string
GetGroupByFields returns the GroupByFields field value if set, zero value otherwise.
func (*SecurityMonitoringRuleQuery) GetGroupByFieldsOk ¶
func (o *SecurityMonitoringRuleQuery) GetGroupByFieldsOk() (*[]string, bool)
GetGroupByFieldsOk returns a tuple with the GroupByFields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleQuery) GetMetric ¶
func (o *SecurityMonitoringRuleQuery) GetMetric() string
GetMetric returns the Metric field value if set, zero value otherwise.
func (*SecurityMonitoringRuleQuery) GetMetricOk ¶
func (o *SecurityMonitoringRuleQuery) GetMetricOk() (*string, bool)
GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleQuery) GetMetrics ¶ added in v1.16.0
func (o *SecurityMonitoringRuleQuery) GetMetrics() []string
GetMetrics returns the Metrics field value if set, zero value otherwise.
func (*SecurityMonitoringRuleQuery) GetMetricsOk ¶ added in v1.16.0
func (o *SecurityMonitoringRuleQuery) GetMetricsOk() (*[]string, bool)
GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleQuery) GetName ¶
func (o *SecurityMonitoringRuleQuery) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SecurityMonitoringRuleQuery) GetNameOk ¶
func (o *SecurityMonitoringRuleQuery) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleQuery) GetQuery ¶
func (o *SecurityMonitoringRuleQuery) GetQuery() string
GetQuery returns the Query field value if set, zero value otherwise.
func (*SecurityMonitoringRuleQuery) GetQueryOk ¶
func (o *SecurityMonitoringRuleQuery) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleQuery) HasAggregation ¶
func (o *SecurityMonitoringRuleQuery) HasAggregation() bool
HasAggregation returns a boolean if a field has been set.
func (*SecurityMonitoringRuleQuery) HasDistinctFields ¶
func (o *SecurityMonitoringRuleQuery) HasDistinctFields() bool
HasDistinctFields returns a boolean if a field has been set.
func (*SecurityMonitoringRuleQuery) HasGroupByFields ¶
func (o *SecurityMonitoringRuleQuery) HasGroupByFields() bool
HasGroupByFields returns a boolean if a field has been set.
func (*SecurityMonitoringRuleQuery) HasMetric ¶
func (o *SecurityMonitoringRuleQuery) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (*SecurityMonitoringRuleQuery) HasMetrics ¶ added in v1.16.0
func (o *SecurityMonitoringRuleQuery) HasMetrics() bool
HasMetrics returns a boolean if a field has been set.
func (*SecurityMonitoringRuleQuery) HasName ¶
func (o *SecurityMonitoringRuleQuery) HasName() bool
HasName returns a boolean if a field has been set.
func (*SecurityMonitoringRuleQuery) HasQuery ¶
func (o *SecurityMonitoringRuleQuery) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (SecurityMonitoringRuleQuery) MarshalJSON ¶
func (o SecurityMonitoringRuleQuery) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringRuleQuery) SetAggregation ¶
func (o *SecurityMonitoringRuleQuery) SetAggregation(v SecurityMonitoringRuleQueryAggregation)
SetAggregation gets a reference to the given SecurityMonitoringRuleQueryAggregation and assigns it to the Aggregation field.
func (*SecurityMonitoringRuleQuery) SetDistinctFields ¶
func (o *SecurityMonitoringRuleQuery) SetDistinctFields(v []string)
SetDistinctFields gets a reference to the given []string and assigns it to the DistinctFields field.
func (*SecurityMonitoringRuleQuery) SetGroupByFields ¶
func (o *SecurityMonitoringRuleQuery) SetGroupByFields(v []string)
SetGroupByFields gets a reference to the given []string and assigns it to the GroupByFields field.
func (*SecurityMonitoringRuleQuery) SetMetric ¶
func (o *SecurityMonitoringRuleQuery) SetMetric(v string)
SetMetric gets a reference to the given string and assigns it to the Metric field.
func (*SecurityMonitoringRuleQuery) SetMetrics ¶ added in v1.16.0
func (o *SecurityMonitoringRuleQuery) SetMetrics(v []string)
SetMetrics gets a reference to the given []string and assigns it to the Metrics field.
func (*SecurityMonitoringRuleQuery) SetName ¶
func (o *SecurityMonitoringRuleQuery) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SecurityMonitoringRuleQuery) SetQuery ¶
func (o *SecurityMonitoringRuleQuery) SetQuery(v string)
SetQuery gets a reference to the given string and assigns it to the Query field.
func (*SecurityMonitoringRuleQuery) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringRuleQuery) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleQueryAggregation ¶
type SecurityMonitoringRuleQueryAggregation string
SecurityMonitoringRuleQueryAggregation The aggregation type.
const ( SECURITYMONITORINGRULEQUERYAGGREGATION_COUNT SecurityMonitoringRuleQueryAggregation = "count" SECURITYMONITORINGRULEQUERYAGGREGATION_CARDINALITY SecurityMonitoringRuleQueryAggregation = "cardinality" SECURITYMONITORINGRULEQUERYAGGREGATION_SUM SecurityMonitoringRuleQueryAggregation = "sum" SECURITYMONITORINGRULEQUERYAGGREGATION_MAX SecurityMonitoringRuleQueryAggregation = "max" SECURITYMONITORINGRULEQUERYAGGREGATION_NEW_VALUE SecurityMonitoringRuleQueryAggregation = "new_value" SECURITYMONITORINGRULEQUERYAGGREGATION_GEO_DATA SecurityMonitoringRuleQueryAggregation = "geo_data" )
List of SecurityMonitoringRuleQueryAggregation.
func NewSecurityMonitoringRuleQueryAggregationFromValue ¶
func NewSecurityMonitoringRuleQueryAggregationFromValue(v string) (*SecurityMonitoringRuleQueryAggregation, error)
NewSecurityMonitoringRuleQueryAggregationFromValue returns a pointer to a valid SecurityMonitoringRuleQueryAggregation for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleQueryAggregation) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityMonitoringRuleQueryAggregation) GetAllowedValues() []SecurityMonitoringRuleQueryAggregation
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleQueryAggregation) IsValid ¶
func (v SecurityMonitoringRuleQueryAggregation) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleQueryAggregation) Ptr ¶
Ptr returns reference to SecurityMonitoringRuleQueryAggregation value.
func (*SecurityMonitoringRuleQueryAggregation) UnmarshalJSON ¶
func (v *SecurityMonitoringRuleQueryAggregation) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleQueryCreate ¶
type SecurityMonitoringRuleQueryCreate struct {
// The aggregation type.
Aggregation *SecurityMonitoringRuleQueryAggregation `json:"aggregation,omitempty"`
// Field for which the cardinality is measured. Sent as an array.
DistinctFields []string `json:"distinctFields,omitempty"`
// Fields to group by.
GroupByFields []string `json:"groupByFields,omitempty"`
// The target field to aggregate over when using the sum or max
// aggregations.
Metric *string `json:"metric,omitempty"`
// Group of target fields to aggregate over when using the new value aggregations.
Metrics []string `json:"metrics,omitempty"`
// Name of the query.
Name *string `json:"name,omitempty"`
// Query to run on logs.
Query string `json:"query"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringRuleQueryCreate Query for matching rule.
func NewSecurityMonitoringRuleQueryCreate ¶
func NewSecurityMonitoringRuleQueryCreate(query string) *SecurityMonitoringRuleQueryCreate
NewSecurityMonitoringRuleQueryCreate instantiates a new SecurityMonitoringRuleQueryCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringRuleQueryCreateWithDefaults ¶
func NewSecurityMonitoringRuleQueryCreateWithDefaults() *SecurityMonitoringRuleQueryCreate
NewSecurityMonitoringRuleQueryCreateWithDefaults instantiates a new SecurityMonitoringRuleQueryCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringRuleQueryCreate) GetAggregation ¶
func (o *SecurityMonitoringRuleQueryCreate) GetAggregation() SecurityMonitoringRuleQueryAggregation
GetAggregation returns the Aggregation field value if set, zero value otherwise.
func (*SecurityMonitoringRuleQueryCreate) GetAggregationOk ¶
func (o *SecurityMonitoringRuleQueryCreate) GetAggregationOk() (*SecurityMonitoringRuleQueryAggregation, 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 (*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 ¶
func (o *SecurityMonitoringRuleQueryCreate) GetMetric() string
GetMetric returns the Metric field value if set, zero value otherwise.
func (*SecurityMonitoringRuleQueryCreate) GetMetricOk ¶
func (o *SecurityMonitoringRuleQueryCreate) GetMetricOk() (*string, bool)
GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleQueryCreate) GetMetrics ¶ added in v1.16.0
func (o *SecurityMonitoringRuleQueryCreate) GetMetrics() []string
GetMetrics returns the Metrics field value if set, zero value otherwise.
func (*SecurityMonitoringRuleQueryCreate) GetMetricsOk ¶ added in v1.16.0
func (o *SecurityMonitoringRuleQueryCreate) GetMetricsOk() (*[]string, bool)
GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleQueryCreate) GetName ¶
func (o *SecurityMonitoringRuleQueryCreate) GetName() string
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 ¶
func (o *SecurityMonitoringRuleQueryCreate) GetQuery() string
GetQuery returns the Query field value.
func (*SecurityMonitoringRuleQueryCreate) GetQueryOk ¶
func (o *SecurityMonitoringRuleQueryCreate) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (*SecurityMonitoringRuleQueryCreate) HasAggregation ¶
func (o *SecurityMonitoringRuleQueryCreate) HasAggregation() bool
HasAggregation returns a boolean if a field has been set.
func (*SecurityMonitoringRuleQueryCreate) HasDistinctFields ¶
func (o *SecurityMonitoringRuleQueryCreate) HasDistinctFields() bool
HasDistinctFields returns a boolean if a field has been set.
func (*SecurityMonitoringRuleQueryCreate) HasGroupByFields ¶
func (o *SecurityMonitoringRuleQueryCreate) HasGroupByFields() bool
HasGroupByFields returns a boolean if a field has been set.
func (*SecurityMonitoringRuleQueryCreate) HasMetric ¶
func (o *SecurityMonitoringRuleQueryCreate) HasMetric() bool
HasMetric returns a boolean if a field has been set.
func (*SecurityMonitoringRuleQueryCreate) HasMetrics ¶ added in v1.16.0
func (o *SecurityMonitoringRuleQueryCreate) HasMetrics() bool
HasMetrics returns a boolean if a field has been set.
func (*SecurityMonitoringRuleQueryCreate) HasName ¶
func (o *SecurityMonitoringRuleQueryCreate) HasName() bool
HasName returns a boolean if a field has been set.
func (SecurityMonitoringRuleQueryCreate) MarshalJSON ¶
func (o SecurityMonitoringRuleQueryCreate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringRuleQueryCreate) SetAggregation ¶
func (o *SecurityMonitoringRuleQueryCreate) SetAggregation(v SecurityMonitoringRuleQueryAggregation)
SetAggregation gets a reference to the given SecurityMonitoringRuleQueryAggregation and assigns it to the Aggregation field.
func (*SecurityMonitoringRuleQueryCreate) SetDistinctFields ¶
func (o *SecurityMonitoringRuleQueryCreate) SetDistinctFields(v []string)
SetDistinctFields gets a reference to the given []string and assigns it to the DistinctFields field.
func (*SecurityMonitoringRuleQueryCreate) SetGroupByFields ¶
func (o *SecurityMonitoringRuleQueryCreate) SetGroupByFields(v []string)
SetGroupByFields gets a reference to the given []string and assigns it to the GroupByFields field.
func (*SecurityMonitoringRuleQueryCreate) SetMetric ¶
func (o *SecurityMonitoringRuleQueryCreate) SetMetric(v string)
SetMetric gets a reference to the given string and assigns it to the Metric field.
func (*SecurityMonitoringRuleQueryCreate) SetMetrics ¶ added in v1.16.0
func (o *SecurityMonitoringRuleQueryCreate) SetMetrics(v []string)
SetMetrics gets a reference to the given []string and assigns it to the Metrics field.
func (*SecurityMonitoringRuleQueryCreate) SetName ¶
func (o *SecurityMonitoringRuleQueryCreate) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SecurityMonitoringRuleQueryCreate) SetQuery ¶
func (o *SecurityMonitoringRuleQueryCreate) SetQuery(v string)
SetQuery sets field value.
func (*SecurityMonitoringRuleQueryCreate) UnmarshalJSON ¶
func (o *SecurityMonitoringRuleQueryCreate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleResponse ¶
type SecurityMonitoringRuleResponse struct {
// Cases for generating signals.
Cases []SecurityMonitoringRuleCase `json:"cases,omitempty"`
// When the rule was created, timestamp in milliseconds.
CreatedAt *int64 `json:"createdAt,omitempty"`
// User ID of the user who created the rule.
CreationAuthorId *int64 `json:"creationAuthorId,omitempty"`
// Additional queries to filter matched events before they are processed.
Filters []SecurityMonitoringFilter `json:"filters,omitempty"`
// Whether the notifications include the triggering group-by values in their title.
HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty"`
// The ID of the rule.
Id *string `json:"id,omitempty"`
// Whether the rule is included by default.
IsDefault *bool `json:"isDefault,omitempty"`
// Whether the rule has been deleted.
IsDeleted *bool `json:"isDeleted,omitempty"`
// Whether the rule is enabled.
IsEnabled *bool `json:"isEnabled,omitempty"`
// Message for generated signals.
Message *string `json:"message,omitempty"`
// The name of the rule.
Name *string `json:"name,omitempty"`
// Options on rules.
Options *SecurityMonitoringRuleOptions `json:"options,omitempty"`
// Queries for selecting logs which are part of the rule.
Queries []SecurityMonitoringRuleQuery `json:"queries,omitempty"`
// Tags for generated signals.
Tags []string `json:"tags,omitempty"`
// The rule type.
Type *SecurityMonitoringRuleTypeRead `json:"type,omitempty"`
// User ID of the user who updated the rule.
UpdateAuthorId *int64 `json:"updateAuthorId,omitempty"`
// The version of the rule.
Version *int64 `json:"version,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringRuleResponse Rule.
func NewSecurityMonitoringRuleResponse ¶
func NewSecurityMonitoringRuleResponse() *SecurityMonitoringRuleResponse
NewSecurityMonitoringRuleResponse instantiates a new SecurityMonitoringRuleResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringRuleResponseWithDefaults ¶
func NewSecurityMonitoringRuleResponseWithDefaults() *SecurityMonitoringRuleResponse
NewSecurityMonitoringRuleResponseWithDefaults instantiates a new SecurityMonitoringRuleResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringRuleResponse) GetCases ¶
func (o *SecurityMonitoringRuleResponse) GetCases() []SecurityMonitoringRuleCase
GetCases returns the Cases field value if set, zero value otherwise.
func (*SecurityMonitoringRuleResponse) GetCasesOk ¶
func (o *SecurityMonitoringRuleResponse) GetCasesOk() (*[]SecurityMonitoringRuleCase, bool)
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 ¶
func (o *SecurityMonitoringRuleResponse) GetFilters() []SecurityMonitoringFilter
GetFilters returns the Filters field value if set, zero value otherwise.
func (*SecurityMonitoringRuleResponse) GetFiltersOk ¶
func (o *SecurityMonitoringRuleResponse) GetFiltersOk() (*[]SecurityMonitoringFilter, bool)
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 ¶
func (o *SecurityMonitoringRuleResponse) GetId() string
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 ¶
func (o *SecurityMonitoringRuleResponse) GetName() string
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 ¶
func (o *SecurityMonitoringRuleResponse) GetOptions() SecurityMonitoringRuleOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*SecurityMonitoringRuleResponse) GetOptionsOk ¶
func (o *SecurityMonitoringRuleResponse) GetOptionsOk() (*SecurityMonitoringRuleOptions, 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 (*SecurityMonitoringRuleResponse) GetQueries ¶
func (o *SecurityMonitoringRuleResponse) GetQueries() []SecurityMonitoringRuleQuery
GetQueries returns the Queries field value if set, zero value otherwise.
func (*SecurityMonitoringRuleResponse) GetQueriesOk ¶
func (o *SecurityMonitoringRuleResponse) GetQueriesOk() (*[]SecurityMonitoringRuleQuery, bool)
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
func (o *SecurityMonitoringRuleResponse) GetType() SecurityMonitoringRuleTypeRead
GetType returns the Type field value if set, zero value otherwise.
func (*SecurityMonitoringRuleResponse) GetTypeOk ¶ added in v1.3.0
func (o *SecurityMonitoringRuleResponse) GetTypeOk() (*SecurityMonitoringRuleTypeRead, 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 (*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 ¶
func (o *SecurityMonitoringRuleResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*SecurityMonitoringRuleResponse) HasIsDefault ¶
func (o *SecurityMonitoringRuleResponse) HasIsDefault() bool
HasIsDefault returns a boolean if a field has been set.
func (*SecurityMonitoringRuleResponse) HasIsDeleted ¶
func (o *SecurityMonitoringRuleResponse) HasIsDeleted() bool
HasIsDeleted returns a boolean if a field has been set.
func (*SecurityMonitoringRuleResponse) HasIsEnabled ¶
func (o *SecurityMonitoringRuleResponse) HasIsEnabled() bool
HasIsEnabled returns a boolean if a field has been set.
func (*SecurityMonitoringRuleResponse) HasMessage ¶
func (o *SecurityMonitoringRuleResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*SecurityMonitoringRuleResponse) HasName ¶
func (o *SecurityMonitoringRuleResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*SecurityMonitoringRuleResponse) HasOptions ¶
func (o *SecurityMonitoringRuleResponse) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (*SecurityMonitoringRuleResponse) HasQueries ¶
func (o *SecurityMonitoringRuleResponse) HasQueries() bool
HasQueries returns a boolean if a field has been set.
func (*SecurityMonitoringRuleResponse) HasTags ¶
func (o *SecurityMonitoringRuleResponse) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*SecurityMonitoringRuleResponse) HasType ¶ added in v1.3.0
func (o *SecurityMonitoringRuleResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (*SecurityMonitoringRuleResponse) HasUpdateAuthorId ¶ added in v1.1.0
func (o *SecurityMonitoringRuleResponse) HasUpdateAuthorId() bool
HasUpdateAuthorId returns a boolean if a field has been set.
func (*SecurityMonitoringRuleResponse) HasVersion ¶
func (o *SecurityMonitoringRuleResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (SecurityMonitoringRuleResponse) MarshalJSON ¶
func (o SecurityMonitoringRuleResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringRuleResponse) SetCases ¶
func (o *SecurityMonitoringRuleResponse) SetCases(v []SecurityMonitoringRuleCase)
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 ¶
func (o *SecurityMonitoringRuleResponse) SetFilters(v []SecurityMonitoringFilter)
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 ¶
func (o *SecurityMonitoringRuleResponse) SetId(v string)
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 ¶
func (o *SecurityMonitoringRuleResponse) SetOptions(v SecurityMonitoringRuleOptions)
SetOptions gets a reference to the given SecurityMonitoringRuleOptions and assigns it to the Options field.
func (*SecurityMonitoringRuleResponse) SetQueries ¶
func (o *SecurityMonitoringRuleResponse) SetQueries(v []SecurityMonitoringRuleQuery)
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
func (o *SecurityMonitoringRuleResponse) SetType(v SecurityMonitoringRuleTypeRead)
SetType gets a reference to the given SecurityMonitoringRuleTypeRead and assigns it to the Type field.
func (*SecurityMonitoringRuleResponse) SetUpdateAuthorId ¶ added in v1.1.0
func (o *SecurityMonitoringRuleResponse) SetUpdateAuthorId(v int64)
SetUpdateAuthorId gets a reference to the given int64 and assigns it to the UpdateAuthorId field.
func (*SecurityMonitoringRuleResponse) SetVersion ¶
func (o *SecurityMonitoringRuleResponse) SetVersion(v int64)
SetVersion gets a reference to the given int64 and assigns it to the Version field.
func (*SecurityMonitoringRuleResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringRuleResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleSeverity ¶
type SecurityMonitoringRuleSeverity string
SecurityMonitoringRuleSeverity Severity of the Security Signal.
const ( SECURITYMONITORINGRULESEVERITY_INFO SecurityMonitoringRuleSeverity = "info" SECURITYMONITORINGRULESEVERITY_LOW SecurityMonitoringRuleSeverity = "low" SECURITYMONITORINGRULESEVERITY_MEDIUM SecurityMonitoringRuleSeverity = "medium" SECURITYMONITORINGRULESEVERITY_HIGH SecurityMonitoringRuleSeverity = "high" SECURITYMONITORINGRULESEVERITY_CRITICAL SecurityMonitoringRuleSeverity = "critical" )
List of SecurityMonitoringRuleSeverity.
func NewSecurityMonitoringRuleSeverityFromValue ¶
func NewSecurityMonitoringRuleSeverityFromValue(v string) (*SecurityMonitoringRuleSeverity, error)
NewSecurityMonitoringRuleSeverityFromValue returns a pointer to a valid SecurityMonitoringRuleSeverity for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleSeverity) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityMonitoringRuleSeverity) GetAllowedValues() []SecurityMonitoringRuleSeverity
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleSeverity) IsValid ¶
func (v SecurityMonitoringRuleSeverity) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleSeverity) Ptr ¶
func (v SecurityMonitoringRuleSeverity) Ptr() *SecurityMonitoringRuleSeverity
Ptr returns reference to SecurityMonitoringRuleSeverity value.
func (*SecurityMonitoringRuleSeverity) UnmarshalJSON ¶
func (v *SecurityMonitoringRuleSeverity) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleTypeCreate ¶ added in v1.3.0
type SecurityMonitoringRuleTypeCreate string
SecurityMonitoringRuleTypeCreate The rule type.
const ( SECURITYMONITORINGRULETYPECREATE_LOG_DETECTION SecurityMonitoringRuleTypeCreate = "log_detection" SECURITYMONITORINGRULETYPECREATE_WORKLOAD_SECURITY SecurityMonitoringRuleTypeCreate = "workload_security" )
List of SecurityMonitoringRuleTypeCreate.
func NewSecurityMonitoringRuleTypeCreateFromValue ¶ added in v1.3.0
func NewSecurityMonitoringRuleTypeCreateFromValue(v string) (*SecurityMonitoringRuleTypeCreate, error)
NewSecurityMonitoringRuleTypeCreateFromValue returns a pointer to a valid SecurityMonitoringRuleTypeCreate for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleTypeCreate) GetAllowedValues ¶ added in v1.3.0
func (v *SecurityMonitoringRuleTypeCreate) GetAllowedValues() []SecurityMonitoringRuleTypeCreate
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleTypeCreate) IsValid ¶ added in v1.3.0
func (v SecurityMonitoringRuleTypeCreate) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleTypeCreate) Ptr ¶ added in v1.3.0
func (v SecurityMonitoringRuleTypeCreate) Ptr() *SecurityMonitoringRuleTypeCreate
Ptr returns reference to SecurityMonitoringRuleTypeCreate value.
func (*SecurityMonitoringRuleTypeCreate) UnmarshalJSON ¶ added in v1.3.0
func (v *SecurityMonitoringRuleTypeCreate) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleTypeRead ¶ added in v1.3.0
type SecurityMonitoringRuleTypeRead string
SecurityMonitoringRuleTypeRead The rule type.
const ( SECURITYMONITORINGRULETYPEREAD_LOG_DETECTION SecurityMonitoringRuleTypeRead = "log_detection" SECURITYMONITORINGRULETYPEREAD_INFRASTRUCTURE_CONFIGURATION SecurityMonitoringRuleTypeRead = "infrastructure_configuration" SECURITYMONITORINGRULETYPEREAD_WORKLOAD_SECURITY SecurityMonitoringRuleTypeRead = "workload_security" SECURITYMONITORINGRULETYPEREAD_CLOUD_CONFIGURATION SecurityMonitoringRuleTypeRead = "cloud_configuration" )
List of SecurityMonitoringRuleTypeRead.
func NewSecurityMonitoringRuleTypeReadFromValue ¶ added in v1.3.0
func NewSecurityMonitoringRuleTypeReadFromValue(v string) (*SecurityMonitoringRuleTypeRead, error)
NewSecurityMonitoringRuleTypeReadFromValue returns a pointer to a valid SecurityMonitoringRuleTypeRead for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringRuleTypeRead) GetAllowedValues ¶ added in v1.3.0
func (v *SecurityMonitoringRuleTypeRead) GetAllowedValues() []SecurityMonitoringRuleTypeRead
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringRuleTypeRead) IsValid ¶ added in v1.3.0
func (v SecurityMonitoringRuleTypeRead) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringRuleTypeRead) Ptr ¶ added in v1.3.0
func (v SecurityMonitoringRuleTypeRead) Ptr() *SecurityMonitoringRuleTypeRead
Ptr returns reference to SecurityMonitoringRuleTypeRead value.
func (*SecurityMonitoringRuleTypeRead) UnmarshalJSON ¶ added in v1.3.0
func (v *SecurityMonitoringRuleTypeRead) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringRuleUpdatePayload ¶
type SecurityMonitoringRuleUpdatePayload struct {
// Cases for generating signals.
Cases []SecurityMonitoringRuleCase `json:"cases,omitempty"`
// Additional queries to filter matched events before they are processed.
Filters []SecurityMonitoringFilter `json:"filters,omitempty"`
// Whether the notifications include the triggering group-by values in their title.
HasExtendedTitle *bool `json:"hasExtendedTitle,omitempty"`
// Whether the rule is enabled.
IsEnabled *bool `json:"isEnabled,omitempty"`
// Message for generated signals.
Message *string `json:"message,omitempty"`
// Name of the rule.
Name *string `json:"name,omitempty"`
// Options on rules.
Options *SecurityMonitoringRuleOptions `json:"options,omitempty"`
// Queries for selecting logs which are part of the rule.
Queries []SecurityMonitoringRuleQuery `json:"queries,omitempty"`
// Tags for generated signals.
Tags []string `json:"tags,omitempty"`
// The version of the rule being updated.
Version *int32 `json:"version,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringRuleUpdatePayload Update an existing rule.
func NewSecurityMonitoringRuleUpdatePayload ¶
func NewSecurityMonitoringRuleUpdatePayload() *SecurityMonitoringRuleUpdatePayload
NewSecurityMonitoringRuleUpdatePayload instantiates a new SecurityMonitoringRuleUpdatePayload object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringRuleUpdatePayloadWithDefaults ¶
func NewSecurityMonitoringRuleUpdatePayloadWithDefaults() *SecurityMonitoringRuleUpdatePayload
NewSecurityMonitoringRuleUpdatePayloadWithDefaults instantiates a new SecurityMonitoringRuleUpdatePayload object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringRuleUpdatePayload) GetCases ¶
func (o *SecurityMonitoringRuleUpdatePayload) GetCases() []SecurityMonitoringRuleCase
GetCases returns the Cases field value if set, zero value otherwise.
func (*SecurityMonitoringRuleUpdatePayload) GetCasesOk ¶
func (o *SecurityMonitoringRuleUpdatePayload) GetCasesOk() (*[]SecurityMonitoringRuleCase, bool)
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 ¶
func (o *SecurityMonitoringRuleUpdatePayload) GetFilters() []SecurityMonitoringFilter
GetFilters returns the Filters field value if set, zero value otherwise.
func (*SecurityMonitoringRuleUpdatePayload) GetFiltersOk ¶
func (o *SecurityMonitoringRuleUpdatePayload) GetFiltersOk() (*[]SecurityMonitoringFilter, bool)
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 ¶
func (o *SecurityMonitoringRuleUpdatePayload) GetMessage() string
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 ¶
func (o *SecurityMonitoringRuleUpdatePayload) GetName() string
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 ¶
func (o *SecurityMonitoringRuleUpdatePayload) GetOptions() SecurityMonitoringRuleOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*SecurityMonitoringRuleUpdatePayload) GetOptionsOk ¶
func (o *SecurityMonitoringRuleUpdatePayload) GetOptionsOk() (*SecurityMonitoringRuleOptions, 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 (*SecurityMonitoringRuleUpdatePayload) GetQueries ¶
func (o *SecurityMonitoringRuleUpdatePayload) GetQueries() []SecurityMonitoringRuleQuery
GetQueries returns the Queries field value if set, zero value otherwise.
func (*SecurityMonitoringRuleUpdatePayload) GetQueriesOk ¶
func (o *SecurityMonitoringRuleUpdatePayload) GetQueriesOk() (*[]SecurityMonitoringRuleQuery, bool)
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 ¶
func (o *SecurityMonitoringRuleUpdatePayload) GetTags() []string
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
func (o *SecurityMonitoringRuleUpdatePayload) GetVersion() int32
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 ¶
func (o *SecurityMonitoringRuleUpdatePayload) HasCases() bool
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 ¶
func (o *SecurityMonitoringRuleUpdatePayload) HasName() bool
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 ¶
func (o *SecurityMonitoringRuleUpdatePayload) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*SecurityMonitoringRuleUpdatePayload) HasVersion ¶ added in v1.1.0
func (o *SecurityMonitoringRuleUpdatePayload) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (SecurityMonitoringRuleUpdatePayload) MarshalJSON ¶
func (o SecurityMonitoringRuleUpdatePayload) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringRuleUpdatePayload) SetCases ¶
func (o *SecurityMonitoringRuleUpdatePayload) SetCases(v []SecurityMonitoringRuleCase)
SetCases gets a reference to the given []SecurityMonitoringRuleCase and assigns it to the Cases field.
func (*SecurityMonitoringRuleUpdatePayload) SetFilters ¶
func (o *SecurityMonitoringRuleUpdatePayload) SetFilters(v []SecurityMonitoringFilter)
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 ¶
func (o *SecurityMonitoringRuleUpdatePayload) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*SecurityMonitoringRuleUpdatePayload) SetName ¶
func (o *SecurityMonitoringRuleUpdatePayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SecurityMonitoringRuleUpdatePayload) SetOptions ¶
func (o *SecurityMonitoringRuleUpdatePayload) SetOptions(v SecurityMonitoringRuleOptions)
SetOptions gets a reference to the given SecurityMonitoringRuleOptions and assigns it to the Options field.
func (*SecurityMonitoringRuleUpdatePayload) SetQueries ¶
func (o *SecurityMonitoringRuleUpdatePayload) SetQueries(v []SecurityMonitoringRuleQuery)
SetQueries gets a reference to the given []SecurityMonitoringRuleQuery and assigns it to the Queries field.
func (*SecurityMonitoringRuleUpdatePayload) SetTags ¶
func (o *SecurityMonitoringRuleUpdatePayload) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*SecurityMonitoringRuleUpdatePayload) SetVersion ¶ added in v1.1.0
func (o *SecurityMonitoringRuleUpdatePayload) SetVersion(v int32)
SetVersion gets a reference to the given int32 and assigns it to the Version field.
func (*SecurityMonitoringRuleUpdatePayload) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringRuleUpdatePayload) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignal ¶
type SecurityMonitoringSignal struct {
// The object containing all signal attributes and their
// associated values.
Attributes *SecurityMonitoringSignalAttributes `json:"attributes,omitempty"`
// The unique ID of the security signal.
Id *string `json:"id,omitempty"`
// The type of event.
Type *SecurityMonitoringSignalType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignal Object description of a security signal.
func NewSecurityMonitoringSignal ¶
func NewSecurityMonitoringSignal() *SecurityMonitoringSignal
NewSecurityMonitoringSignal instantiates a new SecurityMonitoringSignal object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalWithDefaults ¶
func NewSecurityMonitoringSignalWithDefaults() *SecurityMonitoringSignal
NewSecurityMonitoringSignalWithDefaults instantiates a new SecurityMonitoringSignal object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignal) GetAttributes ¶
func (o *SecurityMonitoringSignal) GetAttributes() SecurityMonitoringSignalAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*SecurityMonitoringSignal) GetAttributesOk ¶
func (o *SecurityMonitoringSignal) GetAttributesOk() (*SecurityMonitoringSignalAttributes, 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 (*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 ¶
func (o *SecurityMonitoringSignal) GetType() SecurityMonitoringSignalType
GetType returns the Type field value if set, zero value otherwise.
func (*SecurityMonitoringSignal) GetTypeOk ¶
func (o *SecurityMonitoringSignal) GetTypeOk() (*SecurityMonitoringSignalType, 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 (*SecurityMonitoringSignal) HasAttributes ¶
func (o *SecurityMonitoringSignal) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*SecurityMonitoringSignal) HasId ¶
func (o *SecurityMonitoringSignal) HasId() bool
HasId returns a boolean if a field has been set.
func (*SecurityMonitoringSignal) HasType ¶
func (o *SecurityMonitoringSignal) HasType() bool
HasType returns a boolean if a field has been set.
func (SecurityMonitoringSignal) MarshalJSON ¶
func (o SecurityMonitoringSignal) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignal) SetAttributes ¶
func (o *SecurityMonitoringSignal) SetAttributes(v SecurityMonitoringSignalAttributes)
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 ¶
func (o *SecurityMonitoringSignal) SetType(v SecurityMonitoringSignalType)
SetType gets a reference to the given SecurityMonitoringSignalType and assigns it to the Type field.
func (*SecurityMonitoringSignal) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringSignal) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalArchiveReason ¶ added in v1.16.0
type SecurityMonitoringSignalArchiveReason string
SecurityMonitoringSignalArchiveReason Reason a signal is archived.
const ( SECURITYMONITORINGSIGNALARCHIVEREASON_NONE SecurityMonitoringSignalArchiveReason = "none" SECURITYMONITORINGSIGNALARCHIVEREASON_FALSE_POSITIVE SecurityMonitoringSignalArchiveReason = "false_positive" SECURITYMONITORINGSIGNALARCHIVEREASON_TESTING_OR_MAINTENANCE SecurityMonitoringSignalArchiveReason = "testing_or_maintenance" SECURITYMONITORINGSIGNALARCHIVEREASON_OTHER SecurityMonitoringSignalArchiveReason = "other" )
List of SecurityMonitoringSignalArchiveReason.
func NewSecurityMonitoringSignalArchiveReasonFromValue ¶ added in v1.16.0
func NewSecurityMonitoringSignalArchiveReasonFromValue(v string) (*SecurityMonitoringSignalArchiveReason, error)
NewSecurityMonitoringSignalArchiveReasonFromValue returns a pointer to a valid SecurityMonitoringSignalArchiveReason for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringSignalArchiveReason) GetAllowedValues ¶ added in v1.16.0
func (v *SecurityMonitoringSignalArchiveReason) GetAllowedValues() []SecurityMonitoringSignalArchiveReason
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringSignalArchiveReason) IsValid ¶ added in v1.16.0
func (v SecurityMonitoringSignalArchiveReason) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringSignalArchiveReason) Ptr ¶ added in v1.16.0
Ptr returns reference to SecurityMonitoringSignalArchiveReason value.
func (*SecurityMonitoringSignalArchiveReason) UnmarshalJSON ¶ added in v1.16.0
func (v *SecurityMonitoringSignalArchiveReason) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalAssigneeUpdateAttributes ¶ added in v1.16.0
type SecurityMonitoringSignalAssigneeUpdateAttributes struct {
// Object representing a given user entity.
Assignee SecurityMonitoringTriageUser `json:"assignee"`
// Version of the updated signal. If server side version is higher, update will be rejected.
Version *int64 `json:"version,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalAssigneeUpdateAttributes Attributes describing the new assignee of a security signal.
func NewSecurityMonitoringSignalAssigneeUpdateAttributes ¶ added in v1.16.0
func NewSecurityMonitoringSignalAssigneeUpdateAttributes(assignee SecurityMonitoringTriageUser) *SecurityMonitoringSignalAssigneeUpdateAttributes
NewSecurityMonitoringSignalAssigneeUpdateAttributes instantiates a new SecurityMonitoringSignalAssigneeUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalAssigneeUpdateAttributesWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalAssigneeUpdateAttributesWithDefaults() *SecurityMonitoringSignalAssigneeUpdateAttributes
NewSecurityMonitoringSignalAssigneeUpdateAttributesWithDefaults instantiates a new SecurityMonitoringSignalAssigneeUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalAssigneeUpdateAttributes) GetAssignee ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) GetAssignee() SecurityMonitoringTriageUser
GetAssignee returns the Assignee field value.
func (*SecurityMonitoringSignalAssigneeUpdateAttributes) GetAssigneeOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) GetAssigneeOk() (*SecurityMonitoringTriageUser, bool)
GetAssigneeOk returns a tuple with the Assignee field value and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalAssigneeUpdateAttributes) GetVersion ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) GetVersion() int64
GetVersion returns the Version field value if set, zero value otherwise.
func (*SecurityMonitoringSignalAssigneeUpdateAttributes) GetVersionOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) 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 (*SecurityMonitoringSignalAssigneeUpdateAttributes) HasVersion ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (SecurityMonitoringSignalAssigneeUpdateAttributes) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalAssigneeUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalAssigneeUpdateAttributes) SetAssignee ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) SetAssignee(v SecurityMonitoringTriageUser)
SetAssignee sets field value.
func (*SecurityMonitoringSignalAssigneeUpdateAttributes) SetVersion ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) SetVersion(v int64)
SetVersion gets a reference to the given int64 and assigns it to the Version field.
func (*SecurityMonitoringSignalAssigneeUpdateAttributes) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalAssigneeUpdateData ¶ added in v1.16.0
type SecurityMonitoringSignalAssigneeUpdateData struct {
// Attributes describing the new assignee of a security signal.
Attributes SecurityMonitoringSignalAssigneeUpdateAttributes `json:"attributes"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalAssigneeUpdateData Data containing the patch for changing the assignee of a signal.
func NewSecurityMonitoringSignalAssigneeUpdateData ¶ added in v1.16.0
func NewSecurityMonitoringSignalAssigneeUpdateData(attributes SecurityMonitoringSignalAssigneeUpdateAttributes) *SecurityMonitoringSignalAssigneeUpdateData
NewSecurityMonitoringSignalAssigneeUpdateData instantiates a new SecurityMonitoringSignalAssigneeUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalAssigneeUpdateDataWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalAssigneeUpdateDataWithDefaults() *SecurityMonitoringSignalAssigneeUpdateData
NewSecurityMonitoringSignalAssigneeUpdateDataWithDefaults instantiates a new SecurityMonitoringSignalAssigneeUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalAssigneeUpdateData) GetAttributes ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateData) GetAttributes() SecurityMonitoringSignalAssigneeUpdateAttributes
GetAttributes returns the Attributes field value.
func (*SecurityMonitoringSignalAssigneeUpdateData) GetAttributesOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateData) GetAttributesOk() (*SecurityMonitoringSignalAssigneeUpdateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (SecurityMonitoringSignalAssigneeUpdateData) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalAssigneeUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalAssigneeUpdateData) SetAttributes ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateData) SetAttributes(v SecurityMonitoringSignalAssigneeUpdateAttributes)
SetAttributes sets field value.
func (*SecurityMonitoringSignalAssigneeUpdateData) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalAssigneeUpdateRequest ¶ added in v1.16.0
type SecurityMonitoringSignalAssigneeUpdateRequest struct {
// Data containing the patch for changing the assignee of a signal.
Data SecurityMonitoringSignalAssigneeUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalAssigneeUpdateRequest Request body for changing the assignee of a given security monitoring signal.
func NewSecurityMonitoringSignalAssigneeUpdateRequest ¶ added in v1.16.0
func NewSecurityMonitoringSignalAssigneeUpdateRequest(data SecurityMonitoringSignalAssigneeUpdateData) *SecurityMonitoringSignalAssigneeUpdateRequest
NewSecurityMonitoringSignalAssigneeUpdateRequest instantiates a new SecurityMonitoringSignalAssigneeUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalAssigneeUpdateRequestWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalAssigneeUpdateRequestWithDefaults() *SecurityMonitoringSignalAssigneeUpdateRequest
NewSecurityMonitoringSignalAssigneeUpdateRequestWithDefaults instantiates a new SecurityMonitoringSignalAssigneeUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalAssigneeUpdateRequest) GetData ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateRequest) GetData() SecurityMonitoringSignalAssigneeUpdateData
GetData returns the Data field value.
func (*SecurityMonitoringSignalAssigneeUpdateRequest) GetDataOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateRequest) GetDataOk() (*SecurityMonitoringSignalAssigneeUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecurityMonitoringSignalAssigneeUpdateRequest) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalAssigneeUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalAssigneeUpdateRequest) SetData ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateRequest) SetData(v SecurityMonitoringSignalAssigneeUpdateData)
SetData sets field value.
func (*SecurityMonitoringSignalAssigneeUpdateRequest) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalAssigneeUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalAttributes ¶
type SecurityMonitoringSignalAttributes struct {
// A JSON object of attributes in the security signal.
Attributes map[string]interface{} `json:"attributes,omitempty"`
// The message in the security signal defined by the rule that generated the signal.
Message *string `json:"message,omitempty"`
// An array of tags associated with the security signal.
Tags []string `json:"tags,omitempty"`
// The timestamp of the security signal.
Timestamp *time.Time `json:"timestamp,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalAttributes The object containing all signal attributes and their associated values.
func NewSecurityMonitoringSignalAttributes ¶
func NewSecurityMonitoringSignalAttributes() *SecurityMonitoringSignalAttributes
NewSecurityMonitoringSignalAttributes instantiates a new SecurityMonitoringSignalAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalAttributesWithDefaults ¶
func NewSecurityMonitoringSignalAttributesWithDefaults() *SecurityMonitoringSignalAttributes
NewSecurityMonitoringSignalAttributesWithDefaults instantiates a new SecurityMonitoringSignalAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalAttributes) GetAttributes ¶
func (o *SecurityMonitoringSignalAttributes) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*SecurityMonitoringSignalAttributes) GetAttributesOk ¶
func (o *SecurityMonitoringSignalAttributes) GetAttributesOk() (*map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalAttributes) GetMessage ¶
func (o *SecurityMonitoringSignalAttributes) GetMessage() string
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 ¶
func (o *SecurityMonitoringSignalAttributes) GetTags() []string
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 ¶
func (o *SecurityMonitoringSignalAttributes) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*SecurityMonitoringSignalAttributes) HasTimestamp ¶
func (o *SecurityMonitoringSignalAttributes) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (SecurityMonitoringSignalAttributes) MarshalJSON ¶
func (o SecurityMonitoringSignalAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalAttributes) SetAttributes ¶
func (o *SecurityMonitoringSignalAttributes) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (*SecurityMonitoringSignalAttributes) SetMessage ¶
func (o *SecurityMonitoringSignalAttributes) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*SecurityMonitoringSignalAttributes) SetTags ¶
func (o *SecurityMonitoringSignalAttributes) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*SecurityMonitoringSignalAttributes) SetTimestamp ¶
func (o *SecurityMonitoringSignalAttributes) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
func (*SecurityMonitoringSignalAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringSignalAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalIncidentsUpdateAttributes ¶ added in v1.16.0
type SecurityMonitoringSignalIncidentsUpdateAttributes struct {
// Array of incidents that are associated with this signal.
IncidentIds []int64 `json:"incident_ids"`
// Version of the updated signal. If server side version is higher, update will be rejected.
Version *int64 `json:"version,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalIncidentsUpdateAttributes Attributes describing the new list of related signals for a security signal.
func NewSecurityMonitoringSignalIncidentsUpdateAttributes ¶ added in v1.16.0
func NewSecurityMonitoringSignalIncidentsUpdateAttributes(incidentIds []int64) *SecurityMonitoringSignalIncidentsUpdateAttributes
NewSecurityMonitoringSignalIncidentsUpdateAttributes instantiates a new SecurityMonitoringSignalIncidentsUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalIncidentsUpdateAttributesWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalIncidentsUpdateAttributesWithDefaults() *SecurityMonitoringSignalIncidentsUpdateAttributes
NewSecurityMonitoringSignalIncidentsUpdateAttributesWithDefaults instantiates a new SecurityMonitoringSignalIncidentsUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalIncidentsUpdateAttributes) GetIncidentIds ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) GetIncidentIds() []int64
GetIncidentIds returns the IncidentIds field value.
func (*SecurityMonitoringSignalIncidentsUpdateAttributes) GetIncidentIdsOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) GetIncidentIdsOk() (*[]int64, bool)
GetIncidentIdsOk returns a tuple with the IncidentIds field value and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalIncidentsUpdateAttributes) GetVersion ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) GetVersion() int64
GetVersion returns the Version field value if set, zero value otherwise.
func (*SecurityMonitoringSignalIncidentsUpdateAttributes) GetVersionOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) 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 (*SecurityMonitoringSignalIncidentsUpdateAttributes) HasVersion ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (SecurityMonitoringSignalIncidentsUpdateAttributes) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalIncidentsUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalIncidentsUpdateAttributes) SetIncidentIds ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) SetIncidentIds(v []int64)
SetIncidentIds sets field value.
func (*SecurityMonitoringSignalIncidentsUpdateAttributes) SetVersion ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) SetVersion(v int64)
SetVersion gets a reference to the given int64 and assigns it to the Version field.
func (*SecurityMonitoringSignalIncidentsUpdateAttributes) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalIncidentsUpdateData ¶ added in v1.16.0
type SecurityMonitoringSignalIncidentsUpdateData struct {
// Attributes describing the new list of related signals for a security signal.
Attributes SecurityMonitoringSignalIncidentsUpdateAttributes `json:"attributes"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalIncidentsUpdateData Data containing the patch for changing the related incidents of a signal.
func NewSecurityMonitoringSignalIncidentsUpdateData ¶ added in v1.16.0
func NewSecurityMonitoringSignalIncidentsUpdateData(attributes SecurityMonitoringSignalIncidentsUpdateAttributes) *SecurityMonitoringSignalIncidentsUpdateData
NewSecurityMonitoringSignalIncidentsUpdateData instantiates a new SecurityMonitoringSignalIncidentsUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalIncidentsUpdateDataWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalIncidentsUpdateDataWithDefaults() *SecurityMonitoringSignalIncidentsUpdateData
NewSecurityMonitoringSignalIncidentsUpdateDataWithDefaults instantiates a new SecurityMonitoringSignalIncidentsUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalIncidentsUpdateData) GetAttributes ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateData) GetAttributes() SecurityMonitoringSignalIncidentsUpdateAttributes
GetAttributes returns the Attributes field value.
func (*SecurityMonitoringSignalIncidentsUpdateData) GetAttributesOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateData) GetAttributesOk() (*SecurityMonitoringSignalIncidentsUpdateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (SecurityMonitoringSignalIncidentsUpdateData) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalIncidentsUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalIncidentsUpdateData) SetAttributes ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateData) SetAttributes(v SecurityMonitoringSignalIncidentsUpdateAttributes)
SetAttributes sets field value.
func (*SecurityMonitoringSignalIncidentsUpdateData) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalIncidentsUpdateRequest ¶ added in v1.16.0
type SecurityMonitoringSignalIncidentsUpdateRequest struct {
// Data containing the patch for changing the related incidents of a signal.
Data SecurityMonitoringSignalIncidentsUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalIncidentsUpdateRequest Request body for changing the related incidents of a given security monitoring signal.
func NewSecurityMonitoringSignalIncidentsUpdateRequest ¶ added in v1.16.0
func NewSecurityMonitoringSignalIncidentsUpdateRequest(data SecurityMonitoringSignalIncidentsUpdateData) *SecurityMonitoringSignalIncidentsUpdateRequest
NewSecurityMonitoringSignalIncidentsUpdateRequest instantiates a new SecurityMonitoringSignalIncidentsUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalIncidentsUpdateRequestWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalIncidentsUpdateRequestWithDefaults() *SecurityMonitoringSignalIncidentsUpdateRequest
NewSecurityMonitoringSignalIncidentsUpdateRequestWithDefaults instantiates a new SecurityMonitoringSignalIncidentsUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalIncidentsUpdateRequest) GetData ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateRequest) GetData() SecurityMonitoringSignalIncidentsUpdateData
GetData returns the Data field value.
func (*SecurityMonitoringSignalIncidentsUpdateRequest) GetDataOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateRequest) GetDataOk() (*SecurityMonitoringSignalIncidentsUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecurityMonitoringSignalIncidentsUpdateRequest) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalIncidentsUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalIncidentsUpdateRequest) SetData ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateRequest) SetData(v SecurityMonitoringSignalIncidentsUpdateData)
SetData sets field value.
func (*SecurityMonitoringSignalIncidentsUpdateRequest) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalIncidentsUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalListRequest ¶
type SecurityMonitoringSignalListRequest struct {
// Search filters for listing security signals.
Filter *SecurityMonitoringSignalListRequestFilter `json:"filter,omitempty"`
// The paging attributes for listing security signals.
Page *SecurityMonitoringSignalListRequestPage `json:"page,omitempty"`
// The sort parameters used for querying security signals.
Sort *SecurityMonitoringSignalsSort `json:"sort,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalListRequest The request for a security signal list.
func NewSecurityMonitoringSignalListRequest ¶
func NewSecurityMonitoringSignalListRequest() *SecurityMonitoringSignalListRequest
NewSecurityMonitoringSignalListRequest instantiates a new SecurityMonitoringSignalListRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalListRequestWithDefaults ¶
func NewSecurityMonitoringSignalListRequestWithDefaults() *SecurityMonitoringSignalListRequest
NewSecurityMonitoringSignalListRequestWithDefaults instantiates a new SecurityMonitoringSignalListRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalListRequest) GetFilter ¶
func (o *SecurityMonitoringSignalListRequest) GetFilter() SecurityMonitoringSignalListRequestFilter
GetFilter returns the Filter field value if set, zero value otherwise.
func (*SecurityMonitoringSignalListRequest) GetFilterOk ¶
func (o *SecurityMonitoringSignalListRequest) GetFilterOk() (*SecurityMonitoringSignalListRequestFilter, 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 (*SecurityMonitoringSignalListRequest) GetPage ¶
func (o *SecurityMonitoringSignalListRequest) GetPage() SecurityMonitoringSignalListRequestPage
GetPage returns the Page field value if set, zero value otherwise.
func (*SecurityMonitoringSignalListRequest) GetPageOk ¶
func (o *SecurityMonitoringSignalListRequest) GetPageOk() (*SecurityMonitoringSignalListRequestPage, 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 (*SecurityMonitoringSignalListRequest) GetSort ¶
func (o *SecurityMonitoringSignalListRequest) GetSort() SecurityMonitoringSignalsSort
GetSort returns the Sort field value if set, zero value otherwise.
func (*SecurityMonitoringSignalListRequest) GetSortOk ¶
func (o *SecurityMonitoringSignalListRequest) GetSortOk() (*SecurityMonitoringSignalsSort, 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 (*SecurityMonitoringSignalListRequest) HasFilter ¶
func (o *SecurityMonitoringSignalListRequest) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*SecurityMonitoringSignalListRequest) HasPage ¶
func (o *SecurityMonitoringSignalListRequest) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*SecurityMonitoringSignalListRequest) HasSort ¶
func (o *SecurityMonitoringSignalListRequest) HasSort() bool
HasSort returns a boolean if a field has been set.
func (SecurityMonitoringSignalListRequest) MarshalJSON ¶
func (o SecurityMonitoringSignalListRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalListRequest) SetFilter ¶
func (o *SecurityMonitoringSignalListRequest) SetFilter(v SecurityMonitoringSignalListRequestFilter)
SetFilter gets a reference to the given SecurityMonitoringSignalListRequestFilter and assigns it to the Filter field.
func (*SecurityMonitoringSignalListRequest) SetPage ¶
func (o *SecurityMonitoringSignalListRequest) SetPage(v SecurityMonitoringSignalListRequestPage)
SetPage gets a reference to the given SecurityMonitoringSignalListRequestPage and assigns it to the Page field.
func (*SecurityMonitoringSignalListRequest) SetSort ¶
func (o *SecurityMonitoringSignalListRequest) SetSort(v SecurityMonitoringSignalsSort)
SetSort gets a reference to the given SecurityMonitoringSignalsSort and assigns it to the Sort field.
func (*SecurityMonitoringSignalListRequest) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringSignalListRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalListRequestFilter ¶
type SecurityMonitoringSignalListRequestFilter struct {
// The minimum timestamp for requested security signals.
From *time.Time `json:"from,omitempty"`
// Search query for listing security signals.
Query *string `json:"query,omitempty"`
// The maximum timestamp for requested security signals.
To *time.Time `json:"to,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalListRequestFilter Search filters for listing security signals.
func NewSecurityMonitoringSignalListRequestFilter ¶
func NewSecurityMonitoringSignalListRequestFilter() *SecurityMonitoringSignalListRequestFilter
NewSecurityMonitoringSignalListRequestFilter instantiates a new SecurityMonitoringSignalListRequestFilter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalListRequestFilterWithDefaults ¶
func NewSecurityMonitoringSignalListRequestFilterWithDefaults() *SecurityMonitoringSignalListRequestFilter
NewSecurityMonitoringSignalListRequestFilterWithDefaults instantiates a new SecurityMonitoringSignalListRequestFilter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalListRequestFilter) GetFrom ¶
func (o *SecurityMonitoringSignalListRequestFilter) GetFrom() time.Time
GetFrom returns the From field value if set, zero value otherwise.
func (*SecurityMonitoringSignalListRequestFilter) GetFromOk ¶
func (o *SecurityMonitoringSignalListRequestFilter) GetFromOk() (*time.Time, 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 (*SecurityMonitoringSignalListRequestFilter) GetQuery ¶
func (o *SecurityMonitoringSignalListRequestFilter) GetQuery() string
GetQuery returns the Query field value if set, zero value otherwise.
func (*SecurityMonitoringSignalListRequestFilter) GetQueryOk ¶
func (o *SecurityMonitoringSignalListRequestFilter) 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 (*SecurityMonitoringSignalListRequestFilter) GetTo ¶
func (o *SecurityMonitoringSignalListRequestFilter) GetTo() time.Time
GetTo returns the To field value if set, zero value otherwise.
func (*SecurityMonitoringSignalListRequestFilter) GetToOk ¶
func (o *SecurityMonitoringSignalListRequestFilter) GetToOk() (*time.Time, 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 (*SecurityMonitoringSignalListRequestFilter) HasFrom ¶
func (o *SecurityMonitoringSignalListRequestFilter) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (*SecurityMonitoringSignalListRequestFilter) HasQuery ¶
func (o *SecurityMonitoringSignalListRequestFilter) HasQuery() bool
HasQuery returns a boolean if a field has been set.
func (*SecurityMonitoringSignalListRequestFilter) HasTo ¶
func (o *SecurityMonitoringSignalListRequestFilter) HasTo() bool
HasTo returns a boolean if a field has been set.
func (SecurityMonitoringSignalListRequestFilter) MarshalJSON ¶
func (o SecurityMonitoringSignalListRequestFilter) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalListRequestFilter) SetFrom ¶
func (o *SecurityMonitoringSignalListRequestFilter) SetFrom(v time.Time)
SetFrom gets a reference to the given time.Time and assigns it to the From field.
func (*SecurityMonitoringSignalListRequestFilter) SetQuery ¶
func (o *SecurityMonitoringSignalListRequestFilter) SetQuery(v string)
SetQuery gets a reference to the given string and assigns it to the Query field.
func (*SecurityMonitoringSignalListRequestFilter) SetTo ¶
func (o *SecurityMonitoringSignalListRequestFilter) SetTo(v time.Time)
SetTo gets a reference to the given time.Time and assigns it to the To field.
func (*SecurityMonitoringSignalListRequestFilter) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringSignalListRequestFilter) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalListRequestPage ¶
type SecurityMonitoringSignalListRequestPage struct {
// A list of results using the cursor provided in the previous query.
Cursor *string `json:"cursor,omitempty"`
// The maximum number of security signals in the response.
Limit *int32 `json:"limit,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalListRequestPage The paging attributes for listing security signals.
func NewSecurityMonitoringSignalListRequestPage ¶
func NewSecurityMonitoringSignalListRequestPage() *SecurityMonitoringSignalListRequestPage
NewSecurityMonitoringSignalListRequestPage instantiates a new SecurityMonitoringSignalListRequestPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalListRequestPageWithDefaults ¶
func NewSecurityMonitoringSignalListRequestPageWithDefaults() *SecurityMonitoringSignalListRequestPage
NewSecurityMonitoringSignalListRequestPageWithDefaults instantiates a new SecurityMonitoringSignalListRequestPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalListRequestPage) GetCursor ¶
func (o *SecurityMonitoringSignalListRequestPage) GetCursor() string
GetCursor returns the Cursor field value if set, zero value otherwise.
func (*SecurityMonitoringSignalListRequestPage) GetCursorOk ¶
func (o *SecurityMonitoringSignalListRequestPage) 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 (*SecurityMonitoringSignalListRequestPage) GetLimit ¶
func (o *SecurityMonitoringSignalListRequestPage) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*SecurityMonitoringSignalListRequestPage) GetLimitOk ¶
func (o *SecurityMonitoringSignalListRequestPage) 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 (*SecurityMonitoringSignalListRequestPage) HasCursor ¶
func (o *SecurityMonitoringSignalListRequestPage) HasCursor() bool
HasCursor returns a boolean if a field has been set.
func (*SecurityMonitoringSignalListRequestPage) HasLimit ¶
func (o *SecurityMonitoringSignalListRequestPage) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (SecurityMonitoringSignalListRequestPage) MarshalJSON ¶
func (o SecurityMonitoringSignalListRequestPage) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalListRequestPage) SetCursor ¶
func (o *SecurityMonitoringSignalListRequestPage) SetCursor(v string)
SetCursor gets a reference to the given string and assigns it to the Cursor field.
func (*SecurityMonitoringSignalListRequestPage) SetLimit ¶
func (o *SecurityMonitoringSignalListRequestPage) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*SecurityMonitoringSignalListRequestPage) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringSignalListRequestPage) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalState ¶ added in v1.16.0
type SecurityMonitoringSignalState string
SecurityMonitoringSignalState The new triage state of the signal.
const ( SECURITYMONITORINGSIGNALSTATE_OPEN SecurityMonitoringSignalState = "open" SECURITYMONITORINGSIGNALSTATE_ARCHIVED SecurityMonitoringSignalState = "archived" SECURITYMONITORINGSIGNALSTATE_UNDER_REVIEW SecurityMonitoringSignalState = "under_review" )
List of SecurityMonitoringSignalState.
func NewSecurityMonitoringSignalStateFromValue ¶ added in v1.16.0
func NewSecurityMonitoringSignalStateFromValue(v string) (*SecurityMonitoringSignalState, error)
NewSecurityMonitoringSignalStateFromValue returns a pointer to a valid SecurityMonitoringSignalState for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringSignalState) GetAllowedValues ¶ added in v1.16.0
func (v *SecurityMonitoringSignalState) GetAllowedValues() []SecurityMonitoringSignalState
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringSignalState) IsValid ¶ added in v1.16.0
func (v SecurityMonitoringSignalState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringSignalState) Ptr ¶ added in v1.16.0
func (v SecurityMonitoringSignalState) Ptr() *SecurityMonitoringSignalState
Ptr returns reference to SecurityMonitoringSignalState value.
func (*SecurityMonitoringSignalState) UnmarshalJSON ¶ added in v1.16.0
func (v *SecurityMonitoringSignalState) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalStateUpdateAttributes ¶ added in v1.16.0
type SecurityMonitoringSignalStateUpdateAttributes struct {
// Optional comment to display on archived signals.
ArchiveComment *string `json:"archive_comment,omitempty"`
// Reason a signal is archived.
ArchiveReason *SecurityMonitoringSignalArchiveReason `json:"archive_reason,omitempty"`
// The new triage state of the signal.
State SecurityMonitoringSignalState `json:"state"`
// Version of the updated signal. If server side version is higher, update will be rejected.
Version *int64 `json:"version,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalStateUpdateAttributes Attributes describing the change of state of a security signal.
func NewSecurityMonitoringSignalStateUpdateAttributes ¶ added in v1.16.0
func NewSecurityMonitoringSignalStateUpdateAttributes(state SecurityMonitoringSignalState) *SecurityMonitoringSignalStateUpdateAttributes
NewSecurityMonitoringSignalStateUpdateAttributes instantiates a new SecurityMonitoringSignalStateUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalStateUpdateAttributesWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalStateUpdateAttributesWithDefaults() *SecurityMonitoringSignalStateUpdateAttributes
NewSecurityMonitoringSignalStateUpdateAttributesWithDefaults instantiates a new SecurityMonitoringSignalStateUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalStateUpdateAttributes) GetArchiveComment ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) GetArchiveComment() string
GetArchiveComment returns the ArchiveComment field value if set, zero value otherwise.
func (*SecurityMonitoringSignalStateUpdateAttributes) GetArchiveCommentOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) GetArchiveCommentOk() (*string, bool)
GetArchiveCommentOk returns a tuple with the ArchiveComment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalStateUpdateAttributes) GetArchiveReason ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) GetArchiveReason() SecurityMonitoringSignalArchiveReason
GetArchiveReason returns the ArchiveReason field value if set, zero value otherwise.
func (*SecurityMonitoringSignalStateUpdateAttributes) GetArchiveReasonOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) GetArchiveReasonOk() (*SecurityMonitoringSignalArchiveReason, bool)
GetArchiveReasonOk returns a tuple with the ArchiveReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalStateUpdateAttributes) GetState ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) GetState() SecurityMonitoringSignalState
GetState returns the State field value.
func (*SecurityMonitoringSignalStateUpdateAttributes) GetStateOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) GetStateOk() (*SecurityMonitoringSignalState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalStateUpdateAttributes) GetVersion ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) GetVersion() int64
GetVersion returns the Version field value if set, zero value otherwise.
func (*SecurityMonitoringSignalStateUpdateAttributes) GetVersionOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) 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 (*SecurityMonitoringSignalStateUpdateAttributes) HasArchiveComment ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) HasArchiveComment() bool
HasArchiveComment returns a boolean if a field has been set.
func (*SecurityMonitoringSignalStateUpdateAttributes) HasArchiveReason ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) HasArchiveReason() bool
HasArchiveReason returns a boolean if a field has been set.
func (*SecurityMonitoringSignalStateUpdateAttributes) HasVersion ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (SecurityMonitoringSignalStateUpdateAttributes) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalStateUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalStateUpdateAttributes) SetArchiveComment ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) SetArchiveComment(v string)
SetArchiveComment gets a reference to the given string and assigns it to the ArchiveComment field.
func (*SecurityMonitoringSignalStateUpdateAttributes) SetArchiveReason ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) SetArchiveReason(v SecurityMonitoringSignalArchiveReason)
SetArchiveReason gets a reference to the given SecurityMonitoringSignalArchiveReason and assigns it to the ArchiveReason field.
func (*SecurityMonitoringSignalStateUpdateAttributes) SetState ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) SetState(v SecurityMonitoringSignalState)
SetState sets field value.
func (*SecurityMonitoringSignalStateUpdateAttributes) SetVersion ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) SetVersion(v int64)
SetVersion gets a reference to the given int64 and assigns it to the Version field.
func (*SecurityMonitoringSignalStateUpdateAttributes) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalStateUpdateData ¶ added in v1.16.0
type SecurityMonitoringSignalStateUpdateData struct {
// Attributes describing the change of state of a security signal.
Attributes SecurityMonitoringSignalStateUpdateAttributes `json:"attributes"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalStateUpdateData Data containing the patch for changing the state of a signal.
func NewSecurityMonitoringSignalStateUpdateData ¶ added in v1.16.0
func NewSecurityMonitoringSignalStateUpdateData(attributes SecurityMonitoringSignalStateUpdateAttributes) *SecurityMonitoringSignalStateUpdateData
NewSecurityMonitoringSignalStateUpdateData instantiates a new SecurityMonitoringSignalStateUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalStateUpdateDataWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalStateUpdateDataWithDefaults() *SecurityMonitoringSignalStateUpdateData
NewSecurityMonitoringSignalStateUpdateDataWithDefaults instantiates a new SecurityMonitoringSignalStateUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalStateUpdateData) GetAttributes ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateData) GetAttributes() SecurityMonitoringSignalStateUpdateAttributes
GetAttributes returns the Attributes field value.
func (*SecurityMonitoringSignalStateUpdateData) GetAttributesOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateData) GetAttributesOk() (*SecurityMonitoringSignalStateUpdateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (SecurityMonitoringSignalStateUpdateData) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalStateUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalStateUpdateData) SetAttributes ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateData) SetAttributes(v SecurityMonitoringSignalStateUpdateAttributes)
SetAttributes sets field value.
func (*SecurityMonitoringSignalStateUpdateData) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalStateUpdateRequest ¶ added in v1.16.0
type SecurityMonitoringSignalStateUpdateRequest struct {
// Data containing the patch for changing the state of a signal.
Data SecurityMonitoringSignalStateUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalStateUpdateRequest Request body for changing the state of a given security monitoring signal.
func NewSecurityMonitoringSignalStateUpdateRequest ¶ added in v1.16.0
func NewSecurityMonitoringSignalStateUpdateRequest(data SecurityMonitoringSignalStateUpdateData) *SecurityMonitoringSignalStateUpdateRequest
NewSecurityMonitoringSignalStateUpdateRequest instantiates a new SecurityMonitoringSignalStateUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalStateUpdateRequestWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalStateUpdateRequestWithDefaults() *SecurityMonitoringSignalStateUpdateRequest
NewSecurityMonitoringSignalStateUpdateRequestWithDefaults instantiates a new SecurityMonitoringSignalStateUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalStateUpdateRequest) GetData ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateRequest) GetData() SecurityMonitoringSignalStateUpdateData
GetData returns the Data field value.
func (*SecurityMonitoringSignalStateUpdateRequest) GetDataOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateRequest) GetDataOk() (*SecurityMonitoringSignalStateUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecurityMonitoringSignalStateUpdateRequest) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalStateUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalStateUpdateRequest) SetData ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateRequest) SetData(v SecurityMonitoringSignalStateUpdateData)
SetData sets field value.
func (*SecurityMonitoringSignalStateUpdateRequest) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalStateUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalTriageAttributes ¶ added in v1.16.0
type SecurityMonitoringSignalTriageAttributes struct {
// Optional comment to display on archived signals.
ArchiveComment *string `json:"archive_comment,omitempty"`
// Timestamp of the last edit to the comment.
ArchiveCommentTimestamp *int64 `json:"archive_comment_timestamp,omitempty"`
// Object representing a given user entity.
ArchiveCommentUser *SecurityMonitoringTriageUser `json:"archive_comment_user,omitempty"`
// Reason a signal is archived.
ArchiveReason *SecurityMonitoringSignalArchiveReason `json:"archive_reason,omitempty"`
// Object representing a given user entity.
Assignee SecurityMonitoringTriageUser `json:"assignee"`
// Array of incidents that are associated with this signal.
IncidentIds []int64 `json:"incident_ids"`
// The new triage state of the signal.
State SecurityMonitoringSignalState `json:"state"`
// Timestamp of the last update to the signal state.
StateUpdateTimestamp *int64 `json:"state_update_timestamp,omitempty"`
// Object representing a given user entity.
StateUpdateUser *SecurityMonitoringTriageUser `json:"state_update_user,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalTriageAttributes Attributes describing a triage state update operation over a security signal.
func NewSecurityMonitoringSignalTriageAttributes ¶ added in v1.16.0
func NewSecurityMonitoringSignalTriageAttributes(assignee SecurityMonitoringTriageUser, incidentIds []int64, state SecurityMonitoringSignalState) *SecurityMonitoringSignalTriageAttributes
NewSecurityMonitoringSignalTriageAttributes instantiates a new SecurityMonitoringSignalTriageAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalTriageAttributesWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalTriageAttributesWithDefaults() *SecurityMonitoringSignalTriageAttributes
NewSecurityMonitoringSignalTriageAttributesWithDefaults instantiates a new SecurityMonitoringSignalTriageAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalTriageAttributes) GetArchiveComment ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveComment() string
GetArchiveComment returns the ArchiveComment field value if set, zero value otherwise.
func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentOk() (*string, bool)
GetArchiveCommentOk returns a tuple with the ArchiveComment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestamp ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestamp() int64
GetArchiveCommentTimestamp returns the ArchiveCommentTimestamp field value if set, zero value otherwise.
func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestampOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentTimestampOk() (*int64, bool)
GetArchiveCommentTimestampOk returns a tuple with the ArchiveCommentTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentUser ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentUser() SecurityMonitoringTriageUser
GetArchiveCommentUser returns the ArchiveCommentUser field value if set, zero value otherwise.
func (*SecurityMonitoringSignalTriageAttributes) GetArchiveCommentUserOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveCommentUserOk() (*SecurityMonitoringTriageUser, bool)
GetArchiveCommentUserOk returns a tuple with the ArchiveCommentUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalTriageAttributes) GetArchiveReason ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveReason() SecurityMonitoringSignalArchiveReason
GetArchiveReason returns the ArchiveReason field value if set, zero value otherwise.
func (*SecurityMonitoringSignalTriageAttributes) GetArchiveReasonOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetArchiveReasonOk() (*SecurityMonitoringSignalArchiveReason, bool)
GetArchiveReasonOk returns a tuple with the ArchiveReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalTriageAttributes) GetAssignee ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetAssignee() SecurityMonitoringTriageUser
GetAssignee returns the Assignee field value.
func (*SecurityMonitoringSignalTriageAttributes) GetAssigneeOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetAssigneeOk() (*SecurityMonitoringTriageUser, bool)
GetAssigneeOk returns a tuple with the Assignee field value and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalTriageAttributes) GetIncidentIds ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetIncidentIds() []int64
GetIncidentIds returns the IncidentIds field value.
func (*SecurityMonitoringSignalTriageAttributes) GetIncidentIdsOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetIncidentIdsOk() (*[]int64, bool)
GetIncidentIdsOk returns a tuple with the IncidentIds field value and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalTriageAttributes) GetState ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetState() SecurityMonitoringSignalState
GetState returns the State field value.
func (*SecurityMonitoringSignalTriageAttributes) GetStateOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetStateOk() (*SecurityMonitoringSignalState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestamp ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestamp() int64
GetStateUpdateTimestamp returns the StateUpdateTimestamp field value if set, zero value otherwise.
func (*SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestampOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetStateUpdateTimestampOk() (*int64, bool)
GetStateUpdateTimestampOk returns a tuple with the StateUpdateTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalTriageAttributes) GetStateUpdateUser ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetStateUpdateUser() SecurityMonitoringTriageUser
GetStateUpdateUser returns the StateUpdateUser field value if set, zero value otherwise.
func (*SecurityMonitoringSignalTriageAttributes) GetStateUpdateUserOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) GetStateUpdateUserOk() (*SecurityMonitoringTriageUser, bool)
GetStateUpdateUserOk returns a tuple with the StateUpdateUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringSignalTriageAttributes) HasArchiveComment ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveComment() bool
HasArchiveComment returns a boolean if a field has been set.
func (*SecurityMonitoringSignalTriageAttributes) HasArchiveCommentTimestamp ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveCommentTimestamp() bool
HasArchiveCommentTimestamp returns a boolean if a field has been set.
func (*SecurityMonitoringSignalTriageAttributes) HasArchiveCommentUser ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveCommentUser() bool
HasArchiveCommentUser returns a boolean if a field has been set.
func (*SecurityMonitoringSignalTriageAttributes) HasArchiveReason ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) HasArchiveReason() bool
HasArchiveReason returns a boolean if a field has been set.
func (*SecurityMonitoringSignalTriageAttributes) HasStateUpdateTimestamp ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) HasStateUpdateTimestamp() bool
HasStateUpdateTimestamp returns a boolean if a field has been set.
func (*SecurityMonitoringSignalTriageAttributes) HasStateUpdateUser ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) HasStateUpdateUser() bool
HasStateUpdateUser returns a boolean if a field has been set.
func (SecurityMonitoringSignalTriageAttributes) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalTriageAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalTriageAttributes) SetArchiveComment ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveComment(v string)
SetArchiveComment gets a reference to the given string and assigns it to the ArchiveComment field.
func (*SecurityMonitoringSignalTriageAttributes) SetArchiveCommentTimestamp ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveCommentTimestamp(v int64)
SetArchiveCommentTimestamp gets a reference to the given int64 and assigns it to the ArchiveCommentTimestamp field.
func (*SecurityMonitoringSignalTriageAttributes) SetArchiveCommentUser ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveCommentUser(v SecurityMonitoringTriageUser)
SetArchiveCommentUser gets a reference to the given SecurityMonitoringTriageUser and assigns it to the ArchiveCommentUser field.
func (*SecurityMonitoringSignalTriageAttributes) SetArchiveReason ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) SetArchiveReason(v SecurityMonitoringSignalArchiveReason)
SetArchiveReason gets a reference to the given SecurityMonitoringSignalArchiveReason and assigns it to the ArchiveReason field.
func (*SecurityMonitoringSignalTriageAttributes) SetAssignee ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) SetAssignee(v SecurityMonitoringTriageUser)
SetAssignee sets field value.
func (*SecurityMonitoringSignalTriageAttributes) SetIncidentIds ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) SetIncidentIds(v []int64)
SetIncidentIds sets field value.
func (*SecurityMonitoringSignalTriageAttributes) SetState ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) SetState(v SecurityMonitoringSignalState)
SetState sets field value.
func (*SecurityMonitoringSignalTriageAttributes) SetStateUpdateTimestamp ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) SetStateUpdateTimestamp(v int64)
SetStateUpdateTimestamp gets a reference to the given int64 and assigns it to the StateUpdateTimestamp field.
func (*SecurityMonitoringSignalTriageAttributes) SetStateUpdateUser ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) SetStateUpdateUser(v SecurityMonitoringTriageUser)
SetStateUpdateUser gets a reference to the given SecurityMonitoringTriageUser and assigns it to the StateUpdateUser field.
func (*SecurityMonitoringSignalTriageAttributes) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalTriageUpdateData ¶ added in v1.16.0
type SecurityMonitoringSignalTriageUpdateData struct {
// Attributes describing a triage state update operation over a security signal.
Attributes *SecurityMonitoringSignalTriageAttributes `json:"attributes,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalTriageUpdateData Data containing the updated triage attributes of the signal.
func NewSecurityMonitoringSignalTriageUpdateData ¶ added in v1.16.0
func NewSecurityMonitoringSignalTriageUpdateData() *SecurityMonitoringSignalTriageUpdateData
NewSecurityMonitoringSignalTriageUpdateData instantiates a new SecurityMonitoringSignalTriageUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalTriageUpdateDataWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalTriageUpdateDataWithDefaults() *SecurityMonitoringSignalTriageUpdateData
NewSecurityMonitoringSignalTriageUpdateDataWithDefaults instantiates a new SecurityMonitoringSignalTriageUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalTriageUpdateData) GetAttributes ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageUpdateData) GetAttributes() SecurityMonitoringSignalTriageAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*SecurityMonitoringSignalTriageUpdateData) GetAttributesOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageUpdateData) GetAttributesOk() (*SecurityMonitoringSignalTriageAttributes, 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 (*SecurityMonitoringSignalTriageUpdateData) HasAttributes ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageUpdateData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (SecurityMonitoringSignalTriageUpdateData) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalTriageUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalTriageUpdateData) SetAttributes ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageUpdateData) SetAttributes(v SecurityMonitoringSignalTriageAttributes)
SetAttributes gets a reference to the given SecurityMonitoringSignalTriageAttributes and assigns it to the Attributes field.
func (*SecurityMonitoringSignalTriageUpdateData) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalTriageUpdateResponse ¶ added in v1.16.0
type SecurityMonitoringSignalTriageUpdateResponse struct {
// Data containing the updated triage attributes of the signal.
Data SecurityMonitoringSignalTriageUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalTriageUpdateResponse The response returned after all triage operations, containing the updated signal triage data.
func NewSecurityMonitoringSignalTriageUpdateResponse ¶ added in v1.16.0
func NewSecurityMonitoringSignalTriageUpdateResponse(data SecurityMonitoringSignalTriageUpdateData) *SecurityMonitoringSignalTriageUpdateResponse
NewSecurityMonitoringSignalTriageUpdateResponse instantiates a new SecurityMonitoringSignalTriageUpdateResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalTriageUpdateResponseWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringSignalTriageUpdateResponseWithDefaults() *SecurityMonitoringSignalTriageUpdateResponse
NewSecurityMonitoringSignalTriageUpdateResponseWithDefaults instantiates a new SecurityMonitoringSignalTriageUpdateResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalTriageUpdateResponse) GetData ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageUpdateResponse) GetData() SecurityMonitoringSignalTriageUpdateData
GetData returns the Data field value.
func (*SecurityMonitoringSignalTriageUpdateResponse) GetDataOk ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageUpdateResponse) GetDataOk() (*SecurityMonitoringSignalTriageUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecurityMonitoringSignalTriageUpdateResponse) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringSignalTriageUpdateResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalTriageUpdateResponse) SetData ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageUpdateResponse) SetData(v SecurityMonitoringSignalTriageUpdateData)
SetData sets field value.
func (*SecurityMonitoringSignalTriageUpdateResponse) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringSignalTriageUpdateResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalType ¶
type SecurityMonitoringSignalType string
SecurityMonitoringSignalType The type of event.
const (
SECURITYMONITORINGSIGNALTYPE_SIGNAL SecurityMonitoringSignalType = "signal"
)
List of SecurityMonitoringSignalType.
func NewSecurityMonitoringSignalTypeFromValue ¶
func NewSecurityMonitoringSignalTypeFromValue(v string) (*SecurityMonitoringSignalType, error)
NewSecurityMonitoringSignalTypeFromValue returns a pointer to a valid SecurityMonitoringSignalType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringSignalType) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityMonitoringSignalType) GetAllowedValues() []SecurityMonitoringSignalType
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringSignalType) IsValid ¶
func (v SecurityMonitoringSignalType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringSignalType) Ptr ¶
func (v SecurityMonitoringSignalType) Ptr() *SecurityMonitoringSignalType
Ptr returns reference to SecurityMonitoringSignalType value.
func (*SecurityMonitoringSignalType) UnmarshalJSON ¶
func (v *SecurityMonitoringSignalType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalsListResponse ¶
type SecurityMonitoringSignalsListResponse struct {
// An array of security signals matching the request.
Data []SecurityMonitoringSignal `json:"data,omitempty"`
// Links attributes.
Links *SecurityMonitoringSignalsListResponseLinks `json:"links,omitempty"`
// Meta attributes.
Meta *SecurityMonitoringSignalsListResponseMeta `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalsListResponse The response object with all security signals matching the request and pagination information.
func NewSecurityMonitoringSignalsListResponse ¶
func NewSecurityMonitoringSignalsListResponse() *SecurityMonitoringSignalsListResponse
NewSecurityMonitoringSignalsListResponse instantiates a new SecurityMonitoringSignalsListResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalsListResponseWithDefaults ¶
func NewSecurityMonitoringSignalsListResponseWithDefaults() *SecurityMonitoringSignalsListResponse
NewSecurityMonitoringSignalsListResponseWithDefaults instantiates a new SecurityMonitoringSignalsListResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalsListResponse) GetData ¶
func (o *SecurityMonitoringSignalsListResponse) GetData() []SecurityMonitoringSignal
GetData returns the Data field value if set, zero value otherwise.
func (*SecurityMonitoringSignalsListResponse) GetDataOk ¶
func (o *SecurityMonitoringSignalsListResponse) GetDataOk() (*[]SecurityMonitoringSignal, 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 (*SecurityMonitoringSignalsListResponse) GetLinks ¶
func (o *SecurityMonitoringSignalsListResponse) GetLinks() SecurityMonitoringSignalsListResponseLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*SecurityMonitoringSignalsListResponse) GetLinksOk ¶
func (o *SecurityMonitoringSignalsListResponse) GetLinksOk() (*SecurityMonitoringSignalsListResponseLinks, 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 (*SecurityMonitoringSignalsListResponse) GetMeta ¶
func (o *SecurityMonitoringSignalsListResponse) GetMeta() SecurityMonitoringSignalsListResponseMeta
GetMeta returns the Meta field value if set, zero value otherwise.
func (*SecurityMonitoringSignalsListResponse) GetMetaOk ¶
func (o *SecurityMonitoringSignalsListResponse) GetMetaOk() (*SecurityMonitoringSignalsListResponseMeta, 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 (*SecurityMonitoringSignalsListResponse) HasData ¶
func (o *SecurityMonitoringSignalsListResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*SecurityMonitoringSignalsListResponse) HasLinks ¶
func (o *SecurityMonitoringSignalsListResponse) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*SecurityMonitoringSignalsListResponse) HasMeta ¶
func (o *SecurityMonitoringSignalsListResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (SecurityMonitoringSignalsListResponse) MarshalJSON ¶
func (o SecurityMonitoringSignalsListResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalsListResponse) SetData ¶
func (o *SecurityMonitoringSignalsListResponse) SetData(v []SecurityMonitoringSignal)
SetData gets a reference to the given []SecurityMonitoringSignal and assigns it to the Data field.
func (*SecurityMonitoringSignalsListResponse) SetLinks ¶
func (o *SecurityMonitoringSignalsListResponse) SetLinks(v SecurityMonitoringSignalsListResponseLinks)
SetLinks gets a reference to the given SecurityMonitoringSignalsListResponseLinks and assigns it to the Links field.
func (*SecurityMonitoringSignalsListResponse) SetMeta ¶
func (o *SecurityMonitoringSignalsListResponse) SetMeta(v SecurityMonitoringSignalsListResponseMeta)
SetMeta gets a reference to the given SecurityMonitoringSignalsListResponseMeta and assigns it to the Meta field.
func (*SecurityMonitoringSignalsListResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringSignalsListResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalsListResponseLinks ¶
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 ¶
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 ¶
func (o *SecurityMonitoringSignalsListResponseLinks) GetNext() string
GetNext returns the Next field value if set, zero value otherwise.
func (*SecurityMonitoringSignalsListResponseLinks) GetNextOk ¶
func (o *SecurityMonitoringSignalsListResponseLinks) 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 (*SecurityMonitoringSignalsListResponseLinks) HasNext ¶
func (o *SecurityMonitoringSignalsListResponseLinks) HasNext() bool
HasNext returns a boolean if a field has been set.
func (SecurityMonitoringSignalsListResponseLinks) MarshalJSON ¶
func (o SecurityMonitoringSignalsListResponseLinks) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalsListResponseLinks) SetNext ¶
func (o *SecurityMonitoringSignalsListResponseLinks) SetNext(v string)
SetNext gets a reference to the given string and assigns it to the Next field.
func (*SecurityMonitoringSignalsListResponseLinks) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringSignalsListResponseLinks) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalsListResponseMeta ¶
type SecurityMonitoringSignalsListResponseMeta struct {
// Paging attributes.
Page *SecurityMonitoringSignalsListResponseMetaPage `json:"page,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalsListResponseMeta Meta attributes.
func NewSecurityMonitoringSignalsListResponseMeta ¶
func NewSecurityMonitoringSignalsListResponseMeta() *SecurityMonitoringSignalsListResponseMeta
NewSecurityMonitoringSignalsListResponseMeta instantiates a new SecurityMonitoringSignalsListResponseMeta object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalsListResponseMetaWithDefaults ¶
func NewSecurityMonitoringSignalsListResponseMetaWithDefaults() *SecurityMonitoringSignalsListResponseMeta
NewSecurityMonitoringSignalsListResponseMetaWithDefaults instantiates a new SecurityMonitoringSignalsListResponseMeta object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalsListResponseMeta) GetPage ¶
func (o *SecurityMonitoringSignalsListResponseMeta) GetPage() SecurityMonitoringSignalsListResponseMetaPage
GetPage returns the Page field value if set, zero value otherwise.
func (*SecurityMonitoringSignalsListResponseMeta) GetPageOk ¶
func (o *SecurityMonitoringSignalsListResponseMeta) GetPageOk() (*SecurityMonitoringSignalsListResponseMetaPage, 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 (*SecurityMonitoringSignalsListResponseMeta) HasPage ¶
func (o *SecurityMonitoringSignalsListResponseMeta) HasPage() bool
HasPage returns a boolean if a field has been set.
func (SecurityMonitoringSignalsListResponseMeta) MarshalJSON ¶
func (o SecurityMonitoringSignalsListResponseMeta) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalsListResponseMeta) SetPage ¶
func (o *SecurityMonitoringSignalsListResponseMeta) SetPage(v SecurityMonitoringSignalsListResponseMetaPage)
SetPage gets a reference to the given SecurityMonitoringSignalsListResponseMetaPage and assigns it to the Page field.
func (*SecurityMonitoringSignalsListResponseMeta) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringSignalsListResponseMeta) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalsListResponseMetaPage ¶
type SecurityMonitoringSignalsListResponseMetaPage struct {
// The cursor used to get the next results, if any. To make the next request, use the same
// parameters with the addition of the `page[cursor]`.
After *string `json:"after,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringSignalsListResponseMetaPage Paging attributes.
func NewSecurityMonitoringSignalsListResponseMetaPage ¶
func NewSecurityMonitoringSignalsListResponseMetaPage() *SecurityMonitoringSignalsListResponseMetaPage
NewSecurityMonitoringSignalsListResponseMetaPage instantiates a new SecurityMonitoringSignalsListResponseMetaPage object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringSignalsListResponseMetaPageWithDefaults ¶
func NewSecurityMonitoringSignalsListResponseMetaPageWithDefaults() *SecurityMonitoringSignalsListResponseMetaPage
NewSecurityMonitoringSignalsListResponseMetaPageWithDefaults instantiates a new SecurityMonitoringSignalsListResponseMetaPage object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringSignalsListResponseMetaPage) GetAfter ¶
func (o *SecurityMonitoringSignalsListResponseMetaPage) GetAfter() string
GetAfter returns the After field value if set, zero value otherwise.
func (*SecurityMonitoringSignalsListResponseMetaPage) GetAfterOk ¶
func (o *SecurityMonitoringSignalsListResponseMetaPage) 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 (*SecurityMonitoringSignalsListResponseMetaPage) HasAfter ¶
func (o *SecurityMonitoringSignalsListResponseMetaPage) HasAfter() bool
HasAfter returns a boolean if a field has been set.
func (SecurityMonitoringSignalsListResponseMetaPage) MarshalJSON ¶
func (o SecurityMonitoringSignalsListResponseMetaPage) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringSignalsListResponseMetaPage) SetAfter ¶
func (o *SecurityMonitoringSignalsListResponseMetaPage) SetAfter(v string)
SetAfter gets a reference to the given string and assigns it to the After field.
func (*SecurityMonitoringSignalsListResponseMetaPage) UnmarshalJSON ¶ added in v1.3.0
func (o *SecurityMonitoringSignalsListResponseMetaPage) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringSignalsSort ¶
type SecurityMonitoringSignalsSort string
SecurityMonitoringSignalsSort The sort parameters used for querying security signals.
const ( SECURITYMONITORINGSIGNALSSORT_TIMESTAMP_ASCENDING SecurityMonitoringSignalsSort = "timestamp" SECURITYMONITORINGSIGNALSSORT_TIMESTAMP_DESCENDING SecurityMonitoringSignalsSort = "-timestamp" )
List of SecurityMonitoringSignalsSort.
func NewSecurityMonitoringSignalsSortFromValue ¶
func NewSecurityMonitoringSignalsSortFromValue(v string) (*SecurityMonitoringSignalsSort, error)
NewSecurityMonitoringSignalsSortFromValue returns a pointer to a valid SecurityMonitoringSignalsSort for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SecurityMonitoringSignalsSort) GetAllowedValues ¶ added in v1.1.0
func (v *SecurityMonitoringSignalsSort) GetAllowedValues() []SecurityMonitoringSignalsSort
GetAllowedValues reeturns the list of possible values.
func (SecurityMonitoringSignalsSort) IsValid ¶
func (v SecurityMonitoringSignalsSort) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SecurityMonitoringSignalsSort) Ptr ¶
func (v SecurityMonitoringSignalsSort) Ptr() *SecurityMonitoringSignalsSort
Ptr returns reference to SecurityMonitoringSignalsSort value.
func (*SecurityMonitoringSignalsSort) UnmarshalJSON ¶
func (v *SecurityMonitoringSignalsSort) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SecurityMonitoringTriageUser ¶ added in v1.16.0
type SecurityMonitoringTriageUser struct {
// The handle for this user account.
Handle *string `json:"handle,omitempty"`
// Numerical ID assigned by Datadog to this user account.
Id *int64 `json:"id,omitempty"`
// The name for this user account.
Name *string `json:"name,omitempty"`
// UUID assigned by Datadog to this user account.
Uuid string `json:"uuid"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
SecurityMonitoringTriageUser Object representing a given user entity.
func NewSecurityMonitoringTriageUser ¶ added in v1.16.0
func NewSecurityMonitoringTriageUser(uuid string) *SecurityMonitoringTriageUser
NewSecurityMonitoringTriageUser instantiates a new SecurityMonitoringTriageUser object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSecurityMonitoringTriageUserWithDefaults ¶ added in v1.16.0
func NewSecurityMonitoringTriageUserWithDefaults() *SecurityMonitoringTriageUser
NewSecurityMonitoringTriageUserWithDefaults instantiates a new SecurityMonitoringTriageUser object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SecurityMonitoringTriageUser) GetHandle ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) GetHandle() string
GetHandle returns the Handle field value if set, zero value otherwise.
func (*SecurityMonitoringTriageUser) GetHandleOk ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) GetHandleOk() (*string, bool)
GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringTriageUser) GetId ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SecurityMonitoringTriageUser) GetIdOk ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringTriageUser) GetName ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SecurityMonitoringTriageUser) GetNameOk ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecurityMonitoringTriageUser) GetUuid ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) GetUuid() string
GetUuid returns the Uuid field value.
func (*SecurityMonitoringTriageUser) GetUuidOk ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field value and a boolean to check if the value has been set.
func (*SecurityMonitoringTriageUser) HasHandle ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) HasHandle() bool
HasHandle returns a boolean if a field has been set.
func (*SecurityMonitoringTriageUser) HasId ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) HasId() bool
HasId returns a boolean if a field has been set.
func (*SecurityMonitoringTriageUser) HasName ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) HasName() bool
HasName returns a boolean if a field has been set.
func (SecurityMonitoringTriageUser) MarshalJSON ¶ added in v1.16.0
func (o SecurityMonitoringTriageUser) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*SecurityMonitoringTriageUser) SetHandle ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) SetHandle(v string)
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*SecurityMonitoringTriageUser) SetId ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SecurityMonitoringTriageUser) SetName ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SecurityMonitoringTriageUser) SetUuid ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) SetUuid(v string)
SetUuid sets field value.
func (*SecurityMonitoringTriageUser) UnmarshalJSON ¶ added in v1.16.0
func (o *SecurityMonitoringTriageUser) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server.
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items.
type ServerVariable ¶
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
func (o *ServiceAccountCreateAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ServiceAccountCreateAttributes) GetNameOk ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceAccountCreateAttributes) GetServiceAccount ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) GetServiceAccount() bool
GetServiceAccount returns the ServiceAccount field value.
func (*ServiceAccountCreateAttributes) GetServiceAccountOk ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) GetServiceAccountOk() (*bool, bool)
GetServiceAccountOk returns a tuple with the ServiceAccount field value and a boolean to check if the value has been set.
func (*ServiceAccountCreateAttributes) GetTitle ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*ServiceAccountCreateAttributes) GetTitleOk ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceAccountCreateAttributes) HasName ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*ServiceAccountCreateAttributes) HasTitle ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (ServiceAccountCreateAttributes) MarshalJSON ¶ added in v1.3.0
func (o ServiceAccountCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ServiceAccountCreateAttributes) SetEmail ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) SetEmail(v string)
SetEmail sets field value.
func (*ServiceAccountCreateAttributes) SetName ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ServiceAccountCreateAttributes) SetServiceAccount ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) SetServiceAccount(v bool)
SetServiceAccount sets field value.
func (*ServiceAccountCreateAttributes) SetTitle ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*ServiceAccountCreateAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *ServiceAccountCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ServiceAccountCreateData ¶ added in v1.3.0
type ServiceAccountCreateData struct {
// Attributes of the created user.
Attributes ServiceAccountCreateAttributes `json:"attributes"`
// Relationships of the user object.
Relationships *UserRelationships `json:"relationships,omitempty"`
// Users resource type.
Type UsersType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ServiceAccountCreateData Object to create a service account User.
func NewServiceAccountCreateData ¶ added in v1.3.0
func NewServiceAccountCreateData(attributes ServiceAccountCreateAttributes, typeVar UsersType) *ServiceAccountCreateData
NewServiceAccountCreateData instantiates a new ServiceAccountCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewServiceAccountCreateDataWithDefaults ¶ added in v1.3.0
func NewServiceAccountCreateDataWithDefaults() *ServiceAccountCreateData
NewServiceAccountCreateDataWithDefaults instantiates a new ServiceAccountCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ServiceAccountCreateData) GetAttributes ¶ added in v1.3.0
func (o *ServiceAccountCreateData) GetAttributes() ServiceAccountCreateAttributes
GetAttributes returns the Attributes field value.
func (*ServiceAccountCreateData) GetAttributesOk ¶ added in v1.3.0
func (o *ServiceAccountCreateData) GetAttributesOk() (*ServiceAccountCreateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*ServiceAccountCreateData) GetRelationships ¶ added in v1.3.0
func (o *ServiceAccountCreateData) GetRelationships() UserRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*ServiceAccountCreateData) GetRelationshipsOk ¶ added in v1.3.0
func (o *ServiceAccountCreateData) GetRelationshipsOk() (*UserRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceAccountCreateData) GetType ¶ added in v1.3.0
func (o *ServiceAccountCreateData) GetType() UsersType
GetType returns the Type field value.
func (*ServiceAccountCreateData) GetTypeOk ¶ added in v1.3.0
func (o *ServiceAccountCreateData) GetTypeOk() (*UsersType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ServiceAccountCreateData) HasRelationships ¶ added in v1.3.0
func (o *ServiceAccountCreateData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (ServiceAccountCreateData) MarshalJSON ¶ added in v1.3.0
func (o ServiceAccountCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ServiceAccountCreateData) SetAttributes ¶ added in v1.3.0
func (o *ServiceAccountCreateData) SetAttributes(v ServiceAccountCreateAttributes)
SetAttributes sets field value.
func (*ServiceAccountCreateData) SetRelationships ¶ added in v1.3.0
func (o *ServiceAccountCreateData) SetRelationships(v UserRelationships)
SetRelationships gets a reference to the given UserRelationships and assigns it to the Relationships field.
func (*ServiceAccountCreateData) SetType ¶ added in v1.3.0
func (o *ServiceAccountCreateData) SetType(v UsersType)
SetType sets field value.
func (*ServiceAccountCreateData) UnmarshalJSON ¶ added in v1.3.0
func (o *ServiceAccountCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ServiceAccountCreateRequest ¶ added in v1.3.0
type ServiceAccountCreateRequest struct {
// Object to create a service account User.
Data ServiceAccountCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
ServiceAccountCreateRequest Create a service account.
func NewServiceAccountCreateRequest ¶ added in v1.3.0
func NewServiceAccountCreateRequest(data ServiceAccountCreateData) *ServiceAccountCreateRequest
NewServiceAccountCreateRequest instantiates a new ServiceAccountCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewServiceAccountCreateRequestWithDefaults ¶ added in v1.3.0
func NewServiceAccountCreateRequestWithDefaults() *ServiceAccountCreateRequest
NewServiceAccountCreateRequestWithDefaults instantiates a new ServiceAccountCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ServiceAccountCreateRequest) GetData ¶ added in v1.3.0
func (o *ServiceAccountCreateRequest) GetData() ServiceAccountCreateData
GetData returns the Data field value.
func (*ServiceAccountCreateRequest) GetDataOk ¶ added in v1.3.0
func (o *ServiceAccountCreateRequest) GetDataOk() (*ServiceAccountCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ServiceAccountCreateRequest) MarshalJSON ¶ added in v1.3.0
func (o ServiceAccountCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ServiceAccountCreateRequest) SetData ¶ added in v1.3.0
func (o *ServiceAccountCreateRequest) SetData(v ServiceAccountCreateData)
SetData sets field value.
func (*ServiceAccountCreateRequest) UnmarshalJSON ¶ added in v1.3.0
func (o *ServiceAccountCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ServiceAccountsApiService ¶ added in v1.3.0
type ServiceAccountsApiService service
ServiceAccountsApiService ServiceAccountsApi service.
func (*ServiceAccountsApiService) CreateServiceAccountApplicationKey ¶ added in v1.3.0
func (a *ServiceAccountsApiService) CreateServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, body ApplicationKeyCreateRequest) (ApplicationKeyResponse, *_nethttp.Response, error)
CreateServiceAccountApplicationKey Create an application key for this service account. Create an application key for this service account.
func (*ServiceAccountsApiService) DeleteServiceAccountApplicationKey ¶ added in v1.3.0
func (a *ServiceAccountsApiService) DeleteServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, appKeyId string) (*_nethttp.Response, error)
DeleteServiceAccountApplicationKey Delete an application key for this service account. Delete an application key owned by this service account.
func (*ServiceAccountsApiService) GetServiceAccountApplicationKey ¶ added in v1.3.0
func (a *ServiceAccountsApiService) GetServiceAccountApplicationKey(ctx _context.Context, serviceAccountId string, appKeyId string) (PartialApplicationKeyResponse, *_nethttp.Response, error)
GetServiceAccountApplicationKey Get one application key for this service account. Get an application key owned by this service account.
func (*ServiceAccountsApiService) ListServiceAccountApplicationKeys ¶ added in v1.3.0
func (a *ServiceAccountsApiService) ListServiceAccountApplicationKeys(ctx _context.Context, serviceAccountId string, o ...ListServiceAccountApplicationKeysOptionalParameters) (ListApplicationKeysResponse, *_nethttp.Response, error)
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
}
SubmitLogOptionalParameters holds optional parameters for SubmitLog.
func NewSubmitLogOptionalParameters ¶ added in v1.6.0
func NewSubmitLogOptionalParameters() *SubmitLogOptionalParameters
NewSubmitLogOptionalParameters creates an empty struct for parameters.
func (*SubmitLogOptionalParameters) WithContentEncoding ¶ added in v1.6.0
func (r *SubmitLogOptionalParameters) WithContentEncoding(contentEncoding ContentEncoding) *SubmitLogOptionalParameters
WithContentEncoding sets the corresponding parameter name and returns the struct.
func (*SubmitLogOptionalParameters) WithDdtags ¶ added in v1.6.0
func (r *SubmitLogOptionalParameters) WithDdtags(ddtags string) *SubmitLogOptionalParameters
WithDdtags sets the corresponding parameter name and returns the struct.
type SubmitMetricsOptionalParameters ¶ added in v1.14.0
type SubmitMetricsOptionalParameters struct {
ContentEncoding *MetricContentEncoding
}
SubmitMetricsOptionalParameters holds optional parameters for SubmitMetrics.
func NewSubmitMetricsOptionalParameters ¶ added in v1.14.0
func NewSubmitMetricsOptionalParameters() *SubmitMetricsOptionalParameters
NewSubmitMetricsOptionalParameters creates an empty struct for parameters.
func (*SubmitMetricsOptionalParameters) WithContentEncoding ¶ added in v1.14.0
func (r *SubmitMetricsOptionalParameters) WithContentEncoding(contentEncoding MetricContentEncoding) *SubmitMetricsOptionalParameters
WithContentEncoding sets the corresponding parameter name and returns the struct.
type UpdateIncidentOptionalParameters ¶ added in v1.9.0
type UpdateIncidentOptionalParameters struct {
Include *[]IncidentRelatedObject
}
UpdateIncidentOptionalParameters holds optional parameters for UpdateIncident.
func NewUpdateIncidentOptionalParameters ¶ added in v1.9.0
func NewUpdateIncidentOptionalParameters() *UpdateIncidentOptionalParameters
NewUpdateIncidentOptionalParameters creates an empty struct for parameters.
func (*UpdateIncidentOptionalParameters) WithInclude ¶ added in v1.9.0
func (r *UpdateIncidentOptionalParameters) WithInclude(include []IncidentRelatedObject) *UpdateIncidentOptionalParameters
WithInclude sets the corresponding parameter name and returns the struct.
type UploadIdPMetadataOptionalParameters ¶ added in v1.13.0
UploadIdPMetadataOptionalParameters holds optional parameters for UploadIdPMetadata.
func NewUploadIdPMetadataOptionalParameters ¶ added in v1.13.0
func NewUploadIdPMetadataOptionalParameters() *UploadIdPMetadataOptionalParameters
NewUploadIdPMetadataOptionalParameters creates an empty struct for parameters.
func (*UploadIdPMetadataOptionalParameters) WithIdpFile ¶ added in v1.13.0
func (r *UploadIdPMetadataOptionalParameters) WithIdpFile(idpFile *os.File) *UploadIdPMetadataOptionalParameters
WithIdpFile sets the corresponding parameter name and returns the struct.
type UsageApplicationSecurityMonitoringResponse ¶ added in v1.14.0
type UsageApplicationSecurityMonitoringResponse struct {
// Response containing Application Security Monitoring usage.
Data []UsageDataObject `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UsageApplicationSecurityMonitoringResponse Application Security Monitoring usage response.
func NewUsageApplicationSecurityMonitoringResponse ¶ added in v1.14.0
func NewUsageApplicationSecurityMonitoringResponse() *UsageApplicationSecurityMonitoringResponse
NewUsageApplicationSecurityMonitoringResponse instantiates a new UsageApplicationSecurityMonitoringResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUsageApplicationSecurityMonitoringResponseWithDefaults ¶ added in v1.14.0
func NewUsageApplicationSecurityMonitoringResponseWithDefaults() *UsageApplicationSecurityMonitoringResponse
NewUsageApplicationSecurityMonitoringResponseWithDefaults instantiates a new UsageApplicationSecurityMonitoringResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UsageApplicationSecurityMonitoringResponse) GetData ¶ added in v1.14.0
func (o *UsageApplicationSecurityMonitoringResponse) GetData() []UsageDataObject
GetData returns the Data field value if set, zero value otherwise.
func (*UsageApplicationSecurityMonitoringResponse) GetDataOk ¶ added in v1.14.0
func (o *UsageApplicationSecurityMonitoringResponse) GetDataOk() (*[]UsageDataObject, 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 (*UsageApplicationSecurityMonitoringResponse) HasData ¶ added in v1.14.0
func (o *UsageApplicationSecurityMonitoringResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (UsageApplicationSecurityMonitoringResponse) MarshalJSON ¶ added in v1.14.0
func (o UsageApplicationSecurityMonitoringResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UsageApplicationSecurityMonitoringResponse) SetData ¶ added in v1.14.0
func (o *UsageApplicationSecurityMonitoringResponse) SetData(v []UsageDataObject)
SetData gets a reference to the given []UsageDataObject and assigns it to the Data field.
func (*UsageApplicationSecurityMonitoringResponse) UnmarshalJSON ¶ added in v1.14.0
func (o *UsageApplicationSecurityMonitoringResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UsageAttributesObject ¶ added in v1.14.0
type UsageAttributesObject struct {
// The organization name.
OrgName *string `json:"org_name,omitempty"`
// The product for which usage is being reported.
ProductFamily *string `json:"product_family,omitempty"`
// The organization public ID.
PublicId *string `json:"public_id,omitempty"`
// List of usage data reported for each requested hour.
Timeseries []UsageTimeSeriesObject `json:"timeseries,omitempty"`
// Usage type that is being measured.
UsageType *HourlyUsageType `json:"usage_type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UsageAttributesObject Usage attributes data.
func NewUsageAttributesObject ¶ added in v1.14.0
func NewUsageAttributesObject() *UsageAttributesObject
NewUsageAttributesObject instantiates a new UsageAttributesObject object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUsageAttributesObjectWithDefaults ¶ added in v1.14.0
func NewUsageAttributesObjectWithDefaults() *UsageAttributesObject
NewUsageAttributesObjectWithDefaults instantiates a new UsageAttributesObject object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UsageAttributesObject) GetOrgName ¶ added in v1.14.0
func (o *UsageAttributesObject) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*UsageAttributesObject) GetOrgNameOk ¶ added in v1.14.0
func (o *UsageAttributesObject) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageAttributesObject) GetProductFamily ¶ added in v1.14.0
func (o *UsageAttributesObject) GetProductFamily() string
GetProductFamily returns the ProductFamily field value if set, zero value otherwise.
func (*UsageAttributesObject) GetProductFamilyOk ¶ added in v1.14.0
func (o *UsageAttributesObject) GetProductFamilyOk() (*string, bool)
GetProductFamilyOk returns a tuple with the ProductFamily field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageAttributesObject) GetPublicId ¶ added in v1.14.0
func (o *UsageAttributesObject) GetPublicId() string
GetPublicId returns the PublicId field value if set, zero value otherwise.
func (*UsageAttributesObject) GetPublicIdOk ¶ added in v1.14.0
func (o *UsageAttributesObject) GetPublicIdOk() (*string, bool)
GetPublicIdOk returns a tuple with the PublicId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageAttributesObject) GetTimeseries ¶ added in v1.14.0
func (o *UsageAttributesObject) GetTimeseries() []UsageTimeSeriesObject
GetTimeseries returns the Timeseries field value if set, zero value otherwise.
func (*UsageAttributesObject) GetTimeseriesOk ¶ added in v1.14.0
func (o *UsageAttributesObject) GetTimeseriesOk() (*[]UsageTimeSeriesObject, bool)
GetTimeseriesOk returns a tuple with the Timeseries field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageAttributesObject) GetUsageType ¶ added in v1.14.0
func (o *UsageAttributesObject) GetUsageType() HourlyUsageType
GetUsageType returns the UsageType field value if set, zero value otherwise.
func (*UsageAttributesObject) GetUsageTypeOk ¶ added in v1.14.0
func (o *UsageAttributesObject) GetUsageTypeOk() (*HourlyUsageType, bool)
GetUsageTypeOk returns a tuple with the UsageType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageAttributesObject) HasOrgName ¶ added in v1.14.0
func (o *UsageAttributesObject) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*UsageAttributesObject) HasProductFamily ¶ added in v1.14.0
func (o *UsageAttributesObject) HasProductFamily() bool
HasProductFamily returns a boolean if a field has been set.
func (*UsageAttributesObject) HasPublicId ¶ added in v1.14.0
func (o *UsageAttributesObject) HasPublicId() bool
HasPublicId returns a boolean if a field has been set.
func (*UsageAttributesObject) HasTimeseries ¶ added in v1.14.0
func (o *UsageAttributesObject) HasTimeseries() bool
HasTimeseries returns a boolean if a field has been set.
func (*UsageAttributesObject) HasUsageType ¶ added in v1.14.0
func (o *UsageAttributesObject) HasUsageType() bool
HasUsageType returns a boolean if a field has been set.
func (UsageAttributesObject) MarshalJSON ¶ added in v1.14.0
func (o UsageAttributesObject) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UsageAttributesObject) SetOrgName ¶ added in v1.14.0
func (o *UsageAttributesObject) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*UsageAttributesObject) SetProductFamily ¶ added in v1.14.0
func (o *UsageAttributesObject) SetProductFamily(v string)
SetProductFamily gets a reference to the given string and assigns it to the ProductFamily field.
func (*UsageAttributesObject) SetPublicId ¶ added in v1.14.0
func (o *UsageAttributesObject) SetPublicId(v string)
SetPublicId gets a reference to the given string and assigns it to the PublicId field.
func (*UsageAttributesObject) SetTimeseries ¶ added in v1.14.0
func (o *UsageAttributesObject) SetTimeseries(v []UsageTimeSeriesObject)
SetTimeseries gets a reference to the given []UsageTimeSeriesObject and assigns it to the Timeseries field.
func (*UsageAttributesObject) SetUsageType ¶ added in v1.14.0
func (o *UsageAttributesObject) SetUsageType(v HourlyUsageType)
SetUsageType gets a reference to the given HourlyUsageType and assigns it to the UsageType field.
func (*UsageAttributesObject) UnmarshalJSON ¶ added in v1.14.0
func (o *UsageAttributesObject) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UsageDataObject ¶ added in v1.14.0
type UsageDataObject struct {
// Usage attributes data.
Attributes *UsageAttributesObject `json:"attributes,omitempty"`
// Unique ID of the response.
Id *string `json:"id,omitempty"`
// Type of usage data.
Type *UsageTimeSeriesType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UsageDataObject Usage data.
func NewUsageDataObject ¶ added in v1.14.0
func NewUsageDataObject() *UsageDataObject
NewUsageDataObject instantiates a new UsageDataObject object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUsageDataObjectWithDefaults ¶ added in v1.14.0
func NewUsageDataObjectWithDefaults() *UsageDataObject
NewUsageDataObjectWithDefaults instantiates a new UsageDataObject object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UsageDataObject) GetAttributes ¶ added in v1.14.0
func (o *UsageDataObject) GetAttributes() UsageAttributesObject
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*UsageDataObject) GetAttributesOk ¶ added in v1.14.0
func (o *UsageDataObject) GetAttributesOk() (*UsageAttributesObject, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageDataObject) GetId ¶ added in v1.14.0
func (o *UsageDataObject) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*UsageDataObject) GetIdOk ¶ added in v1.14.0
func (o *UsageDataObject) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageDataObject) GetType ¶ added in v1.14.0
func (o *UsageDataObject) GetType() UsageTimeSeriesType
GetType returns the Type field value if set, zero value otherwise.
func (*UsageDataObject) GetTypeOk ¶ added in v1.14.0
func (o *UsageDataObject) GetTypeOk() (*UsageTimeSeriesType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageDataObject) HasAttributes ¶ added in v1.14.0
func (o *UsageDataObject) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*UsageDataObject) HasId ¶ added in v1.14.0
func (o *UsageDataObject) HasId() bool
HasId returns a boolean if a field has been set.
func (*UsageDataObject) HasType ¶ added in v1.14.0
func (o *UsageDataObject) HasType() bool
HasType returns a boolean if a field has been set.
func (UsageDataObject) MarshalJSON ¶ added in v1.14.0
func (o UsageDataObject) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UsageDataObject) SetAttributes ¶ added in v1.14.0
func (o *UsageDataObject) SetAttributes(v UsageAttributesObject)
SetAttributes gets a reference to the given UsageAttributesObject and assigns it to the Attributes field.
func (*UsageDataObject) SetId ¶ added in v1.14.0
func (o *UsageDataObject) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*UsageDataObject) SetType ¶ added in v1.14.0
func (o *UsageDataObject) SetType(v UsageTimeSeriesType)
SetType gets a reference to the given UsageTimeSeriesType and assigns it to the Type field.
func (*UsageDataObject) UnmarshalJSON ¶ added in v1.14.0
func (o *UsageDataObject) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UsageLambdaTracedInvocationsResponse ¶ added in v1.14.0
type UsageLambdaTracedInvocationsResponse struct {
// Response containing Lambda Traced Invocations usage.
Data []UsageDataObject `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UsageLambdaTracedInvocationsResponse Lambda Traced Invocations usage response.
func NewUsageLambdaTracedInvocationsResponse ¶ added in v1.14.0
func NewUsageLambdaTracedInvocationsResponse() *UsageLambdaTracedInvocationsResponse
NewUsageLambdaTracedInvocationsResponse instantiates a new UsageLambdaTracedInvocationsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUsageLambdaTracedInvocationsResponseWithDefaults ¶ added in v1.14.0
func NewUsageLambdaTracedInvocationsResponseWithDefaults() *UsageLambdaTracedInvocationsResponse
NewUsageLambdaTracedInvocationsResponseWithDefaults instantiates a new UsageLambdaTracedInvocationsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UsageLambdaTracedInvocationsResponse) GetData ¶ added in v1.14.0
func (o *UsageLambdaTracedInvocationsResponse) GetData() []UsageDataObject
GetData returns the Data field value if set, zero value otherwise.
func (*UsageLambdaTracedInvocationsResponse) GetDataOk ¶ added in v1.14.0
func (o *UsageLambdaTracedInvocationsResponse) GetDataOk() (*[]UsageDataObject, 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 (*UsageLambdaTracedInvocationsResponse) HasData ¶ added in v1.14.0
func (o *UsageLambdaTracedInvocationsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (UsageLambdaTracedInvocationsResponse) MarshalJSON ¶ added in v1.14.0
func (o UsageLambdaTracedInvocationsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UsageLambdaTracedInvocationsResponse) SetData ¶ added in v1.14.0
func (o *UsageLambdaTracedInvocationsResponse) SetData(v []UsageDataObject)
SetData gets a reference to the given []UsageDataObject and assigns it to the Data field.
func (*UsageLambdaTracedInvocationsResponse) UnmarshalJSON ¶ added in v1.14.0
func (o *UsageLambdaTracedInvocationsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UsageMeteringApiService ¶ added in v1.14.0
type UsageMeteringApiService service
UsageMeteringApiService UsageMeteringApi service.
func (*UsageMeteringApiService) GetCostByOrg ¶ added in v1.14.0
func (a *UsageMeteringApiService) GetCostByOrg(ctx _context.Context, startMonth time.Time, o ...GetCostByOrgOptionalParameters) (CostByOrgResponse, *_nethttp.Response, error)
GetCostByOrg Get cost across multi-org account. Get cost across multi-org account. Cost by org data for a given month becomes available no later than the 16th of the following month.
func (*UsageMeteringApiService) GetEstimatedCostByOrg ¶ added in v1.15.0
func (a *UsageMeteringApiService) GetEstimatedCostByOrg(ctx _context.Context, o ...GetEstimatedCostByOrgOptionalParameters) (CostByOrgResponse, *_nethttp.Response, error)
GetEstimatedCostByOrg Get estimated cost across multi-org account. Get estimated cost across multi-org account.
func (*UsageMeteringApiService) GetHourlyUsage ¶ added in v1.16.0
func (a *UsageMeteringApiService) GetHourlyUsage(ctx _context.Context, filterTimestampStart time.Time, filterProductFamilies string, o ...GetHourlyUsageOptionalParameters) (HourlyUsageResponse, *_nethttp.Response, error)
GetHourlyUsage Get hourly usage by product family. Get hourly usage by product family
func (*UsageMeteringApiService) GetUsageApplicationSecurityMonitoring ¶ added in v1.14.0
func (a *UsageMeteringApiService) GetUsageApplicationSecurityMonitoring(ctx _context.Context, startHr time.Time, o ...GetUsageApplicationSecurityMonitoringOptionalParameters) (UsageApplicationSecurityMonitoringResponse, *_nethttp.Response, error)
GetUsageApplicationSecurityMonitoring Get hourly usage for Application Security. Get hourly usage for Application Security .
func (*UsageMeteringApiService) GetUsageLambdaTracedInvocations ¶ added in v1.14.0
func (a *UsageMeteringApiService) GetUsageLambdaTracedInvocations(ctx _context.Context, startHr time.Time, o ...GetUsageLambdaTracedInvocationsOptionalParameters) (UsageLambdaTracedInvocationsResponse, *_nethttp.Response, error)
GetUsageLambdaTracedInvocations Get hourly usage for Lambda Traced Invocations. Get hourly usage for Lambda Traced Invocations.
func (*UsageMeteringApiService) GetUsageObservabilityPipelines ¶ added in v1.14.0
func (a *UsageMeteringApiService) GetUsageObservabilityPipelines(ctx _context.Context, startHr time.Time, o ...GetUsageObservabilityPipelinesOptionalParameters) (UsageObservabilityPipelinesResponse, *_nethttp.Response, error)
GetUsageObservabilityPipelines Get hourly usage for Observability Pipelines. Get hourly usage for Observability Pipelines.
type UsageObservabilityPipelinesResponse ¶ added in v1.14.0
type UsageObservabilityPipelinesResponse struct {
// Response containing Observability Pipelines usage.
Data []UsageDataObject `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UsageObservabilityPipelinesResponse Observability Pipelines usage response.
func NewUsageObservabilityPipelinesResponse ¶ added in v1.14.0
func NewUsageObservabilityPipelinesResponse() *UsageObservabilityPipelinesResponse
NewUsageObservabilityPipelinesResponse instantiates a new UsageObservabilityPipelinesResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUsageObservabilityPipelinesResponseWithDefaults ¶ added in v1.14.0
func NewUsageObservabilityPipelinesResponseWithDefaults() *UsageObservabilityPipelinesResponse
NewUsageObservabilityPipelinesResponseWithDefaults instantiates a new UsageObservabilityPipelinesResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UsageObservabilityPipelinesResponse) GetData ¶ added in v1.14.0
func (o *UsageObservabilityPipelinesResponse) GetData() []UsageDataObject
GetData returns the Data field value if set, zero value otherwise.
func (*UsageObservabilityPipelinesResponse) GetDataOk ¶ added in v1.14.0
func (o *UsageObservabilityPipelinesResponse) GetDataOk() (*[]UsageDataObject, 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 (*UsageObservabilityPipelinesResponse) HasData ¶ added in v1.14.0
func (o *UsageObservabilityPipelinesResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (UsageObservabilityPipelinesResponse) MarshalJSON ¶ added in v1.14.0
func (o UsageObservabilityPipelinesResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UsageObservabilityPipelinesResponse) SetData ¶ added in v1.14.0
func (o *UsageObservabilityPipelinesResponse) SetData(v []UsageDataObject)
SetData gets a reference to the given []UsageDataObject and assigns it to the Data field.
func (*UsageObservabilityPipelinesResponse) UnmarshalJSON ¶ added in v1.14.0
func (o *UsageObservabilityPipelinesResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UsageTimeSeriesObject ¶ added in v1.14.0
type UsageTimeSeriesObject struct {
// Datetime in ISO-8601 format, UTC. The hour for the usage.
Timestamp *time.Time `json:"timestamp,omitempty"`
// Contains the number measured for the given usage_type during the hour.
Value NullableInt64 `json:"value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UsageTimeSeriesObject Usage timeseries data.
func NewUsageTimeSeriesObject ¶ added in v1.14.0
func NewUsageTimeSeriesObject() *UsageTimeSeriesObject
NewUsageTimeSeriesObject instantiates a new UsageTimeSeriesObject object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUsageTimeSeriesObjectWithDefaults ¶ added in v1.14.0
func NewUsageTimeSeriesObjectWithDefaults() *UsageTimeSeriesObject
NewUsageTimeSeriesObjectWithDefaults instantiates a new UsageTimeSeriesObject object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UsageTimeSeriesObject) GetTimestamp ¶ added in v1.14.0
func (o *UsageTimeSeriesObject) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*UsageTimeSeriesObject) GetTimestampOk ¶ added in v1.14.0
func (o *UsageTimeSeriesObject) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsageTimeSeriesObject) GetValue ¶ added in v1.14.0
func (o *UsageTimeSeriesObject) GetValue() int64
GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UsageTimeSeriesObject) GetValueOk ¶ added in v1.14.0
func (o *UsageTimeSeriesObject) GetValueOk() (*int64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*UsageTimeSeriesObject) HasTimestamp ¶ added in v1.14.0
func (o *UsageTimeSeriesObject) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (*UsageTimeSeriesObject) HasValue ¶ added in v1.14.0
func (o *UsageTimeSeriesObject) HasValue() bool
HasValue returns a boolean if a field has been set.
func (UsageTimeSeriesObject) MarshalJSON ¶ added in v1.14.0
func (o UsageTimeSeriesObject) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UsageTimeSeriesObject) SetTimestamp ¶ added in v1.14.0
func (o *UsageTimeSeriesObject) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
func (*UsageTimeSeriesObject) SetValue ¶ added in v1.14.0
func (o *UsageTimeSeriesObject) SetValue(v int64)
SetValue gets a reference to the given NullableInt64 and assigns it to the Value field.
func (*UsageTimeSeriesObject) SetValueNil ¶ added in v1.14.0
func (o *UsageTimeSeriesObject) SetValueNil()
SetValueNil sets the value for Value to be an explicit nil.
func (*UsageTimeSeriesObject) UnmarshalJSON ¶ added in v1.14.0
func (o *UsageTimeSeriesObject) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*UsageTimeSeriesObject) UnsetValue ¶ added in v1.14.0
func (o *UsageTimeSeriesObject) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil.
type UsageTimeSeriesType ¶ added in v1.14.0
type UsageTimeSeriesType string
UsageTimeSeriesType Type of usage data.
const (
USAGETIMESERIESTYPE_USAGE_TIMESERIES UsageTimeSeriesType = "usage_timeseries"
)
List of UsageTimeSeriesType.
func NewUsageTimeSeriesTypeFromValue ¶ added in v1.14.0
func NewUsageTimeSeriesTypeFromValue(v string) (*UsageTimeSeriesType, error)
NewUsageTimeSeriesTypeFromValue returns a pointer to a valid UsageTimeSeriesType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*UsageTimeSeriesType) GetAllowedValues ¶ added in v1.14.0
func (v *UsageTimeSeriesType) GetAllowedValues() []UsageTimeSeriesType
GetAllowedValues reeturns the list of possible values.
func (UsageTimeSeriesType) IsValid ¶ added in v1.14.0
func (v UsageTimeSeriesType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (UsageTimeSeriesType) Ptr ¶ added in v1.14.0
func (v UsageTimeSeriesType) Ptr() *UsageTimeSeriesType
Ptr returns reference to UsageTimeSeriesType value.
func (*UsageTimeSeriesType) UnmarshalJSON ¶ added in v1.14.0
func (v *UsageTimeSeriesType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type User ¶
type User struct {
// Attributes of user object returned by the API.
Attributes *UserAttributes `json:"attributes,omitempty"`
// ID of the user.
Id *string `json:"id,omitempty"`
// Relationships of the user object returned by the API.
Relationships *UserResponseRelationships `json:"relationships,omitempty"`
// Users resource type.
Type *UsersType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
User User object returned by the API.
func NewUser ¶
func NewUser() *User
NewUser instantiates a new User object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*User) GetAttributes ¶
func (o *User) GetAttributes() UserAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*User) GetAttributesOk ¶
func (o *User) GetAttributesOk() (*UserAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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) 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 (*User) HasAttributes ¶
HasAttributes returns a boolean if a field has been set.
func (*User) HasRelationships ¶
HasRelationships returns a boolean if a field has been set.
func (User) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*User) SetAttributes ¶
func (o *User) SetAttributes(v UserAttributes)
SetAttributes gets a reference to the given UserAttributes and assigns it to the Attributes field.
func (*User) 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 ¶
SetType gets a reference to the given UsersType and assigns it to the Type field.
func (*User) UnmarshalJSON ¶ added in v1.3.0
UnmarshalJSON deserializes the given payload.
type UserAttributes ¶
type UserAttributes struct {
// Creation time of the user.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Whether the user is disabled.
Disabled *bool `json:"disabled,omitempty"`
// Email of the user.
Email *string `json:"email,omitempty"`
// Handle of the user.
Handle *string `json:"handle,omitempty"`
// URL of the user's icon.
Icon *string `json:"icon,omitempty"`
// Time that the user was last modified.
ModifiedAt *time.Time `json:"modified_at,omitempty"`
// Name of the user.
Name NullableString `json:"name,omitempty"`
// Whether the user is a service account.
ServiceAccount *bool `json:"service_account,omitempty"`
// Status of the user.
Status *string `json:"status,omitempty"`
// Title of the user.
Title NullableString `json:"title,omitempty"`
// Whether the user is verified.
Verified *bool `json:"verified,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserAttributes Attributes of user object returned by the API.
func NewUserAttributes ¶
func NewUserAttributes() *UserAttributes
NewUserAttributes instantiates a new UserAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserAttributesWithDefaults ¶
func NewUserAttributesWithDefaults() *UserAttributes
NewUserAttributesWithDefaults instantiates a new UserAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserAttributes) GetCreatedAt ¶
func (o *UserAttributes) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*UserAttributes) GetCreatedAtOk ¶
func (o *UserAttributes) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAttributes) GetDisabled ¶
func (o *UserAttributes) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*UserAttributes) GetDisabledOk ¶
func (o *UserAttributes) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAttributes) GetEmail ¶
func (o *UserAttributes) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*UserAttributes) GetEmailOk ¶
func (o *UserAttributes) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAttributes) GetHandle ¶
func (o *UserAttributes) GetHandle() string
GetHandle returns the Handle field value if set, zero value otherwise.
func (*UserAttributes) GetHandleOk ¶
func (o *UserAttributes) GetHandleOk() (*string, bool)
GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAttributes) GetIcon ¶
func (o *UserAttributes) GetIcon() string
GetIcon returns the Icon field value if set, zero value otherwise.
func (*UserAttributes) GetIconOk ¶
func (o *UserAttributes) GetIconOk() (*string, bool)
GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAttributes) GetModifiedAt ¶
func (o *UserAttributes) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.
func (*UserAttributes) GetModifiedAtOk ¶
func (o *UserAttributes) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAttributes) GetName ¶
func (o *UserAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserAttributes) GetNameOk ¶
func (o *UserAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*UserAttributes) GetServiceAccount ¶ added in v1.3.0
func (o *UserAttributes) GetServiceAccount() bool
GetServiceAccount returns the ServiceAccount field value if set, zero value otherwise.
func (*UserAttributes) GetServiceAccountOk ¶ added in v1.3.0
func (o *UserAttributes) GetServiceAccountOk() (*bool, bool)
GetServiceAccountOk returns a tuple with the ServiceAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAttributes) GetStatus ¶
func (o *UserAttributes) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*UserAttributes) GetStatusOk ¶
func (o *UserAttributes) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAttributes) GetTitle ¶
func (o *UserAttributes) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UserAttributes) GetTitleOk ¶
func (o *UserAttributes) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*UserAttributes) GetVerified ¶
func (o *UserAttributes) GetVerified() bool
GetVerified returns the Verified field value if set, zero value otherwise.
func (*UserAttributes) GetVerifiedOk ¶
func (o *UserAttributes) GetVerifiedOk() (*bool, bool)
GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserAttributes) HasCreatedAt ¶
func (o *UserAttributes) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*UserAttributes) HasDisabled ¶
func (o *UserAttributes) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (*UserAttributes) HasEmail ¶
func (o *UserAttributes) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UserAttributes) HasHandle ¶
func (o *UserAttributes) HasHandle() bool
HasHandle returns a boolean if a field has been set.
func (*UserAttributes) HasIcon ¶
func (o *UserAttributes) HasIcon() bool
HasIcon returns a boolean if a field has been set.
func (*UserAttributes) HasModifiedAt ¶
func (o *UserAttributes) HasModifiedAt() bool
HasModifiedAt returns a boolean if a field has been set.
func (*UserAttributes) HasName ¶
func (o *UserAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*UserAttributes) HasServiceAccount ¶ added in v1.3.0
func (o *UserAttributes) HasServiceAccount() bool
HasServiceAccount returns a boolean if a field has been set.
func (*UserAttributes) HasStatus ¶
func (o *UserAttributes) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*UserAttributes) HasTitle ¶
func (o *UserAttributes) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*UserAttributes) HasVerified ¶
func (o *UserAttributes) HasVerified() bool
HasVerified returns a boolean if a field has been set.
func (UserAttributes) MarshalJSON ¶
func (o UserAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserAttributes) SetCreatedAt ¶
func (o *UserAttributes) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*UserAttributes) SetDisabled ¶
func (o *UserAttributes) SetDisabled(v bool)
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*UserAttributes) SetEmail ¶
func (o *UserAttributes) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*UserAttributes) SetHandle ¶
func (o *UserAttributes) SetHandle(v string)
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*UserAttributes) SetIcon ¶
func (o *UserAttributes) SetIcon(v string)
SetIcon gets a reference to the given string and assigns it to the Icon field.
func (*UserAttributes) SetModifiedAt ¶
func (o *UserAttributes) SetModifiedAt(v time.Time)
SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.
func (*UserAttributes) SetName ¶
func (o *UserAttributes) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*UserAttributes) SetNameNil ¶ added in v1.5.0
func (o *UserAttributes) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil.
func (*UserAttributes) SetServiceAccount ¶ added in v1.3.0
func (o *UserAttributes) SetServiceAccount(v bool)
SetServiceAccount gets a reference to the given bool and assigns it to the ServiceAccount field.
func (*UserAttributes) SetStatus ¶
func (o *UserAttributes) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*UserAttributes) SetTitle ¶
func (o *UserAttributes) SetTitle(v string)
SetTitle gets a reference to the given NullableString and assigns it to the Title field.
func (*UserAttributes) SetTitleNil ¶ added in v1.5.0
func (o *UserAttributes) SetTitleNil()
SetTitleNil sets the value for Title to be an explicit nil.
func (*UserAttributes) SetVerified ¶
func (o *UserAttributes) SetVerified(v bool)
SetVerified gets a reference to the given bool and assigns it to the Verified field.
func (*UserAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *UserAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*UserAttributes) UnsetName ¶ added in v1.5.0
func (o *UserAttributes) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil.
func (*UserAttributes) UnsetTitle ¶ added in v1.5.0
func (o *UserAttributes) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil.
type UserCreateAttributes ¶
type UserCreateAttributes struct {
// The email of the user.
Email string `json:"email"`
// The name of the user.
Name *string `json:"name,omitempty"`
// The title of the user.
Title *string `json:"title,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserCreateAttributes Attributes of the created user.
func NewUserCreateAttributes ¶
func NewUserCreateAttributes(email string) *UserCreateAttributes
NewUserCreateAttributes instantiates a new UserCreateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserCreateAttributesWithDefaults ¶
func NewUserCreateAttributesWithDefaults() *UserCreateAttributes
NewUserCreateAttributesWithDefaults instantiates a new UserCreateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserCreateAttributes) GetEmail ¶
func (o *UserCreateAttributes) GetEmail() string
GetEmail returns the Email field value.
func (*UserCreateAttributes) GetEmailOk ¶
func (o *UserCreateAttributes) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*UserCreateAttributes) GetName ¶
func (o *UserCreateAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UserCreateAttributes) GetNameOk ¶
func (o *UserCreateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserCreateAttributes) GetTitle ¶
func (o *UserCreateAttributes) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*UserCreateAttributes) GetTitleOk ¶
func (o *UserCreateAttributes) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserCreateAttributes) HasName ¶
func (o *UserCreateAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (*UserCreateAttributes) HasTitle ¶
func (o *UserCreateAttributes) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (UserCreateAttributes) MarshalJSON ¶
func (o UserCreateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserCreateAttributes) SetEmail ¶
func (o *UserCreateAttributes) SetEmail(v string)
SetEmail sets field value.
func (*UserCreateAttributes) SetName ¶
func (o *UserCreateAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UserCreateAttributes) SetTitle ¶
func (o *UserCreateAttributes) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*UserCreateAttributes) UnmarshalJSON ¶
func (o *UserCreateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserCreateData ¶
type UserCreateData struct {
// Attributes of the created user.
Attributes UserCreateAttributes `json:"attributes"`
// Relationships of the user object.
Relationships *UserRelationships `json:"relationships,omitempty"`
// Users resource type.
Type UsersType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserCreateData Object to create a user.
func NewUserCreateData ¶
func NewUserCreateData(attributes UserCreateAttributes, typeVar UsersType) *UserCreateData
NewUserCreateData instantiates a new UserCreateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserCreateDataWithDefaults ¶
func NewUserCreateDataWithDefaults() *UserCreateData
NewUserCreateDataWithDefaults instantiates a new UserCreateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserCreateData) GetAttributes ¶
func (o *UserCreateData) GetAttributes() UserCreateAttributes
GetAttributes returns the Attributes field value.
func (*UserCreateData) GetAttributesOk ¶
func (o *UserCreateData) GetAttributesOk() (*UserCreateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*UserCreateData) GetRelationships ¶
func (o *UserCreateData) GetRelationships() UserRelationships
GetRelationships returns the Relationships field value if set, zero value otherwise.
func (*UserCreateData) GetRelationshipsOk ¶
func (o *UserCreateData) GetRelationshipsOk() (*UserRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserCreateData) GetType ¶
func (o *UserCreateData) GetType() UsersType
GetType returns the Type field value.
func (*UserCreateData) GetTypeOk ¶
func (o *UserCreateData) GetTypeOk() (*UsersType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*UserCreateData) HasRelationships ¶
func (o *UserCreateData) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (UserCreateData) MarshalJSON ¶
func (o UserCreateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserCreateData) SetAttributes ¶
func (o *UserCreateData) SetAttributes(v UserCreateAttributes)
SetAttributes sets field value.
func (*UserCreateData) SetRelationships ¶
func (o *UserCreateData) SetRelationships(v UserRelationships)
SetRelationships gets a reference to the given UserRelationships and assigns it to the Relationships field.
func (*UserCreateData) SetType ¶
func (o *UserCreateData) SetType(v UsersType)
SetType sets field value.
func (*UserCreateData) UnmarshalJSON ¶
func (o *UserCreateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserCreateRequest ¶
type UserCreateRequest struct {
// Object to create a user.
Data UserCreateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserCreateRequest Create a user.
func NewUserCreateRequest ¶
func NewUserCreateRequest(data UserCreateData) *UserCreateRequest
NewUserCreateRequest instantiates a new UserCreateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserCreateRequestWithDefaults ¶
func NewUserCreateRequestWithDefaults() *UserCreateRequest
NewUserCreateRequestWithDefaults instantiates a new UserCreateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserCreateRequest) GetData ¶
func (o *UserCreateRequest) GetData() UserCreateData
GetData returns the Data field value.
func (*UserCreateRequest) GetDataOk ¶
func (o *UserCreateRequest) GetDataOk() (*UserCreateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (UserCreateRequest) MarshalJSON ¶
func (o UserCreateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserCreateRequest) SetData ¶
func (o *UserCreateRequest) SetData(v UserCreateData)
SetData sets field value.
func (*UserCreateRequest) UnmarshalJSON ¶
func (o *UserCreateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserInvitationData ¶
type UserInvitationData struct {
// Relationships data for user invitation.
Relationships UserInvitationRelationships `json:"relationships"`
// User invitations type.
Type UserInvitationsType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserInvitationData Object to create a user invitation.
func NewUserInvitationData ¶
func NewUserInvitationData(relationships UserInvitationRelationships, typeVar UserInvitationsType) *UserInvitationData
NewUserInvitationData instantiates a new UserInvitationData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserInvitationDataWithDefaults ¶
func NewUserInvitationDataWithDefaults() *UserInvitationData
NewUserInvitationDataWithDefaults instantiates a new UserInvitationData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserInvitationData) GetRelationships ¶
func (o *UserInvitationData) GetRelationships() UserInvitationRelationships
GetRelationships returns the Relationships field value.
func (*UserInvitationData) GetRelationshipsOk ¶
func (o *UserInvitationData) GetRelationshipsOk() (*UserInvitationRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field value and a boolean to check if the value has been set.
func (*UserInvitationData) GetType ¶
func (o *UserInvitationData) GetType() UserInvitationsType
GetType returns the Type field value.
func (*UserInvitationData) GetTypeOk ¶
func (o *UserInvitationData) GetTypeOk() (*UserInvitationsType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (UserInvitationData) MarshalJSON ¶
func (o UserInvitationData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserInvitationData) SetRelationships ¶
func (o *UserInvitationData) SetRelationships(v UserInvitationRelationships)
SetRelationships sets field value.
func (*UserInvitationData) SetType ¶
func (o *UserInvitationData) SetType(v UserInvitationsType)
SetType sets field value.
func (*UserInvitationData) UnmarshalJSON ¶
func (o *UserInvitationData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserInvitationDataAttributes ¶
type UserInvitationDataAttributes struct {
// Creation time of the user invitation.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Time of invitation expiration.
ExpiresAt *time.Time `json:"expires_at,omitempty"`
// Type of invitation.
InviteType *string `json:"invite_type,omitempty"`
// UUID of the user invitation.
Uuid *string `json:"uuid,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserInvitationDataAttributes Attributes of a user invitation.
func NewUserInvitationDataAttributes ¶
func NewUserInvitationDataAttributes() *UserInvitationDataAttributes
NewUserInvitationDataAttributes instantiates a new UserInvitationDataAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserInvitationDataAttributesWithDefaults ¶
func NewUserInvitationDataAttributesWithDefaults() *UserInvitationDataAttributes
NewUserInvitationDataAttributesWithDefaults instantiates a new UserInvitationDataAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserInvitationDataAttributes) GetCreatedAt ¶
func (o *UserInvitationDataAttributes) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*UserInvitationDataAttributes) GetCreatedAtOk ¶
func (o *UserInvitationDataAttributes) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInvitationDataAttributes) GetExpiresAt ¶
func (o *UserInvitationDataAttributes) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.
func (*UserInvitationDataAttributes) GetExpiresAtOk ¶
func (o *UserInvitationDataAttributes) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInvitationDataAttributes) GetInviteType ¶
func (o *UserInvitationDataAttributes) GetInviteType() string
GetInviteType returns the InviteType field value if set, zero value otherwise.
func (*UserInvitationDataAttributes) GetInviteTypeOk ¶
func (o *UserInvitationDataAttributes) GetInviteTypeOk() (*string, bool)
GetInviteTypeOk returns a tuple with the InviteType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInvitationDataAttributes) GetUuid ¶
func (o *UserInvitationDataAttributes) GetUuid() string
GetUuid returns the Uuid field value if set, zero value otherwise.
func (*UserInvitationDataAttributes) GetUuidOk ¶
func (o *UserInvitationDataAttributes) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInvitationDataAttributes) HasCreatedAt ¶
func (o *UserInvitationDataAttributes) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*UserInvitationDataAttributes) HasExpiresAt ¶
func (o *UserInvitationDataAttributes) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*UserInvitationDataAttributes) HasInviteType ¶
func (o *UserInvitationDataAttributes) HasInviteType() bool
HasInviteType returns a boolean if a field has been set.
func (*UserInvitationDataAttributes) HasUuid ¶
func (o *UserInvitationDataAttributes) HasUuid() bool
HasUuid returns a boolean if a field has been set.
func (UserInvitationDataAttributes) MarshalJSON ¶
func (o UserInvitationDataAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserInvitationDataAttributes) SetCreatedAt ¶
func (o *UserInvitationDataAttributes) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*UserInvitationDataAttributes) SetExpiresAt ¶
func (o *UserInvitationDataAttributes) SetExpiresAt(v time.Time)
SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.
func (*UserInvitationDataAttributes) SetInviteType ¶
func (o *UserInvitationDataAttributes) SetInviteType(v string)
SetInviteType gets a reference to the given string and assigns it to the InviteType field.
func (*UserInvitationDataAttributes) SetUuid ¶
func (o *UserInvitationDataAttributes) SetUuid(v string)
SetUuid gets a reference to the given string and assigns it to the Uuid field.
func (*UserInvitationDataAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *UserInvitationDataAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserInvitationRelationships ¶
type UserInvitationRelationships struct {
// Relationship to user.
User RelationshipToUser `json:"user"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserInvitationRelationships Relationships data for user invitation.
func NewUserInvitationRelationships ¶
func NewUserInvitationRelationships(user RelationshipToUser) *UserInvitationRelationships
NewUserInvitationRelationships instantiates a new UserInvitationRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserInvitationRelationshipsWithDefaults ¶
func NewUserInvitationRelationshipsWithDefaults() *UserInvitationRelationships
NewUserInvitationRelationshipsWithDefaults instantiates a new UserInvitationRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserInvitationRelationships) GetUser ¶
func (o *UserInvitationRelationships) GetUser() RelationshipToUser
GetUser returns the User field value.
func (*UserInvitationRelationships) GetUserOk ¶
func (o *UserInvitationRelationships) GetUserOk() (*RelationshipToUser, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (UserInvitationRelationships) MarshalJSON ¶
func (o UserInvitationRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserInvitationRelationships) SetUser ¶
func (o *UserInvitationRelationships) SetUser(v RelationshipToUser)
SetUser sets field value.
func (*UserInvitationRelationships) UnmarshalJSON ¶
func (o *UserInvitationRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserInvitationResponse ¶
type UserInvitationResponse struct {
// Object of a user invitation returned by the API.
Data *UserInvitationResponseData `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserInvitationResponse User invitation as returned by the API.
func NewUserInvitationResponse ¶
func NewUserInvitationResponse() *UserInvitationResponse
NewUserInvitationResponse instantiates a new UserInvitationResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserInvitationResponseWithDefaults ¶
func NewUserInvitationResponseWithDefaults() *UserInvitationResponse
NewUserInvitationResponseWithDefaults instantiates a new UserInvitationResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserInvitationResponse) GetData ¶
func (o *UserInvitationResponse) GetData() UserInvitationResponseData
GetData returns the Data field value if set, zero value otherwise.
func (*UserInvitationResponse) GetDataOk ¶
func (o *UserInvitationResponse) GetDataOk() (*UserInvitationResponseData, 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 (*UserInvitationResponse) HasData ¶
func (o *UserInvitationResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (UserInvitationResponse) MarshalJSON ¶
func (o UserInvitationResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserInvitationResponse) SetData ¶
func (o *UserInvitationResponse) SetData(v UserInvitationResponseData)
SetData gets a reference to the given UserInvitationResponseData and assigns it to the Data field.
func (*UserInvitationResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *UserInvitationResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserInvitationResponseData ¶
type UserInvitationResponseData struct {
// Attributes of a user invitation.
Attributes *UserInvitationDataAttributes `json:"attributes,omitempty"`
// ID of the user invitation.
Id *string `json:"id,omitempty"`
// User invitations type.
Type *UserInvitationsType `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserInvitationResponseData Object of a user invitation returned by the API.
func NewUserInvitationResponseData ¶
func NewUserInvitationResponseData() *UserInvitationResponseData
NewUserInvitationResponseData instantiates a new UserInvitationResponseData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserInvitationResponseDataWithDefaults ¶
func NewUserInvitationResponseDataWithDefaults() *UserInvitationResponseData
NewUserInvitationResponseDataWithDefaults instantiates a new UserInvitationResponseData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserInvitationResponseData) GetAttributes ¶
func (o *UserInvitationResponseData) GetAttributes() UserInvitationDataAttributes
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*UserInvitationResponseData) GetAttributesOk ¶
func (o *UserInvitationResponseData) GetAttributesOk() (*UserInvitationDataAttributes, 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 (*UserInvitationResponseData) GetId ¶
func (o *UserInvitationResponseData) GetId() string
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 ¶
func (o *UserInvitationResponseData) GetType() UserInvitationsType
GetType returns the Type field value if set, zero value otherwise.
func (*UserInvitationResponseData) GetTypeOk ¶
func (o *UserInvitationResponseData) GetTypeOk() (*UserInvitationsType, 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 (*UserInvitationResponseData) HasAttributes ¶
func (o *UserInvitationResponseData) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*UserInvitationResponseData) HasId ¶
func (o *UserInvitationResponseData) HasId() bool
HasId returns a boolean if a field has been set.
func (*UserInvitationResponseData) HasType ¶
func (o *UserInvitationResponseData) HasType() bool
HasType returns a boolean if a field has been set.
func (UserInvitationResponseData) MarshalJSON ¶
func (o UserInvitationResponseData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserInvitationResponseData) SetAttributes ¶
func (o *UserInvitationResponseData) SetAttributes(v UserInvitationDataAttributes)
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 ¶
func (o *UserInvitationResponseData) SetType(v UserInvitationsType)
SetType gets a reference to the given UserInvitationsType and assigns it to the Type field.
func (*UserInvitationResponseData) UnmarshalJSON ¶ added in v1.3.0
func (o *UserInvitationResponseData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserInvitationsRequest ¶
type UserInvitationsRequest struct {
// List of user invitations.
Data []UserInvitationData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserInvitationsRequest Object to invite users to join the organization.
func NewUserInvitationsRequest ¶
func NewUserInvitationsRequest(data []UserInvitationData) *UserInvitationsRequest
NewUserInvitationsRequest instantiates a new UserInvitationsRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserInvitationsRequestWithDefaults ¶
func NewUserInvitationsRequestWithDefaults() *UserInvitationsRequest
NewUserInvitationsRequestWithDefaults instantiates a new UserInvitationsRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserInvitationsRequest) GetData ¶
func (o *UserInvitationsRequest) GetData() []UserInvitationData
GetData returns the Data field value.
func (*UserInvitationsRequest) GetDataOk ¶
func (o *UserInvitationsRequest) GetDataOk() (*[]UserInvitationData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (UserInvitationsRequest) MarshalJSON ¶
func (o UserInvitationsRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserInvitationsRequest) SetData ¶
func (o *UserInvitationsRequest) SetData(v []UserInvitationData)
SetData sets field value.
func (*UserInvitationsRequest) UnmarshalJSON ¶
func (o *UserInvitationsRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserInvitationsResponse ¶
type UserInvitationsResponse struct {
// Array of user invitations.
Data []UserInvitationResponseData `json:"data,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserInvitationsResponse User invitations as returned by the API.
func NewUserInvitationsResponse ¶
func NewUserInvitationsResponse() *UserInvitationsResponse
NewUserInvitationsResponse instantiates a new UserInvitationsResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserInvitationsResponseWithDefaults ¶
func NewUserInvitationsResponseWithDefaults() *UserInvitationsResponse
NewUserInvitationsResponseWithDefaults instantiates a new UserInvitationsResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserInvitationsResponse) GetData ¶
func (o *UserInvitationsResponse) GetData() []UserInvitationResponseData
GetData returns the Data field value if set, zero value otherwise.
func (*UserInvitationsResponse) GetDataOk ¶
func (o *UserInvitationsResponse) GetDataOk() (*[]UserInvitationResponseData, 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 (*UserInvitationsResponse) HasData ¶
func (o *UserInvitationsResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (UserInvitationsResponse) MarshalJSON ¶
func (o UserInvitationsResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserInvitationsResponse) SetData ¶
func (o *UserInvitationsResponse) SetData(v []UserInvitationResponseData)
SetData gets a reference to the given []UserInvitationResponseData and assigns it to the Data field.
func (*UserInvitationsResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *UserInvitationsResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserInvitationsType ¶
type UserInvitationsType string
UserInvitationsType User invitations type.
const (
USERINVITATIONSTYPE_USER_INVITATIONS UserInvitationsType = "user_invitations"
)
List of UserInvitationsType.
func NewUserInvitationsTypeFromValue ¶
func NewUserInvitationsTypeFromValue(v string) (*UserInvitationsType, error)
NewUserInvitationsTypeFromValue returns a pointer to a valid UserInvitationsType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*UserInvitationsType) GetAllowedValues ¶ added in v1.1.0
func (v *UserInvitationsType) GetAllowedValues() []UserInvitationsType
GetAllowedValues reeturns the list of possible values.
func (UserInvitationsType) IsValid ¶
func (v UserInvitationsType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (UserInvitationsType) Ptr ¶
func (v UserInvitationsType) Ptr() *UserInvitationsType
Ptr returns reference to UserInvitationsType value.
func (*UserInvitationsType) UnmarshalJSON ¶
func (v *UserInvitationsType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type UserRelationships ¶
type UserRelationships struct {
// Relationship to roles.
Roles *RelationshipToRoles `json:"roles,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserRelationships Relationships of the user object.
func NewUserRelationships ¶
func NewUserRelationships() *UserRelationships
NewUserRelationships instantiates a new UserRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserRelationshipsWithDefaults ¶
func NewUserRelationshipsWithDefaults() *UserRelationships
NewUserRelationshipsWithDefaults instantiates a new UserRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserRelationships) GetRoles ¶
func (o *UserRelationships) GetRoles() RelationshipToRoles
GetRoles returns the Roles field value if set, zero value otherwise.
func (*UserRelationships) GetRolesOk ¶
func (o *UserRelationships) GetRolesOk() (*RelationshipToRoles, bool)
GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserRelationships) HasRoles ¶
func (o *UserRelationships) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (UserRelationships) MarshalJSON ¶
func (o UserRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserRelationships) SetRoles ¶
func (o *UserRelationships) SetRoles(v RelationshipToRoles)
SetRoles gets a reference to the given RelationshipToRoles and assigns it to the Roles field.
func (*UserRelationships) UnmarshalJSON ¶ added in v1.3.0
func (o *UserRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserResponse ¶
type UserResponse struct {
// User object returned by the API.
Data *User `json:"data,omitempty"`
// Array of objects related to the user.
Included []UserResponseIncludedItem `json:"included,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserResponse Response containing information about a single user.
func NewUserResponse ¶
func NewUserResponse() *UserResponse
NewUserResponse instantiates a new UserResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserResponseWithDefaults ¶
func NewUserResponseWithDefaults() *UserResponse
NewUserResponseWithDefaults instantiates a new UserResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserResponse) GetData ¶
func (o *UserResponse) GetData() User
GetData returns the Data field value if set, zero value otherwise.
func (*UserResponse) GetDataOk ¶
func (o *UserResponse) GetDataOk() (*User, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserResponse) GetIncluded ¶
func (o *UserResponse) GetIncluded() []UserResponseIncludedItem
GetIncluded returns the Included field value if set, zero value otherwise.
func (*UserResponse) GetIncludedOk ¶
func (o *UserResponse) GetIncludedOk() (*[]UserResponseIncludedItem, bool)
GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserResponse) HasData ¶
func (o *UserResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*UserResponse) HasIncluded ¶
func (o *UserResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (UserResponse) MarshalJSON ¶
func (o UserResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserResponse) SetData ¶
func (o *UserResponse) SetData(v User)
SetData gets a reference to the given User and assigns it to the Data field.
func (*UserResponse) SetIncluded ¶
func (o *UserResponse) SetIncluded(v []UserResponseIncludedItem)
SetIncluded gets a reference to the given []UserResponseIncludedItem and assigns it to the Included field.
func (*UserResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *UserResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserResponseIncludedItem ¶
type UserResponseIncludedItem struct {
Organization *Organization
Permission *Permission
Role *Role
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject interface{}
}
UserResponseIncludedItem - An object related to a user.
func OrganizationAsUserResponseIncludedItem ¶
func OrganizationAsUserResponseIncludedItem(v *Organization) UserResponseIncludedItem
OrganizationAsUserResponseIncludedItem is a convenience function that returns Organization wrapped in UserResponseIncludedItem.
func PermissionAsUserResponseIncludedItem ¶
func PermissionAsUserResponseIncludedItem(v *Permission) UserResponseIncludedItem
PermissionAsUserResponseIncludedItem is a convenience function that returns Permission wrapped in UserResponseIncludedItem.
func RoleAsUserResponseIncludedItem ¶
func RoleAsUserResponseIncludedItem(v *Role) UserResponseIncludedItem
RoleAsUserResponseIncludedItem is a convenience function that returns Role wrapped in UserResponseIncludedItem.
func (*UserResponseIncludedItem) GetActualInstance ¶
func (obj *UserResponseIncludedItem) GetActualInstance() interface{}
GetActualInstance returns the actual instance.
func (UserResponseIncludedItem) MarshalJSON ¶
func (obj UserResponseIncludedItem) MarshalJSON() ([]byte, error)
MarshalJSON turns data from the first non-nil pointers in the struct to JSON.
func (*UserResponseIncludedItem) UnmarshalJSON ¶
func (obj *UserResponseIncludedItem) UnmarshalJSON(data []byte) error
UnmarshalJSON turns data into one of the pointers in the struct.
type UserResponseRelationships ¶
type UserResponseRelationships struct {
// Relationship to an organization.
Org *RelationshipToOrganization `json:"org,omitempty"`
// Relationship to organizations.
OtherOrgs *RelationshipToOrganizations `json:"other_orgs,omitempty"`
// Relationship to users.
OtherUsers *RelationshipToUsers `json:"other_users,omitempty"`
// Relationship to roles.
Roles *RelationshipToRoles `json:"roles,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserResponseRelationships Relationships of the user object returned by the API.
func NewUserResponseRelationships ¶
func NewUserResponseRelationships() *UserResponseRelationships
NewUserResponseRelationships instantiates a new UserResponseRelationships object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserResponseRelationshipsWithDefaults ¶
func NewUserResponseRelationshipsWithDefaults() *UserResponseRelationships
NewUserResponseRelationshipsWithDefaults instantiates a new UserResponseRelationships object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserResponseRelationships) GetOrg ¶
func (o *UserResponseRelationships) GetOrg() RelationshipToOrganization
GetOrg returns the Org field value if set, zero value otherwise.
func (*UserResponseRelationships) GetOrgOk ¶
func (o *UserResponseRelationships) GetOrgOk() (*RelationshipToOrganization, bool)
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 ¶
func (o *UserResponseRelationships) GetOtherOrgs() RelationshipToOrganizations
GetOtherOrgs returns the OtherOrgs field value if set, zero value otherwise.
func (*UserResponseRelationships) GetOtherOrgsOk ¶
func (o *UserResponseRelationships) GetOtherOrgsOk() (*RelationshipToOrganizations, bool)
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 ¶
func (o *UserResponseRelationships) GetOtherUsers() RelationshipToUsers
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 ¶
func (o *UserResponseRelationships) GetRoles() RelationshipToRoles
GetRoles returns the Roles field value if set, zero value otherwise.
func (*UserResponseRelationships) GetRolesOk ¶
func (o *UserResponseRelationships) 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 (*UserResponseRelationships) HasOrg ¶
func (o *UserResponseRelationships) HasOrg() bool
HasOrg returns a boolean if a field has been set.
func (*UserResponseRelationships) HasOtherOrgs ¶
func (o *UserResponseRelationships) HasOtherOrgs() bool
HasOtherOrgs returns a boolean if a field has been set.
func (*UserResponseRelationships) HasOtherUsers ¶
func (o *UserResponseRelationships) HasOtherUsers() bool
HasOtherUsers returns a boolean if a field has been set.
func (*UserResponseRelationships) HasRoles ¶
func (o *UserResponseRelationships) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (UserResponseRelationships) MarshalJSON ¶
func (o UserResponseRelationships) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserResponseRelationships) SetOrg ¶
func (o *UserResponseRelationships) SetOrg(v RelationshipToOrganization)
SetOrg gets a reference to the given RelationshipToOrganization and assigns it to the Org field.
func (*UserResponseRelationships) SetOtherOrgs ¶
func (o *UserResponseRelationships) SetOtherOrgs(v RelationshipToOrganizations)
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 ¶
func (o *UserResponseRelationships) SetRoles(v RelationshipToRoles)
SetRoles gets a reference to the given RelationshipToRoles and assigns it to the Roles field.
func (*UserResponseRelationships) UnmarshalJSON ¶ added in v1.3.0
func (o *UserResponseRelationships) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserUpdateAttributes ¶
type UserUpdateAttributes struct {
// If the user is enabled or disabled.
Disabled *bool `json:"disabled,omitempty"`
// The email of the user.
Email *string `json:"email,omitempty"`
// The name of the user.
Name *string `json:"name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserUpdateAttributes Attributes of the edited user.
func NewUserUpdateAttributes ¶
func NewUserUpdateAttributes() *UserUpdateAttributes
NewUserUpdateAttributes instantiates a new UserUpdateAttributes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserUpdateAttributesWithDefaults ¶
func NewUserUpdateAttributesWithDefaults() *UserUpdateAttributes
NewUserUpdateAttributesWithDefaults instantiates a new UserUpdateAttributes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserUpdateAttributes) GetDisabled ¶
func (o *UserUpdateAttributes) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*UserUpdateAttributes) GetDisabledOk ¶
func (o *UserUpdateAttributes) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserUpdateAttributes) GetEmail ¶
func (o *UserUpdateAttributes) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*UserUpdateAttributes) GetEmailOk ¶
func (o *UserUpdateAttributes) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserUpdateAttributes) GetName ¶
func (o *UserUpdateAttributes) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UserUpdateAttributes) GetNameOk ¶
func (o *UserUpdateAttributes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserUpdateAttributes) HasDisabled ¶
func (o *UserUpdateAttributes) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (*UserUpdateAttributes) HasEmail ¶
func (o *UserUpdateAttributes) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UserUpdateAttributes) HasName ¶
func (o *UserUpdateAttributes) HasName() bool
HasName returns a boolean if a field has been set.
func (UserUpdateAttributes) MarshalJSON ¶
func (o UserUpdateAttributes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserUpdateAttributes) SetDisabled ¶
func (o *UserUpdateAttributes) SetDisabled(v bool)
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*UserUpdateAttributes) SetEmail ¶
func (o *UserUpdateAttributes) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*UserUpdateAttributes) SetName ¶
func (o *UserUpdateAttributes) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UserUpdateAttributes) UnmarshalJSON ¶ added in v1.3.0
func (o *UserUpdateAttributes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserUpdateData ¶
type UserUpdateData struct {
// Attributes of the edited user.
Attributes UserUpdateAttributes `json:"attributes"`
// ID of the user.
Id string `json:"id"`
// Users resource type.
Type UsersType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserUpdateData Object to update a user.
func NewUserUpdateData ¶
func NewUserUpdateData(attributes UserUpdateAttributes, id string, typeVar UsersType) *UserUpdateData
NewUserUpdateData instantiates a new UserUpdateData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserUpdateDataWithDefaults ¶
func NewUserUpdateDataWithDefaults() *UserUpdateData
NewUserUpdateDataWithDefaults instantiates a new UserUpdateData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserUpdateData) GetAttributes ¶
func (o *UserUpdateData) GetAttributes() UserUpdateAttributes
GetAttributes returns the Attributes field value.
func (*UserUpdateData) GetAttributesOk ¶
func (o *UserUpdateData) GetAttributesOk() (*UserUpdateAttributes, bool)
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*UserUpdateData) GetId ¶
func (o *UserUpdateData) GetId() string
GetId returns the Id field value.
func (*UserUpdateData) GetIdOk ¶
func (o *UserUpdateData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UserUpdateData) GetType ¶
func (o *UserUpdateData) GetType() UsersType
GetType returns the Type field value.
func (*UserUpdateData) GetTypeOk ¶
func (o *UserUpdateData) GetTypeOk() (*UsersType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (UserUpdateData) MarshalJSON ¶
func (o UserUpdateData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserUpdateData) SetAttributes ¶
func (o *UserUpdateData) SetAttributes(v UserUpdateAttributes)
SetAttributes sets field value.
func (*UserUpdateData) SetType ¶
func (o *UserUpdateData) SetType(v UsersType)
SetType sets field value.
func (*UserUpdateData) UnmarshalJSON ¶
func (o *UserUpdateData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UserUpdateRequest ¶
type UserUpdateRequest struct {
// Object to update a user.
Data UserUpdateData `json:"data"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UserUpdateRequest Update a user.
func NewUserUpdateRequest ¶
func NewUserUpdateRequest(data UserUpdateData) *UserUpdateRequest
NewUserUpdateRequest instantiates a new UserUpdateRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserUpdateRequestWithDefaults ¶
func NewUserUpdateRequestWithDefaults() *UserUpdateRequest
NewUserUpdateRequestWithDefaults instantiates a new UserUpdateRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserUpdateRequest) GetData ¶
func (o *UserUpdateRequest) GetData() UserUpdateData
GetData returns the Data field value.
func (*UserUpdateRequest) GetDataOk ¶
func (o *UserUpdateRequest) GetDataOk() (*UserUpdateData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (UserUpdateRequest) MarshalJSON ¶
func (o UserUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserUpdateRequest) SetData ¶
func (o *UserUpdateRequest) SetData(v UserUpdateData)
SetData sets field value.
func (*UserUpdateRequest) UnmarshalJSON ¶
func (o *UserUpdateRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UsersApiService ¶
type UsersApiService service
UsersApiService UsersApi service.
func (*UsersApiService) CreateServiceAccount ¶ added in v1.3.0
func (a *UsersApiService) CreateServiceAccount(ctx _context.Context, body ServiceAccountCreateRequest) (UserResponse, *_nethttp.Response, error)
CreateServiceAccount Create a service account. Create a service account for your organization.
func (*UsersApiService) CreateUser ¶
func (a *UsersApiService) CreateUser(ctx _context.Context, body UserCreateRequest) (UserResponse, *_nethttp.Response, error)
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 ¶
func (a *UsersApiService) GetUser(ctx _context.Context, userId string) (UserResponse, *_nethttp.Response, error)
GetUser Get user details. Get a user in the organization specified by the user’s `user_id`.
func (*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 ¶
func (a *UsersApiService) ListUsers(ctx _context.Context, o ...ListUsersOptionalParameters) (UsersResponse, *_nethttp.Response, error)
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 ¶
func (a *UsersApiService) SendInvitations(ctx _context.Context, body UserInvitationsRequest) (UserInvitationsResponse, *_nethttp.Response, error)
SendInvitations Send invitation emails. Sends emails to one or more users inviting them to join the organization.
func (*UsersApiService) UpdateUser ¶
func (a *UsersApiService) UpdateUser(ctx _context.Context, userId string, body UserUpdateRequest) (UserResponse, *_nethttp.Response, error)
UpdateUser Update a user. Edit a user. Can only be used with an application key belonging to an administrator user.
type UsersResponse ¶
type UsersResponse struct {
// Array of returned users.
Data []User `json:"data,omitempty"`
// Array of objects related to the users.
Included []UserResponseIncludedItem `json:"included,omitempty"`
// Object describing meta attributes of response.
Meta *ResponseMetaAttributes `json:"meta,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:-`
AdditionalProperties map[string]interface{}
}
UsersResponse Response containing information about multiple users.
func NewUsersResponse ¶
func NewUsersResponse() *UsersResponse
NewUsersResponse instantiates a new UsersResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUsersResponseWithDefaults ¶
func NewUsersResponseWithDefaults() *UsersResponse
NewUsersResponseWithDefaults instantiates a new UsersResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UsersResponse) GetData ¶
func (o *UsersResponse) GetData() []User
GetData returns the Data field value if set, zero value otherwise.
func (*UsersResponse) GetDataOk ¶
func (o *UsersResponse) GetDataOk() (*[]User, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsersResponse) GetIncluded ¶
func (o *UsersResponse) GetIncluded() []UserResponseIncludedItem
GetIncluded returns the Included field value if set, zero value otherwise.
func (*UsersResponse) GetIncludedOk ¶
func (o *UsersResponse) GetIncludedOk() (*[]UserResponseIncludedItem, bool)
GetIncludedOk returns a tuple with the Included field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsersResponse) GetMeta ¶
func (o *UsersResponse) GetMeta() ResponseMetaAttributes
GetMeta returns the Meta field value if set, zero value otherwise.
func (*UsersResponse) GetMetaOk ¶
func (o *UsersResponse) GetMetaOk() (*ResponseMetaAttributes, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsersResponse) HasData ¶
func (o *UsersResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*UsersResponse) HasIncluded ¶
func (o *UsersResponse) HasIncluded() bool
HasIncluded returns a boolean if a field has been set.
func (*UsersResponse) HasMeta ¶
func (o *UsersResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (UsersResponse) MarshalJSON ¶
func (o UsersResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UsersResponse) SetData ¶
func (o *UsersResponse) SetData(v []User)
SetData gets a reference to the given []User and assigns it to the Data field.
func (*UsersResponse) SetIncluded ¶
func (o *UsersResponse) SetIncluded(v []UserResponseIncludedItem)
SetIncluded gets a reference to the given []UserResponseIncludedItem and assigns it to the Included field.
func (*UsersResponse) SetMeta ¶
func (o *UsersResponse) SetMeta(v ResponseMetaAttributes)
SetMeta gets a reference to the given ResponseMetaAttributes and assigns it to the Meta field.
func (*UsersResponse) UnmarshalJSON ¶ added in v1.3.0
func (o *UsersResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type UsersType ¶
type UsersType string
UsersType Users resource type.
const (
USERSTYPE_USERS UsersType = "users"
)
List of UsersType.
func NewUsersTypeFromValue ¶
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
GetAllowedValues reeturns the list of possible values.
func (UsersType) IsValid ¶
IsValid return true if the value is valid for the enum, false otherwise.
func (*UsersType) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
Source Files
¶
- api_audit.go
- api_auth_n_mappings.go
- api_cloud_workload_security.go
- api_dashboard_lists.go
- api_incident_services.go
- api_incident_teams.go
- api_incidents.go
- api_key_management.go
- api_logs.go
- api_logs_archives.go
- api_logs_metrics.go
- api_metrics.go
- api_opsgenie_integration.go
- api_organizations.go
- api_processes.go
- api_roles.go
- api_rum.go
- api_security_monitoring.go
- api_service_accounts.go
- api_usage_metering.go
- api_users.go
- client.go
- configuration.go
- model_api_error_response.go
- model_api_key_create_attributes.go
- model_api_key_create_data.go
- model_api_key_create_request.go
- model_api_key_relationships.go
- model_api_key_response.go
- model_api_key_response_included_item.go
- model_api_key_update_attributes.go
- model_api_key_update_data.go
- model_api_key_update_request.go
- model_api_keys_response.go
- model_api_keys_sort.go
- model_api_keys_type.go
- model_application_key_create_attributes.go
- model_application_key_create_data.go
- model_application_key_create_request.go
- model_application_key_relationships.go
- model_application_key_response.go
- model_application_key_response_included_item.go
- model_application_key_update_attributes.go
- model_application_key_update_data.go
- model_application_key_update_request.go
- model_application_keys_sort.go
- model_application_keys_type.go
- model_audit_logs_event.go
- model_audit_logs_event_attributes.go
- model_audit_logs_event_type.go
- model_audit_logs_events_response.go
- model_audit_logs_query_filter.go
- model_audit_logs_query_options.go
- model_audit_logs_query_page_options.go
- model_audit_logs_response_links.go
- model_audit_logs_response_metadata.go
- model_audit_logs_response_page.go
- model_audit_logs_response_status.go
- model_audit_logs_search_events_request.go
- model_audit_logs_sort.go
- model_audit_logs_warning.go
- model_auth_n_mapping.go
- model_auth_n_mapping_attributes.go
- model_auth_n_mapping_create_attributes.go
- model_auth_n_mapping_create_data.go
- model_auth_n_mapping_create_relationships.go
- model_auth_n_mapping_create_request.go
- model_auth_n_mapping_included.go
- model_auth_n_mapping_relationships.go
- model_auth_n_mapping_response.go
- model_auth_n_mapping_update_attributes.go
- model_auth_n_mapping_update_data.go
- model_auth_n_mapping_update_relationships.go
- model_auth_n_mapping_update_request.go
- model_auth_n_mappings_response.go
- model_auth_n_mappings_sort.go
- model_auth_n_mappings_type.go
- model_chargeback_breakdown.go
- model_cloud_workload_security_agent_rule_attributes.go
- model_cloud_workload_security_agent_rule_create_attributes.go
- model_cloud_workload_security_agent_rule_create_data.go
- model_cloud_workload_security_agent_rule_create_request.go
- model_cloud_workload_security_agent_rule_creator_attributes.go
- model_cloud_workload_security_agent_rule_data.go
- model_cloud_workload_security_agent_rule_response.go
- model_cloud_workload_security_agent_rule_type.go
- model_cloud_workload_security_agent_rule_update_attributes.go
- model_cloud_workload_security_agent_rule_update_data.go
- model_cloud_workload_security_agent_rule_update_request.go
- model_cloud_workload_security_agent_rule_updater_attributes.go
- model_cloud_workload_security_agent_rules_list_response.go
- model_content_encoding.go
- model_cost_by_org.go
- model_cost_by_org_attributes.go
- model_cost_by_org_response.go
- model_cost_by_org_type.go
- model_creator.go
- model_dashboard_list_add_items_request.go
- model_dashboard_list_add_items_response.go
- model_dashboard_list_delete_items_request.go
- model_dashboard_list_delete_items_response.go
- model_dashboard_list_item.go
- model_dashboard_list_item_request.go
- model_dashboard_list_item_response.go
- model_dashboard_list_items.go
- model_dashboard_list_update_items_request.go
- model_dashboard_list_update_items_response.go
- model_dashboard_type.go
- model_full_api_key.go
- model_full_api_key_attributes.go
- model_full_application_key.go
- model_full_application_key_attributes.go
- model_hourly_usage.go
- model_hourly_usage_attributes.go
- model_hourly_usage_measurement.go
- model_hourly_usage_metadata.go
- model_hourly_usage_pagination.go
- model_hourly_usage_response.go
- model_hourly_usage_type.go
- model_http_log_error.go
- model_http_log_errors.go
- model_http_log_item.go
- model_id_p_metadata_form_data.go
- model_incident_create_attributes.go
- model_incident_create_data.go
- model_incident_create_relationships.go
- model_incident_create_request.go
- model_incident_field_attributes.go
- model_incident_field_attributes_multiple_value.go
- model_incident_field_attributes_single_value.go
- model_incident_field_attributes_single_value_type.go
- model_incident_field_attributes_value_type.go
- model_incident_integration_metadata_type.go
- model_incident_notification_handle.go
- model_incident_postmortem_type.go
- model_incident_related_object.go
- model_incident_response.go
- model_incident_response_attributes.go
- model_incident_response_data.go
- model_incident_response_included_item.go
- model_incident_response_meta.go
- model_incident_response_meta_pagination.go
- model_incident_response_relationships.go
- model_incident_service_create_attributes.go
- model_incident_service_create_data.go
- model_incident_service_create_request.go
- model_incident_service_included_items.go
- model_incident_service_relationships.go
- model_incident_service_response.go
- model_incident_service_response_attributes.go
- model_incident_service_response_data.go
- model_incident_service_type.go
- model_incident_service_update_attributes.go
- model_incident_service_update_data.go
- model_incident_service_update_request.go
- model_incident_services_response.go
- model_incident_team_create_attributes.go
- model_incident_team_create_data.go
- model_incident_team_create_request.go
- model_incident_team_included_items.go
- model_incident_team_relationships.go
- model_incident_team_response.go
- model_incident_team_response_attributes.go
- model_incident_team_response_data.go
- model_incident_team_type.go
- model_incident_team_update_attributes.go
- model_incident_team_update_data.go
- model_incident_team_update_request.go
- model_incident_teams_response.go
- model_incident_timeline_cell_create_attributes.go
- model_incident_timeline_cell_markdown_content_type.go
- model_incident_timeline_cell_markdown_create_attributes.go
- model_incident_timeline_cell_markdown_create_attributes_content.go
- model_incident_type.go
- model_incident_update_attributes.go
- model_incident_update_data.go
- model_incident_update_relationships.go
- model_incident_update_request.go
- model_incidents_response.go
- model_intake_payload_accepted.go
- model_list_application_keys_response.go
- model_log.go
- model_log_attributes.go
- model_log_type.go
- model_logs_aggregate_bucket.go
- model_logs_aggregate_bucket_value.go
- model_logs_aggregate_bucket_value_timeseries.go
- model_logs_aggregate_bucket_value_timeseries_point.go
- model_logs_aggregate_request.go
- model_logs_aggregate_request_page.go
- model_logs_aggregate_response.go
- model_logs_aggregate_response_data.go
- model_logs_aggregate_response_status.go
- model_logs_aggregate_sort.go
- model_logs_aggregate_sort_type.go
- model_logs_aggregation_function.go
- model_logs_archive.go
- model_logs_archive_attributes.go
- model_logs_archive_create_request.go
- model_logs_archive_create_request_attributes.go
- model_logs_archive_create_request_definition.go
- model_logs_archive_create_request_destination.go
- model_logs_archive_definition.go
- model_logs_archive_destination.go
- model_logs_archive_destination_azure.go
- model_logs_archive_destination_azure_type.go
- model_logs_archive_destination_gcs.go
- model_logs_archive_destination_gcs_type.go
- model_logs_archive_destination_s3.go
- model_logs_archive_destination_s3_type.go
- model_logs_archive_integration_azure.go
- model_logs_archive_integration_gcs.go
- model_logs_archive_integration_s3.go
- model_logs_archive_order.go
- model_logs_archive_order_attributes.go
- model_logs_archive_order_definition.go
- model_logs_archive_order_definition_type.go
- model_logs_archive_state.go
- model_logs_archives.go
- model_logs_compute.go
- model_logs_compute_type.go
- model_logs_group_by.go
- model_logs_group_by_histogram.go
- model_logs_group_by_missing.go
- model_logs_group_by_total.go
- model_logs_list_request.go
- model_logs_list_request_page.go
- model_logs_list_response.go
- model_logs_list_response_links.go
- model_logs_metric_compute.go
- model_logs_metric_compute_aggregation_type.go
- model_logs_metric_create_attributes.go
- model_logs_metric_create_data.go
- model_logs_metric_create_request.go
- model_logs_metric_filter.go
- model_logs_metric_group_by.go
- model_logs_metric_response.go
- model_logs_metric_response_attributes.go
- model_logs_metric_response_compute.go
- model_logs_metric_response_compute_aggregation_type.go
- model_logs_metric_response_data.go
- model_logs_metric_response_filter.go
- model_logs_metric_response_group_by.go
- model_logs_metric_type.go
- model_logs_metric_update_attributes.go
- model_logs_metric_update_data.go
- model_logs_metric_update_request.go
- model_logs_metrics_response.go
- model_logs_query_filter.go
- model_logs_query_options.go
- model_logs_response_metadata.go
- model_logs_response_metadata_page.go
- model_logs_sort.go
- model_logs_sort_order.go
- model_logs_warning.go
- model_metric.go
- model_metric_all_tags.go
- model_metric_all_tags_attributes.go
- model_metric_all_tags_response.go
- model_metric_bulk_configure_tags_type.go
- model_metric_bulk_tag_config_create.go
- model_metric_bulk_tag_config_create_attributes.go
- model_metric_bulk_tag_config_create_request.go
- model_metric_bulk_tag_config_delete.go
- model_metric_bulk_tag_config_delete_attributes.go
- model_metric_bulk_tag_config_delete_request.go
- model_metric_bulk_tag_config_response.go
- model_metric_bulk_tag_config_status.go
- model_metric_bulk_tag_config_status_attributes.go
- model_metric_content_encoding.go
- model_metric_custom_aggregation.go
- model_metric_custom_space_aggregation.go
- model_metric_custom_time_aggregation.go
- model_metric_distinct_volume.go
- model_metric_distinct_volume_attributes.go
- model_metric_distinct_volume_type.go
- model_metric_estimate.go
- model_metric_estimate_attributes.go
- model_metric_estimate_resource_type.go
- model_metric_estimate_response.go
- model_metric_estimate_type.go
- model_metric_ingested_indexed_volume.go
- model_metric_ingested_indexed_volume_attributes.go
- model_metric_ingested_indexed_volume_type.go
- model_metric_intake_type.go
- model_metric_metadata.go
- model_metric_origin.go
- model_metric_payload.go
- model_metric_point.go
- model_metric_resource.go
- model_metric_series.go
- model_metric_tag_configuration.go
- model_metric_tag_configuration_attributes.go
- model_metric_tag_configuration_create_attributes.go
- model_metric_tag_configuration_create_data.go
- model_metric_tag_configuration_create_request.go
- model_metric_tag_configuration_metric_types.go
- model_metric_tag_configuration_response.go
- model_metric_tag_configuration_type.go
- model_metric_tag_configuration_update_attributes.go
- model_metric_tag_configuration_update_data.go
- model_metric_tag_configuration_update_request.go
- model_metric_type.go
- model_metric_volumes.go
- model_metric_volumes_response.go
- model_metrics_and_metric_tag_configurations.go
- model_metrics_and_metric_tag_configurations_response.go
- model_nullable_relationship_to_user.go
- model_nullable_relationship_to_user_data.go
- model_opsgenie_service_create_attributes.go
- model_opsgenie_service_create_data.go
- model_opsgenie_service_create_request.go
- model_opsgenie_service_region_type.go
- model_opsgenie_service_response.go
- model_opsgenie_service_response_attributes.go
- model_opsgenie_service_response_data.go
- model_opsgenie_service_type.go
- model_opsgenie_service_update_attributes.go
- model_opsgenie_service_update_data.go
- model_opsgenie_service_update_request.go
- model_opsgenie_services_response.go
- model_organization.go
- model_organization_attributes.go
- model_organizations_type.go
- model_pagination.go
- model_partial_api_key.go
- model_partial_api_key_attributes.go
- model_partial_application_key.go
- model_partial_application_key_attributes.go
- model_partial_application_key_response.go
- model_permission.go
- model_permission_attributes.go
- model_permissions_response.go
- model_permissions_type.go
- model_process_summaries_meta.go
- model_process_summaries_meta_page.go
- model_process_summaries_response.go
- model_process_summary.go
- model_process_summary_attributes.go
- model_process_summary_type.go
- model_query_sort_order.go
- model_relationship_to_incident_integration_metadata_data.go
- model_relationship_to_incident_integration_metadatas.go
- model_relationship_to_incident_postmortem.go
- model_relationship_to_incident_postmortem_data.go
- model_relationship_to_organization.go
- model_relationship_to_organization_data.go
- model_relationship_to_organizations.go
- model_relationship_to_permission.go
- model_relationship_to_permission_data.go
- model_relationship_to_permissions.go
- model_relationship_to_role.go
- model_relationship_to_role_data.go
- model_relationship_to_roles.go
- model_relationship_to_saml_assertion_attribute.go
- model_relationship_to_saml_assertion_attribute_data.go
- model_relationship_to_user.go
- model_relationship_to_user_data.go
- model_relationship_to_users.go
- model_response_meta_attributes.go
- model_role.go
- model_role_attributes.go
- model_role_clone.go
- model_role_clone_attributes.go
- model_role_clone_request.go
- model_role_create_attributes.go
- model_role_create_data.go
- model_role_create_request.go
- model_role_create_response.go
- model_role_create_response_data.go
- model_role_relationships.go
- model_role_response.go
- model_role_response_relationships.go
- model_role_update_attributes.go
- model_role_update_data.go
- model_role_update_request.go
- model_role_update_response.go
- model_role_update_response_data.go
- model_roles_response.go
- model_roles_sort.go
- model_roles_type.go
- model_rum_aggregate_bucket_value.go
- model_rum_aggregate_bucket_value_timeseries.go
- model_rum_aggregate_bucket_value_timeseries_point.go
- model_rum_aggregate_request.go
- model_rum_aggregate_sort.go
- model_rum_aggregate_sort_type.go
- model_rum_aggregation_buckets_response.go
- model_rum_aggregation_function.go
- model_rum_analytics_aggregate_response.go
- model_rum_bucket_response.go
- model_rum_compute.go
- model_rum_compute_type.go
- model_rum_event.go
- model_rum_event_attributes.go
- model_rum_event_type.go
- model_rum_events_response.go
- model_rum_group_by.go
- model_rum_group_by_histogram.go
- model_rum_group_by_missing.go
- model_rum_group_by_total.go
- model_rum_query_filter.go
- model_rum_query_options.go
- model_rum_query_page_options.go
- model_rum_response_links.go
- model_rum_response_metadata.go
- model_rum_response_page.go
- model_rum_response_status.go
- model_rum_search_events_request.go
- model_rum_sort.go
- model_rum_sort_order.go
- model_rum_warning.go
- model_saml_assertion_attribute.go
- model_saml_assertion_attribute_attributes.go
- model_saml_assertion_attributes_type.go
- model_security_filter.go
- model_security_filter_attributes.go
- model_security_filter_create_attributes.go
- model_security_filter_create_data.go
- model_security_filter_create_request.go
- model_security_filter_exclusion_filter.go
- model_security_filter_exclusion_filter_response.go
- model_security_filter_filtered_data_type.go
- model_security_filter_meta.go
- model_security_filter_response.go
- model_security_filter_type.go
- model_security_filter_update_attributes.go
- model_security_filter_update_data.go
- model_security_filter_update_request.go
- model_security_filters_response.go
- model_security_monitoring_filter.go
- model_security_monitoring_filter_action.go
- model_security_monitoring_list_rules_response.go
- model_security_monitoring_rule_case.go
- model_security_monitoring_rule_case_create.go
- model_security_monitoring_rule_create_payload.go
- model_security_monitoring_rule_detection_method.go
- model_security_monitoring_rule_evaluation_window.go
- model_security_monitoring_rule_hardcoded_evaluator_type.go
- model_security_monitoring_rule_impossible_travel_options.go
- model_security_monitoring_rule_keep_alive.go
- model_security_monitoring_rule_max_signal_duration.go
- model_security_monitoring_rule_new_value_options.go
- model_security_monitoring_rule_new_value_options_forget_after.go
- model_security_monitoring_rule_new_value_options_learning_duration.go
- model_security_monitoring_rule_new_value_options_learning_method.go
- model_security_monitoring_rule_new_value_options_learning_threshold.go
- model_security_monitoring_rule_options.go
- model_security_monitoring_rule_query.go
- model_security_monitoring_rule_query_aggregation.go
- model_security_monitoring_rule_query_create.go
- model_security_monitoring_rule_response.go
- model_security_monitoring_rule_severity.go
- model_security_monitoring_rule_type_create.go
- model_security_monitoring_rule_type_read.go
- model_security_monitoring_rule_update_payload.go
- model_security_monitoring_signal.go
- model_security_monitoring_signal_archive_reason.go
- model_security_monitoring_signal_assignee_update_attributes.go
- model_security_monitoring_signal_assignee_update_data.go
- model_security_monitoring_signal_assignee_update_request.go
- model_security_monitoring_signal_attributes.go
- model_security_monitoring_signal_incidents_update_attributes.go
- model_security_monitoring_signal_incidents_update_data.go
- model_security_monitoring_signal_incidents_update_request.go
- model_security_monitoring_signal_list_request.go
- model_security_monitoring_signal_list_request_filter.go
- model_security_monitoring_signal_list_request_page.go
- model_security_monitoring_signal_state.go
- model_security_monitoring_signal_state_update_attributes.go
- model_security_monitoring_signal_state_update_data.go
- model_security_monitoring_signal_state_update_request.go
- model_security_monitoring_signal_triage_attributes.go
- model_security_monitoring_signal_triage_update_data.go
- model_security_monitoring_signal_triage_update_response.go
- model_security_monitoring_signal_type.go
- model_security_monitoring_signals_list_response.go
- model_security_monitoring_signals_list_response_links.go
- model_security_monitoring_signals_list_response_meta.go
- model_security_monitoring_signals_list_response_meta_page.go
- model_security_monitoring_signals_sort.go
- model_security_monitoring_triage_user.go
- model_service_account_create_attributes.go
- model_service_account_create_data.go
- model_service_account_create_request.go
- model_usage_application_security_monitoring_response.go
- model_usage_attributes_object.go
- model_usage_data_object.go
- model_usage_lambda_traced_invocations_response.go
- model_usage_observability_pipelines_response.go
- model_usage_time_series_object.go
- model_usage_time_series_type.go
- model_user.go
- model_user_attributes.go
- model_user_create_attributes.go
- model_user_create_data.go
- model_user_create_request.go
- model_user_invitation_data.go
- model_user_invitation_data_attributes.go
- model_user_invitation_relationships.go
- model_user_invitation_response.go
- model_user_invitation_response_data.go
- model_user_invitations_request.go
- model_user_invitations_response.go
- model_user_invitations_type.go
- model_user_relationships.go
- model_user_response.go
- model_user_response_included_item.go
- model_user_response_relationships.go
- model_user_update_attributes.go
- model_user_update_data.go
- model_user_update_request.go
- model_users_response.go
- model_users_type.go
- utils.go
- zstd.go