Package com.datadog.api.client.v2.model
Class UpdateCampaignRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.UpdateCampaignRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UpdateCampaignRequestAttributes
extends Object
Attributes for updating a campaign.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUpdateCampaignRequestAttributes(String name, String ownerId, List<String> ruleIds, OffsetDateTime startDate, String status) -
Method Summary
Modifier and TypeMethodDescriptionaddRuleIdsItem(String ruleIdsItem) description(String description) dueDate(OffsetDateTime dueDate) entityScope(String entityScope) booleanReturn true if this UpdateCampaignRequestAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The description of the campaign.The due date of the campaign.Entity scope query to filter entities for this campaign.Guidance for the campaign.getKey()The unique key for the campaign.getName()The name of the campaign.The UUID of the campaign owner.Array of rule IDs associated with this campaign.The start date of the campaign.The status of the campaign.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetDueDate(OffsetDateTime dueDate) voidsetEntityScope(String entityScope) voidsetGuidance(String guidance) voidvoidvoidsetOwnerId(String ownerId) voidsetRuleIds(List<String> ruleIds) voidsetStartDate(OffsetDateTime startDate) voidstartDate(OffsetDateTime startDate) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DUE_DATE
- See Also:
-
JSON_PROPERTY_ENTITY_SCOPE
- See Also:
-
JSON_PROPERTY_GUIDANCE
- See Also:
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OWNER_ID
- See Also:
-
JSON_PROPERTY_RULE_IDS
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
UpdateCampaignRequestAttributes
public UpdateCampaignRequestAttributes() -
UpdateCampaignRequestAttributes
-
-
Method Details
-
description
-
getDescription
The description of the campaign.- Returns:
- description
-
setDescription
-
dueDate
-
getDueDate
The due date of the campaign.- Returns:
- dueDate
-
setDueDate
-
entityScope
-
getEntityScope
Entity scope query to filter entities for this campaign.- Returns:
- entityScope
-
setEntityScope
-
guidance
-
getGuidance
Guidance for the campaign.- Returns:
- guidance
-
setGuidance
-
key
-
getKey
The unique key for the campaign.- Returns:
- key
-
setKey
-
name
-
getName
The name of the campaign.- Returns:
- name
-
setName
-
ownerId
-
getOwnerId
The UUID of the campaign owner.- Returns:
- ownerId
-
setOwnerId
-
ruleIds
-
addRuleIdsItem
-
getRuleIds
Array of rule IDs associated with this campaign.- Returns:
- ruleIds
-
setRuleIds
-
startDate
-
getStartDate
The start date of the campaign.- Returns:
- startDate
-
setStartDate
-
status
-
getStatus
The status of the campaign.- Returns:
- status
-
setStatus
-
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:
- UpdateCampaignRequestAttributes
-
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 UpdateCampaignRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-