Class Call

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

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

    • Call

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

    • createFromDiscriminatorValue

      @Nonnull public static Call 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 Call
    • getAudioRoutingGroups

      @Nullable public List<AudioRoutingGroup> getAudioRoutingGroups()
      Gets the audioRoutingGroups property value. The audioRoutingGroups property
      Returns:
      a List<AudioRoutingGroup>
    • getCallbackUri

      @Nullable public String getCallbackUri()
      Gets the callbackUri property value. The callback URL on which callbacks are delivered. Must be an HTTPS URL.
      Returns:
      a String
    • getCallChainId

      @Nullable public String getCallChainId()
      Gets the callChainId property value. A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This identifier must be copied over from Microsoft.Graph.Call.CallChainId.
      Returns:
      a String
    • getCallOptions

      @Nullable public CallOptions getCallOptions()
      Gets the callOptions property value. Contains the optional features for the call.
      Returns:
      a CallOptions
    • getCallRoutes

      @Nullable public List<CallRoute> getCallRoutes()
      Gets the callRoutes property value. The routing information on how the call was retargeted. Read-only.
      Returns:
      a List<CallRoute>
    • getChatInfo

      @Nullable public ChatInfo getChatInfo()
      Gets the chatInfo property value. The chat information. Required information for joining a meeting.
      Returns:
      a ChatInfo
    • getContentSharingSessions

      @Nullable public List<ContentSharingSession> getContentSharingSessions()
      Gets the contentSharingSessions property value. The contentSharingSessions property
      Returns:
      a List<ContentSharingSession>
    • getDirection

      @Nullable public CallDirection getDirection()
      Gets the direction property value. The direction of the call. The possible values are incoming or outgoing. Read-only.
      Returns:
      a CallDirection
    • 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>>
    • getIncomingContext

      @Nullable public IncomingContext getIncomingContext()
      Gets the incomingContext property value. Call context associated with an incoming call.
      Returns:
      a IncomingContext
    • getMediaConfig

      @Nullable public MediaConfig getMediaConfig()
      Gets the mediaConfig property value. The media configuration. Required.
      Returns:
      a MediaConfig
    • getMediaState

      @Nullable public CallMediaState getMediaState()
      Gets the mediaState property value. Read-only. The call media state.
      Returns:
      a CallMediaState
    • getMeetingInfo

      @Nullable public MeetingInfo getMeetingInfo()
      Gets the meetingInfo property value. The meeting information. Required information for meeting scenarios.
      Returns:
      a MeetingInfo
    • getMyParticipantId

      @Nullable public String getMyParticipantId()
      Gets the myParticipantId property value. The myParticipantId property
      Returns:
      a String
    • getOperations

      @Nullable public List<CommsOperation> getOperations()
      Gets the operations property value. The operations property
      Returns:
      a List<CommsOperation>
    • getParticipants

      @Nullable public List<Participant> getParticipants()
      Gets the participants property value. The participants property
      Returns:
      a List<Participant>
    • getRequestedModalities

      @Nullable public List<Modality> getRequestedModalities()
      Gets the requestedModalities property value. The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data.
      Returns:
      a List<Modality>
    • getResultInfo

      @Nullable public ResultInfo getResultInfo()
      Gets the resultInfo property value. The result information. For example, the result can hold termination reason. Read-only.
      Returns:
      a ResultInfo
    • getSource

      @Nullable public ParticipantInfo getSource()
      Gets the source property value. The originator of the call.
      Returns:
      a ParticipantInfo
    • getState

      @Nullable public CallState getState()
      Gets the state property value. The call state. Possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only.
      Returns:
      a CallState
    • getSubject

      @Nullable public String getSubject()
      Gets the subject property value. The subject of the conversation.
      Returns:
      a String
    • getTargets

      @Nullable public List<InvitationParticipantInfo> getTargets()
      Gets the targets property value. The targets of the call. Required information for creating peer to peer call.
      Returns:
      a List<InvitationParticipantInfo>
    • getTenantId

      @Nullable public String getTenantId()
      Gets the tenantId property value. The tenantId property
      Returns:
      a String
    • getToneInfo

      @Nullable public ToneInfo getToneInfo()
      Gets the toneInfo property value. The toneInfo property
      Returns:
      a ToneInfo
    • getTranscription

      @Nullable public CallTranscriptionInfo getTranscription()
      Gets the transcription property value. The transcription information for the call. Read-only.
      Returns:
      a CallTranscriptionInfo
    • 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
    • setAudioRoutingGroups

      public void setAudioRoutingGroups(@Nullable List<AudioRoutingGroup> value)
      Sets the audioRoutingGroups property value. The audioRoutingGroups property
      Parameters:
      value - Value to set for the audioRoutingGroups property.
    • setCallbackUri

      public void setCallbackUri(@Nullable String value)
      Sets the callbackUri property value. The callback URL on which callbacks are delivered. Must be an HTTPS URL.
      Parameters:
      value - Value to set for the callbackUri property.
    • setCallChainId

      public void setCallChainId(@Nullable String value)
      Sets the callChainId property value. A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This identifier must be copied over from Microsoft.Graph.Call.CallChainId.
      Parameters:
      value - Value to set for the callChainId property.
    • setCallOptions

      public void setCallOptions(@Nullable CallOptions value)
      Sets the callOptions property value. Contains the optional features for the call.
      Parameters:
      value - Value to set for the callOptions property.
    • setCallRoutes

      public void setCallRoutes(@Nullable List<CallRoute> value)
      Sets the callRoutes property value. The routing information on how the call was retargeted. Read-only.
      Parameters:
      value - Value to set for the callRoutes property.
    • setChatInfo

      public void setChatInfo(@Nullable ChatInfo value)
      Sets the chatInfo property value. The chat information. Required information for joining a meeting.
      Parameters:
      value - Value to set for the chatInfo property.
    • setContentSharingSessions

      public void setContentSharingSessions(@Nullable List<ContentSharingSession> value)
      Sets the contentSharingSessions property value. The contentSharingSessions property
      Parameters:
      value - Value to set for the contentSharingSessions property.
    • setDirection

      public void setDirection(@Nullable CallDirection value)
      Sets the direction property value. The direction of the call. The possible values are incoming or outgoing. Read-only.
      Parameters:
      value - Value to set for the direction property.
    • setIncomingContext

      public void setIncomingContext(@Nullable IncomingContext value)
      Sets the incomingContext property value. Call context associated with an incoming call.
      Parameters:
      value - Value to set for the incomingContext property.
    • setMediaConfig

      public void setMediaConfig(@Nullable MediaConfig value)
      Sets the mediaConfig property value. The media configuration. Required.
      Parameters:
      value - Value to set for the mediaConfig property.
    • setMediaState

      public void setMediaState(@Nullable CallMediaState value)
      Sets the mediaState property value. Read-only. The call media state.
      Parameters:
      value - Value to set for the mediaState property.
    • setMeetingInfo

      public void setMeetingInfo(@Nullable MeetingInfo value)
      Sets the meetingInfo property value. The meeting information. Required information for meeting scenarios.
      Parameters:
      value - Value to set for the meetingInfo property.
    • setMyParticipantId

      public void setMyParticipantId(@Nullable String value)
      Sets the myParticipantId property value. The myParticipantId property
      Parameters:
      value - Value to set for the myParticipantId property.
    • setOperations

      public void setOperations(@Nullable List<CommsOperation> value)
      Sets the operations property value. The operations property
      Parameters:
      value - Value to set for the operations property.
    • setParticipants

      public void setParticipants(@Nullable List<Participant> value)
      Sets the participants property value. The participants property
      Parameters:
      value - Value to set for the participants property.
    • setRequestedModalities

      public void setRequestedModalities(@Nullable List<Modality> value)
      Sets the requestedModalities property value. The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data.
      Parameters:
      value - Value to set for the requestedModalities property.
    • setResultInfo

      public void setResultInfo(@Nullable ResultInfo value)
      Sets the resultInfo property value. The result information. For example, the result can hold termination reason. Read-only.
      Parameters:
      value - Value to set for the resultInfo property.
    • setSource

      public void setSource(@Nullable ParticipantInfo value)
      Sets the source property value. The originator of the call.
      Parameters:
      value - Value to set for the source property.
    • setState

      public void setState(@Nullable CallState value)
      Sets the state property value. The call state. Possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only.
      Parameters:
      value - Value to set for the state property.
    • setSubject

      public void setSubject(@Nullable String value)
      Sets the subject property value. The subject of the conversation.
      Parameters:
      value - Value to set for the subject property.
    • setTargets

      public void setTargets(@Nullable List<InvitationParticipantInfo> value)
      Sets the targets property value. The targets of the call. Required information for creating peer to peer call.
      Parameters:
      value - Value to set for the targets property.
    • setTenantId

      public void setTenantId(@Nullable String value)
      Sets the tenantId property value. The tenantId property
      Parameters:
      value - Value to set for the tenantId property.
    • setToneInfo

      public void setToneInfo(@Nullable ToneInfo value)
      Sets the toneInfo property value. The toneInfo property
      Parameters:
      value - Value to set for the toneInfo property.
    • setTranscription

      public void setTranscription(@Nullable CallTranscriptionInfo value)
      Sets the transcription property value. The transcription information for the call. Read-only.
      Parameters:
      value - Value to set for the transcription property.