コード例 #1
0
        public void PatchEmailsEmailIdParticipantsParticipantIdTest()
        {
            // TODO: add unit test for the method 'PatchEmailsEmailIdParticipantsParticipantId'
            string emailId               = null; // TODO: replace null with proper value
            string participantId         = null; // TODO: replace null with proper value
            MediaParticipantRequest body = null; // TODO: replace null with proper value

            instance.PatchEmailsEmailIdParticipantsParticipantId(emailId, participantId, body);
        }
コード例 #2
0
        public void PatchCobrowsesessionsCobrowseIdParticipantsParticipantIdTest()
        {
            // TODO: add unit test for the method 'PatchCobrowsesessionsCobrowseIdParticipantsParticipantId'
            string cobrowseId            = null; // TODO: replace null with proper value
            string participantId         = null; // TODO: replace null with proper value
            MediaParticipantRequest body = null; // TODO: replace null with proper value

            instance.PatchCobrowsesessionsCobrowseIdParticipantsParticipantId(cobrowseId, participantId, body);
        }
コード例 #3
0
        public void PatchEmailsEmailIdParticipantsParticipantIdCommunicationsCommunicationIdTest()
        {
            // TODO: add unit test for the method 'PatchEmailsEmailIdParticipantsParticipantIdCommunicationsCommunicationId'
            string emailId               = null; // TODO: replace null with proper value
            string participantId         = null; // TODO: replace null with proper value
            string communicationId       = null; // TODO: replace null with proper value
            MediaParticipantRequest body = null; // TODO: replace null with proper value
            var response = instance.PatchEmailsEmailIdParticipantsParticipantIdCommunicationsCommunicationId(emailId, participantId, communicationId, body);

            Assert.IsInstanceOf <Empty> (response, "response is Empty");
        }
コード例 #4
0
        private void HangUpButton_Click(object sender, EventArgs e)
        {
            try
            {
                var    api                   = new ConversationsApi();
                string conversationId        = conversationIdTextBox.Text;
                string participantId         = "";
                MediaParticipantRequest body = new MediaParticipantRequest();
                body.State = MediaParticipantRequest.StateEnum.Disconnected;

                api.PatchConversationsCallParticipant(conversationId, participantId, body);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
 public void Init()
 {
     instance = new MediaParticipantRequest();
 }