Package com.datadog.api.client.v2.model
Class IncidentSearchResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.IncidentSearchResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentSearchResponseAttributes
extends Object
Attributes returned by an incident search.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIncidentSearchResponseAttributes(IncidentSearchResponseFacetsData facets, List<IncidentSearchResponseIncidentsData> incidents, Integer total) -
Method Summary
Modifier and TypeMethodDescriptionaddIncidentsItem(IncidentSearchResponseIncidentsData incidentsItem) booleanReturn true if this IncidentSearchResponseAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Facet data for incidents returned by a search query.Incidents returned by the search.getTotal()Number of incidents returned by the search.inthashCode()incidents(List<IncidentSearchResponseIncidentsData> incidents) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetIncidents(List<IncidentSearchResponseIncidentsData> incidents) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FACETS
- See Also:
-
JSON_PROPERTY_INCIDENTS
- See Also:
-
JSON_PROPERTY_TOTAL
- See Also:
-
-
Constructor Details
-
IncidentSearchResponseAttributes
public IncidentSearchResponseAttributes() -
IncidentSearchResponseAttributes
public IncidentSearchResponseAttributes(IncidentSearchResponseFacetsData facets, List<IncidentSearchResponseIncidentsData> incidents, Integer total)
-
-
Method Details
-
facets
-
getFacets
Facet data for incidents returned by a search query.- Returns:
- facets
-
setFacets
-
incidents
public IncidentSearchResponseAttributes incidents(List<IncidentSearchResponseIncidentsData> incidents) -
addIncidentsItem
public IncidentSearchResponseAttributes addIncidentsItem(IncidentSearchResponseIncidentsData incidentsItem) -
getIncidents
Incidents returned by the search.- Returns:
- incidents
-
setIncidents
-
total
-
getTotal
Number of incidents returned by the search. maximum: 2147483647- Returns:
- total
-
setTotal
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- IncidentSearchResponseAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this IncidentSearchResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-