/// <summary>
 /// Initializes a new instance of the ApiOperation class.
 /// </summary>
 /// <param name="display">The object that represents the
 /// operation.</param>
 /// <param name="origin">Origin of the operation.</param>
 /// <param name="isDataAction">The flag that indicates whether the
 /// operation applies to data plane.</param>
 /// <param name="name">Operation name:
 /// {provider}/{resource}/{operation}</param>
 /// <param name="serviceSpecification">Specification of the all the
 /// metrics provided for a resource type.</param>
 public ApiOperation(ApiOperationDisplay display = default(ApiOperationDisplay), string origin = default(string), bool?isDataAction = default(bool?), string name = default(string), ApiOperationPropertiesServiceSpecification serviceSpecification = default(ApiOperationPropertiesServiceSpecification))
 {
     Display              = display;
     Origin               = origin;
     IsDataAction         = isDataAction;
     Name                 = name;
     ServiceSpecification = serviceSpecification;
     CustomInit();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the ApiOperation class.
 /// </summary>
 /// <param name="display">The object that represents the
 /// operation.</param>
 /// <param name="name">Operation name:
 /// {provider}/{resource}/{operation}</param>
 public ApiOperation(ApiOperationDisplay display = default(ApiOperationDisplay), string name = default(string))
 {
     Display = display;
     Name    = name;
     CustomInit();
 }