示例#1
0
 /// <summary>
 ///     Returns the information on a certain timezone.
 ///     HTTP Method: get
 ///     Endpoint: /restapi/{apiVersion}/dictionary/timezone/{timezoneId}
 ///     Rate Limit Group: Light
 /// </summary>
 public async Task <GetTimezoneInfoResponse> Get(ReadTimezoneParameters queryParams  = null,
                                                 RestRequestConfig restRequestConfig = null)
 {
     if (timezoneId == null)
     {
         throw new ArgumentException("Parameter cannot be null", nameof(timezoneId));
     }
     return(await rc.Get <GetTimezoneInfoResponse>(Path(), queryParams, restRequestConfig));
 }
示例#2
0
        /// <summary>
        /// Operation: Get Timezone
        /// Http Get /restapi/v1.0/dictionary/timezone/{timezoneId}
        /// </summary>
        public async Task <RingCentral.GetTimezoneInfoResponse> Get(ReadTimezoneParameters queryParams = null)
        {
            if (this.timezoneId == null)
            {
                throw new System.ArgumentNullException("timezoneId");
            }

            return(await rc.Get <RingCentral.GetTimezoneInfoResponse>(this.Path(), queryParams));
        }
示例#3
0
 /// <summary>
 ///     Returns the information on a certain timezone.
 ///     HTTP Method: get
 ///     Endpoint: /restapi/{apiVersion}/dictionary/timezone/{timezoneId}
 ///     Rate Limit Group: Light
 /// </summary>
 public async Task <GetTimezoneInfoResponse> Get(ReadTimezoneParameters queryParams  = null,
                                                 RestRequestConfig restRequestConfig = null)
 {
     return(await rc.Get <GetTimezoneInfoResponse>(Path(), queryParams, restRequestConfig));
 }