Package com.datadog.api.client.v2.model
Class TicketCreationRuleAction
java.lang.Object
com.datadog.api.client.v2.model.TicketCreationRuleAction
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TicketCreationRuleAction
extends Object
The action to take when the ticket creation rule matches a finding.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTicketCreationRuleAction(Long maxTicketsPerDay, UUID projectId, TicketCreationTarget target) -
Method Summary
Modifier and TypeMethodDescriptionassigneeId(UUID assigneeId) booleanReturn true if this TicketCreationRuleAction 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.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) 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_FIELDS
- See Also:
-
JSON_PROPERTY_MAX_TICKETS_PER_DAY
- See Also:
-
JSON_PROPERTY_PROJECT_ID
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
-
Constructor Details
-
TicketCreationRuleAction
public TicketCreationRuleAction() -
TicketCreationRuleAction
-
-
Method Details
-
assigneeId
-
getAssigneeId
The UUID of the default assignee for created tickets.- Returns:
- assigneeId
-
setAssigneeId
-
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:
- TicketCreationRuleAction
-
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 TicketCreationRuleAction object is equal to o. -
hashCode
public int hashCode() -
toString
-