Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Call
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the audioRoutingGroups property value.Gets the callbackUri property value.Gets the callChainId property value.Gets the callOptions property value.Gets the callRoutes property value.Gets the chatInfo property value.Gets the contentSharingSessions property value.Gets the direction property value.The deserialization information for the current modelGets the incomingContext property value.Gets the mediaConfig property value.Gets the mediaState property value.Gets the meetingInfo property value.Gets the myParticipantId property value.Gets the operations property value.Gets the participants property value.Gets the requestedModalities property value.Gets the resultInfo property value.Gets the source property value.getState()
Gets the state property value.Gets the subject property value.Gets the targets property value.Gets the tenantId property value.Gets the toneInfo property value.Gets the transcription property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the audioRoutingGroups property value.void
setCallbackUri
(String value) Sets the callbackUri property value.void
setCallChainId
(String value) Sets the callChainId property value.void
setCallOptions
(CallOptions value) Sets the callOptions property value.void
setCallRoutes
(List<CallRoute> value) Sets the callRoutes property value.void
setChatInfo
(ChatInfo value) Sets the chatInfo property value.void
Sets the contentSharingSessions property value.void
setDirection
(CallDirection value) Sets the direction property value.void
Sets the incomingContext property value.void
setMediaConfig
(MediaConfig value) Sets the mediaConfig property value.void
setMediaState
(CallMediaState value) Sets the mediaState property value.void
setMeetingInfo
(MeetingInfo value) Sets the meetingInfo property value.void
setMyParticipantId
(String value) Sets the myParticipantId property value.void
setOperations
(List<CommsOperation> value) Sets the operations property value.void
setParticipants
(List<Participant> value) Sets the participants property value.void
setRequestedModalities
(List<Modality> value) Sets the requestedModalities property value.void
setResultInfo
(ResultInfo value) Sets the resultInfo property value.void
setSource
(ParticipantInfo value) Sets the source property value.void
Sets the state property value.void
setSubject
(String value) Sets the subject property value.void
setTargets
(List<InvitationParticipantInfo> value) Sets the targets property value.void
setTenantId
(String value) Sets the tenantId property value.void
setToneInfo
(ToneInfo value) Sets the toneInfo property value.void
Sets the transcription property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Call
public Call()Instantiates a newCall
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
Gets the audioRoutingGroups property value. The audioRoutingGroups property- Returns:
- a
List<AudioRoutingGroup>
-
getCallbackUri
Gets the callbackUri property value. The callback URL on which callbacks are delivered. Must be an HTTPS URL.- Returns:
- a
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
Gets the callOptions property value. Contains the optional features for the call.- Returns:
- a
CallOptions
-
getCallRoutes
Gets the callRoutes property value. The routing information on how the call was retargeted. Read-only. -
getChatInfo
Gets the chatInfo property value. The chat information. Required information for joining a meeting.- Returns:
- a
ChatInfo
-
getContentSharingSessions
Gets the contentSharingSessions property value. The contentSharingSessions property- Returns:
- a
List<ContentSharingSession>
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIncomingContext
Gets the incomingContext property value. Call context associated with an incoming call.- Returns:
- a
IncomingContext
-
getMediaConfig
Gets the mediaConfig property value. The media configuration. Required.- Returns:
- a
MediaConfig
-
getMediaState
Gets the mediaState property value. Read-only. The call media state.- Returns:
- a
CallMediaState
-
getMeetingInfo
Gets the meetingInfo property value. The meeting information. Required information for meeting scenarios.- Returns:
- a
MeetingInfo
-
getMyParticipantId
Gets the myParticipantId property value. The myParticipantId property- Returns:
- a
String
-
getOperations
Gets the operations property value. The operations property- Returns:
- a
List<CommsOperation>
-
getParticipants
Gets the participants property value. The participants property- Returns:
- a
List<Participant>
-
getRequestedModalities
Gets the requestedModalities property value. The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data. -
getResultInfo
Gets the resultInfo property value. The result information. For example, the result can hold termination reason. Read-only.- Returns:
- a
ResultInfo
-
getSource
Gets the source property value. The originator of the call.- Returns:
- a
ParticipantInfo
-
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
Gets the subject property value. The subject of the conversation.- Returns:
- a
String
-
getTargets
Gets the targets property value. The targets of the call. Required information for creating peer to peer call.- Returns:
- a
List<InvitationParticipantInfo>
-
getTenantId
Gets the tenantId property value. The tenantId property- Returns:
- a
String
-
getToneInfo
Gets the toneInfo property value. The toneInfo property- Returns:
- a
ToneInfo
-
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 -
setAudioRoutingGroups
Sets the audioRoutingGroups property value. The audioRoutingGroups property- Parameters:
value
- Value to set for the audioRoutingGroups property.
-
setCallbackUri
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
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
Sets the callOptions property value. Contains the optional features for the call.- Parameters:
value
- Value to set for the callOptions property.
-
setCallRoutes
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
Sets the chatInfo property value. The chat information. Required information for joining a meeting.- Parameters:
value
- Value to set for the chatInfo property.
-
setContentSharingSessions
Sets the contentSharingSessions property value. The contentSharingSessions property- Parameters:
value
- Value to set for the contentSharingSessions property.
-
setDirection
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
Sets the incomingContext property value. Call context associated with an incoming call.- Parameters:
value
- Value to set for the incomingContext property.
-
setMediaConfig
Sets the mediaConfig property value. The media configuration. Required.- Parameters:
value
- Value to set for the mediaConfig property.
-
setMediaState
Sets the mediaState property value. Read-only. The call media state.- Parameters:
value
- Value to set for the mediaState property.
-
setMeetingInfo
Sets the meetingInfo property value. The meeting information. Required information for meeting scenarios.- Parameters:
value
- Value to set for the meetingInfo property.
-
setMyParticipantId
Sets the myParticipantId property value. The myParticipantId property- Parameters:
value
- Value to set for the myParticipantId property.
-
setOperations
Sets the operations property value. The operations property- Parameters:
value
- Value to set for the operations property.
-
setParticipants
Sets the participants property value. The participants property- Parameters:
value
- Value to set for the participants property.
-
setRequestedModalities
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
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
Sets the source property value. The originator of the call.- Parameters:
value
- Value to set for the source property.
-
setState
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
Sets the subject property value. The subject of the conversation.- Parameters:
value
- Value to set for the subject property.
-
setTargets
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
Sets the tenantId property value. The tenantId property- Parameters:
value
- Value to set for the tenantId property.
-
setToneInfo
Sets the toneInfo property value. The toneInfo property- Parameters:
value
- Value to set for the toneInfo property.
-
setTranscription
Sets the transcription property value. The transcription information for the call. Read-only.- Parameters:
value
- Value to set for the transcription property.
-