/// <summary>
 /// Get method meta data
 /// </summary>
 /// <remarks>
 /// Return method meta data to support a user interface displaying forms to
 /// input and output arguments. The endpoint must be activated and connected
 /// and the module client and server must trust each other.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='endpointId'>
 /// The identifier of the activated endpoint.
 /// </param>
 /// <param name='body'>
 /// The method metadata request
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <MethodMetadataResponseApiModel> GetCallMetadataAsync(this IAzureOpcTwinClient operations, string endpointId, MethodMetadataRequestApiModel body, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetCallMetadataWithHttpMessagesAsync(endpointId, body, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }