java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.callrecords.models.Segment
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Segment extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Segment.
  • Field Details

    • callee

      @SerializedName(value="callee", alternate="Callee") @Expose @Nullable public Endpoint callee
      The Callee. Endpoint that answered this segment.
    • caller

      @SerializedName(value="caller", alternate="Caller") @Expose @Nullable public Endpoint caller
      The Caller. Endpoint that initiated this segment.
    • endDateTime

      @SerializedName(value="endDateTime", alternate="EndDateTime") @Expose @Nullable public OffsetDateTime endDateTime
      The End Date Time. UTC time when the segment ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
    • failureInfo

      @SerializedName(value="failureInfo", alternate="FailureInfo") @Expose @Nullable public FailureInfo failureInfo
      The Failure Info. Failure information associated with the segment if it failed.
    • media

      @SerializedName(value="media", alternate="Media") @Expose @Nullable public List<Media> media
      The Media. Media associated with this segment.
    • startDateTime

      @SerializedName(value="startDateTime", alternate="StartDateTime") @Expose @Nullable public OffsetDateTime startDateTime
      The Start Date Time. UTC time when the segment started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
  • Constructor Details

    • Segment

      public Segment()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to