/// <summary>
        /// <para>Begins an asynchronous send to the templates get for team route.</para>
        /// </summary>
        /// <param name="templateId">An identifier for template added by route  See <see
        /// cref="Dropbox.Api.FileProperties.Routes.FilePropertiesUserRoutes.TemplatesAddForUserAsync"
        /// /> or <see
        /// cref="Dropbox.Api.FileProperties.Routes.FilePropertiesTeamRoutes.TemplatesAddForTeamAsync"
        /// />.</param>
        /// <param name="callback">The method to be called when the asynchronous send is
        /// completed.</param>
        /// <param name="callbackState">A user provided object that distinguished this send
        /// from other send requests.</param>
        /// <returns>An object that represents the asynchronous send request.</returns>
        public sys.IAsyncResult BeginTemplatesGetForTeam(string templateId,
                                                         sys.AsyncCallback callback,
                                                         object callbackState = null)
        {
            var getTemplateArg = new GetTemplateArg(templateId);

            return(this.BeginTemplatesGetForTeam(getTemplateArg, callback, callbackState));
        }
        /// <summary>
        /// <para>Begins an asynchronous send to the templates get for team route.</para>
        /// </summary>
        /// <param name="getTemplateArg">The request parameters.</param>
        /// <param name="callback">The method to be called when the asynchronous send is
        /// completed.</param>
        /// <param name="state">A user provided object that distinguished this send from other
        /// send requests.</param>
        /// <returns>An object that represents the asynchronous send request.</returns>
        public sys.IAsyncResult BeginTemplatesGetForTeam(GetTemplateArg getTemplateArg, sys.AsyncCallback callback, object state = null)
        {
            var task = this.TemplatesGetForTeamAsync(getTemplateArg);

            return(enc.Util.ToApm(task, callback, state));
        }
        /// <summary>
        /// <para>Get the schema for a specified template.</para>
        /// </summary>
        /// <param name="templateId">An identifier for template added by route  See <see
        /// cref="Dropbox.Api.FileProperties.Routes.FilePropertiesUserRoutes.TemplatesAddForUserAsync"
        /// /> or <see
        /// cref="Dropbox.Api.FileProperties.Routes.FilePropertiesTeamRoutes.TemplatesAddForTeamAsync"
        /// />.</param>
        /// <returns>The task that represents the asynchronous send operation. The TResult
        /// parameter contains the response from the server.</returns>
        /// <exception cref="Dropbox.Api.ApiException{TError}">Thrown if there is an error
        /// processing the request; This will contain a <see
        /// cref="TemplateError"/>.</exception>
        public t.Task <GetTemplateResult> TemplatesGetForTeamAsync(string templateId)
        {
            var getTemplateArg = new GetTemplateArg(templateId);

            return(this.TemplatesGetForTeamAsync(getTemplateArg));
        }
 /// <summary>
 /// <para>Get the schema for a specified template.</para>
 /// </summary>
 /// <param name="getTemplateArg">The request parameters</param>
 /// <returns>The task that represents the asynchronous send operation. The TResult
 /// parameter contains the response from the server.</returns>
 /// <exception cref="Dropbox.Api.ApiException{TError}">Thrown if there is an error
 /// processing the request; This will contain a <see
 /// cref="TemplateError"/>.</exception>
 public t.Task <GetTemplateResult> TemplatesGetForTeamAsync(GetTemplateArg getTemplateArg)
 {
     return(this.Transport.SendRpcRequestAsync <GetTemplateArg, GetTemplateResult, TemplateError>(getTemplateArg, "api", "/file_properties/templates/get_for_team", "team", global::Dropbox.Api.FileProperties.GetTemplateArg.Encoder, global::Dropbox.Api.FileProperties.GetTemplateResult.Decoder, global::Dropbox.Api.FileProperties.TemplateError.Decoder));
 }