public void getNotesSlideExample() { NotesSlideResponse response = null; try { GetNotesSlideRequest request = createGetNotesSlideRequest(); response = api.GetNotesSlide(request); Console.WriteLine(response); } catch (Exception ex) { Console.WriteLine(ex.Message); } }
public void putUpdateNotesSlideExample() { NotesSlideResponse response = null; try { PutUpdateNotesSlideRequest request = createPutUpdateNotesSlideRequest(); response = api.PutUpdateNotesSlide(request); Console.WriteLine(response.Code); } catch (Exception ex) { Console.WriteLine(ex.Message); } }
public void PutUpdateNotesSlideInvalidStorage() { InvalidPropertyTestExecutor <PutUpdateNotesSlideRequest, NotesSlideResponse> testExecutor = new InvalidPropertyTestExecutor <PutUpdateNotesSlideRequest, NotesSlideResponse>("PutUpdateNotesSlide", "Storage"); PutUpdateNotesSlideRequest request = testExecutor.PrepareRequest(); NotesSlideResponse response = null; bool needAssertResponse = false; try { response = m_instance.PutUpdateNotesSlide(request); needAssertResponse = true; } catch (Exception ex) { testExecutor.AssertException(ex); } if (needAssertResponse) { testExecutor.AssertResult(response); } }
public void PostAddNotesSlide() { GeneralTestExecutor <PostAddNotesSlideRequest, NotesSlideResponse> testExecutor = new GeneralTestExecutor <PostAddNotesSlideRequest, NotesSlideResponse>("PostAddNotesSlide"); PostAddNotesSlideRequest request = testExecutor.PrepareRequest(); NotesSlideResponse response = null; bool needAssertResponse = false; try { response = m_instance.PostAddNotesSlide(request); needAssertResponse = true; } catch (Exception ex) { testExecutor.AssertException(ex); } if (needAssertResponse) { testExecutor.AssertResult(response); } }
public void GetNotesSlideInvalidFolder() { InvalidPropertyTestExecutor <GetNotesSlideRequest, NotesSlideResponse> testExecutor = new InvalidPropertyTestExecutor <GetNotesSlideRequest, NotesSlideResponse>("GetNotesSlide", "Folder"); GetNotesSlideRequest request = testExecutor.PrepareRequest(); NotesSlideResponse response = null; bool needAssertResponse = false; try { response = m_instance.GetNotesSlide(request); needAssertResponse = true; } catch (Exception ex) { testExecutor.AssertException(ex); } if (needAssertResponse) { testExecutor.AssertResult(response); } }