Class Call

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class Call
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    • Constructor Detail

      • Call

        protected Call()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderCall

        public static Call.Builder builderCall()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Entity
      • getActiveModalities

        public com.github.davidmoten.odata.client.CollectionPage<Modality> getActiveModalities()
      • withActiveModalities

        public Call withActiveModalities​(List<Modality> activeModalities)
      • getActiveModalities

        public com.github.davidmoten.odata.client.CollectionPage<Modality> getActiveModalities​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withCallbackUri

        public Call withCallbackUri​(String callbackUri)
      • withCallChainId

        public Call withCallChainId​(String callChainId)
      • withCallOptions

        public Call withCallOptions​(CallOptions callOptions)
      • getCallRoutes

        public com.github.davidmoten.odata.client.CollectionPage<CallRoute> getCallRoutes()
      • getCallRoutes

        public com.github.davidmoten.odata.client.CollectionPage<CallRoute> getCallRoutes​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withChatInfo

        public Call withChatInfo​(ChatInfo chatInfo)
      • withMediaConfig

        public Call withMediaConfig​(MediaConfig mediaConfig)
      • withMeetingInfo

        public Call withMeetingInfo​(MeetingInfo meetingInfo)
      • withMyParticipantId

        public Call withMyParticipantId​(String myParticipantId)
      • getRequestedModalities

        public com.github.davidmoten.odata.client.CollectionPage<Modality> getRequestedModalities()
      • withRequestedModalities

        public Call withRequestedModalities​(List<Modality> requestedModalities)
      • getRequestedModalities

        public com.github.davidmoten.odata.client.CollectionPage<Modality> getRequestedModalities​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withResultInfo

        public Call withResultInfo​(ResultInfo resultInfo)
      • getRingingTimeoutInSeconds

        public Optional<Integer> getRingingTimeoutInSeconds()
      • withRingingTimeoutInSeconds

        public Call withRingingTimeoutInSeconds​(Integer ringingTimeoutInSeconds)
      • getRoutingPolicies

        public com.github.davidmoten.odata.client.CollectionPage<RoutingPolicy> getRoutingPolicies()
      • getRoutingPolicies

        public com.github.davidmoten.odata.client.CollectionPage<RoutingPolicy> getRoutingPolicies​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withSubject

        public Call withSubject​(String subject)
      • getTargets

        public com.github.davidmoten.odata.client.CollectionPage<InvitationParticipantInfo> getTargets​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withTenantId

        public Call withTenantId​(String tenantId)
      • getTerminationReason

        public Optional<String> getTerminationReason()
      • withTerminationReason

        public Call withTerminationReason​(String terminationReason)
      • withToneInfo

        public Call withToneInfo​(ToneInfo toneInfo)
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public Call patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public Call put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • answer

        public com.github.davidmoten.odata.client.ActionRequestNoReturn answer​(String callbackUri,
                                                                               MediaConfig mediaConfig,
                                                                               List<Modality> acceptedModalities,
                                                                               Integer participantCapacity)
      • cancelMediaProcessing

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<CancelMediaProcessingOperation> cancelMediaProcessing​(String clientContext)
      • changeScreenSharingRole

        public com.github.davidmoten.odata.client.ActionRequestNoReturn changeScreenSharingRole​(ScreenSharingRole role)
      • keepAlive

        public com.github.davidmoten.odata.client.ActionRequestNoReturn keepAlive()
      • mute

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<MuteParticipantOperation> mute​(String clientContext)
      • reject

        public com.github.davidmoten.odata.client.ActionRequestNoReturn reject​(RejectReason reason,
                                                                               String callbackUri)
      • subscribeToTone

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<SubscribeToToneOperation> subscribeToTone​(String clientContext)