From 752511d724594279e95fac285a9693bd3244e328 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" Date: Fri, 6 Jan 2023 08:21:50 +0000 Subject: [PATCH] Add Support for Incident Management Search API (#1769) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> f459bd54e8ca23bfcaa7c8fd558904845db767f3 --- .../v2/api/datadog/index.html | 18 +- .../v2/api/datadogV2/index.html | 4785 +++++++++++++++-- .../v2/api/datadog/configuration.go.html | 425 +- .../v2/api/datadog/index.html | 12 +- .../v2/api/datadogV1/index.html | 1568 +++--- .../v2/api/datadogV2/api_incidents.go.html | 692 ++- .../v2/api/datadogV2/doc.go.html | 261 +- .../v2/api/datadogV2/index.html | 1660 +++--- .../model_incident_search_response.go.html | 214 + ...ncident_search_response_attributes.go.html | 245 + ...odel_incident_search_response_data.go.html | 221 + ...cident_search_response_facets_data.go.html | 517 ++ ...t_search_response_field_facet_data.go.html | 202 + ...ent_search_response_incidents_data.go.html | 179 + ...search_response_numeric_facet_data.go.html | 212 + ...onse_numeric_facet_data_aggregates.go.html | 226 + ...response_property_field_facet_data.go.html | 247 + ...nt_search_response_user_facet_data.go.html | 307 ++ ...model_incident_search_results_type.go.html | 176 + .../model_incident_search_sort_order.go.html | 178 + 20 files changed, 9647 insertions(+), 2698 deletions(-) create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_response.go.html create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_response_attributes.go.html create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_response_data.go.html create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_response_facets_data.go.html create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_response_field_facet_data.go.html create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_response_incidents_data.go.html create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_response_numeric_facet_data.go.html create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_response_numeric_facet_data_aggregates.go.html create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_response_property_field_facet_data.go.html create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_response_user_facet_data.go.html create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_results_type.go.html create mode 100644 src/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/model_incident_search_sort_order.go.html diff --git a/pkg/github.com/DataDog/datadog-api-client-go/v2/api/datadog/index.html b/pkg/github.com/DataDog/datadog-api-client-go/v2/api/datadog/index.html index ff5ee408df5..03621a985db 100644 --- a/pkg/github.com/DataDog/datadog-api-client-go/v2/api/datadog/index.html +++ b/pkg/github.com/DataDog/datadog-api-client-go/v2/api/datadog/index.html @@ -542,7 +542,7 @@

func func NewDefaultContext +

func NewDefaultContext @@ -909,7 +909,7 @@

func func (*Configuration) AddDefaultHeader +

func (*Configuration) AddDefaultHeader @@ -922,7 +922,7 @@

func (*Configuration) func (*Configuration) GetUnstableOperations +

func (*Configuration) GetUnstableOperations @@ -935,7 +935,7 @@

func (*Configuration) func (*Configuration) IsUnstableOperation +

func (*Configuration) IsUnstableOperation @@ -949,7 +949,7 @@

func (*Configuration) func (*Configuration) IsUnstableOperationEnabled +

func (*Configuration) IsUnstableOperationEnabled @@ -964,7 +964,7 @@

func (*Configuration) func (*Configuration) ServerURL +

func (*Configuration) ServerURL @@ -977,7 +977,7 @@

func (*Configuration) func (*Configuration) ServerURLWithContext +

func (*Configuration) ServerURLWithContext @@ -990,7 +990,7 @@

func (*Configuration) func (*Configuration) SetUnstableOperationEnabled +

func (*Configuration) SetUnstableOperationEnabled @@ -2106,7 +2106,7 @@

type func (ServerConfigurations) URL +

func (ServerConfigurations) URL diff --git a/pkg/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/index.html b/pkg/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/index.html index 3aca738e931..aaa6721b362 100644 --- a/pkg/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/index.html +++ b/pkg/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/index.html @@ -141,6 +141,7 @@

Overview ▾

