Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.CallOptions;
import com.microsoft.graph.models.CallRoute;
import com.microsoft.graph.models.ChatInfo;
import com.microsoft.graph.models.CallDirection;
import com.microsoft.graph.models.IncomingContext;
import com.microsoft.graph.models.MediaConfig;
import com.microsoft.graph.models.CallMediaState;
import com.microsoft.graph.models.MeetingInfo;
import com.microsoft.graph.models.Modality;
import com.microsoft.graph.models.ResultInfo;
import com.microsoft.graph.models.ParticipantInfo;
import com.microsoft.graph.models.CallState;
import com.microsoft.graph.models.InvitationParticipantInfo;
import com.microsoft.graph.models.ToneInfo;
import com.microsoft.graph.models.CallTranscriptionInfo;
import com.microsoft.graph.models.Entity;
import com.microsoft.graph.requests.AudioRoutingGroupCollectionPage;
import com.microsoft.graph.requests.ContentSharingSessionCollectionPage;
import com.microsoft.graph.requests.CommsOperationCollectionPage;
import com.microsoft.graph.requests.ParticipantCollectionPage;
import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Call.
*/
public class Call extends Entity implements IJsonBackedObject {
/**
* The Callback Uri.
* The callback URL on which callbacks will be delivered. Must be https.
*/
@SerializedName(value = "callbackUri", alternate = {"CallbackUri"})
@Expose
@Nullable
public String callbackUri;
/**
* The Call Chain Id.
* A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId.
*/
@SerializedName(value = "callChainId", alternate = {"CallChainId"})
@Expose
@Nullable
public String callChainId;
/**
* The Call Options.
* Contains the optional features for the call.
*/
@SerializedName(value = "callOptions", alternate = {"CallOptions"})
@Expose
@Nullable
public CallOptions callOptions;
/**
* The Call Routes.
* The routing information on how the call was retargeted. Read-only.
*/
@SerializedName(value = "callRoutes", alternate = {"CallRoutes"})
@Expose
@Nullable
public java.util.List callRoutes;
/**
* The Chat Info.
* The chat information. Required information for joining a meeting.
*/
@SerializedName(value = "chatInfo", alternate = {"ChatInfo"})
@Expose
@Nullable
public ChatInfo chatInfo;
/**
* The Direction.
* The direction of the call. The possible values are incoming or outgoing. Read-only.
*/
@SerializedName(value = "direction", alternate = {"Direction"})
@Expose
@Nullable
public CallDirection direction;
/**
* The Incoming Context.
* Call context associated with an incoming call.
*/
@SerializedName(value = "incomingContext", alternate = {"IncomingContext"})
@Expose
@Nullable
public IncomingContext incomingContext;
/**
* The Media Config.
* The media configuration. Required.
*/
@SerializedName(value = "mediaConfig", alternate = {"MediaConfig"})
@Expose
@Nullable
public MediaConfig mediaConfig;
/**
* The Media State.
* Read-only. The call media state.
*/
@SerializedName(value = "mediaState", alternate = {"MediaState"})
@Expose
@Nullable
public CallMediaState mediaState;
/**
* The Meeting Info.
* The meeting information. Required information for meeting scenarios.
*/
@SerializedName(value = "meetingInfo", alternate = {"MeetingInfo"})
@Expose
@Nullable
public MeetingInfo meetingInfo;
/**
* The My Participant Id.
*
*/
@SerializedName(value = "myParticipantId", alternate = {"MyParticipantId"})
@Expose
@Nullable
public String myParticipantId;
/**
* The Requested Modalities.
* The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data.
*/
@SerializedName(value = "requestedModalities", alternate = {"RequestedModalities"})
@Expose
@Nullable
public java.util.List requestedModalities;
/**
* The Result Info.
* The result information. For example, the result can hold termination reason. Read-only.
*/
@SerializedName(value = "resultInfo", alternate = {"ResultInfo"})
@Expose
@Nullable
public ResultInfo resultInfo;
/**
* The Source.
* The originator of the call.
*/
@SerializedName(value = "source", alternate = {"Source"})
@Expose
@Nullable
public ParticipantInfo source;
/**
* The State.
* The call state. Possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only.
*/
@SerializedName(value = "state", alternate = {"State"})
@Expose
@Nullable
public CallState state;
/**
* The Subject.
* The subject of the conversation.
*/
@SerializedName(value = "subject", alternate = {"Subject"})
@Expose
@Nullable
public String subject;
/**
* The Targets.
* The targets of the call. Required information for creating peer to peer call.
*/
@SerializedName(value = "targets", alternate = {"Targets"})
@Expose
@Nullable
public java.util.List targets;
/**
* The Tenant Id.
*
*/
@SerializedName(value = "tenantId", alternate = {"TenantId"})
@Expose
@Nullable
public String tenantId;
/**
* The Tone Info.
*
*/
@SerializedName(value = "toneInfo", alternate = {"ToneInfo"})
@Expose
@Nullable
public ToneInfo toneInfo;
/**
* The Transcription.
* The transcription information for the call. Read-only.
*/
@SerializedName(value = "transcription", alternate = {"Transcription"})
@Expose
@Nullable
public CallTranscriptionInfo transcription;
/**
* The Audio Routing Groups.
*
*/
@SerializedName(value = "audioRoutingGroups", alternate = {"AudioRoutingGroups"})
@Expose
@Nullable
public com.microsoft.graph.requests.AudioRoutingGroupCollectionPage audioRoutingGroups;
/**
* The Content Sharing Sessions.
*
*/
@SerializedName(value = "contentSharingSessions", alternate = {"ContentSharingSessions"})
@Expose
@Nullable
public com.microsoft.graph.requests.ContentSharingSessionCollectionPage contentSharingSessions;
/**
* The Operations.
*
*/
@SerializedName(value = "operations", alternate = {"Operations"})
@Expose
@Nullable
public com.microsoft.graph.requests.CommsOperationCollectionPage operations;
/**
* The Participants.
*
*/
@SerializedName(value = "participants", alternate = {"Participants"})
@Expose
@Nullable
public com.microsoft.graph.requests.ParticipantCollectionPage participants;
/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
if (json.has("audioRoutingGroups")) {
audioRoutingGroups = serializer.deserializeObject(json.get("audioRoutingGroups"), com.microsoft.graph.requests.AudioRoutingGroupCollectionPage.class);
}
if (json.has("contentSharingSessions")) {
contentSharingSessions = serializer.deserializeObject(json.get("contentSharingSessions"), com.microsoft.graph.requests.ContentSharingSessionCollectionPage.class);
}
if (json.has("operations")) {
operations = serializer.deserializeObject(json.get("operations"), com.microsoft.graph.requests.CommsOperationCollectionPage.class);
}
if (json.has("participants")) {
participants = serializer.deserializeObject(json.get("participants"), com.microsoft.graph.requests.ParticipantCollectionPage.class);
}
}
}