public void GetLayoutSlidesListExample() { LayoutSlideListResponse response = null; try { GetLayoutSlidesListRequest request = createGetLayoutSlidesListRequest(); response = api.GetLayoutSlidesList(request); Console.WriteLine(response); } catch (Exception ex) { Console.WriteLine(ex.Message); } }
public void GetLayoutSlidesListInvalidStorage() { InvalidPropertyTestExecutor <GetLayoutSlidesListRequest, LayoutSlideListResponse> testExecutor = new InvalidPropertyTestExecutor <GetLayoutSlidesListRequest, LayoutSlideListResponse>("GetLayoutSlidesList", "Storage"); GetLayoutSlidesListRequest request = testExecutor.PrepareRequest(); LayoutSlideListResponse response = null; bool needAssertResponse = false; try { response = m_instance.GetLayoutSlidesList(request); needAssertResponse = true; } catch (Exception ex) { testExecutor.AssertException(ex); } if (needAssertResponse) { testExecutor.AssertResult(response); } }