Package com.datadog.api.client.v2.model
Class OwnershipHistoryAttributes
java.lang.Object
com.datadog.api.client.v2.model.OwnershipHistoryAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OwnershipHistoryAttributes
extends Object
The attributes of an ownership history response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOwnershipHistoryAttributes(List<OwnershipHistoryItem> items, OwnershipHistoryPagination pagination) -
Method Summary
Modifier and TypeMethodDescriptionaddItemsItem(OwnershipHistoryItem itemsItem) booleanReturn true if this OwnershipHistoryAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getItems()The list of history entries returned for this page.Cursor-based pagination metadata for the history response.inthashCode()items(List<OwnershipHistoryItem> items) pagination(OwnershipHistoryPagination pagination) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetItems(List<OwnershipHistoryItem> items) voidsetPagination(OwnershipHistoryPagination pagination) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ITEMS
- See Also:
-
JSON_PROPERTY_PAGINATION
- See Also:
-
-
Constructor Details
-
OwnershipHistoryAttributes
public OwnershipHistoryAttributes() -
OwnershipHistoryAttributes
public OwnershipHistoryAttributes(List<OwnershipHistoryItem> items, OwnershipHistoryPagination pagination)
-
-
Method Details
-
items
-
addItemsItem
-
getItems
The list of history entries returned for this page.- Returns:
- items
-
setItems
-
pagination
-
getPagination
Cursor-based pagination metadata for the history response.- Returns:
- pagination
-
setPagination
-
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:
- OwnershipHistoryAttributes
-
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 OwnershipHistoryAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-