Package com.datadog.api.client.v2.model
Class TicketCreationRuleActionResponse
java.lang.Object
com.datadog.api.client.v2.model.TicketCreationRuleActionResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TicketCreationRuleActionResponse
extends Object
The action to take when the ticket creation rule matches a finding.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTicketCreationRuleActionResponse(Long maxTicketsPerDay, UUID projectId, TicketCreationTarget target) -
Method Summary
Modifier and TypeMethodDescriptionassigneeId(UUID assigneeId) autoDisabledReason(String autoDisabledReason) booleanReturn true if this TicketCreationRuleActionResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The UUID of the default assignee for created tickets.The reason the rule was automatically disabled by the system due to a ticketing integration error.Target-specific fields of the ticket to create.The maximum number of tickets the rule may create per day.The UUID of the case management project.The ticketing system to create tickets in.inthashCode()maxTicketsPerDay(Long maxTicketsPerDay) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAssigneeId(UUID assigneeId) voidsetAutoDisabledReason(String autoDisabledReason) voidvoidsetMaxTicketsPerDay(Long maxTicketsPerDay) voidsetProjectId(UUID projectId) voidsetTarget(TicketCreationTarget target) target(TicketCreationTarget target) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSIGNEE_ID
- See Also:
-
JSON_PROPERTY_AUTO_DISABLED_REASON
- See Also:
-
JSON_PROPERTY_FIELDS
- See Also:
-
JSON_PROPERTY_MAX_TICKETS_PER_DAY
- See Also:
-
JSON_PROPERTY_PROJECT_ID
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
-
Constructor Details
-
TicketCreationRuleActionResponse
public TicketCreationRuleActionResponse() -
TicketCreationRuleActionResponse
public TicketCreationRuleActionResponse(Long maxTicketsPerDay, UUID projectId, TicketCreationTarget target)
-
-
Method Details
-
assigneeId
-
getAssigneeId
The UUID of the default assignee for created tickets.- Returns:
- assigneeId
-
setAssigneeId
-
autoDisabledReason
-
getAutoDisabledReason
The reason the rule was automatically disabled by the system due to a ticketing integration error.- Returns:
- autoDisabledReason
-
setAutoDisabledReason
-
fields
-
getFields
Target-specific fields of the ticket to create.For
target: jira, the custom fields of the Jira issue. For the list of available fields, see Jira documentation.For
target: linear, the optional keyslinear_project_id(string, the identifier of the Linear project the issue is created in) andlinear_label_ids(array of strings, the identifiers of the Linear labels applied to the issue).- Returns:
- fields
-
setFields
-
maxTicketsPerDay
-
getMaxTicketsPerDay
The maximum number of tickets the rule may create per day. If exceeded, one final ticket will be created, explaining the limit was hit and link back to the responsible rule. minimum: 1 maximum: 500- Returns:
- maxTicketsPerDay
-
setMaxTicketsPerDay
-
projectId
-
getProjectId
The UUID of the case management project.- Returns:
- projectId
-
setProjectId
-
target
-
getTarget
The ticketing system to create tickets in.- Returns:
- target
-
setTarget
-
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:
- TicketCreationRuleActionResponse
-
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 TicketCreationRuleActionResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-