示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostProductsConflict" /> class.
 /// </summary>
 /// <param name="errors">errors.</param>
 /// <param name="type">RFC for status code definitions.</param>
 /// <param name="title">Error title.</param>
 /// <param name="status">Status code.</param>
 /// <param name="detail">Error detail.</param>
 public PostProductsConflict(ProductAlreadyExistsErrors errors = default(ProductAlreadyExistsErrors), string type = default(string), TitleEnum?title = default(TitleEnum?), int status = default(int), string detail = default(string))
 {
     this.Errors = errors;
     this.Type   = type;
     this.Title  = title;
     this.Status = status;
     this.Detail = detail;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProductAlreadyExists" /> class.
 /// </summary>
 /// <param name="errors">errors.</param>
 public ProductAlreadyExists(ProductAlreadyExistsErrors errors = default(ProductAlreadyExistsErrors))
 {
     this.Errors = errors;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PostProductsConflict" /> class.
 /// </summary>
 public PostProductsConflict(ProductAlreadyExistsErrors errors = default(ProductAlreadyExistsErrors), string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string)) : base()
 {
 }