Class CallRecord

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.callrecords.CallRecord
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class CallRecord extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • CallRecord

      public CallRecord()
      Instantiates a new CallRecord and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static CallRecord createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a CallRecord
    • getEndDateTime

      @Nullable public OffsetDateTime getEndDateTime()
      Gets the endDateTime property value. UTC time when the last user left the call. 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
      Returns:
      a OffsetDateTime
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getJoinWebUrl

      @Nullable public String getJoinWebUrl()
      Gets the joinWebUrl property value. Meeting URL associated to the call. May not be available for a peerToPeer call record type.
      Returns:
      a String
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. UTC time when the call record was created. 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
      Returns:
      a OffsetDateTime
    • getModalities

      @Nullable public List<Modality> getModalities()
      Gets the modalities property value. List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
      Returns:
      a List<Modality>
    • getOrganizer

      @Nullable public IdentitySet getOrganizer()
      Gets the organizer property value. The organizing party's identity. The organizer property is deprecated and will stop returning data on June 30, 2026. Going forward, use the organizer_v2 relationship.
      Returns:
      a IdentitySet
    • getOrganizerV2

      @Nullable public Organizer getOrganizerV2()
      Gets the organizer_v2 property value. Identity of the organizer of the call. This relationship is expanded by default in callRecord methods.
      Returns:
      a Organizer
    • getParticipants

      @Nullable public List<IdentitySet> getParticipants()
      Gets the participants property value. List of distinct identities involved in the call. Limited to 130 entries. The participants property is deprecated and will stop returning data on June 30, 2026. Going forward, use the participants_v2 relationship.
      Returns:
      a List<IdentitySet>
    • getParticipantsV2

      @Nullable public List<Participant> getParticipantsV2()
      Gets the participants_v2 property value. List of distinct participants in the call.
      Returns:
      a List<Participant>
    • getSessions

      @Nullable public List<Session> getSessions()
      Gets the sessions property value. List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable.
      Returns:
      a List<Session>
    • getStartDateTime

      @Nullable public OffsetDateTime getStartDateTime()
      Gets the startDateTime property value. UTC time when the first user joined the call. 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.
      Returns:
      a OffsetDateTime
    • getType

      @Nullable public CallType getType()
      Gets the type property value. The type property
      Returns:
      a CallType
    • getVersion

      @Nullable public Long getVersion()
      Gets the version property value. Monotonically increasing version of the call record. Higher version call records with the same id includes additional data compared to the lower version.
      Returns:
      a Long
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setEndDateTime

      public void setEndDateTime(@Nullable OffsetDateTime value)
      Sets the endDateTime property value. UTC time when the last user left the call. 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
      Parameters:
      value - Value to set for the endDateTime property.
    • setJoinWebUrl

      public void setJoinWebUrl(@Nullable String value)
      Sets the joinWebUrl property value. Meeting URL associated to the call. May not be available for a peerToPeer call record type.
      Parameters:
      value - Value to set for the joinWebUrl property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. UTC time when the call record was created. 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
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setModalities

      public void setModalities(@Nullable List<Modality> value)
      Sets the modalities property value. List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
      Parameters:
      value - Value to set for the modalities property.
    • setOrganizer

      public void setOrganizer(@Nullable IdentitySet value)
      Sets the organizer property value. The organizing party's identity. The organizer property is deprecated and will stop returning data on June 30, 2026. Going forward, use the organizer_v2 relationship.
      Parameters:
      value - Value to set for the organizer property.
    • setOrganizerV2

      public void setOrganizerV2(@Nullable Organizer value)
      Sets the organizer_v2 property value. Identity of the organizer of the call. This relationship is expanded by default in callRecord methods.
      Parameters:
      value - Value to set for the organizer_v2 property.
    • setParticipants

      public void setParticipants(@Nullable List<IdentitySet> value)
      Sets the participants property value. List of distinct identities involved in the call. Limited to 130 entries. The participants property is deprecated and will stop returning data on June 30, 2026. Going forward, use the participants_v2 relationship.
      Parameters:
      value - Value to set for the participants property.
    • setParticipantsV2

      public void setParticipantsV2(@Nullable List<Participant> value)
      Sets the participants_v2 property value. List of distinct participants in the call.
      Parameters:
      value - Value to set for the participants_v2 property.
    • setSessions

      public void setSessions(@Nullable List<Session> value)
      Sets the sessions property value. List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable.
      Parameters:
      value - Value to set for the sessions property.
    • setStartDateTime

      public void setStartDateTime(@Nullable OffsetDateTime value)
      Sets the startDateTime property value. UTC time when the first user joined the call. 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.
      Parameters:
      value - Value to set for the startDateTime property.
    • setType

      public void setType(@Nullable CallType value)
      Sets the type property value. The type property
      Parameters:
      value - Value to set for the type property.
    • setVersion

      public void setVersion(@Nullable Long value)
      Sets the version property value. Monotonically increasing version of the call record. Higher version call records with the same id includes additional data compared to the lower version.
      Parameters:
      value - Value to set for the version property.