Esempio n. 1
0
 /// <summary>Snippet for GetHotelPerformanceView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetHotelPerformanceViewResourceNames()
 {
     // Create client
     HotelPerformanceViewServiceClient hotelPerformanceViewServiceClient = HotelPerformanceViewServiceClient.Create();
     // Initialize request argument(s)
     HotelPerformanceViewName resourceName = HotelPerformanceViewName.FromCustomer("[CUSTOMER_ID]");
     // Make the request
     HotelPerformanceView response = hotelPerformanceViewServiceClient.GetHotelPerformanceView(resourceName);
 }
Esempio n. 2
0
 /// <summary>Snippet for GetHotelPerformanceView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetHotelPerformanceView()
 {
     // Create client
     HotelPerformanceViewServiceClient hotelPerformanceViewServiceClient = HotelPerformanceViewServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/hotelPerformanceView";
     // Make the request
     HotelPerformanceView response = hotelPerformanceViewServiceClient.GetHotelPerformanceView(resourceName);
 }
 /// <summary>Snippet for GetHotelPerformanceView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetHotelPerformanceViewRequestObject()
 {
     // Create client
     HotelPerformanceViewServiceClient hotelPerformanceViewServiceClient = HotelPerformanceViewServiceClient.Create();
     // Initialize request argument(s)
     GetHotelPerformanceViewRequest request = new GetHotelPerformanceViewRequest
     {
         ResourceNameAsHotelPerformanceViewName = HotelPerformanceViewName.FromCustomer("[CUSTOMER]"),
     };
     // Make the request
     HotelPerformanceView response = hotelPerformanceViewServiceClient.GetHotelPerformanceView(request);
 }