Package com.datadog.api.client.v2.model
Class WidgetRelationships
java.lang.Object
com.datadog.api.client.v2.model.WidgetRelationships
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WidgetRelationships
extends Object
Relationships of the widget resource.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedBy(WidgetRelationshipItem createdBy) booleanReturn true if this WidgetRelationships object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A JSON:API relationship to a user.A JSON:API relationship to a user.inthashCode()modifiedBy(WidgetRelationshipItem modifiedBy) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedBy(WidgetRelationshipItem createdBy) voidsetModifiedBy(WidgetRelationshipItem modifiedBy) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_MODIFIED_BY
- See Also:
-
-
Constructor Details
-
WidgetRelationships
public WidgetRelationships()
-
-
Method Details
-
createdBy
-
getCreatedBy
A JSON:API relationship to a user.- Returns:
- createdBy
-
setCreatedBy
-
modifiedBy
-
getModifiedBy
A JSON:API relationship to a user.- Returns:
- modifiedBy
-
setModifiedBy
-
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:
- WidgetRelationships
-
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 WidgetRelationships object is equal to o. -
hashCode
public int hashCode() -
toString
-