Пример #1
0
 public ActionMetadata(IO.Swagger.Model.ObjectAction metadata) :
     base(parameters: metadata.Parameters, meta: metadata.Meta, name: metadata.Name, origins: metadata.Origins, returns: metadata.Returns, description: metadata.Description, problem: metadata.Problem, disabled: metadata.Disabled)
 {
     foreach (IO.Swagger.Model.ParameterMeta meta in Parameters)
     {
         ParametersMetadata.Add(meta.Name, new Base.ParameterMetadata(meta));
     }
 }
Пример #2
0
 public ActionMetadata(IO.Swagger.Model.ObjectAction metadata) :
     base(parameters: metadata.Parameters, meta: metadata.Meta, name: metadata.Name, origins: metadata.Origins, returns: metadata.Returns, description: metadata.Description, problem: metadata.Problem, disabled: metadata.Disabled)
 {
 }