Package com.datadog.api.client.v2.model
Class SampleLogGenerationBulkSubscriptionResultItem
java.lang.Object
com.datadog.api.client.v2.model.SampleLogGenerationBulkSubscriptionResultItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SampleLogGenerationBulkSubscriptionResultItem
extends Object
A single result entry returned by the bulk subscription endpoint.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSampleLogGenerationBulkSubscriptionResultItem(SampleLogGenerationSubscriptionAttributes attributes, String id, SampleLogGenerationBulkSubscriptionItemMeta meta, SampleLogGenerationSubscriptionResourceType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(SampleLogGenerationSubscriptionAttributes attributes) booleanReturn true if this SampleLogGenerationBulkSubscriptionResultItem object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The attributes describing a sample log generation subscription.getId()The unique identifier of the subscription, when one was created.getMeta()Per-item status returned for a bulk subscription request.getType()The type of the resource.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SampleLogGenerationBulkSubscriptionResultItem
public SampleLogGenerationBulkSubscriptionResultItem() -
SampleLogGenerationBulkSubscriptionResultItem
public SampleLogGenerationBulkSubscriptionResultItem(SampleLogGenerationSubscriptionAttributes attributes, String id, SampleLogGenerationBulkSubscriptionItemMeta meta, SampleLogGenerationSubscriptionResourceType type)
-
-
Method Details
-
attributes
public SampleLogGenerationBulkSubscriptionResultItem attributes(SampleLogGenerationSubscriptionAttributes attributes) -
getAttributes
The attributes describing a sample log generation subscription.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The unique identifier of the subscription, when one was created.- Returns:
- id
-
setId
-
meta
-
getMeta
Per-item status returned for a bulk subscription request.- Returns:
- meta
-
setMeta
-
type
-
getType
The type of the resource. The value should always besubscriptions.- Returns:
- type
-
setType
-
putAdditionalProperty
public SampleLogGenerationBulkSubscriptionResultItem putAdditionalProperty(String key, Object value) 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:
- SampleLogGenerationBulkSubscriptionResultItem
-
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 SampleLogGenerationBulkSubscriptionResultItem object is equal to o. -
hashCode
public int hashCode() -
toString
-