Class SlaApplied


  • public final class SlaApplied
    extends java.lang.Object
    • Method Detail

      • getType

        public java.util.Optional<java.lang.String> getType()
        Returns:
        object type
      • getSlaName

        public java.util.Optional<java.lang.String> getSlaName()
        Returns:
        The name of the SLA as given by the teammate when it was created.
      • getSlaStatus

        public java.util.Optional<SlaApplied.SlaStatus> getSlaStatus()
        Returns:
        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.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object