[IncidentsApi.GetIncident]
  • [IncidentsApi.ListIncidentAttachments]
  • [IncidentsApi.ListIncidents] +
  • [IncidentsApi.SearchIncidents]
  • [IncidentsApi.UpdateIncident]
  • [IncidentsApi.UpdateIncidentAttachments]
  • [KeyManagementApi.CreateAPIKey] @@ -10503,6 +10504,597 @@

    Index ▾

    +
    type IncidentSearchResponse
    + + +
        func NewIncidentSearchResponse(data IncidentSearchResponseData) *IncidentSearchResponse
    + + +
        func NewIncidentSearchResponseWithDefaults() *IncidentSearchResponse
    + + + +
        func (o *IncidentSearchResponse) GetData() IncidentSearchResponseData
    + + +
        func (o *IncidentSearchResponse) GetDataOk() (*IncidentSearchResponseData, bool)
    + + +
        func (o *IncidentSearchResponse) GetIncluded() []IncidentResponseIncludedItem
    + + +
        func (o *IncidentSearchResponse) GetIncludedOk() (*[]IncidentResponseIncludedItem, bool)
    + + +
        func (o *IncidentSearchResponse) HasIncluded() bool
    + + +
        func (o IncidentSearchResponse) MarshalJSON() ([]byte, error)
    + + +
        func (o *IncidentSearchResponse) SetData(v IncidentSearchResponseData)
    + + +
        func (o *IncidentSearchResponse) SetIncluded(v []IncidentResponseIncludedItem)
    + + +
        func (o *IncidentSearchResponse) UnmarshalJSON(bytes []byte) (err error)
    + + + +
    type IncidentSearchResponseAttributes
    + + +
        func NewIncidentSearchResponseAttributes(facets IncidentSearchResponseFacetsData, incidents []IncidentSearchResponseIncidentsData, total int32) *IncidentSearchResponseAttributes
    + + +
        func NewIncidentSearchResponseAttributesWithDefaults() *IncidentSearchResponseAttributes
    + + + +
        func (o *IncidentSearchResponseAttributes) GetFacets() IncidentSearchResponseFacetsData
    + + +
        func (o *IncidentSearchResponseAttributes) GetFacetsOk() (*IncidentSearchResponseFacetsData, bool)
    + + +
        func (o *IncidentSearchResponseAttributes) GetIncidents() []IncidentSearchResponseIncidentsData
    + + +
        func (o *IncidentSearchResponseAttributes) GetIncidentsOk() (*[]IncidentSearchResponseIncidentsData, bool)
    + + +
        func (o *IncidentSearchResponseAttributes) GetTotal() int32
    + + +
        func (o *IncidentSearchResponseAttributes) GetTotalOk() (*int32, bool)
    + + +
        func (o IncidentSearchResponseAttributes) MarshalJSON() ([]byte, error)
    + + +
        func (o *IncidentSearchResponseAttributes) SetFacets(v IncidentSearchResponseFacetsData)
    + + +
        func (o *IncidentSearchResponseAttributes) SetIncidents(v []IncidentSearchResponseIncidentsData)
    + + +
        func (o *IncidentSearchResponseAttributes) SetTotal(v int32)
    + + +
        func (o *IncidentSearchResponseAttributes) UnmarshalJSON(bytes []byte) (err error)
    + + + +
    type IncidentSearchResponseData
    + + +
        func NewIncidentSearchResponseData() *IncidentSearchResponseData
    + + +
        func NewIncidentSearchResponseDataWithDefaults() *IncidentSearchResponseData
    + + + +
        func (o *IncidentSearchResponseData) GetAttributes() IncidentSearchResponseAttributes
    + + +
        func (o *IncidentSearchResponseData) GetAttributesOk() (*IncidentSearchResponseAttributes, bool)
    + + +
        func (o *IncidentSearchResponseData) GetType() IncidentSearchResultsType
    + + +
        func (o *IncidentSearchResponseData) GetTypeOk() (*IncidentSearchResultsType, bool)
    + + +
        func (o *IncidentSearchResponseData) HasAttributes() bool
    + + +
        func (o *IncidentSearchResponseData) HasType() bool
    + + +
        func (o IncidentSearchResponseData) MarshalJSON() ([]byte, error)
    + + +
        func (o *IncidentSearchResponseData) SetAttributes(v IncidentSearchResponseAttributes)
    + + +
        func (o *IncidentSearchResponseData) SetType(v IncidentSearchResultsType)
    + + +
        func (o *IncidentSearchResponseData) UnmarshalJSON(bytes []byte) (err error)
    + + + +
    type IncidentSearchResponseFacetsData
    + + +
        func NewIncidentSearchResponseFacetsData() *IncidentSearchResponseFacetsData
    + + +
        func NewIncidentSearchResponseFacetsDataWithDefaults() *IncidentSearchResponseFacetsData
    + + + +
        func (o *IncidentSearchResponseFacetsData) GetCommander() []IncidentSearchResponseUserFacetData
    + + +
        func (o *IncidentSearchResponseFacetsData) GetCommanderOk() (*[]IncidentSearchResponseUserFacetData, bool)
    + + +
        func (o *IncidentSearchResponseFacetsData) GetCreatedBy() []IncidentSearchResponseUserFacetData
    + + +
        func (o *IncidentSearchResponseFacetsData) GetCreatedByOk() (*[]IncidentSearchResponseUserFacetData, bool)
    + + +
        func (o *IncidentSearchResponseFacetsData) GetFields() []IncidentSearchResponsePropertyFieldFacetData
    + + +
        func (o *IncidentSearchResponseFacetsData) GetFieldsOk() (*[]IncidentSearchResponsePropertyFieldFacetData, bool)
    + + +
        func (o *IncidentSearchResponseFacetsData) GetImpact() []IncidentSearchResponseFieldFacetData
    + + +
        func (o *IncidentSearchResponseFacetsData) GetImpactOk() (*[]IncidentSearchResponseFieldFacetData, bool)
    + + +
        func (o *IncidentSearchResponseFacetsData) GetLastModifiedBy() []IncidentSearchResponseUserFacetData
    + + +
        func (o *IncidentSearchResponseFacetsData) GetLastModifiedByOk() (*[]IncidentSearchResponseUserFacetData, bool)
    + + +
        func (o *IncidentSearchResponseFacetsData) GetPostmortem() []IncidentSearchResponseFieldFacetData
    + + +
        func (o *IncidentSearchResponseFacetsData) GetPostmortemOk() (*[]IncidentSearchResponseFieldFacetData, bool)
    + + +
        func (o *IncidentSearchResponseFacetsData) GetResponder() []IncidentSearchResponseUserFacetData
    + + +
        func (o *IncidentSearchResponseFacetsData) GetResponderOk() (*[]IncidentSearchResponseUserFacetData, bool)
    + + +
        func (o *IncidentSearchResponseFacetsData) GetSeverity() []IncidentSearchResponseFieldFacetData
    + + +
        func (o *IncidentSearchResponseFacetsData) GetSeverityOk() (*[]IncidentSearchResponseFieldFacetData, bool)
    + + +
        func (o *IncidentSearchResponseFacetsData) GetState() []IncidentSearchResponseFieldFacetData
    + + +
        func (o *IncidentSearchResponseFacetsData) GetStateOk() (*[]IncidentSearchResponseFieldFacetData, bool)
    + + +
        func (o *IncidentSearchResponseFacetsData) GetTimeToRepair() []IncidentSearchResponseNumericFacetData
    + + +
        func (o *IncidentSearchResponseFacetsData) GetTimeToRepairOk() (*[]IncidentSearchResponseNumericFacetData, bool)
    + + +
        func (o *IncidentSearchResponseFacetsData) GetTimeToResolve() []IncidentSearchResponseNumericFacetData
    + + +
        func (o *IncidentSearchResponseFacetsData) GetTimeToResolveOk() (*[]IncidentSearchResponseNumericFacetData, bool)
    + + +
        func (o *IncidentSearchResponseFacetsData) HasCommander() bool
    + + +
        func (o *IncidentSearchResponseFacetsData) HasCreatedBy() bool
    + + +
        func (o *IncidentSearchResponseFacetsData) HasFields() bool
    + + +
        func (o *IncidentSearchResponseFacetsData) HasImpact() bool
    + + +
        func (o *IncidentSearchResponseFacetsData) HasLastModifiedBy() bool
    + + +
        func (o *IncidentSearchResponseFacetsData) HasPostmortem() bool
    + + +
        func (o *IncidentSearchResponseFacetsData) HasResponder() bool
    + + +
        func (o *IncidentSearchResponseFacetsData) HasSeverity() bool
    + + +
        func (o *IncidentSearchResponseFacetsData) HasState() bool
    + + +
        func (o *IncidentSearchResponseFacetsData) HasTimeToRepair() bool
    + + +
        func (o *IncidentSearchResponseFacetsData) HasTimeToResolve() bool
    + + +
        func (o IncidentSearchResponseFacetsData) MarshalJSON() ([]byte, error)
    + + +
        func (o *IncidentSearchResponseFacetsData) SetCommander(v []IncidentSearchResponseUserFacetData)
    + + +
        func (o *IncidentSearchResponseFacetsData) SetCreatedBy(v []IncidentSearchResponseUserFacetData)
    + + +
        func (o *IncidentSearchResponseFacetsData) SetFields(v []IncidentSearchResponsePropertyFieldFacetData)
    + + +
        func (o *IncidentSearchResponseFacetsData) SetImpact(v []IncidentSearchResponseFieldFacetData)
    + + +
        func (o *IncidentSearchResponseFacetsData) SetLastModifiedBy(v []IncidentSearchResponseUserFacetData)
    + + +
        func (o *IncidentSearchResponseFacetsData) SetPostmortem(v []IncidentSearchResponseFieldFacetData)
    + + +
        func (o *IncidentSearchResponseFacetsData) SetResponder(v []IncidentSearchResponseUserFacetData)
    + + +
        func (o *IncidentSearchResponseFacetsData) SetSeverity(v []IncidentSearchResponseFieldFacetData)
    + + +
        func (o *IncidentSearchResponseFacetsData) SetState(v []IncidentSearchResponseFieldFacetData)
    + + +
        func (o *IncidentSearchResponseFacetsData) SetTimeToRepair(v []IncidentSearchResponseNumericFacetData)
    + + +
        func (o *IncidentSearchResponseFacetsData) SetTimeToResolve(v []IncidentSearchResponseNumericFacetData)
    + + +
        func (o *IncidentSearchResponseFacetsData) UnmarshalJSON(bytes []byte) (err error)
    + + + +
    type IncidentSearchResponseFieldFacetData
    + + +
        func NewIncidentSearchResponseFieldFacetData() *IncidentSearchResponseFieldFacetData
    + + +
        func NewIncidentSearchResponseFieldFacetDataWithDefaults() *IncidentSearchResponseFieldFacetData
    + + + +
        func (o *IncidentSearchResponseFieldFacetData) GetCount() int32
    + + +
        func (o *IncidentSearchResponseFieldFacetData) GetCountOk() (*int32, bool)
    + + +
        func (o *IncidentSearchResponseFieldFacetData) GetName() string
    + + +
        func (o *IncidentSearchResponseFieldFacetData) GetNameOk() (*string, bool)
    + + +
        func (o *IncidentSearchResponseFieldFacetData) HasCount() bool
    + + +
        func (o *IncidentSearchResponseFieldFacetData) HasName() bool
    + + +
        func (o IncidentSearchResponseFieldFacetData) MarshalJSON() ([]byte, error)
    + + +
        func (o *IncidentSearchResponseFieldFacetData) SetCount(v int32)
    + + +
        func (o *IncidentSearchResponseFieldFacetData) SetName(v string)
    + + +
        func (o *IncidentSearchResponseFieldFacetData) UnmarshalJSON(bytes []byte) (err error)
    + + + +
    type IncidentSearchResponseIncidentsData
    + + +
        func NewIncidentSearchResponseIncidentsData(data IncidentResponseData) *IncidentSearchResponseIncidentsData
    + + +
        func NewIncidentSearchResponseIncidentsDataWithDefaults() *IncidentSearchResponseIncidentsData
    + + + +
        func (o *IncidentSearchResponseIncidentsData) GetData() IncidentResponseData
    + + +
        func (o *IncidentSearchResponseIncidentsData) GetDataOk() (*IncidentResponseData, bool)
    + + +
        func (o IncidentSearchResponseIncidentsData) MarshalJSON() ([]byte, error)
    + + +
        func (o *IncidentSearchResponseIncidentsData) SetData(v IncidentResponseData)
    + + +
        func (o *IncidentSearchResponseIncidentsData) UnmarshalJSON(bytes []byte) (err error)
    + + + +
    type IncidentSearchResponseNumericFacetData
    + + +
        func NewIncidentSearchResponseNumericFacetData(aggregates IncidentSearchResponseNumericFacetDataAggregates, name string) *IncidentSearchResponseNumericFacetData
    + + +
        func NewIncidentSearchResponseNumericFacetDataWithDefaults() *IncidentSearchResponseNumericFacetData
    + + + +
        func (o *IncidentSearchResponseNumericFacetData) GetAggregates() IncidentSearchResponseNumericFacetDataAggregates
    + + +
        func (o *IncidentSearchResponseNumericFacetData) GetAggregatesOk() (*IncidentSearchResponseNumericFacetDataAggregates, bool)
    + + +
        func (o *IncidentSearchResponseNumericFacetData) GetName() string
    + + +
        func (o *IncidentSearchResponseNumericFacetData) GetNameOk() (*string, bool)
    + + +
        func (o IncidentSearchResponseNumericFacetData) MarshalJSON() ([]byte, error)
    + + +
        func (o *IncidentSearchResponseNumericFacetData) SetAggregates(v IncidentSearchResponseNumericFacetDataAggregates)
    + + +
        func (o *IncidentSearchResponseNumericFacetData) SetName(v string)
    + + +
        func (o *IncidentSearchResponseNumericFacetData) UnmarshalJSON(bytes []byte) (err error)
    + + + +
    type IncidentSearchResponseNumericFacetDataAggregates
    + + +
        func NewIncidentSearchResponseNumericFacetDataAggregates() *IncidentSearchResponseNumericFacetDataAggregates
    + + +
        func NewIncidentSearchResponseNumericFacetDataAggregatesWithDefaults() *IncidentSearchResponseNumericFacetDataAggregates
    + + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) GetMax() float64
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) GetMaxOk() (*float64, bool)
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) GetMin() float64
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) GetMinOk() (*float64, bool)
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) HasMax() bool
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) HasMin() bool
    + + +
        func (o IncidentSearchResponseNumericFacetDataAggregates) MarshalJSON() ([]byte, error)
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) SetMax(v float64)
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) SetMaxNil()
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) SetMin(v float64)
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) SetMinNil()
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) UnmarshalJSON(bytes []byte) (err error)
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) UnsetMax()
    + + +
        func (o *IncidentSearchResponseNumericFacetDataAggregates) UnsetMin()
    + + + +
    type IncidentSearchResponsePropertyFieldFacetData
    + + +
        func NewIncidentSearchResponsePropertyFieldFacetData(facets []IncidentSearchResponseFieldFacetData, name string) *IncidentSearchResponsePropertyFieldFacetData
    + + +
        func NewIncidentSearchResponsePropertyFieldFacetDataWithDefaults() *IncidentSearchResponsePropertyFieldFacetData
    + + + +
        func (o *IncidentSearchResponsePropertyFieldFacetData) GetAggregates() IncidentSearchResponseNumericFacetDataAggregates
    + + +
        func (o *IncidentSearchResponsePropertyFieldFacetData) GetAggregatesOk() (*IncidentSearchResponseNumericFacetDataAggregates, bool)
    + + +
        func (o *IncidentSearchResponsePropertyFieldFacetData) GetFacets() []IncidentSearchResponseFieldFacetData
    + + +
        func (o *IncidentSearchResponsePropertyFieldFacetData) GetFacetsOk() (*[]IncidentSearchResponseFieldFacetData, bool)
    + + +
        func (o *IncidentSearchResponsePropertyFieldFacetData) GetName() string
    + + +
        func (o *IncidentSearchResponsePropertyFieldFacetData) GetNameOk() (*string, bool)
    + + +
        func (o *IncidentSearchResponsePropertyFieldFacetData) HasAggregates() bool
    + + +
        func (o IncidentSearchResponsePropertyFieldFacetData) MarshalJSON() ([]byte, error)
    + + +
        func (o *IncidentSearchResponsePropertyFieldFacetData) SetAggregates(v IncidentSearchResponseNumericFacetDataAggregates)
    + + +
        func (o *IncidentSearchResponsePropertyFieldFacetData) SetFacets(v []IncidentSearchResponseFieldFacetData)
    + + +
        func (o *IncidentSearchResponsePropertyFieldFacetData) SetName(v string)
    + + +
        func (o *IncidentSearchResponsePropertyFieldFacetData) UnmarshalJSON(bytes []byte) (err error)
    + + + +
    type IncidentSearchResponseUserFacetData
    + + +
        func NewIncidentSearchResponseUserFacetData() *IncidentSearchResponseUserFacetData
    + + +
        func NewIncidentSearchResponseUserFacetDataWithDefaults() *IncidentSearchResponseUserFacetData
    + + + +
        func (o *IncidentSearchResponseUserFacetData) GetCount() int32
    + + +
        func (o *IncidentSearchResponseUserFacetData) GetCountOk() (*int32, bool)
    + + +
        func (o *IncidentSearchResponseUserFacetData) GetEmail() string
    + + +
        func (o *IncidentSearchResponseUserFacetData) GetEmailOk() (*string, bool)
    + + +
        func (o *IncidentSearchResponseUserFacetData) GetHandle() string
    + + +
        func (o *IncidentSearchResponseUserFacetData) GetHandleOk() (*string, bool)
    + + +
        func (o *IncidentSearchResponseUserFacetData) GetName() string
    + + +
        func (o *IncidentSearchResponseUserFacetData) GetNameOk() (*string, bool)
    + + +
        func (o *IncidentSearchResponseUserFacetData) GetUuid() string
    + + +
        func (o *IncidentSearchResponseUserFacetData) GetUuidOk() (*string, bool)
    + + +
        func (o *IncidentSearchResponseUserFacetData) HasCount() bool
    + + +
        func (o *IncidentSearchResponseUserFacetData) HasEmail() bool
    + + +
        func (o *IncidentSearchResponseUserFacetData) HasHandle() bool
    + + +
        func (o *IncidentSearchResponseUserFacetData) HasName() bool
    + + +
        func (o *IncidentSearchResponseUserFacetData) HasUuid() bool
    + + +
        func (o IncidentSearchResponseUserFacetData) MarshalJSON() ([]byte, error)
    + + +
        func (o *IncidentSearchResponseUserFacetData) SetCount(v int32)
    + + +
        func (o *IncidentSearchResponseUserFacetData) SetEmail(v string)
    + + +
        func (o *IncidentSearchResponseUserFacetData) SetHandle(v string)
    + + +
        func (o *IncidentSearchResponseUserFacetData) SetName(v string)
    + + +
        func (o *IncidentSearchResponseUserFacetData) SetUuid(v string)
    + + +
        func (o *IncidentSearchResponseUserFacetData) UnmarshalJSON(bytes []byte) (err error)
    + + + +
    type IncidentSearchResultsType
    + + +
        func NewIncidentSearchResultsTypeFromValue(v string) (*IncidentSearchResultsType, error)
    + + + +
        func (v *IncidentSearchResultsType) GetAllowedValues() []IncidentSearchResultsType
    + + +
        func (v IncidentSearchResultsType) IsValid() bool
    + + +
        func (v IncidentSearchResultsType) Ptr() *IncidentSearchResultsType
    + + +
        func (v *IncidentSearchResultsType) UnmarshalJSON(src []byte) error
    + + + +
    type IncidentSearchSortOrder
    + + +
        func NewIncidentSearchSortOrderFromValue(v string) (*IncidentSearchSortOrder, error)
    + + + +
        func (v *IncidentSearchSortOrder) GetAllowedValues() []IncidentSearchSortOrder
    + + +
        func (v IncidentSearchSortOrder) IsValid() bool
    + + +
        func (v IncidentSearchSortOrder) Ptr() *IncidentSearchSortOrder
    + + +
        func (v *IncidentSearchSortOrder) UnmarshalJSON(src []byte) error
    + + +
    type IncidentServiceCreateAttributes
    @@ -11970,6 +12562,9 @@

    Index ▾

        func (a *IncidentsApi) ListIncidentsWithPagination(ctx _context.Context, o ...ListIncidentsOptionalParameters) (<-chan datadog.PaginationResult[IncidentResponseData], func())
    +
        func (a *IncidentsApi) SearchIncidents(ctx _context.Context, query string, o ...SearchIncidentsOptionalParameters) (IncidentSearchResponse, *_nethttp.Response, error)
    + +
        func (a *IncidentsApi) UpdateIncident(ctx _context.Context, incidentId string, body IncidentUpdateRequest, o ...UpdateIncidentOptionalParameters) (IncidentResponse, *_nethttp.Response, error)
    @@ -19558,6 +20153,58 @@

    Index ▾

    +
    type NullableIncidentSearchResultsType
    + + +
        func NewNullableIncidentSearchResultsType(val *IncidentSearchResultsType) *NullableIncidentSearchResultsType
    + + + +
        func (v NullableIncidentSearchResultsType) Get() *IncidentSearchResultsType
    + + +
        func (v NullableIncidentSearchResultsType) IsSet() bool
    + + +
        func (v NullableIncidentSearchResultsType) MarshalJSON() ([]byte, error)
    + + +
        func (v *NullableIncidentSearchResultsType) Set(val *IncidentSearchResultsType)
    + + +
        func (v *NullableIncidentSearchResultsType) UnmarshalJSON(src []byte) error
    + + +
        func (v *NullableIncidentSearchResultsType) Unset()
    + + + +
    type NullableIncidentSearchSortOrder
    + + +
        func NewNullableIncidentSearchSortOrder(val *IncidentSearchSortOrder) *NullableIncidentSearchSortOrder
    + + + +
        func (v NullableIncidentSearchSortOrder) Get() *IncidentSearchSortOrder
    + + +
        func (v NullableIncidentSearchSortOrder) IsSet() bool
    + + +
        func (v NullableIncidentSearchSortOrder) MarshalJSON() ([]byte, error)
    + + +
        func (v *NullableIncidentSearchSortOrder) Set(val *IncidentSearchSortOrder)
    + + +
        func (v *NullableIncidentSearchSortOrder) UnmarshalJSON(src []byte) error
    + + +
        func (v *NullableIncidentSearchSortOrder) Unset()
    + + +
    type NullableIncidentServiceIncludedItems
    @@ -28377,6 +29024,20 @@

    Index ▾

    +
    type SearchIncidentsOptionalParameters
    + + +
        func NewSearchIncidentsOptionalParameters() *SearchIncidentsOptionalParameters
    + + + +
        func (r *SearchIncidentsOptionalParameters) WithInclude(include IncidentRelatedObject) *SearchIncidentsOptionalParameters
    + + +
        func (r *SearchIncidentsOptionalParameters) WithSort(sort IncidentSearchSortOrder) *SearchIncidentsOptionalParameters
    + + +
    type SearchSecurityMonitoringSignalsOptionalParameters
    @@ -38038,6 +38699,30 @@

    Package files

    model_incident_response_relationships.go + model_incident_search_response.go + + model_incident_search_response_attributes.go + + model_incident_search_response_data.go + + model_incident_search_response_facets_data.go + + model_incident_search_response_field_facet_data.go + + model_incident_search_response_incidents_data.go + + model_incident_search_response_numeric_facet_data.go + + model_incident_search_response_numeric_facet_data_aggregates.go + + model_incident_search_response_property_field_facet_data.go + + model_incident_search_response_user_facet_data.go + + model_incident_search_results_type.go + + model_incident_search_sort_order.go + model_incident_service_create_attributes.go model_incident_service_create_data.go @@ -85677,359 +86362,2936 @@

    func (*IncidentResponseAttributes

    -
    func (o *IncidentResponseAttributes) SetCreated(v time.Time)
    -

    SetCreated gets a reference to the given time.Time and assigns it to the Created field. +

    func (o *IncidentResponseAttributes) SetCreated(v time.Time)
    +

    SetCreated gets a reference to the given time.Time and assigns it to the Created field. + + + + + + +

    func (*IncidentResponseAttributes) SetCustomerImpactDuration + + + +

    +
    func (o *IncidentResponseAttributes) SetCustomerImpactDuration(v int64)
    +

    SetCustomerImpactDuration gets a reference to the given int64 and assigns it to the CustomerImpactDuration field. + + + + + + +

    func (*IncidentResponseAttributes) SetCustomerImpactEnd + + + +

    +
    func (o *IncidentResponseAttributes) SetCustomerImpactEnd(v time.Time)
    +

    SetCustomerImpactEnd gets a reference to the given datadog.NullableTime and assigns it to the CustomerImpactEnd field. + + + + + + +

    func (*IncidentResponseAttributes) SetCustomerImpactEndNil + + + +

    +
    func (o *IncidentResponseAttributes) SetCustomerImpactEndNil()
    +

    SetCustomerImpactEndNil sets the value for CustomerImpactEnd to be an explicit nil. + + + + + + +

    func (*IncidentResponseAttributes) SetCustomerImpactScope + + + +

    +
    func (o *IncidentResponseAttributes) SetCustomerImpactScope(v string)
    +

    SetCustomerImpactScope gets a reference to the given datadog.NullableString and assigns it to the CustomerImpactScope field. + + + + + + +

    func (*IncidentResponseAttributes) SetCustomerImpactScopeNil + + + +

    +
    func (o *IncidentResponseAttributes) SetCustomerImpactScopeNil()
    +

    SetCustomerImpactScopeNil sets the value for CustomerImpactScope to be an explicit nil. + + + + + + +

    func (*IncidentResponseAttributes) SetCustomerImpactStart + + + +

    +
    func (o *IncidentResponseAttributes) SetCustomerImpactStart(v time.Time)
    +

    SetCustomerImpactStart gets a reference to the given datadog.NullableTime and assigns it to the CustomerImpactStart field. + + + + + + +

    func (*IncidentResponseAttributes) SetCustomerImpactStartNil + + + +

    +
    func (o *IncidentResponseAttributes) SetCustomerImpactStartNil()
    +

    SetCustomerImpactStartNil sets the value for CustomerImpactStart to be an explicit nil. + + + + + + +

    func (*IncidentResponseAttributes) SetCustomerImpacted + + + +

    +
    func (o *IncidentResponseAttributes) SetCustomerImpacted(v bool)
    +

    SetCustomerImpacted gets a reference to the given bool and assigns it to the CustomerImpacted field. + + + + + + +

    func (*IncidentResponseAttributes) SetDetected + + + +

    +
    func (o *IncidentResponseAttributes) SetDetected(v time.Time)
    +

    SetDetected gets a reference to the given datadog.NullableTime and assigns it to the Detected field. + + + + + + +

    func (*IncidentResponseAttributes) SetDetectedNil + + + +

    +
    func (o *IncidentResponseAttributes) SetDetectedNil()
    +

    SetDetectedNil sets the value for Detected to be an explicit nil. + + + + + + +

    func (*IncidentResponseAttributes) SetFields + + + +

    +
    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) SetPublicId + + + +

    +
    func (o *IncidentResponseAttributes) SetPublicId(v int64)
    +

    SetPublicId gets a reference to the given int64 and assigns it to the PublicId field. + + + + + + +

    func (*IncidentResponseAttributes) SetResolved + + + +

    +
    func (o *IncidentResponseAttributes) SetResolved(v time.Time)
    +

    SetResolved gets a reference to the given datadog.NullableTime and assigns it to the Resolved field. + + + + + + +

    func (*IncidentResponseAttributes) SetResolvedNil + + + +

    +
    func (o *IncidentResponseAttributes) SetResolvedNil()
    +

    SetResolvedNil sets the value for Resolved to be an explicit nil. + + + + + + +

    func (*IncidentResponseAttributes) SetTimeToDetect + + + +

    +
    func (o *IncidentResponseAttributes) SetTimeToDetect(v int64)
    +

    SetTimeToDetect gets a reference to the given int64 and assigns it to the TimeToDetect field. + + + + + + +

    func (*IncidentResponseAttributes) SetTimeToInternalResponse + + + +

    +
    func (o *IncidentResponseAttributes) SetTimeToInternalResponse(v int64)
    +

    SetTimeToInternalResponse gets a reference to the given int64 and assigns it to the TimeToInternalResponse field. + + + + + + +

    func (*IncidentResponseAttributes) SetTimeToRepair + + + +

    +
    func (o *IncidentResponseAttributes) SetTimeToRepair(v int64)
    +

    SetTimeToRepair gets a reference to the given int64 and assigns it to the TimeToRepair field. + + + + + + +

    func (*IncidentResponseAttributes) SetTimeToResolve + + + +

    +
    func (o *IncidentResponseAttributes) SetTimeToResolve(v int64)
    +

    SetTimeToResolve gets a reference to the given int64 and assigns it to the TimeToResolve field. + + + + + + +

    func (*IncidentResponseAttributes) SetTitle + + + +

    +
    func (o *IncidentResponseAttributes) SetTitle(v string)
    +

    SetTitle sets field value. + + + + + + +

    func (*IncidentResponseAttributes) UnmarshalJSON + + + +

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

    UnmarshalJSON deserializes the given payload. + + + + + + +

    func (*IncidentResponseAttributes) UnsetCustomerImpactEnd + + + +

    +
    func (o *IncidentResponseAttributes) UnsetCustomerImpactEnd()
    +

    UnsetCustomerImpactEnd ensures that no value is present for CustomerImpactEnd, not even an explicit nil. + + + + + + +

    func (*IncidentResponseAttributes) UnsetCustomerImpactScope + + + +

    +
    func (o *IncidentResponseAttributes) UnsetCustomerImpactScope()
    +

    UnsetCustomerImpactScope ensures that no value is present for CustomerImpactScope, not even an explicit nil. + + + + + + +

    func (*IncidentResponseAttributes) UnsetCustomerImpactStart + + + +

    +
    func (o *IncidentResponseAttributes) UnsetCustomerImpactStart()
    +

    UnsetCustomerImpactStart ensures that no value is present for CustomerImpactStart, not even an explicit nil. + + + + + + +

    func (*IncidentResponseAttributes) UnsetDetected + + + +

    +
    func (o *IncidentResponseAttributes) UnsetDetected()
    +

    UnsetDetected ensures that no value is present for Detected, not even an explicit nil. + + + + + + +

    func (*IncidentResponseAttributes) UnsetResolved + + + +

    +
    func (o *IncidentResponseAttributes) UnsetResolved()
    +

    UnsetResolved ensures that no value is present for Resolved, not even an explicit nil. + + + + + + + + +

    type IncidentResponseData + + + +

    +

    IncidentResponseData Incident data from a response. + +

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

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

    +

    IncidentResponseIncludedItem - An object related to an incident that is included in the response. + +

    type IncidentResponseIncludedItem struct {
    +    User                   *User
    +    IncidentAttachmentData *IncidentAttachmentData
    +
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
    +    UnparsedObject interface{}
    +}
    +
    + + + + + + + + + + + +

    func IncidentAttachmentDataAsIncidentResponseIncludedItem + + + +

    +
    func IncidentAttachmentDataAsIncidentResponseIncludedItem(v *IncidentAttachmentData) IncidentResponseIncludedItem
    +

    IncidentAttachmentDataAsIncidentResponseIncludedItem is a convenience function that returns IncidentAttachmentData wrapped in IncidentResponseIncludedItem. + + + + + +

    func UserAsIncidentResponseIncludedItem + + + +

    +
    func UserAsIncidentResponseIncludedItem(v *User) IncidentResponseIncludedItem
    +

    UserAsIncidentResponseIncludedItem is a convenience function that returns User wrapped in IncidentResponseIncludedItem. + + + + + + + +

    func (*IncidentResponseIncludedItem) GetActualInstance + + + +

    +
    func (obj *IncidentResponseIncludedItem) GetActualInstance() interface{}
    +

    GetActualInstance returns the actual instance. + + + + + + +

    func (IncidentResponseIncludedItem) MarshalJSON + + + +

    +
    func (obj IncidentResponseIncludedItem) MarshalJSON() ([]byte, error)
    +

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

    func (*IncidentResponseIncludedItem) UnmarshalJSON + + + +

    +
    func (obj *IncidentResponseIncludedItem) UnmarshalJSON(data []byte) error
    +

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

    type IncidentResponseMeta + + + +

    +

    IncidentResponseMeta The metadata object containing pagination metadata. + +

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

    func NewIncidentResponseMeta + + + +

    +
    func NewIncidentResponseMeta() *IncidentResponseMeta
    +

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

    func NewIncidentResponseMetaWithDefaults + + + +

    +
    func NewIncidentResponseMetaWithDefaults() *IncidentResponseMeta
    +

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

    func (*IncidentResponseMeta) GetPagination + + + +

    +
    func (o *IncidentResponseMeta) GetPagination() IncidentResponseMetaPagination
    +

    GetPagination returns the Pagination field value if set, zero value otherwise. + + + + + + +

    func (*IncidentResponseMeta) GetPaginationOk + + + +

    +
    func (o *IncidentResponseMeta) GetPaginationOk() (*IncidentResponseMetaPagination, bool)
    +

    GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise +and a boolean to check if the value has been set. + + + + + + +

    func (*IncidentResponseMeta) HasPagination + + + +

    +
    func (o *IncidentResponseMeta) HasPagination() bool
    +

    HasPagination returns a boolean if a field has been set. + + + + + + +

    func (IncidentResponseMeta) MarshalJSON + + + +

    +
    func (o IncidentResponseMeta) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the struct using spec logic. + + + + + + +

    func (*IncidentResponseMeta) SetPagination + + + +

    +
    func (o *IncidentResponseMeta) SetPagination(v IncidentResponseMetaPagination)
    +

    SetPagination gets a reference to the given IncidentResponseMetaPagination and assigns it to the Pagination field. + + + + + + +

    func (*IncidentResponseMeta) UnmarshalJSON + + + +

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

    UnmarshalJSON deserializes the given payload. + + + + + + + + +

    type IncidentResponseMetaPagination + + + +

    +

    IncidentResponseMetaPagination Pagination properties. + +

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

    func NewIncidentResponseMetaPagination + + + +

    +
    func NewIncidentResponseMetaPagination() *IncidentResponseMetaPagination
    +

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

    func NewIncidentResponseMetaPaginationWithDefaults + + + +

    +
    func NewIncidentResponseMetaPaginationWithDefaults() *IncidentResponseMetaPagination
    +

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

    func (*IncidentResponseMetaPagination) GetNextOffset + + + +

    +
    func (o *IncidentResponseMetaPagination) GetNextOffset() int64
    +

    GetNextOffset returns the NextOffset field value if set, zero value otherwise. + + + + + + +

    func (*IncidentResponseMetaPagination) GetNextOffsetOk + + + +

    +
    func (o *IncidentResponseMetaPagination) GetNextOffsetOk() (*int64, bool)
    +

    GetNextOffsetOk returns a tuple with the NextOffset field value if set, nil otherwise +and a boolean to check if the value has been set. + + + + + + +

    func (*IncidentResponseMetaPagination) GetOffset + + + +

    +
    func (o *IncidentResponseMetaPagination) GetOffset() int64
    +

    GetOffset returns the Offset field value if set, zero value otherwise. + + + + + + +

    func (*IncidentResponseMetaPagination) GetOffsetOk + + + +

    +
    func (o *IncidentResponseMetaPagination) GetOffsetOk() (*int64, bool)
    +

    GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise +and a boolean to check if the value has been set. + + + + + + +

    func (*IncidentResponseMetaPagination) GetSize + + + +

    +
    func (o *IncidentResponseMetaPagination) GetSize() int64
    +

    GetSize returns the Size field value if set, zero value otherwise. + + + + + + +

    func (*IncidentResponseMetaPagination) GetSizeOk + + + +

    +
    func (o *IncidentResponseMetaPagination) GetSizeOk() (*int64, bool)
    +

    GetSizeOk returns a tuple with the Size field value if set, nil otherwise +and a boolean to check if the value has been set. + + + + + + +

    func (*IncidentResponseMetaPagination) HasNextOffset + + + +

    +
    func (o *IncidentResponseMetaPagination) HasNextOffset() bool
    +

    HasNextOffset returns a boolean if a field has been set. + + + + + + +

    func (*IncidentResponseMetaPagination) HasOffset + + + +

    +
    func (o *IncidentResponseMetaPagination) HasOffset() bool
    +

    HasOffset returns a boolean if a field has been set. + + + + + + +

    func (*IncidentResponseMetaPagination) HasSize + + + +

    +
    func (o *IncidentResponseMetaPagination) HasSize() bool
    +

    HasSize returns a boolean if a field has been set. + + + + + + +

    func (IncidentResponseMetaPagination) MarshalJSON + + + +

    +
    func (o IncidentResponseMetaPagination) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the struct using spec logic. + + + + + + +

    func (*IncidentResponseMetaPagination) SetNextOffset + + + +

    +
    func (o *IncidentResponseMetaPagination) SetNextOffset(v int64)
    +

    SetNextOffset gets a reference to the given int64 and assigns it to the NextOffset field. + + + + + + +

    func (*IncidentResponseMetaPagination) SetOffset + + + +

    +
    func (o *IncidentResponseMetaPagination) SetOffset(v int64)
    +

    SetOffset gets a reference to the given int64 and assigns it to the Offset field. + + + + + + +

    func (*IncidentResponseMetaPagination) SetSize + + + +

    +
    func (o *IncidentResponseMetaPagination) SetSize(v int64)
    +

    SetSize gets a reference to the given int64 and assigns it to the Size field. + + + + + + +

    func (*IncidentResponseMetaPagination) UnmarshalJSON + + + +

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

    UnmarshalJSON deserializes the given payload. + + + + + + + + +

    type IncidentResponseRelationships + + + +

    +

    IncidentResponseRelationships The incident's relationships from a response. + +

    type IncidentResponseRelationships struct {
    +    // A relationship reference for attachments.
    +    Attachments *RelationshipToIncidentAttachment `json:"attachments,omitempty"`
    +    // Relationship to user.
    +    CommanderUser *NullableRelationshipToUser `json:"commander_user,omitempty"`
    +    // Relationship to user.
    +    CreatedByUser *RelationshipToUser `json:"created_by_user,omitempty"`
    +    // A relationship reference for multiple integration metadata objects.
    +    Integrations *RelationshipToIncidentIntegrationMetadatas `json:"integrations,omitempty"`
    +    // Relationship to user.
    +    LastModifiedByUser *RelationshipToUser `json:"last_modified_by_user,omitempty"`
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
    +    UnparsedObject       map[string]interface{} `json:"-"`
    +    AdditionalProperties map[string]interface{}
    +}
    +
    + + + + + + + + + + + +

    func NewIncidentResponseRelationships + + + +

    +
    func NewIncidentResponseRelationships() *IncidentResponseRelationships
    +

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

    func NewIncidentResponseRelationshipsWithDefaults + + + +

    +
    func NewIncidentResponseRelationshipsWithDefaults() *IncidentResponseRelationships
    +

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

    func (*IncidentResponseRelationships) GetAttachments + + + +

    +
    func (o *IncidentResponseRelationships) GetAttachments() RelationshipToIncidentAttachment
    +

    GetAttachments returns the Attachments field value if set, zero value otherwise. + + + + + + +

    func (*IncidentResponseRelationships) GetAttachmentsOk + + + +

    +
    func (o *IncidentResponseRelationships) GetAttachmentsOk() (*RelationshipToIncidentAttachment, bool)
    +

    GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise +and a boolean to check if the value has been set. + + + + + + +

    func (*IncidentResponseRelationships) GetCommanderUser + + + +

    +
    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) HasAttachments + + + +

    +
    func (o *IncidentResponseRelationships) HasAttachments() bool
    +

    HasAttachments returns a boolean if a field has been set. + + + + + + +

    func (*IncidentResponseRelationships) HasCommanderUser + + + +

    +
    func (o *IncidentResponseRelationships) HasCommanderUser() bool
    +

    HasCommanderUser returns a boolean if a field has been set. + + + + + + +

    func (*IncidentResponseRelationships) HasCreatedByUser + + + +

    +
    func (o *IncidentResponseRelationships) HasCreatedByUser() bool
    +

    HasCreatedByUser returns a boolean if a field has been set. + + + + + + +

    func (*IncidentResponseRelationships) HasIntegrations + + + +

    +
    func (o *IncidentResponseRelationships) HasIntegrations() bool
    +

    HasIntegrations returns a boolean if a field has been set. + + + + + + +

    func (*IncidentResponseRelationships) HasLastModifiedByUser + + + +

    +
    func (o *IncidentResponseRelationships) HasLastModifiedByUser() bool
    +

    HasLastModifiedByUser returns a boolean if a field has been set. + + + + + + +

    func (IncidentResponseRelationships) MarshalJSON + + + +

    +
    func (o IncidentResponseRelationships) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the struct using spec logic. + + + + + + +

    func (*IncidentResponseRelationships) SetAttachments + + + +

    +
    func (o *IncidentResponseRelationships) SetAttachments(v RelationshipToIncidentAttachment)
    +

    SetAttachments gets a reference to the given RelationshipToIncidentAttachment and assigns it to the Attachments field. + + + + + + +

    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) UnmarshalJSON + + + +

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

    UnmarshalJSON deserializes the given payload. + + + + + + + + +

    type IncidentSearchResponse + + + +

    +

    IncidentSearchResponse Response with incidents and facets. + +

    type IncidentSearchResponse struct {
    +    // Data returned by an incident search.
    +    Data IncidentSearchResponseData `json:"data"`
    +    // Included related resources that the user requested.
    +    Included []IncidentResponseIncludedItem `json:"included,omitempty"`
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
    +    UnparsedObject       map[string]interface{} `json:"-"`
    +    AdditionalProperties map[string]interface{}
    +}
    +
    + + + + + + + + + + + +

    func NewIncidentSearchResponse + + + +

    +
    func NewIncidentSearchResponse(data IncidentSearchResponseData) *IncidentSearchResponse
    +

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

    func NewIncidentSearchResponseWithDefaults + + + +

    +
    func NewIncidentSearchResponseWithDefaults() *IncidentSearchResponse
    +

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

    func (*IncidentSearchResponse) GetData + + + +

    +
    func (o *IncidentSearchResponse) GetData() IncidentSearchResponseData
    +

    GetData returns the Data field value. + + + + + + +

    func (*IncidentSearchResponse) GetDataOk + + + +

    +
    func (o *IncidentSearchResponse) GetDataOk() (*IncidentSearchResponseData, bool)
    +

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

    func (*IncidentSearchResponse) GetIncluded + + + +

    +
    func (o *IncidentSearchResponse) GetIncluded() []IncidentResponseIncludedItem
    +

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

    func (*IncidentSearchResponse) GetIncludedOk + + + +

    +
    func (o *IncidentSearchResponse) GetIncludedOk() (*[]IncidentResponseIncludedItem, bool)
    +

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

    func (*IncidentSearchResponse) HasIncluded + + + +

    +
    func (o *IncidentSearchResponse) HasIncluded() bool
    +

    HasIncluded returns a boolean if a field has been set. + + + + + + +

    func (IncidentSearchResponse) MarshalJSON + + + +

    +
    func (o IncidentSearchResponse) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the struct using spec logic. + + + + + + +

    func (*IncidentSearchResponse) SetData + + + +

    +
    func (o *IncidentSearchResponse) SetData(v IncidentSearchResponseData)
    +

    SetData sets field value. + + + + + + +

    func (*IncidentSearchResponse) SetIncluded + + + +

    +
    func (o *IncidentSearchResponse) SetIncluded(v []IncidentResponseIncludedItem)
    +

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

    func (*IncidentSearchResponse) UnmarshalJSON + + + +

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

    UnmarshalJSON deserializes the given payload. + + + + + + + + +

    type IncidentSearchResponseAttributes + + + +

    +

    IncidentSearchResponseAttributes Attributes returned by an incident search. + +

    type IncidentSearchResponseAttributes struct {
    +    // Facet data for incidents returned by a search query.
    +    Facets IncidentSearchResponseFacetsData `json:"facets"`
    +    // Incidents returned by the search.
    +    Incidents []IncidentSearchResponseIncidentsData `json:"incidents"`
    +    // Number of incidents returned by the search.
    +    Total int32 `json:"total"`
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
    +    UnparsedObject       map[string]interface{} `json:"-"`
    +    AdditionalProperties map[string]interface{}
    +}
    +
    + + + + + + + + + + + +

    func NewIncidentSearchResponseAttributes + + + +

    +
    func NewIncidentSearchResponseAttributes(facets IncidentSearchResponseFacetsData, incidents []IncidentSearchResponseIncidentsData, total int32) *IncidentSearchResponseAttributes
    +

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

    func NewIncidentSearchResponseAttributesWithDefaults + + + +

    +
    func NewIncidentSearchResponseAttributesWithDefaults() *IncidentSearchResponseAttributes
    +

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

    func (*IncidentSearchResponseAttributes) GetFacets + + + +

    +
    func (o *IncidentSearchResponseAttributes) GetFacets() IncidentSearchResponseFacetsData
    +

    GetFacets returns the Facets field value. + + + + + + +

    func (*IncidentSearchResponseAttributes) GetFacetsOk + + + +

    +
    func (o *IncidentSearchResponseAttributes) GetFacetsOk() (*IncidentSearchResponseFacetsData, bool)
    +

    GetFacetsOk returns a tuple with the Facets field value +and a boolean to check if the value has been set. + + + + + + +

    func (*IncidentSearchResponseAttributes) GetIncidents + + + +

    +
    func (o *IncidentSearchResponseAttributes) GetIncidents() []IncidentSearchResponseIncidentsData
    +

    GetIncidents returns the Incidents field value. + + + + + + +

    func (*IncidentSearchResponseAttributes) GetIncidentsOk + + + +

    +
    func (o *IncidentSearchResponseAttributes) GetIncidentsOk() (*[]IncidentSearchResponseIncidentsData, bool)
    +

    GetIncidentsOk returns a tuple with the Incidents field value +and a boolean to check if the value has been set. + + + + + + +

    func (*IncidentSearchResponseAttributes) GetTotal + + + +

    +
    func (o *IncidentSearchResponseAttributes) GetTotal() int32
    +

    GetTotal returns the Total field value. + + + + + + +

    func (*IncidentSearchResponseAttributes) GetTotalOk + + + +

    +
    func (o *IncidentSearchResponseAttributes) GetTotalOk() (*int32, bool)
    +

    GetTotalOk returns a tuple with the Total field value +and a boolean to check if the value has been set. + + + + + + +

    func (IncidentSearchResponseAttributes) MarshalJSON + + + +

    +
    func (o IncidentSearchResponseAttributes) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the struct using spec logic. + + + + + + +

    func (*IncidentSearchResponseAttributes) SetFacets + + + +

    +
    func (o *IncidentSearchResponseAttributes) SetFacets(v IncidentSearchResponseFacetsData)
    +

    SetFacets sets field value. + + + + + + +

    func (*IncidentSearchResponseAttributes) SetIncidents + + + +

    +
    func (o *IncidentSearchResponseAttributes) SetIncidents(v []IncidentSearchResponseIncidentsData)
    +

    SetIncidents sets field value. + + + + + + +

    func (*IncidentSearchResponseAttributes) SetTotal + + + +

    +
    func (o *IncidentSearchResponseAttributes) SetTotal(v int32)
    +

    SetTotal sets field value. + + + + + + +

    func (*IncidentSearchResponseAttributes) UnmarshalJSON + + + +

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

    UnmarshalJSON deserializes the given payload. + + + + + + + + +

    type IncidentSearchResponseData + + + +

    +

    IncidentSearchResponseData Data returned by an incident search. + +

    type IncidentSearchResponseData struct {
    +    // Attributes returned by an incident search.
    +    Attributes *IncidentSearchResponseAttributes `json:"attributes,omitempty"`
    +    // Incident search result type.
    +    Type *IncidentSearchResultsType `json:"type,omitempty"`
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
    +    UnparsedObject       map[string]interface{} `json:"-"`
    +    AdditionalProperties map[string]interface{}
    +}
    +
    + + + + + + + + + + + +

    func NewIncidentSearchResponseData + + + +

    +
    func NewIncidentSearchResponseData() *IncidentSearchResponseData
    +

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

    func NewIncidentSearchResponseDataWithDefaults + + + +

    +
    func NewIncidentSearchResponseDataWithDefaults() *IncidentSearchResponseData
    +

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

    func (*IncidentSearchResponseData) GetAttributes + + + +

    +
    func (o *IncidentSearchResponseData) GetAttributes() IncidentSearchResponseAttributes
    +

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

    func (*IncidentSearchResponseData) GetAttributesOk + + + +

    +
    func (o *IncidentSearchResponseData) GetAttributesOk() (*IncidentSearchResponseAttributes, 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 (*IncidentSearchResponseData) GetType + + + +

    +
    func (o *IncidentSearchResponseData) GetType() IncidentSearchResultsType
    +

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

    func (*IncidentSearchResponseData) GetTypeOk + + + +

    +
    func (o *IncidentSearchResponseData) GetTypeOk() (*IncidentSearchResultsType, 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 (*IncidentSearchResponseData) HasAttributes + + + +

    +
    func (o *IncidentSearchResponseData) HasAttributes() bool
    +

    HasAttributes returns a boolean if a field has been set. + + + + + + +

    func (*IncidentSearchResponseData) HasType + + + +

    +
    func (o *IncidentSearchResponseData) HasType() bool
    +

    HasType returns a boolean if a field has been set. + + + + + + +

    func (IncidentSearchResponseData) MarshalJSON + + + +

    +
    func (o IncidentSearchResponseData) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the struct using spec logic. + + + + + + +

    func (*IncidentSearchResponseData) SetAttributes + + + +

    +
    func (o *IncidentSearchResponseData) SetAttributes(v IncidentSearchResponseAttributes)
    +

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

    func (*IncidentSearchResponseData) SetType + + + +

    +
    func (o *IncidentSearchResponseData) SetType(v IncidentSearchResultsType)
    +

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

    func (*IncidentSearchResponseData) UnmarshalJSON + + + +

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

    UnmarshalJSON deserializes the given payload. + + + + + + + + +

    type IncidentSearchResponseFacetsData + + + +

    +

    IncidentSearchResponseFacetsData Facet data for incidents returned by a search query. + +

    type IncidentSearchResponseFacetsData struct {
    +    // Facet data for incident commander users.
    +    Commander []IncidentSearchResponseUserFacetData `json:"commander,omitempty"`
    +    // Facet data for incident creator users.
    +    CreatedBy []IncidentSearchResponseUserFacetData `json:"created_by,omitempty"`
    +    // Facet data for incident property fields.
    +    Fields []IncidentSearchResponsePropertyFieldFacetData `json:"fields,omitempty"`
    +    // Facet data for incident impact attributes.
    +    Impact []IncidentSearchResponseFieldFacetData `json:"impact,omitempty"`
    +    // Facet data for incident last modified by users.
    +    LastModifiedBy []IncidentSearchResponseUserFacetData `json:"last_modified_by,omitempty"`
    +    // Facet data for incident postmortem existence.
    +    Postmortem []IncidentSearchResponseFieldFacetData `json:"postmortem,omitempty"`
    +    // Facet data for incident responder users.
    +    Responder []IncidentSearchResponseUserFacetData `json:"responder,omitempty"`
    +    // Facet data for incident severity attributes.
    +    Severity []IncidentSearchResponseFieldFacetData `json:"severity,omitempty"`
    +    // Facet data for incident state attributes.
    +    State []IncidentSearchResponseFieldFacetData `json:"state,omitempty"`
    +    // Facet data for incident time to repair metrics.
    +    TimeToRepair []IncidentSearchResponseNumericFacetData `json:"time_to_repair,omitempty"`
    +    // Facet data for incident time to resolve metrics.
    +    TimeToResolve []IncidentSearchResponseNumericFacetData `json:"time_to_resolve,omitempty"`
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
    +    UnparsedObject       map[string]interface{} `json:"-"`
    +    AdditionalProperties map[string]interface{}
    +}
    +
    + + + + + + + + + + + +

    func NewIncidentSearchResponseFacetsData + + + +

    +
    func NewIncidentSearchResponseFacetsData() *IncidentSearchResponseFacetsData
    +

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

    func NewIncidentSearchResponseFacetsDataWithDefaults + + + +

    +
    func NewIncidentSearchResponseFacetsDataWithDefaults() *IncidentSearchResponseFacetsData
    +

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

    func (*IncidentSearchResponseFacetsData) GetCommander + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetCommander() []IncidentSearchResponseUserFacetData
    +

    GetCommander returns the Commander field value if set, zero value otherwise. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetCommanderOk + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetCommanderOk() (*[]IncidentSearchResponseUserFacetData, bool)
    +

    GetCommanderOk returns a tuple with the Commander field value if set, nil otherwise +and a boolean to check if the value has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetCreatedBy + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetCreatedBy() []IncidentSearchResponseUserFacetData
    +

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

    func (*IncidentSearchResponseFacetsData) GetCreatedByOk + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetCreatedByOk() (*[]IncidentSearchResponseUserFacetData, 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 (*IncidentSearchResponseFacetsData) GetFields + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetFields() []IncidentSearchResponsePropertyFieldFacetData
    +

    GetFields returns the Fields field value if set, zero value otherwise. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetFieldsOk + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetFieldsOk() (*[]IncidentSearchResponsePropertyFieldFacetData, 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 (*IncidentSearchResponseFacetsData) GetImpact + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetImpact() []IncidentSearchResponseFieldFacetData
    +

    GetImpact returns the Impact field value if set, zero value otherwise. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetImpactOk + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetImpactOk() (*[]IncidentSearchResponseFieldFacetData, bool)
    +

    GetImpactOk returns a tuple with the Impact field value if set, nil otherwise +and a boolean to check if the value has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetLastModifiedBy + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetLastModifiedBy() []IncidentSearchResponseUserFacetData
    +

    GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetLastModifiedByOk + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetLastModifiedByOk() (*[]IncidentSearchResponseUserFacetData, 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 (*IncidentSearchResponseFacetsData) GetPostmortem + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetPostmortem() []IncidentSearchResponseFieldFacetData
    +

    GetPostmortem returns the Postmortem field value if set, zero value otherwise. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetPostmortemOk + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetPostmortemOk() (*[]IncidentSearchResponseFieldFacetData, 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 (*IncidentSearchResponseFacetsData) GetResponder + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetResponder() []IncidentSearchResponseUserFacetData
    +

    GetResponder returns the Responder field value if set, zero value otherwise. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetResponderOk + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetResponderOk() (*[]IncidentSearchResponseUserFacetData, bool)
    +

    GetResponderOk returns a tuple with the Responder field value if set, nil otherwise +and a boolean to check if the value has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetSeverity + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetSeverity() []IncidentSearchResponseFieldFacetData
    +

    GetSeverity returns the Severity field value if set, zero value otherwise. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetSeverityOk + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetSeverityOk() (*[]IncidentSearchResponseFieldFacetData, bool)
    +

    GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise +and a boolean to check if the value has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetState + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetState() []IncidentSearchResponseFieldFacetData
    +

    GetState returns the State field value if set, zero value otherwise. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetStateOk + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetStateOk() (*[]IncidentSearchResponseFieldFacetData, 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 (*IncidentSearchResponseFacetsData) GetTimeToRepair + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetTimeToRepair() []IncidentSearchResponseNumericFacetData
    +

    GetTimeToRepair returns the TimeToRepair field value if set, zero value otherwise. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetTimeToRepairOk + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetTimeToRepairOk() (*[]IncidentSearchResponseNumericFacetData, 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 (*IncidentSearchResponseFacetsData) GetTimeToResolve + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetTimeToResolve() []IncidentSearchResponseNumericFacetData
    +

    GetTimeToResolve returns the TimeToResolve field value if set, zero value otherwise. + + + + + + +

    func (*IncidentSearchResponseFacetsData) GetTimeToResolveOk + + + +

    +
    func (o *IncidentSearchResponseFacetsData) GetTimeToResolveOk() (*[]IncidentSearchResponseNumericFacetData, 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 (*IncidentSearchResponseFacetsData) HasCommander + + + +

    +
    func (o *IncidentSearchResponseFacetsData) HasCommander() bool
    +

    HasCommander returns a boolean if a field has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) HasCreatedBy + + + +

    +
    func (o *IncidentSearchResponseFacetsData) HasCreatedBy() bool
    +

    HasCreatedBy returns a boolean if a field has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) HasFields + + + +

    +
    func (o *IncidentSearchResponseFacetsData) HasFields() bool
    +

    HasFields returns a boolean if a field has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) HasImpact + + + +

    +
    func (o *IncidentSearchResponseFacetsData) HasImpact() bool
    +

    HasImpact returns a boolean if a field has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) HasLastModifiedBy + + + +

    +
    func (o *IncidentSearchResponseFacetsData) HasLastModifiedBy() bool
    +

    HasLastModifiedBy returns a boolean if a field has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) HasPostmortem + + + +

    +
    func (o *IncidentSearchResponseFacetsData) HasPostmortem() bool
    +

    HasPostmortem returns a boolean if a field has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) HasResponder + + + +

    +
    func (o *IncidentSearchResponseFacetsData) HasResponder() bool
    +

    HasResponder returns a boolean if a field has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) HasSeverity + + + +

    +
    func (o *IncidentSearchResponseFacetsData) HasSeverity() bool
    +

    HasSeverity returns a boolean if a field has been set. + + + + + + +

    func (*IncidentSearchResponseFacetsData) HasState + + + +

    +
    func (o *IncidentSearchResponseFacetsData) HasState() bool
    +

    HasState returns a boolean if a field has been set. -

    func (*IncidentResponseAttributes) SetCustomerImpactDuration - +

    func (*IncidentSearchResponseFacetsData) HasTimeToRepair +

    -
    func (o *IncidentResponseAttributes) SetCustomerImpactDuration(v int64)
    -

    SetCustomerImpactDuration gets a reference to the given int64 and assigns it to the CustomerImpactDuration field. +

    func (o *IncidentSearchResponseFacetsData) HasTimeToRepair() bool
    +

    HasTimeToRepair returns a boolean if a field has been set. -

    func (*IncidentResponseAttributes) SetCustomerImpactEnd - +

    func (*IncidentSearchResponseFacetsData) HasTimeToResolve +

    -
    func (o *IncidentResponseAttributes) SetCustomerImpactEnd(v time.Time)
    -

    SetCustomerImpactEnd gets a reference to the given datadog.NullableTime and assigns it to the CustomerImpactEnd field. +

    func (o *IncidentSearchResponseFacetsData) HasTimeToResolve() bool
    +

    HasTimeToResolve returns a boolean if a field has been set. -

    func (*IncidentResponseAttributes) SetCustomerImpactEndNil - +

    func (IncidentSearchResponseFacetsData) MarshalJSON +

    -
    func (o *IncidentResponseAttributes) SetCustomerImpactEndNil()
    -

    SetCustomerImpactEndNil sets the value for CustomerImpactEnd to be an explicit nil. +

    func (o IncidentSearchResponseFacetsData) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the struct using spec logic. -

    func (*IncidentResponseAttributes) SetCustomerImpactScope - +

    func (*IncidentSearchResponseFacetsData) SetCommander +

    -
    func (o *IncidentResponseAttributes) SetCustomerImpactScope(v string)
    -

    SetCustomerImpactScope gets a reference to the given datadog.NullableString and assigns it to the CustomerImpactScope field. +

    func (o *IncidentSearchResponseFacetsData) SetCommander(v []IncidentSearchResponseUserFacetData)
    +

    SetCommander gets a reference to the given []IncidentSearchResponseUserFacetData and assigns it to the Commander field. -

    func (*IncidentResponseAttributes) SetCustomerImpactScopeNil - +

    func (*IncidentSearchResponseFacetsData) SetCreatedBy +

    -
    func (o *IncidentResponseAttributes) SetCustomerImpactScopeNil()
    -

    SetCustomerImpactScopeNil sets the value for CustomerImpactScope to be an explicit nil. +

    func (o *IncidentSearchResponseFacetsData) SetCreatedBy(v []IncidentSearchResponseUserFacetData)
    +

    SetCreatedBy gets a reference to the given []IncidentSearchResponseUserFacetData and assigns it to the CreatedBy field. -

    func (*IncidentResponseAttributes) SetCustomerImpactStart - +

    func (*IncidentSearchResponseFacetsData) SetFields +

    -
    func (o *IncidentResponseAttributes) SetCustomerImpactStart(v time.Time)
    -

    SetCustomerImpactStart gets a reference to the given datadog.NullableTime and assigns it to the CustomerImpactStart field. +

    func (o *IncidentSearchResponseFacetsData) SetFields(v []IncidentSearchResponsePropertyFieldFacetData)
    +

    SetFields gets a reference to the given []IncidentSearchResponsePropertyFieldFacetData and assigns it to the Fields field. -

    func (*IncidentResponseAttributes) SetCustomerImpactStartNil - +

    func (*IncidentSearchResponseFacetsData) SetImpact +

    -
    func (o *IncidentResponseAttributes) SetCustomerImpactStartNil()
    -

    SetCustomerImpactStartNil sets the value for CustomerImpactStart to be an explicit nil. +

    func (o *IncidentSearchResponseFacetsData) SetImpact(v []IncidentSearchResponseFieldFacetData)
    +

    SetImpact gets a reference to the given []IncidentSearchResponseFieldFacetData and assigns it to the Impact field. -

    func (*IncidentResponseAttributes) SetCustomerImpacted - +

    func (*IncidentSearchResponseFacetsData) SetLastModifiedBy +

    -
    func (o *IncidentResponseAttributes) SetCustomerImpacted(v bool)
    -

    SetCustomerImpacted gets a reference to the given bool and assigns it to the CustomerImpacted field. +

    func (o *IncidentSearchResponseFacetsData) SetLastModifiedBy(v []IncidentSearchResponseUserFacetData)
    +

    SetLastModifiedBy gets a reference to the given []IncidentSearchResponseUserFacetData and assigns it to the LastModifiedBy field. -

    func (*IncidentResponseAttributes) SetDetected - +

    func (*IncidentSearchResponseFacetsData) SetPostmortem +

    -
    func (o *IncidentResponseAttributes) SetDetected(v time.Time)
    -

    SetDetected gets a reference to the given datadog.NullableTime and assigns it to the Detected field. +

    func (o *IncidentSearchResponseFacetsData) SetPostmortem(v []IncidentSearchResponseFieldFacetData)
    +

    SetPostmortem gets a reference to the given []IncidentSearchResponseFieldFacetData and assigns it to the Postmortem field. -

    func (*IncidentResponseAttributes) SetDetectedNil - +

    func (*IncidentSearchResponseFacetsData) SetResponder +

    -
    func (o *IncidentResponseAttributes) SetDetectedNil()
    -

    SetDetectedNil sets the value for Detected to be an explicit nil. +

    func (o *IncidentSearchResponseFacetsData) SetResponder(v []IncidentSearchResponseUserFacetData)
    +

    SetResponder gets a reference to the given []IncidentSearchResponseUserFacetData and assigns it to the Responder field. -

    func (*IncidentResponseAttributes) SetFields - +

    func (*IncidentSearchResponseFacetsData) SetSeverity +

    -
    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 (o *IncidentSearchResponseFacetsData) SetSeverity(v []IncidentSearchResponseFieldFacetData)
    +

    SetSeverity gets a reference to the given []IncidentSearchResponseFieldFacetData and assigns it to the Severity field. -

    func (*IncidentResponseAttributes) SetModified - +

    func (*IncidentSearchResponseFacetsData) SetState +

    -
    func (o *IncidentResponseAttributes) SetModified(v time.Time)
    -

    SetModified gets a reference to the given time.Time and assigns it to the Modified field. +

    func (o *IncidentSearchResponseFacetsData) SetState(v []IncidentSearchResponseFieldFacetData)
    +

    SetState gets a reference to the given []IncidentSearchResponseFieldFacetData and assigns it to the State field. -

    func (*IncidentResponseAttributes) SetNotificationHandles - +

    func (*IncidentSearchResponseFacetsData) SetTimeToRepair +

    -
    func (o *IncidentResponseAttributes) SetNotificationHandles(v []IncidentNotificationHandle)
    -

    SetNotificationHandles gets a reference to the given []IncidentNotificationHandle and assigns it to the NotificationHandles field. +

    func (o *IncidentSearchResponseFacetsData) SetTimeToRepair(v []IncidentSearchResponseNumericFacetData)
    +

    SetTimeToRepair gets a reference to the given []IncidentSearchResponseNumericFacetData and assigns it to the TimeToRepair field. -

    func (*IncidentResponseAttributes) SetPublicId - +

    func (*IncidentSearchResponseFacetsData) SetTimeToResolve +

    -
    func (o *IncidentResponseAttributes) SetPublicId(v int64)
    -

    SetPublicId gets a reference to the given int64 and assigns it to the PublicId field. +

    func (o *IncidentSearchResponseFacetsData) SetTimeToResolve(v []IncidentSearchResponseNumericFacetData)
    +

    SetTimeToResolve gets a reference to the given []IncidentSearchResponseNumericFacetData and assigns it to the TimeToResolve field. -

    func (*IncidentResponseAttributes) SetResolved - +

    func (*IncidentSearchResponseFacetsData) UnmarshalJSON +

    -
    func (o *IncidentResponseAttributes) SetResolved(v time.Time)
    -

    SetResolved gets a reference to the given datadog.NullableTime and assigns it to the Resolved field. +

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

    UnmarshalJSON deserializes the given payload. + + + +

    type IncidentSearchResponseFieldFacetData + -

    func (*IncidentResponseAttributes) SetResolvedNil - + +

    +

    IncidentSearchResponseFieldFacetData Facet value and number of occurrences for a property field of an incident. + +

    type IncidentSearchResponseFieldFacetData struct {
    +    // Count of the facet value appearing in search results.
    +    Count *int32 `json:"count,omitempty"`
    +    // The facet value appearing in search results.
    +    Name *string `json:"name,omitempty"`
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
    +    UnparsedObject       map[string]interface{} `json:"-"`
    +    AdditionalProperties map[string]interface{}
    +}
    +
    + + + + + + + + + + + +

    func NewIncidentSearchResponseFieldFacetData +

    -
    func (o *IncidentResponseAttributes) SetResolvedNil()
    -

    SetResolvedNil sets the value for Resolved to be an explicit nil. +

    func NewIncidentSearchResponseFieldFacetData() *IncidentSearchResponseFieldFacetData
    +

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

    func (*IncidentResponseAttributes) SetTimeToDetect - +

    func NewIncidentSearchResponseFieldFacetDataWithDefaults +

    -
    func (o *IncidentResponseAttributes) SetTimeToDetect(v int64)
    -

    SetTimeToDetect gets a reference to the given int64 and assigns it to the TimeToDetect field. +

    func NewIncidentSearchResponseFieldFacetDataWithDefaults() *IncidentSearchResponseFieldFacetData
    +

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

    func (*IncidentResponseAttributes) SetTimeToInternalResponse - +

    func (*IncidentSearchResponseFieldFacetData) GetCount +

    -
    func (o *IncidentResponseAttributes) SetTimeToInternalResponse(v int64)
    -

    SetTimeToInternalResponse gets a reference to the given int64 and assigns it to the TimeToInternalResponse field. +

    func (o *IncidentSearchResponseFieldFacetData) GetCount() int32
    +

    GetCount returns the Count field value if set, zero value otherwise. -

    func (*IncidentResponseAttributes) SetTimeToRepair - +

    func (*IncidentSearchResponseFieldFacetData) GetCountOk +

    -
    func (o *IncidentResponseAttributes) SetTimeToRepair(v int64)
    -

    SetTimeToRepair gets a reference to the given int64 and assigns it to the TimeToRepair field. +

    func (o *IncidentSearchResponseFieldFacetData) GetCountOk() (*int32, bool)
    +

    GetCountOk returns a tuple with the Count field value if set, nil otherwise +and a boolean to check if the value has been set. -

    func (*IncidentResponseAttributes) SetTimeToResolve - +

    func (*IncidentSearchResponseFieldFacetData) GetName +

    -
    func (o *IncidentResponseAttributes) SetTimeToResolve(v int64)
    -

    SetTimeToResolve gets a reference to the given int64 and assigns it to the TimeToResolve field. +

    func (o *IncidentSearchResponseFieldFacetData) GetName() string
    +

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

    func (*IncidentResponseAttributes) SetTitle - +

    func (*IncidentSearchResponseFieldFacetData) GetNameOk +

    -
    func (o *IncidentResponseAttributes) SetTitle(v string)
    -

    SetTitle sets field value. +

    func (o *IncidentSearchResponseFieldFacetData) 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 (*IncidentResponseAttributes) UnmarshalJSON - +

    func (*IncidentSearchResponseFieldFacetData) HasCount +

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

    UnmarshalJSON deserializes the given payload. +

    func (o *IncidentSearchResponseFieldFacetData) HasCount() bool
    +

    HasCount returns a boolean if a field has been set. -

    func (*IncidentResponseAttributes) UnsetCustomerImpactEnd - +

    func (*IncidentSearchResponseFieldFacetData) HasName +

    -
    func (o *IncidentResponseAttributes) UnsetCustomerImpactEnd()
    -

    UnsetCustomerImpactEnd ensures that no value is present for CustomerImpactEnd, not even an explicit nil. +

    func (o *IncidentSearchResponseFieldFacetData) HasName() bool
    +

    HasName returns a boolean if a field has been set. -

    func (*IncidentResponseAttributes) UnsetCustomerImpactScope - +

    func (IncidentSearchResponseFieldFacetData) MarshalJSON +

    -
    func (o *IncidentResponseAttributes) UnsetCustomerImpactScope()
    -

    UnsetCustomerImpactScope ensures that no value is present for CustomerImpactScope, not even an explicit nil. +

    func (o IncidentSearchResponseFieldFacetData) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the struct using spec logic. -

    func (*IncidentResponseAttributes) UnsetCustomerImpactStart - +

    func (*IncidentSearchResponseFieldFacetData) SetCount +

    -
    func (o *IncidentResponseAttributes) UnsetCustomerImpactStart()
    -

    UnsetCustomerImpactStart ensures that no value is present for CustomerImpactStart, not even an explicit nil. +

    func (o *IncidentSearchResponseFieldFacetData) SetCount(v int32)
    +

    SetCount gets a reference to the given int32 and assigns it to the Count field. -

    func (*IncidentResponseAttributes) UnsetDetected - +

    func (*IncidentSearchResponseFieldFacetData) SetName +

    -
    func (o *IncidentResponseAttributes) UnsetDetected()
    -

    UnsetDetected ensures that no value is present for Detected, not even an explicit nil. +

    func (o *IncidentSearchResponseFieldFacetData) SetName(v string)
    +

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

    func (*IncidentResponseAttributes) UnsetResolved - +

    func (*IncidentSearchResponseFieldFacetData) UnmarshalJSON +

    -
    func (o *IncidentResponseAttributes) UnsetResolved()
    -

    UnsetResolved ensures that no value is present for Resolved, not even an explicit nil. +

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

    UnmarshalJSON deserializes the given payload. @@ -86038,25 +89300,19 @@

    func (*IncidentResponseAttribu -

    type IncidentResponseData - +

    type IncidentSearchResponseIncidentsData +

    -

    IncidentResponseData Incident data from a response. +

    IncidentSearchResponseIncidentsData Incident returned by the search. -

    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
    +			
    type IncidentSearchResponseIncidentsData struct {
    +    // Incident data from a response.
    +    Data IncidentResponseData `json:"data"`
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
         UnparsedObject       map[string]interface{} `json:"-"`
    -    AdditionalProperties map[string]interface{}
    +    AdditionalProperties map[string]interface{}
     }
     
    @@ -86070,13 +89326,13 @@

    type func NewIncidentResponseData - +

    func NewIncidentSearchResponseIncidentsData +

    -
    func NewIncidentResponseData(id string, typeVar IncidentType) *IncidentResponseData
    -

    NewIncidentResponseData instantiates a new IncidentResponseData object. +

    func NewIncidentSearchResponseIncidentsData(data IncidentResponseData) *IncidentSearchResponseIncidentsData
    +

    NewIncidentSearchResponseIncidentsData instantiates a new IncidentSearchResponseIncidentsData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed. @@ -86085,13 +89341,13 @@

    func func NewIncidentResponseDataWithDefaults - +

    func NewIncidentSearchResponseIncidentsDataWithDefaults +

    -
    func NewIncidentResponseDataWithDefaults() *IncidentResponseData
    -

    NewIncidentResponseDataWithDefaults instantiates a new IncidentResponseData object. +

    func NewIncidentSearchResponseIncidentsDataWithDefaults() *IncidentSearchResponseIncidentsData
    +

    NewIncidentSearchResponseIncidentsDataWithDefaults instantiates a new IncidentSearchResponseIncidentsData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set. @@ -86101,26 +89357,26 @@

    func func (*IncidentResponseData) GetAttributes - +

    func (*IncidentSearchResponseIncidentsData) GetData +

    -
    func (o *IncidentResponseData) GetAttributes() IncidentResponseAttributes
    -

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

    func (o *IncidentSearchResponseIncidentsData) GetData() IncidentResponseData
    +

    GetData returns the Data field value. -

    func (*IncidentResponseData) GetAttributesOk - +

    func (*IncidentSearchResponseIncidentsData) GetDataOk +

    -
    func (o *IncidentResponseData) GetAttributesOk() (*IncidentResponseAttributes, bool)
    -

    GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise +

    func (o *IncidentSearchResponseIncidentsData) GetDataOk() (*IncidentResponseData, bool)
    +

    GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set. @@ -86128,184 +89384,205 @@

    func (*IncidentResponseData) func (*IncidentResponseData) GetId - +

    func (IncidentSearchResponseIncidentsData) MarshalJSON +

    -
    func (o *IncidentResponseData) GetId() string
    -

    GetId returns the Id field value. +

    func (o IncidentSearchResponseIncidentsData) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the struct using spec logic. -

    func (*IncidentResponseData) GetIdOk - +

    func (*IncidentSearchResponseIncidentsData) SetData +

    -
    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 (o *IncidentSearchResponseIncidentsData) SetData(v IncidentResponseData)
    +

    SetData sets field value. -

    func (*IncidentResponseData) GetRelationships - +

    func (*IncidentSearchResponseIncidentsData) UnmarshalJSON +

    -
    func (o *IncidentResponseData) GetRelationships() IncidentResponseRelationships
    -

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

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

    UnmarshalJSON deserializes the given payload. - -

    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. - - + + + +

    type IncidentSearchResponseNumericFacetData + +

    +

    IncidentSearchResponseNumericFacetData Facet data numeric attributes of an incident. + +

    type IncidentSearchResponseNumericFacetData struct {
    +    // Aggregate information for numeric incident data.
    +    Aggregates IncidentSearchResponseNumericFacetDataAggregates `json:"aggregates"`
    +    // Name of the incident property field.
    +    Name string `json:"name"`
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
    +    UnparsedObject       map[string]interface{} `json:"-"`
    +    AdditionalProperties map[string]interface{}
    +}
    +
    + + + + + + + + + -

    func (*IncidentResponseData) GetType - +

    func NewIncidentSearchResponseNumericFacetData +

    -
    func (o *IncidentResponseData) GetType() IncidentType
    -

    GetType returns the Type field value. +

    func NewIncidentSearchResponseNumericFacetData(aggregates IncidentSearchResponseNumericFacetDataAggregates, name string) *IncidentSearchResponseNumericFacetData
    +

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

    func (*IncidentResponseData) GetTypeOk - +

    func NewIncidentSearchResponseNumericFacetDataWithDefaults +

    -
    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 NewIncidentSearchResponseNumericFacetDataWithDefaults() *IncidentSearchResponseNumericFacetData
    +

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

    func (*IncidentResponseData) HasAttributes - +

    func (*IncidentSearchResponseNumericFacetData) GetAggregates +

    -
    func (o *IncidentResponseData) HasAttributes() bool
    -

    HasAttributes returns a boolean if a field has been set. +

    func (o *IncidentSearchResponseNumericFacetData) GetAggregates() IncidentSearchResponseNumericFacetDataAggregates
    +

    GetAggregates returns the Aggregates field value. -

    func (*IncidentResponseData) HasRelationships - +

    func (*IncidentSearchResponseNumericFacetData) GetAggregatesOk +

    -
    func (o *IncidentResponseData) HasRelationships() bool
    -

    HasRelationships returns a boolean if a field has been set. +

    func (o *IncidentSearchResponseNumericFacetData) GetAggregatesOk() (*IncidentSearchResponseNumericFacetDataAggregates, bool)
    +

    GetAggregatesOk returns a tuple with the Aggregates field value +and a boolean to check if the value has been set. -

    func (IncidentResponseData) MarshalJSON - +

    func (*IncidentSearchResponseNumericFacetData) GetName +

    -
    func (o IncidentResponseData) MarshalJSON() ([]byte, error)
    -

    MarshalJSON serializes the struct using spec logic. +

    func (o *IncidentSearchResponseNumericFacetData) GetName() string
    +

    GetName returns the Name field value. -

    func (*IncidentResponseData) SetAttributes - +

    func (*IncidentSearchResponseNumericFacetData) GetNameOk +

    -
    func (o *IncidentResponseData) SetAttributes(v IncidentResponseAttributes)
    -

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

    func (o *IncidentSearchResponseNumericFacetData) GetNameOk() (*string, bool)
    +

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

    func (*IncidentResponseData) SetId - +

    func (IncidentSearchResponseNumericFacetData) MarshalJSON +

    -
    func (o *IncidentResponseData) SetId(v string)
    -

    SetId sets field value. +

    func (o IncidentSearchResponseNumericFacetData) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the struct using spec logic. -

    func (*IncidentResponseData) SetRelationships - +

    func (*IncidentSearchResponseNumericFacetData) SetAggregates +

    -
    func (o *IncidentResponseData) SetRelationships(v IncidentResponseRelationships)
    -

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

    func (o *IncidentSearchResponseNumericFacetData) SetAggregates(v IncidentSearchResponseNumericFacetDataAggregates)
    +

    SetAggregates sets field value. -

    func (*IncidentResponseData) SetType - +

    func (*IncidentSearchResponseNumericFacetData) SetName +

    -
    func (o *IncidentResponseData) SetType(v IncidentType)
    -

    SetType sets field value. +

    func (o *IncidentSearchResponseNumericFacetData) SetName(v string)
    +

    SetName sets field value. -

    func (*IncidentResponseData) UnmarshalJSON - +

    func (*IncidentSearchResponseNumericFacetData) UnmarshalJSON +

    -
    func (o *IncidentResponseData) UnmarshalJSON(bytes []byte) (err error)
    +
    func (o *IncidentSearchResponseNumericFacetData) UnmarshalJSON(bytes []byte) (err error)

    UnmarshalJSON deserializes the given payload. @@ -86315,19 +89592,21 @@

    func (*IncidentResponseData) type IncidentResponseIncludedItem - +

    type IncidentSearchResponseNumericFacetDataAggregates +

    -

    IncidentResponseIncludedItem - An object related to an incident that is included in the response. - -

    type IncidentResponseIncludedItem struct {
    -    User                   *User
    -    IncidentAttachmentData *IncidentAttachmentData
    +			

    IncidentSearchResponseNumericFacetDataAggregates Aggregate information for numeric incident data. - // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct - UnparsedObject interface{} +

    type IncidentSearchResponseNumericFacetDataAggregates struct {
    +    // Maximum value of the numeric aggregates.
    +    Max datadog.NullableFloat64 `json:"max,omitempty"`
    +    // Minimum value of the numeric aggregates.
    +    Min datadog.NullableFloat64 `json:"min,omitempty"`
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
    +    UnparsedObject       map[string]interface{} `json:"-"`
    +    AdditionalProperties map[string]interface{}
     }
     
    @@ -86341,25 +89620,30 @@

    type func IncidentAttachmentDataAsIncidentResponseIncludedItem - +

    func NewIncidentSearchResponseNumericFacetDataAggregates +

    -
    func IncidentAttachmentDataAsIncidentResponseIncludedItem(v *IncidentAttachmentData) IncidentResponseIncludedItem
    -

    IncidentAttachmentDataAsIncidentResponseIncludedItem is a convenience function that returns IncidentAttachmentData wrapped in IncidentResponseIncludedItem. +

    func NewIncidentSearchResponseNumericFacetDataAggregates() *IncidentSearchResponseNumericFacetDataAggregates
    +

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

    func UserAsIncidentResponseIncludedItem - +

    func NewIncidentSearchResponseNumericFacetDataAggregatesWithDefaults +

    -
    func UserAsIncidentResponseIncludedItem(v *User) IncidentResponseIncludedItem
    -

    UserAsIncidentResponseIncludedItem is a convenience function that returns User wrapped in IncidentResponseIncludedItem. +

    func NewIncidentSearchResponseNumericFacetDataAggregatesWithDefaults() *IncidentSearchResponseNumericFacetDataAggregates
    +

    NewIncidentSearchResponseNumericFacetDataAggregatesWithDefaults instantiates a new IncidentSearchResponseNumericFacetDataAggregates object. +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set. @@ -86367,177 +89651,186 @@

    func func (*IncidentResponseIncludedItem) GetActualInstance - +

    func (*IncidentSearchResponseNumericFacetDataAggregates) GetMax +

    -
    func (obj *IncidentResponseIncludedItem) GetActualInstance() interface{}
    -

    GetActualInstance returns the actual instance. +

    func (o *IncidentSearchResponseNumericFacetDataAggregates) GetMax() float64
    +

    GetMax returns the Max field value if set, zero value otherwise (both if not set or set to explicit null). -

    func (IncidentResponseIncludedItem) MarshalJSON - +

    func (*IncidentSearchResponseNumericFacetDataAggregates) GetMaxOk +

    -
    func (obj IncidentResponseIncludedItem) MarshalJSON() ([]byte, error)
    -

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

    func (o *IncidentSearchResponseNumericFacetDataAggregates) GetMaxOk() (*float64, bool)
    +

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

    func (*IncidentResponseIncludedItem) UnmarshalJSON - +

    func (*IncidentSearchResponseNumericFacetDataAggregates) GetMin +

    -
    func (obj *IncidentResponseIncludedItem) UnmarshalJSON(data []byte) error
    -

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

    func (o *IncidentSearchResponseNumericFacetDataAggregates) GetMin() float64
    +

    GetMin returns the Min field value if set, zero value otherwise (both if not set or set to explicit null). - - - -

    type IncidentResponseMeta - - -

    -

    IncidentResponseMeta The metadata object containing pagination metadata. - -

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

    func (*IncidentSearchResponseNumericFacetDataAggregates) GetMinOk + + + +

    +
    func (o *IncidentSearchResponseNumericFacetDataAggregates) GetMinOk() (*float64, bool)
    +

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

    func (*IncidentSearchResponseNumericFacetDataAggregates) HasMax + + + +

    +
    func (o *IncidentSearchResponseNumericFacetDataAggregates) HasMax() bool
    +

    HasMax returns a boolean if a field has been set. + + + -

    func NewIncidentResponseMeta - +

    func (*IncidentSearchResponseNumericFacetDataAggregates) HasMin +

    -
    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 (o *IncidentSearchResponseNumericFacetDataAggregates) HasMin() bool
    +

    HasMin returns a boolean if a field has been set. + -

    func NewIncidentResponseMetaWithDefaults - +

    func (IncidentSearchResponseNumericFacetDataAggregates) MarshalJSON +

    -
    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 (o IncidentSearchResponseNumericFacetDataAggregates) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the struct using spec logic. + + +

    func (*IncidentSearchResponseNumericFacetDataAggregates) SetMax + + + +

    +
    func (o *IncidentSearchResponseNumericFacetDataAggregates) SetMax(v float64)
    +

    SetMax gets a reference to the given datadog.NullableFloat64 and assigns it to the Max field. + + + -

    func (*IncidentResponseMeta) GetPagination - +

    func (*IncidentSearchResponseNumericFacetDataAggregates) SetMaxNil +

    -
    func (o *IncidentResponseMeta) GetPagination() IncidentResponseMetaPagination
    -

    GetPagination returns the Pagination field value if set, zero value otherwise. +

    func (o *IncidentSearchResponseNumericFacetDataAggregates) SetMaxNil()
    +

    SetMaxNil sets the value for Max to be an explicit nil. -

    func (*IncidentResponseMeta) GetPaginationOk - +

    func (*IncidentSearchResponseNumericFacetDataAggregates) SetMin +

    -
    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 (o *IncidentSearchResponseNumericFacetDataAggregates) SetMin(v float64)
    +

    SetMin gets a reference to the given datadog.NullableFloat64 and assigns it to the Min field. -

    func (*IncidentResponseMeta) HasPagination - +

    func (*IncidentSearchResponseNumericFacetDataAggregates) SetMinNil +

    -
    func (o *IncidentResponseMeta) HasPagination() bool
    -

    HasPagination returns a boolean if a field has been set. +

    func (o *IncidentSearchResponseNumericFacetDataAggregates) SetMinNil()
    +

    SetMinNil sets the value for Min to be an explicit nil. -

    func (IncidentResponseMeta) MarshalJSON - +

    func (*IncidentSearchResponseNumericFacetDataAggregates) UnmarshalJSON +

    -
    func (o IncidentResponseMeta) MarshalJSON() ([]byte, error)
    -

    MarshalJSON serializes the struct using spec logic. +

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

    UnmarshalJSON deserializes the given payload. -

    func (*IncidentResponseMeta) SetPagination - +

    func (*IncidentSearchResponseNumericFacetDataAggregates) UnsetMax +

    -
    func (o *IncidentResponseMeta) SetPagination(v IncidentResponseMetaPagination)
    -

    SetPagination gets a reference to the given IncidentResponseMetaPagination and assigns it to the Pagination field. +

    func (o *IncidentSearchResponseNumericFacetDataAggregates) UnsetMax()
    +

    UnsetMax ensures that no value is present for Max, not even an explicit nil. -

    func (*IncidentResponseMeta) UnmarshalJSON - +

    func (*IncidentSearchResponseNumericFacetDataAggregates) UnsetMin +

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

    UnmarshalJSON deserializes the given payload. +

    func (o *IncidentSearchResponseNumericFacetDataAggregates) UnsetMin()
    +

    UnsetMin ensures that no value is present for Min, not even an explicit nil. @@ -86546,23 +89839,23 @@

    func (*IncidentResponseMeta) type IncidentResponseMetaPagination - +

    type IncidentSearchResponsePropertyFieldFacetData +

    -

    IncidentResponseMetaPagination Pagination properties. +

    IncidentSearchResponsePropertyFieldFacetData Facet data for the incident property fields. -

    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
    +			
    type IncidentSearchResponsePropertyFieldFacetData struct {
    +    // Aggregate information for numeric incident data.
    +    Aggregates *IncidentSearchResponseNumericFacetDataAggregates `json:"aggregates,omitempty"`
    +    // Facet data for the property field of an incident.
    +    Facets []IncidentSearchResponseFieldFacetData `json:"facets"`
    +    // Name of the incident property field.
    +    Name string `json:"name"`
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
         UnparsedObject       map[string]interface{} `json:"-"`
    -    AdditionalProperties map[string]interface{}
    +    AdditionalProperties map[string]interface{}
     }
     
    @@ -86576,13 +89869,13 @@

    type func NewIncidentResponseMetaPagination - +

    func NewIncidentSearchResponsePropertyFieldFacetData +

    -
    func NewIncidentResponseMetaPagination() *IncidentResponseMetaPagination
    -

    NewIncidentResponseMetaPagination instantiates a new IncidentResponseMetaPagination object. +

    func NewIncidentSearchResponsePropertyFieldFacetData(facets []IncidentSearchResponseFieldFacetData, name string) *IncidentSearchResponsePropertyFieldFacetData
    +

    NewIncidentSearchResponsePropertyFieldFacetData instantiates a new IncidentSearchResponsePropertyFieldFacetData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed. @@ -86591,13 +89884,13 @@

    func func NewIncidentResponseMetaPaginationWithDefaults - +

    func NewIncidentSearchResponsePropertyFieldFacetDataWithDefaults +

    -
    func NewIncidentResponseMetaPaginationWithDefaults() *IncidentResponseMetaPagination
    -

    NewIncidentResponseMetaPaginationWithDefaults instantiates a new IncidentResponseMetaPagination object. +

    func NewIncidentSearchResponsePropertyFieldFacetDataWithDefaults() *IncidentSearchResponsePropertyFieldFacetData
    +

    NewIncidentSearchResponsePropertyFieldFacetDataWithDefaults instantiates a new IncidentSearchResponsePropertyFieldFacetData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set. @@ -86607,26 +89900,26 @@

    func func (*IncidentResponseMetaPagination) GetNextOffset - +

    func (*IncidentSearchResponsePropertyFieldFacetData) GetAggregates +

    -
    func (o *IncidentResponseMetaPagination) GetNextOffset() int64
    -

    GetNextOffset returns the NextOffset field value if set, zero value otherwise. +

    func (o *IncidentSearchResponsePropertyFieldFacetData) GetAggregates() IncidentSearchResponseNumericFacetDataAggregates
    +

    GetAggregates returns the Aggregates field value if set, zero value otherwise. -

    func (*IncidentResponseMetaPagination) GetNextOffsetOk - +

    func (*IncidentSearchResponsePropertyFieldFacetData) GetAggregatesOk +

    -
    func (o *IncidentResponseMetaPagination) GetNextOffsetOk() (*int64, bool)
    -

    GetNextOffsetOk returns a tuple with the NextOffset field value if set, nil otherwise +

    func (o *IncidentSearchResponsePropertyFieldFacetData) GetAggregatesOk() (*IncidentSearchResponseNumericFacetDataAggregates, bool)
    +

    GetAggregatesOk returns a tuple with the Aggregates field value if set, nil otherwise and a boolean to check if the value has been set. @@ -86634,26 +89927,26 @@

    func (*IncidentResponseM -

    func (*IncidentResponseMetaPagination) GetOffset - +

    func (*IncidentSearchResponsePropertyFieldFacetData) GetFacets +

    -
    func (o *IncidentResponseMetaPagination) GetOffset() int64
    -

    GetOffset returns the Offset field value if set, zero value otherwise. +

    func (o *IncidentSearchResponsePropertyFieldFacetData) GetFacets() []IncidentSearchResponseFieldFacetData
    +

    GetFacets returns the Facets field value. -

    func (*IncidentResponseMetaPagination) GetOffsetOk - +

    func (*IncidentSearchResponsePropertyFieldFacetData) GetFacetsOk +

    -
    func (o *IncidentResponseMetaPagination) GetOffsetOk() (*int64, bool)
    -

    GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise +

    func (o *IncidentSearchResponsePropertyFieldFacetData) GetFacetsOk() (*[]IncidentSearchResponseFieldFacetData, bool)
    +

    GetFacetsOk returns a tuple with the Facets field value and a boolean to check if the value has been set. @@ -86661,26 +89954,26 @@

    func (*IncidentResponseMetaP -

    func (*IncidentResponseMetaPagination) GetSize - +

    func (*IncidentSearchResponsePropertyFieldFacetData) GetName +

    -
    func (o *IncidentResponseMetaPagination) GetSize() int64
    -

    GetSize returns the Size field value if set, zero value otherwise. +

    func (o *IncidentSearchResponsePropertyFieldFacetData) GetName() string
    +

    GetName returns the Name field value. -

    func (*IncidentResponseMetaPagination) GetSizeOk - +

    func (*IncidentSearchResponsePropertyFieldFacetData) GetNameOk +

    -
    func (o *IncidentResponseMetaPagination) GetSizeOk() (*int64, bool)
    -

    GetSizeOk returns a tuple with the Size field value if set, nil otherwise +

    func (o *IncidentSearchResponsePropertyFieldFacetData) GetNameOk() (*string, bool)
    +

    GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. @@ -86688,51 +89981,25 @@

    func (*IncidentResponseMetaPag -

    func (*IncidentResponseMetaPagination) HasNextOffset - - - -

    -
    func (o *IncidentResponseMetaPagination) HasNextOffset() bool
    -

    HasNextOffset returns a boolean if a field has been set. - - - - - - -

    func (*IncidentResponseMetaPagination) HasOffset - - - -

    -
    func (o *IncidentResponseMetaPagination) HasOffset() bool
    -

    HasOffset returns a boolean if a field has been set. - - - - - - -

    func (*IncidentResponseMetaPagination) HasSize - +

    func (*IncidentSearchResponsePropertyFieldFacetData) HasAggregates +

    -
    func (o *IncidentResponseMetaPagination) HasSize() bool
    -

    HasSize returns a boolean if a field has been set. +

    func (o *IncidentSearchResponsePropertyFieldFacetData) HasAggregates() bool
    +

    HasAggregates returns a boolean if a field has been set. -

    func (IncidentResponseMetaPagination) MarshalJSON - +

    func (IncidentSearchResponsePropertyFieldFacetData) MarshalJSON +

    -
    func (o IncidentResponseMetaPagination) MarshalJSON() ([]byte, error)
    +
    func (o IncidentSearchResponsePropertyFieldFacetData) MarshalJSON() ([]byte, error)

    MarshalJSON serializes the struct using spec logic. @@ -86740,51 +90007,51 @@

    func (IncidentResponseMetaPa -

    func (*IncidentResponseMetaPagination) SetNextOffset - +

    func (*IncidentSearchResponsePropertyFieldFacetData) SetAggregates +

    -
    func (o *IncidentResponseMetaPagination) SetNextOffset(v int64)
    -

    SetNextOffset gets a reference to the given int64 and assigns it to the NextOffset field. +

    func (o *IncidentSearchResponsePropertyFieldFacetData) SetAggregates(v IncidentSearchResponseNumericFacetDataAggregates)
    +

    SetAggregates gets a reference to the given IncidentSearchResponseNumericFacetDataAggregates and assigns it to the Aggregates field. -

    func (*IncidentResponseMetaPagination) SetOffset - +

    func (*IncidentSearchResponsePropertyFieldFacetData) SetFacets +

    -
    func (o *IncidentResponseMetaPagination) SetOffset(v int64)
    -

    SetOffset gets a reference to the given int64 and assigns it to the Offset field. +

    func (o *IncidentSearchResponsePropertyFieldFacetData) SetFacets(v []IncidentSearchResponseFieldFacetData)
    +

    SetFacets sets field value. -

    func (*IncidentResponseMetaPagination) SetSize - +

    func (*IncidentSearchResponsePropertyFieldFacetData) SetName +

    -
    func (o *IncidentResponseMetaPagination) SetSize(v int64)
    -

    SetSize gets a reference to the given int64 and assigns it to the Size field. +

    func (o *IncidentSearchResponsePropertyFieldFacetData) SetName(v string)
    +

    SetName sets field value. -

    func (*IncidentResponseMetaPagination) UnmarshalJSON - +

    func (*IncidentSearchResponsePropertyFieldFacetData) UnmarshalJSON +

    -
    func (o *IncidentResponseMetaPagination) UnmarshalJSON(bytes []byte) (err error)
    +
    func (o *IncidentSearchResponsePropertyFieldFacetData) UnmarshalJSON(bytes []byte) (err error)

    UnmarshalJSON deserializes the given payload. @@ -86794,27 +90061,27 @@

    func (*IncidentResponseMet -

    type IncidentResponseRelationships - +

    type IncidentSearchResponseUserFacetData +

    -

    IncidentResponseRelationships The incident's relationships from a response. +

    IncidentSearchResponseUserFacetData Facet data for user attributes of an incident. -

    type IncidentResponseRelationships struct {
    -    // A relationship reference for attachments.
    -    Attachments *RelationshipToIncidentAttachment `json:"attachments,omitempty"`
    -    // Relationship to user.
    -    CommanderUser *NullableRelationshipToUser `json:"commander_user,omitempty"`
    -    // Relationship to user.
    -    CreatedByUser *RelationshipToUser `json:"created_by_user,omitempty"`
    -    // A relationship reference for multiple integration metadata objects.
    -    Integrations *RelationshipToIncidentIntegrationMetadatas `json:"integrations,omitempty"`
    -    // Relationship to user.
    -    LastModifiedByUser *RelationshipToUser `json:"last_modified_by_user,omitempty"`
    -    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
    +			
    type IncidentSearchResponseUserFacetData struct {
    +    // Count of the facet value appearing in search results.
    +    Count *int32 `json:"count,omitempty"`
    +    // Email of the user.
    +    Email *string `json:"email,omitempty"`
    +    // Handle of the user.
    +    Handle *string `json:"handle,omitempty"`
    +    // Name of the user.
    +    Name *string `json:"name,omitempty"`
    +    // ID of the user.
    +    Uuid *string `json:"uuid,omitempty"`
    +    // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
         UnparsedObject       map[string]interface{} `json:"-"`
    -    AdditionalProperties map[string]interface{}
    +    AdditionalProperties map[string]interface{}
     }
     
    @@ -86828,13 +90095,13 @@

    type func NewIncidentResponseRelationships - +

    func NewIncidentSearchResponseUserFacetData +

    -
    func NewIncidentResponseRelationships() *IncidentResponseRelationships
    -

    NewIncidentResponseRelationships instantiates a new IncidentResponseRelationships object. +

    func NewIncidentSearchResponseUserFacetData() *IncidentSearchResponseUserFacetData
    +

    NewIncidentSearchResponseUserFacetData instantiates a new IncidentSearchResponseUserFacetData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed. @@ -86843,13 +90110,13 @@

    func func NewIncidentResponseRelationshipsWithDefaults - +

    func NewIncidentSearchResponseUserFacetDataWithDefaults +

    -
    func NewIncidentResponseRelationshipsWithDefaults() *IncidentResponseRelationships
    -

    NewIncidentResponseRelationshipsWithDefaults instantiates a new IncidentResponseRelationships object. +

    func NewIncidentSearchResponseUserFacetDataWithDefaults() *IncidentSearchResponseUserFacetData
    +

    NewIncidentSearchResponseUserFacetDataWithDefaults instantiates a new IncidentSearchResponseUserFacetData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set. @@ -86859,26 +90126,26 @@

    func func (*IncidentResponseRelationships) GetAttachments - +

    func (*IncidentSearchResponseUserFacetData) GetCount +

    -
    func (o *IncidentResponseRelationships) GetAttachments() RelationshipToIncidentAttachment
    -

    GetAttachments returns the Attachments field value if set, zero value otherwise. +

    func (o *IncidentSearchResponseUserFacetData) GetCount() int32
    +

    GetCount returns the Count field value if set, zero value otherwise. -

    func (*IncidentResponseRelationships) GetAttachmentsOk - +

    func (*IncidentSearchResponseUserFacetData) GetCountOk +

    -
    func (o *IncidentResponseRelationships) GetAttachmentsOk() (*RelationshipToIncidentAttachment, bool)
    -

    GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise +

    func (o *IncidentSearchResponseUserFacetData) GetCountOk() (*int32, bool)
    +

    GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set. @@ -86886,26 +90153,26 @@

    func (*IncidentResponseR -

    func (*IncidentResponseRelationships) GetCommanderUser - +

    func (*IncidentSearchResponseUserFacetData) GetEmail +

    -
    func (o *IncidentResponseRelationships) GetCommanderUser() NullableRelationshipToUser
    -

    GetCommanderUser returns the CommanderUser field value if set, zero value otherwise. +

    func (o *IncidentSearchResponseUserFacetData) GetEmail() string
    +

    GetEmail returns the Email field value if set, zero value otherwise. -

    func (*IncidentResponseRelationships) GetCommanderUserOk - +

    func (*IncidentSearchResponseUserFacetData) GetEmailOk +

    -
    func (o *IncidentResponseRelationships) GetCommanderUserOk() (*NullableRelationshipToUser, bool)
    -

    GetCommanderUserOk returns a tuple with the CommanderUser field value if set, nil otherwise +

    func (o *IncidentSearchResponseUserFacetData) GetEmailOk() (*string, bool)
    +

    GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. @@ -86913,26 +90180,26 @@

    func (*IncidentRespons -

    func (*IncidentResponseRelationships) GetCreatedByUser - +

    func (*IncidentSearchResponseUserFacetData) GetHandle +

    -
    func (o *IncidentResponseRelationships) GetCreatedByUser() RelationshipToUser
    -

    GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise. +

    func (o *IncidentSearchResponseUserFacetData) GetHandle() string
    +

    GetHandle returns the Handle field value if set, zero value otherwise. -

    func (*IncidentResponseRelationships) GetCreatedByUserOk - +

    func (*IncidentSearchResponseUserFacetData) GetHandleOk +

    -
    func (o *IncidentResponseRelationships) GetCreatedByUserOk() (*RelationshipToUser, bool)
    -

    GetCreatedByUserOk returns a tuple with the CreatedByUser field value if set, nil otherwise +

    func (o *IncidentSearchResponseUserFacetData) GetHandleOk() (*string, bool)
    +

    GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set. @@ -86940,26 +90207,26 @@

    func (*IncidentRespons -

    func (*IncidentResponseRelationships) GetIntegrations - +

    func (*IncidentSearchResponseUserFacetData) GetName +

    -
    func (o *IncidentResponseRelationships) GetIntegrations() RelationshipToIncidentIntegrationMetadatas
    -

    GetIntegrations returns the Integrations field value if set, zero value otherwise. +

    func (o *IncidentSearchResponseUserFacetData) GetName() string
    +

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

    func (*IncidentResponseRelationships) GetIntegrationsOk - +

    func (*IncidentSearchResponseUserFacetData) GetNameOk +

    -
    func (o *IncidentResponseRelationships) GetIntegrationsOk() (*RelationshipToIncidentIntegrationMetadatas, bool)
    -

    GetIntegrationsOk returns a tuple with the Integrations field value if set, nil otherwise +

    func (o *IncidentSearchResponseUserFacetData) GetNameOk() (*string, bool)
    +

    GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. @@ -86967,26 +90234,26 @@

    func (*IncidentResponse -

    func (*IncidentResponseRelationships) GetLastModifiedByUser - +

    func (*IncidentSearchResponseUserFacetData) GetUuid +

    -
    func (o *IncidentResponseRelationships) GetLastModifiedByUser() RelationshipToUser
    -

    GetLastModifiedByUser returns the LastModifiedByUser field value if set, zero value otherwise. +

    func (o *IncidentSearchResponseUserFacetData) GetUuid() string
    +

    GetUuid returns the Uuid field value if set, zero value otherwise. -

    func (*IncidentResponseRelationships) GetLastModifiedByUserOk - +

    func (*IncidentSearchResponseUserFacetData) GetUuidOk +

    -
    func (o *IncidentResponseRelationships) GetLastModifiedByUserOk() (*RelationshipToUser, bool)
    -

    GetLastModifiedByUserOk returns a tuple with the LastModifiedByUser field value if set, nil otherwise +

    func (o *IncidentSearchResponseUserFacetData) GetUuidOk() (*string, bool)
    +

    GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set. @@ -86994,77 +90261,77 @@

    func (*IncidentRe -

    func (*IncidentResponseRelationships) HasAttachments - +

    func (*IncidentSearchResponseUserFacetData) HasCount +

    -
    func (o *IncidentResponseRelationships) HasAttachments() bool
    -

    HasAttachments returns a boolean if a field has been set. +

    func (o *IncidentSearchResponseUserFacetData) HasCount() bool
    +

    HasCount returns a boolean if a field has been set. -

    func (*IncidentResponseRelationships) HasCommanderUser - +

    func (*IncidentSearchResponseUserFacetData) HasEmail +

    -
    func (o *IncidentResponseRelationships) HasCommanderUser() bool
    -

    HasCommanderUser returns a boolean if a field has been set. +

    func (o *IncidentSearchResponseUserFacetData) HasEmail() bool
    +

    HasEmail returns a boolean if a field has been set. -

    func (*IncidentResponseRelationships) HasCreatedByUser - +

    func (*IncidentSearchResponseUserFacetData) HasHandle +

    -
    func (o *IncidentResponseRelationships) HasCreatedByUser() bool
    -

    HasCreatedByUser returns a boolean if a field has been set. +

    func (o *IncidentSearchResponseUserFacetData) HasHandle() bool
    +

    HasHandle returns a boolean if a field has been set. -

    func (*IncidentResponseRelationships) HasIntegrations - +

    func (*IncidentSearchResponseUserFacetData) HasName +

    -
    func (o *IncidentResponseRelationships) HasIntegrations() bool
    -

    HasIntegrations returns a boolean if a field has been set. +

    func (o *IncidentSearchResponseUserFacetData) HasName() bool
    +

    HasName returns a boolean if a field has been set. -

    func (*IncidentResponseRelationships) HasLastModifiedByUser - +

    func (*IncidentSearchResponseUserFacetData) HasUuid +

    -
    func (o *IncidentResponseRelationships) HasLastModifiedByUser() bool
    -

    HasLastModifiedByUser returns a boolean if a field has been set. +

    func (o *IncidentSearchResponseUserFacetData) HasUuid() bool
    +

    HasUuid returns a boolean if a field has been set. -

    func (IncidentResponseRelationships) MarshalJSON - +

    func (IncidentSearchResponseUserFacetData) MarshalJSON +

    -
    func (o IncidentResponseRelationships) MarshalJSON() ([]byte, error)
    +
    func (o IncidentSearchResponseUserFacetData) MarshalJSON() ([]byte, error)

    MarshalJSON serializes the struct using spec logic. @@ -87072,77 +90339,266 @@

    func (IncidentResponseRelatio -

    func (*IncidentResponseRelationships) SetAttachments - +

    func (*IncidentSearchResponseUserFacetData) SetCount +

    -
    func (o *IncidentResponseRelationships) SetAttachments(v RelationshipToIncidentAttachment)
    -

    SetAttachments gets a reference to the given RelationshipToIncidentAttachment and assigns it to the Attachments field. +

    func (o *IncidentSearchResponseUserFacetData) SetCount(v int32)
    +

    SetCount gets a reference to the given int32 and assigns it to the Count field. -

    func (*IncidentResponseRelationships) SetCommanderUser - +

    func (*IncidentSearchResponseUserFacetData) SetEmail +

    -
    func (o *IncidentResponseRelationships) SetCommanderUser(v NullableRelationshipToUser)
    -

    SetCommanderUser gets a reference to the given NullableRelationshipToUser and assigns it to the CommanderUser field. +

    func (o *IncidentSearchResponseUserFacetData) SetEmail(v string)
    +

    SetEmail gets a reference to the given string and assigns it to the Email field. -

    func (*IncidentResponseRelationships) SetCreatedByUser - +

    func (*IncidentSearchResponseUserFacetData) SetHandle +

    -
    func (o *IncidentResponseRelationships) SetCreatedByUser(v RelationshipToUser)
    -

    SetCreatedByUser gets a reference to the given RelationshipToUser and assigns it to the CreatedByUser field. +

    func (o *IncidentSearchResponseUserFacetData) SetHandle(v string)
    +

    SetHandle gets a reference to the given string and assigns it to the Handle field. -

    func (*IncidentResponseRelationships) SetIntegrations - +

    func (*IncidentSearchResponseUserFacetData) SetName +

    -
    func (o *IncidentResponseRelationships) SetIntegrations(v RelationshipToIncidentIntegrationMetadatas)
    -

    SetIntegrations gets a reference to the given RelationshipToIncidentIntegrationMetadatas and assigns it to the Integrations field. +

    func (o *IncidentSearchResponseUserFacetData) SetName(v string)
    +

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

    func (*IncidentResponseRelationships) SetLastModifiedByUser - +

    func (*IncidentSearchResponseUserFacetData) SetUuid +

    -
    func (o *IncidentResponseRelationships) SetLastModifiedByUser(v RelationshipToUser)
    -

    SetLastModifiedByUser gets a reference to the given RelationshipToUser and assigns it to the LastModifiedByUser field. +

    func (o *IncidentSearchResponseUserFacetData) SetUuid(v string)
    +

    SetUuid gets a reference to the given string and assigns it to the Uuid field. -

    func (*IncidentResponseRelationships) UnmarshalJSON - +

    func (*IncidentSearchResponseUserFacetData) UnmarshalJSON +

    -
    func (o *IncidentResponseRelationships) UnmarshalJSON(bytes []byte) (err error)
    +
    func (o *IncidentSearchResponseUserFacetData) UnmarshalJSON(bytes []byte) (err error)
    +

    UnmarshalJSON deserializes the given payload. + + + + + + + + +

    type IncidentSearchResultsType + + + +

    +

    IncidentSearchResultsType Incident search result type. + +

    type IncidentSearchResultsType string
    + + +

    List of IncidentSearchResultsType. + +

    const (
    +    INCIDENTSEARCHRESULTSTYPE_INCIDENTS_SEARCH_RESULTS IncidentSearchResultsType = "incidents_search_results"
    +)
    + + + + + + + + + + +

    func NewIncidentSearchResultsTypeFromValue + + + +

    +
    func NewIncidentSearchResultsTypeFromValue(v string) (*IncidentSearchResultsType, error)
    +

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

    func (*IncidentSearchResultsType) GetAllowedValues + + + +

    +
    func (v *IncidentSearchResultsType) GetAllowedValues() []IncidentSearchResultsType
    +

    GetAllowedValues reeturns the list of possible values. + + + + + + +

    func (IncidentSearchResultsType) IsValid + + + +

    +
    func (v IncidentSearchResultsType) IsValid() bool
    +

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

    func (IncidentSearchResultsType) Ptr + + + +

    +
    func (v IncidentSearchResultsType) Ptr() *IncidentSearchResultsType
    +

    Ptr returns reference to IncidentSearchResultsType value. + + + + + + +

    func (*IncidentSearchResultsType) UnmarshalJSON + + + +

    +
    func (v *IncidentSearchResultsType) UnmarshalJSON(src []byte) error
    +

    UnmarshalJSON deserializes the given payload. + + + + + + + + +

    type IncidentSearchSortOrder + + + +

    +

    IncidentSearchSortOrder The ways searched incidents can be sorted. + +

    type IncidentSearchSortOrder string
    + + +

    List of IncidentSearchSortOrder. + +

    const (
    +    INCIDENTSEARCHSORTORDER_CREATED_ASCENDING  IncidentSearchSortOrder = "created"
    +    INCIDENTSEARCHSORTORDER_CREATED_DESCENDING IncidentSearchSortOrder = "-created"
    +)
    + + + + + + + + + + +

    func NewIncidentSearchSortOrderFromValue + + + +

    +
    func NewIncidentSearchSortOrderFromValue(v string) (*IncidentSearchSortOrder, error)
    +

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

    func (*IncidentSearchSortOrder) GetAllowedValues + + + +

    +
    func (v *IncidentSearchSortOrder) GetAllowedValues() []IncidentSearchSortOrder
    +

    GetAllowedValues reeturns the list of possible values. + + + + + + +

    func (IncidentSearchSortOrder) IsValid + + + +

    +
    func (v IncidentSearchSortOrder) IsValid() bool
    +

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

    func (IncidentSearchSortOrder) Ptr + + + +

    +
    func (v IncidentSearchSortOrder) Ptr() *IncidentSearchSortOrder
    +

    Ptr returns reference to IncidentSearchSortOrder value. + + + + + + +

    func (*IncidentSearchSortOrder) UnmarshalJSON + + + +

    +
    func (v *IncidentSearchSortOrder) UnmarshalJSON(src []byte) error

    UnmarshalJSON deserializes the given payload. @@ -93955,7 +97411,7 @@

    type func NewIncidentsApi +

    func NewIncidentsApi @@ -94052,7 +97508,21 @@

    func (*IncidentsApi) func (*IncidentsApi) UpdateIncident +

    func (*IncidentsApi) SearchIncidents + + + +

    +
    func (a *IncidentsApi) SearchIncidents(ctx _context.Context, query string, o ...SearchIncidentsOptionalParameters) (IncidentSearchResponse, *_nethttp.Response, error)
    +

    SearchIncidents Search for incidents. +Search for incidents matching a certain query. + + + + + + +

    func (*IncidentsApi) UpdateIncident @@ -94066,7 +97536,7 @@

    func (*IncidentsApi) func (*IncidentsApi) UpdateIncidentAttachments +

    func (*IncidentsApi) UpdateIncidentAttachments @@ -129532,6 +133002,238 @@

    func (*NullableIncidentRespo +

    type NullableIncidentSearchResultsType + + + +

    +

    NullableIncidentSearchResultsType handles when a null is used for IncidentSearchResultsType. + +

    type NullableIncidentSearchResultsType struct {
    +    // contains filtered or unexported fields
    +}
    +
    + + + + + + + + + + + +

    func NewNullableIncidentSearchResultsType + + + +

    +
    func NewNullableIncidentSearchResultsType(val *IncidentSearchResultsType) *NullableIncidentSearchResultsType
    +

    NewNullableIncidentSearchResultsType initializes the struct as if Set has been called. + + + + + + + +

    func (NullableIncidentSearchResultsType) Get + + + +

    +
    func (v NullableIncidentSearchResultsType) Get() *IncidentSearchResultsType
    +

    Get returns the associated value. + + + + + + +

    func (NullableIncidentSearchResultsType) IsSet + + + +

    +
    func (v NullableIncidentSearchResultsType) IsSet() bool
    +

    IsSet returns whether Set has been called. + + + + + + +

    func (NullableIncidentSearchResultsType) MarshalJSON + + + +

    +
    func (v NullableIncidentSearchResultsType) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the associated value. + + + + + + +

    func (*NullableIncidentSearchResultsType) Set + + + +

    +
    func (v *NullableIncidentSearchResultsType) Set(val *IncidentSearchResultsType)
    +

    Set changes the value and indicates it's been called. + + + + + + +

    func (*NullableIncidentSearchResultsType) UnmarshalJSON + + + +

    +
    func (v *NullableIncidentSearchResultsType) UnmarshalJSON(src []byte) error
    +

    UnmarshalJSON deserializes the payload and sets the flag as if Set has been called. + + + + + + +

    func (*NullableIncidentSearchResultsType) Unset + + + +

    +
    func (v *NullableIncidentSearchResultsType) Unset()
    +

    Unset sets the value to nil and resets the set flag. + + + + + + + + +

    type NullableIncidentSearchSortOrder + + + +

    +

    NullableIncidentSearchSortOrder handles when a null is used for IncidentSearchSortOrder. + +

    type NullableIncidentSearchSortOrder struct {
    +    // contains filtered or unexported fields
    +}
    +
    + + + + + + + + + + + +

    func NewNullableIncidentSearchSortOrder + + + +

    +
    func NewNullableIncidentSearchSortOrder(val *IncidentSearchSortOrder) *NullableIncidentSearchSortOrder
    +

    NewNullableIncidentSearchSortOrder initializes the struct as if Set has been called. + + + + + + + +

    func (NullableIncidentSearchSortOrder) Get + + + +

    +
    func (v NullableIncidentSearchSortOrder) Get() *IncidentSearchSortOrder
    +

    Get returns the associated value. + + + + + + +

    func (NullableIncidentSearchSortOrder) IsSet + + + +

    +
    func (v NullableIncidentSearchSortOrder) IsSet() bool
    +

    IsSet returns whether Set has been called. + + + + + + +

    func (NullableIncidentSearchSortOrder) MarshalJSON + + + +

    +
    func (v NullableIncidentSearchSortOrder) MarshalJSON() ([]byte, error)
    +

    MarshalJSON serializes the associated value. + + + + + + +

    func (*NullableIncidentSearchSortOrder) Set + + + +

    +
    func (v *NullableIncidentSearchSortOrder) Set(val *IncidentSearchSortOrder)
    +

    Set changes the value and indicates it's been called. + + + + + + +

    func (*NullableIncidentSearchSortOrder) UnmarshalJSON + + + +

    +
    func (v *NullableIncidentSearchSortOrder) UnmarshalJSON(src []byte) error
    +

    UnmarshalJSON deserializes the payload and sets the flag as if Set has been called. + + + + + + +

    func (*NullableIncidentSearchSortOrder) Unset + + + +

    +
    func (v *NullableIncidentSearchSortOrder) Unset()
    +

    Unset sets the value to nil and resets the set flag. + + + + + + + +

    type NullableIncidentServiceIncludedItems @@ -170302,6 +174004,71 @@

    func (*SearchEventsOptionalPara +

    type SearchIncidentsOptionalParameters + + + +

    +

    SearchIncidentsOptionalParameters holds optional parameters for SearchIncidents. + +

    type SearchIncidentsOptionalParameters struct {
    +    Include *IncidentRelatedObject
    +    Sort    *IncidentSearchSortOrder
    +}
    +
    + + + + + + + + + + + +

    func NewSearchIncidentsOptionalParameters + + + +

    +
    func NewSearchIncidentsOptionalParameters() *SearchIncidentsOptionalParameters
    +

    NewSearchIncidentsOptionalParameters creates an empty struct for parameters. + + + + + + + +

    func (*SearchIncidentsOptionalParameters) WithInclude + + + +

    +
    func (r *SearchIncidentsOptionalParameters) WithInclude(include IncidentRelatedObject) *SearchIncidentsOptionalParameters
    +

    WithInclude sets the corresponding parameter name and returns the struct. + + + + + + +

    func (*SearchIncidentsOptionalParameters) WithSort + + + +

    +
    func (r *SearchIncidentsOptionalParameters) WithSort(sort IncidentSearchSortOrder) *SearchIncidentsOptionalParameters
    +

    WithSort sets the corresponding parameter name and returns the struct. + + + + + + + +

    type SearchSecurityMonitoringSignalsOptionalParameters @@ -206827,7 +210594,7 @@

    func (*Unit) type UpdateIncidentAttachmentsOptionalParameters +

    type UpdateIncidentAttachmentsOptionalParameters @@ -206849,7 +210616,7 @@

    type func NewUpdateIncidentAttachmentsOptionalParameters +

    func NewUpdateIncidentAttachmentsOptionalParameters @@ -206863,7 +210630,7 @@

    func func (*UpdateIncidentAttachmentsOptionalParameters) WithInclude +

    func (*UpdateIncidentAttachmentsOptionalParameters) WithInclude @@ -206878,7 +210645,7 @@

    func (*UpdateIn -

    type UpdateIncidentOptionalParameters +

    type UpdateIncidentOptionalParameters @@ -206900,7 +210667,7 @@

    type func NewUpdateIncidentOptionalParameters +

    func NewUpdateIncidentOptionalParameters @@ -206914,7 +210681,7 @@

    func func (*UpdateIncidentOptionalParameters) WithInclude +

    func (*UpdateIncidentOptionalParameters) WithInclude diff --git a/src/github.com/DataDog/datadog-api-client-go/v2/api/datadog/configuration.go.html b/src/github.com/DataDog/datadog-api-client-go/v2/api/datadog/configuration.go.html index 157f2874c99..75ef6ef93a5 100644 --- a/src/github.com/DataDog/datadog-api-client-go/v2/api/datadog/configuration.go.html +++ b/src/github.com/DataDog/datadog-api-client-go/v2/api/datadog/configuration.go.html @@ -424,218 +424,219 @@

    367   "v2.GetIncident": false, 368   "v2.ListIncidentAttachments": false, 369   "v2.ListIncidents": false, - 370   "v2.UpdateIncident": false, - 371   "v2.UpdateIncidentAttachments": false, - 372   "v2.QueryScalarData": false, - 373   "v2.QueryTimeseriesData": false, - 374   "v2.CreateIncidentService": false, - 375   "v2.DeleteIncidentService": false, - 376   "v2.GetIncidentService": false, - 377   "v2.ListIncidentServices": false, - 378   "v2.UpdateIncidentService": false, - 379   "v2.CreateIncidentTeam": false, - 380   "v2.DeleteIncidentTeam": false, - 381   "v2.GetIncidentTeam": false, - 382   "v2.ListIncidentTeams": false, - 383   "v2.UpdateIncidentTeam": false, - 384   }, - 385   } - 386   return cfg - 387  } - 388   - 389  // AddDefaultHeader adds a new HTTP header to the default header in the request. - 390  func (c *Configuration) AddDefaultHeader(key string, value string) { - 391   c.DefaultHeader[key] = value - 392  } - 393   - 394  // URL formats template on a index using given variables. - 395  func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { - 396   if index < 0 || len(sc) <= index { - 397   return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) - 398   } - 399   server := sc[index] - 400   url := server.URL - 401   - 402   // go through variables and replace placeholders - 403   for name, variable := range server.Variables { - 404   if value, ok := variables[name]; ok { - 405   found := bool(len(variable.EnumValues) == 0) - 406   for _, enumValue := range variable.EnumValues { - 407   if value == enumValue { - 408   found = true - 409   } - 410   } - 411   if !found { - 412   return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) - 413   } - 414   url = strings.Replace(url, "{"+name+"}", value, -1) - 415   } else { - 416   url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) - 417   } - 418   } - 419   return url, nil - 420  } - 421   - 422  // ServerURL returns URL based on server settings. - 423  func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { - 424   return c.Servers.URL(index, variables) - 425  } - 426   - 427  func getServerIndex(ctx context.Context) (int, error) { - 428   si := ctx.Value(ContextServerIndex) - 429   if si != nil { - 430   if index, ok := si.(int); ok { - 431   return index, nil - 432   } - 433   return 0, ReportError("invalid type %T should be int", si) - 434   } - 435   return 0, nil - 436  } - 437   - 438  func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { - 439   osi := ctx.Value(ContextOperationServerIndices) - 440   if osi != nil { - 441   operationIndices, ok := osi.(map[string]int) - 442   if !ok { - 443   return 0, ReportError("invalid type %T should be map[string]int", osi) - 444   } - 445   index, ok := operationIndices[endpoint] - 446   if ok { - 447   return index, nil - 448   } - 449   } - 450   return getServerIndex(ctx) - 451  } - 452   - 453  func getServerVariables(ctx context.Context) (map[string]string, error) { - 454   sv := ctx.Value(ContextServerVariables) - 455   if sv != nil { - 456   if variables, ok := sv.(map[string]string); ok { - 457   return variables, nil - 458   } - 459   return nil, ReportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) - 460   } - 461   return nil, nil - 462  } - 463   - 464  func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { - 465   osv := ctx.Value(ContextOperationServerVariables) - 466   if osv != nil { - 467   operationVariables, ok := osv.(map[string]map[string]string) - 468   if !ok { - 469   return nil, ReportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) - 470   } - 471   variables, ok := operationVariables[endpoint] - 472   if ok { - 473   return variables, nil - 474   } - 475   } - 476   return getServerVariables(ctx) - 477  } - 478   - 479  // ServerURLWithContext returns a new server URL given an endpoint. - 480  func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { - 481   sc, ok := c.OperationServers[endpoint] - 482   if !ok { - 483   sc = c.Servers - 484   } - 485   - 486   if ctx == nil { - 487   return sc.URL(0, nil) - 488   } - 489   - 490   index, err := getServerOperationIndex(ctx, endpoint) - 491   if err != nil { - 492   return "", err - 493   } - 494   - 495   variables, err := getServerOperationVariables(ctx, endpoint) - 496   if err != nil { - 497   return "", err - 498   } - 499   - 500   return sc.URL(index, variables) - 501  } - 502   - 503  // GetUnstableOperations returns a slice with all unstable operation Ids. - 504  func (c *Configuration) GetUnstableOperations() []string { - 505   ids := make([]string, len(c.unstableOperations)) - 506   for id := range c.unstableOperations { - 507   ids = append(ids, id) - 508   } - 509   return ids - 510  } - 511   - 512  // SetUnstableOperationEnabled sets an unstable operation as enabled (true) or disabled (false). - 513  // This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" - 514  // Returns true if the operation is marked as unstable and thus was enabled/disabled, false otherwise. - 515  func (c *Configuration) SetUnstableOperationEnabled(operation string, enabled bool) bool { - 516   if _, ok := c.unstableOperations[operation]; ok { - 517   c.unstableOperations[operation] = enabled - 518   return true - 519   } - 520   log.Printf("WARNING: '%s' is not an unstable operation, can't enable/disable", operation) - 521   return false - 522  } - 523   - 524  // IsUnstableOperation determines whether an operation is an unstable operation. - 525  // This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo". - 526  func (c *Configuration) IsUnstableOperation(operation string) bool { - 527   _, present := c.unstableOperations[operation] - 528   return present - 529  } - 530   - 531  // IsUnstableOperationEnabled determines whether an unstable operation is enabled. - 532  // This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" - 533  // Returns true if the operation is unstable and it is enabled, false otherwise. - 534  func (c *Configuration) IsUnstableOperationEnabled(operation string) bool { - 535   if enabled, present := c.unstableOperations[operation]; present { - 536   return enabled - 537   } - 538   log.Printf("WARNING: '%s' is not an unstable operation, is always enabled", operation) - 539   return false - 540  } - 541   - 542  func getUserAgent() string { - 543   return fmt.Sprintf( - 544   "datadog-api-client-go/%s (go %s; os %s; arch %s)", - 545   client.Version, - 546   runtime.Version(), - 547   runtime.GOOS, - 548   runtime.GOARCH, - 549   ) - 550  } - 551   - 552  // NewDefaultContext returns a new context setup with environment variables. - 553  func NewDefaultContext(ctx context.Context) context.Context { - 554   if ctx == nil { - 555   ctx = context.Background() - 556   } - 557   - 558   if site, ok := os.LookupEnv("DD_SITE"); ok { - 559   ctx = context.WithValue( - 560   ctx, - 561   ContextServerVariables, - 562   map[string]string{"site": site}, - 563   ) - 564   } - 565   - 566   keys := make(map[string]APIKey) - 567   if apiKey, ok := os.LookupEnv("DD_API_KEY"); ok { - 568   keys["apiKeyAuth"] = APIKey{Key: apiKey} - 569   } - 570   if apiKey, ok := os.LookupEnv("DD_APP_KEY"); ok { - 571   keys["appKeyAuth"] = APIKey{Key: apiKey} - 572   } - 573   ctx = context.WithValue( - 574   ctx, - 575   ContextAPIKeys, - 576   keys, - 577   ) - 578   - 579   return ctx - 580  } - 581   + 370   "v2.SearchIncidents": false, + 371   "v2.UpdateIncident": false, + 372   "v2.UpdateIncidentAttachments": false, + 373   "v2.QueryScalarData": false, + 374   "v2.QueryTimeseriesData": false, + 375   "v2.CreateIncidentService": false, + 376   "v2.DeleteIncidentService": false, + 377   "v2.GetIncidentService": false, + 378   "v2.ListIncidentServices": false, + 379   "v2.UpdateIncidentService": false, + 380   "v2.CreateIncidentTeam": false, + 381   "v2.DeleteIncidentTeam": false, + 382   "v2.GetIncidentTeam": false, + 383   "v2.ListIncidentTeams": false, + 384   "v2.UpdateIncidentTeam": false, + 385   }, + 386   } + 387   return cfg + 388  } + 389   + 390  // AddDefaultHeader adds a new HTTP header to the default header in the request. + 391  func (c *Configuration) AddDefaultHeader(key string, value string) { + 392   c.DefaultHeader[key] = value + 393  } + 394   + 395  // URL formats template on a index using given variables. + 396  func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + 397   if index < 0 || len(sc) <= index { + 398   return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + 399   } + 400   server := sc[index] + 401   url := server.URL + 402   + 403   // go through variables and replace placeholders + 404   for name, variable := range server.Variables { + 405   if value, ok := variables[name]; ok { + 406   found := bool(len(variable.EnumValues) == 0) + 407   for _, enumValue := range variable.EnumValues { + 408   if value == enumValue { + 409   found = true + 410   } + 411   } + 412   if !found { + 413   return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + 414   } + 415   url = strings.Replace(url, "{"+name+"}", value, -1) + 416   } else { + 417   url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + 418   } + 419   } + 420   return url, nil + 421  } + 422   + 423  // ServerURL returns URL based on server settings. + 424  func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + 425   return c.Servers.URL(index, variables) + 426  } + 427   + 428  func getServerIndex(ctx context.Context) (int, error) { + 429   si := ctx.Value(ContextServerIndex) + 430   if si != nil { + 431   if index, ok := si.(int); ok { + 432   return index, nil + 433   } + 434   return 0, ReportError("invalid type %T should be int", si) + 435   } + 436   return 0, nil + 437  } + 438   + 439  func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + 440   osi := ctx.Value(ContextOperationServerIndices) + 441   if osi != nil { + 442   operationIndices, ok := osi.(map[string]int) + 443   if !ok { + 444   return 0, ReportError("invalid type %T should be map[string]int", osi) + 445   } + 446   index, ok := operationIndices[endpoint] + 447   if ok { + 448   return index, nil + 449   } + 450   } + 451   return getServerIndex(ctx) + 452  } + 453   + 454  func getServerVariables(ctx context.Context) (map[string]string, error) { + 455   sv := ctx.Value(ContextServerVariables) + 456   if sv != nil { + 457   if variables, ok := sv.(map[string]string); ok { + 458   return variables, nil + 459   } + 460   return nil, ReportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + 461   } + 462   return nil, nil + 463  } + 464   + 465  func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + 466   osv := ctx.Value(ContextOperationServerVariables) + 467   if osv != nil { + 468   operationVariables, ok := osv.(map[string]map[string]string) + 469   if !ok { + 470   return nil, ReportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + 471   } + 472   variables, ok := operationVariables[endpoint] + 473   if ok { + 474   return variables, nil + 475   } + 476   } + 477   return getServerVariables(ctx) + 478  } + 479   + 480  // ServerURLWithContext returns a new server URL given an endpoint. + 481  func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + 482   sc, ok := c.OperationServers[endpoint] + 483   if !ok { + 484   sc = c.Servers + 485   } + 486   + 487   if ctx == nil { + 488   return sc.URL(0, nil) + 489   } + 490   + 491   index, err := getServerOperationIndex(ctx, endpoint) + 492   if err != nil { + 493   return "", err + 494   } + 495   + 496   variables, err := getServerOperationVariables(ctx, endpoint) + 497   if err != nil { + 498   return "", err + 499   } + 500   + 501   return sc.URL(index, variables) + 502  } + 503   + 504  // GetUnstableOperations returns a slice with all unstable operation Ids. + 505  func (c *Configuration) GetUnstableOperations() []string { + 506   ids := make([]string, len(c.unstableOperations)) + 507   for id := range c.unstableOperations { + 508   ids = append(ids, id) + 509   } + 510   return ids + 511  } + 512   + 513  // SetUnstableOperationEnabled sets an unstable operation as enabled (true) or disabled (false). + 514  // This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" + 515  // Returns true if the operation is marked as unstable and thus was enabled/disabled, false otherwise. + 516  func (c *Configuration) SetUnstableOperationEnabled(operation string, enabled bool) bool { + 517   if _, ok := c.unstableOperations[operation]; ok { + 518   c.unstableOperations[operation] = enabled + 519   return true + 520   } + 521   log.Printf("WARNING: '%s' is not an unstable operation, can't enable/disable", operation) + 522   return false + 523  } + 524   + 525  // IsUnstableOperation determines whether an operation is an unstable operation. + 526  // This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo". + 527  func (c *Configuration) IsUnstableOperation(operation string) bool { + 528   _, present := c.unstableOperations[operation] + 529   return present + 530  } + 531   + 532  // IsUnstableOperationEnabled determines whether an unstable operation is enabled. + 533  // This function accepts operation ID as an argument - this is the name of the method on the API class, e.g. "CreateFoo" + 534  // Returns true if the operation is unstable and it is enabled, false otherwise. + 535  func (c *Configuration) IsUnstableOperationEnabled(operation string) bool { + 536   if enabled, present := c.unstableOperations[operation]; present { + 537   return enabled + 538   } + 539   log.Printf("WARNING: '%s' is not an unstable operation, is always enabled", operation) + 540   return false + 541  } + 542   + 543  func getUserAgent() string { + 544   return fmt.Sprintf( + 545   "datadog-api-client-go/%s (go %s; os %s; arch %s)", + 546   client.Version, + 547   runtime.Version(), + 548   runtime.GOOS, + 549   runtime.GOARCH, + 550   ) + 551  } + 552   + 553  // NewDefaultContext returns a new context setup with environment variables. + 554  func NewDefaultContext(ctx context.Context) context.Context { + 555   if ctx == nil { + 556   ctx = context.Background() + 557   } + 558   + 559   if site, ok := os.LookupEnv("DD_SITE"); ok { + 560   ctx = context.WithValue( + 561   ctx, + 562   ContextServerVariables, + 563   map[string]string{"site": site}, + 564   ) + 565   } + 566   + 567   keys := make(map[string]APIKey) + 568   if apiKey, ok := os.LookupEnv("DD_API_KEY"); ok { + 569   keys["apiKeyAuth"] = APIKey{Key: apiKey} + 570   } + 571   if apiKey, ok := os.LookupEnv("DD_APP_KEY"); ok { + 572   keys["appKeyAuth"] = APIKey{Key: apiKey} + 573   } + 574   ctx = context.WithValue( + 575   ctx, + 576   ContextAPIKeys, + 577   keys, + 578   ) + 579   + 580   return ctx + 581  } + 582