Class RepeatabilityHeaders

java.lang.Object
com.azure.communication.callautomation.models.RepeatabilityHeaders

public final class RepeatabilityHeaders extends Object
The Repeatability Headers.
  • Constructor Details

    • RepeatabilityHeaders

      public RepeatabilityHeaders(UUID repeatabilityRequestId, Instant repeatabilityFirstSent)
      Constructor
      Parameters:
      repeatabilityRequestId - The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID.
      repeatabilityFirstSent - The value should be the date and time at which the request was first created.
  • Method Details

    • getRepeatabilityRequestId

      public UUID getRepeatabilityRequestId()
      Get the repeatabilityRequestId : The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID.
      Returns:
      the repeatabilityRequestId.
    • getRepeatabilityFirstSentInHttpDateFormat

      public String getRepeatabilityFirstSentInHttpDateFormat()
      Get the repeatabilityFirstSent in IMF-fixdate form of HTTP-date format.
      Returns:
      the repeatabilityFirstSent in a string with IMF-fixdate form of HTTP-date format.
    • getRepeatabilityFirstSent

      public Instant getRepeatabilityFirstSent()
      Get the repeatabilityFirstSent : The value should be the date and time at which the request was first created.
      Returns:
      the repeatabilityFirstSent.