Class SlaApplied.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.SlaApplied.Builder
-
- Enclosing class:
- SlaApplied
public static final class SlaApplied.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlaAppliedbuild()SlaApplied.Builderfrom(SlaApplied other)SlaApplied.BuilderslaName(java.lang.String slaName)SlaApplied.BuilderslaName(java.util.Optional<java.lang.String> slaName)The name of the SLA as given by the teammate when it was created.SlaApplied.BuilderslaStatus(SlaApplied.SlaStatus slaStatus)SlaApplied.BuilderslaStatus(java.util.Optional<SlaApplied.SlaStatus> slaStatus)SLA statuses: -hit: If there’s at least one hit event in the underlying sla_events table, and no “missed” or “canceled” events for the conversation.SlaApplied.Buildertype(java.lang.String type)SlaApplied.Buildertype(java.util.Optional<java.lang.String> type)object type
-
-
-
Method Detail
-
from
public SlaApplied.Builder from(SlaApplied other)
-
type
public SlaApplied.Builder type(java.util.Optional<java.lang.String> type)
object type
-
type
public SlaApplied.Builder type(java.lang.String type)
-
slaName
public SlaApplied.Builder slaName(java.util.Optional<java.lang.String> slaName)
The name of the SLA as given by the teammate when it was created.
-
slaName
public SlaApplied.Builder slaName(java.lang.String slaName)
-
slaStatus
public SlaApplied.Builder slaStatus(java.util.Optional<SlaApplied.SlaStatus> slaStatus)
SLA statuses: -
hit: If there’s at least one hit event in the underlying sla_events table, and no “missed” or “canceled” events for the conversation. -missed: If there are any missed sla_events for the conversation and no canceled events. If there’s even a single missed sla event, the status will always be missed. A missed status is not applied when the SLA expires, only the next time a teammate replies. -active: An SLA has been applied to a conversation, but has not yet been fulfilled. SLA status is active only if there are no “hit, “missed”, or “canceled” events.
-
slaStatus
public SlaApplied.Builder slaStatus(SlaApplied.SlaStatus slaStatus)
-
build
public SlaApplied build()
-
-