Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Unauthorized" /> class.
 /// </summary>
 /// <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 Unauthorized(string type = default(string), TitleEnum?title = default(TitleEnum?), int status = default(int), string detail = default(string))
 {
     this.Type   = type;
     this.Title  = title;
     this.Status = status;
     this.Detail = detail;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServiceUnavailable" /> class.
 /// </summary>
 /// <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 ServiceUnavailable(string type = default(string), TitleEnum?title = default(TitleEnum?), int status = default(int), string detail = default(string))
 {
     this.Type   = type;
     this.Title  = title;
     this.Status = status;
     this.Detail = detail;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PayloadTooLarge" /> class.
 /// </summary>
 /// <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 PayloadTooLarge(string type = default(string), TitleEnum?title = default(TitleEnum?), int status = default(int), string detail = default(string))
 {
     this.Type   = type;
     this.Title  = title;
     this.Status = status;
     this.Detail = detail;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TooManyRequests" /> class.
 /// </summary>
 /// <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 TooManyRequests(string type = default(string), TitleEnum?title = default(TitleEnum?), int status = default(int), string detail = default(string))
 {
     this.Type   = type;
     this.Title  = title;
     this.Status = status;
     this.Detail = detail;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InternalServerError" /> class.
 /// </summary>
 /// <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 InternalServerError(string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string))
 {
     this.Type   = type;
     this.Title  = title;
     this.Status = status;
     this.Detail = detail;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NotFound" /> class.
 /// </summary>
 /// <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 NotFound(string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string))
 {
     this.Type   = type;
     this.Title  = title;
     this.Status = status;
     this.Detail = detail;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseConflict" /> class.
 /// </summary>
 /// <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 BaseConflict(string type = default(string), TitleEnum?title = default(TitleEnum?), int status = default(int), string detail = default(string))
 {
     this.Type   = type;
     this.Title  = title;
     this.Status = status;
     this.Detail = detail;
 }
Exemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EnableTransactionalConflict" /> 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 EnableTransactionalConflict(ClientIsBeingEnabledErrors errors = default(ClientIsBeingEnabledErrors), 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;
 }
Exemplo n.º 9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostListsConflict" /> 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 PostListsConflict(ListLimitReachedErrors errors = default(ListLimitReachedErrors), 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;
 }
Exemplo n.º 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeleteCampaignsConflict" /> 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 DeleteCampaignsConflict(CampaignSentLast30DaysErrors errors = default(CampaignSentLast30DaysErrors), 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;
 }
Exemplo n.º 11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UnprocessableEntity" /> class.
 /// </summary>
 /// <param name="errors">Information about the input validation.</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 UnprocessableEntity(Object errors = default(Object), 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;
 }
Exemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EnableTeConflict" /> 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 EnableTeConflict(DomainListRequiredErrors errors = default(DomainListRequiredErrors), 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;
 }
Exemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostContactsConflict" /> 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 PostContactsConflict(UniqueFieldInUseErrors errors = default(UniqueFieldInUseErrors), 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;
 }
Exemplo n.º 14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostWebpushSiteConflict" /> 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 PostWebpushSiteConflict(NameAlreadyExistsErrors errors = default(NameAlreadyExistsErrors), 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;
 }
Exemplo n.º 15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Conflict" /> class.
 /// </summary>
 /// <param name="errors">Information about the conflict.</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 Conflict(Object errors = default(Object), 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;
 }
Exemplo n.º 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeleteSuppressionListConflictsErrors" /> 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 DeleteSuppressionListConflictsErrors(UnremovableEntryErrors errors = default(UnremovableEntryErrors), 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;
 }
Exemplo n.º 17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Conflict" /> class.
 /// </summary>
 /// <param name="errors">Information about the conflict.</param>
 public Conflict(Object errors = default(Object), string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string)) : base(type, title, status, detail)
 {
     this.Errors = errors;
 }
Exemplo n.º 18
0
 /// <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()
 {
 }
Exemplo n.º 19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeleteCampaignsConflict" /> class.
 /// </summary>
 public DeleteCampaignsConflict(CampaignSentLast30DaysErrors errors = default(CampaignSentLast30DaysErrors), string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string)) : base()
 {
 }
Exemplo n.º 20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostListsConflict" /> class.
 /// </summary>
 public PostListsConflict(ListLimitReachedErrors errors = default(ListLimitReachedErrors), string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string)) : base()
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PostWebpushSiteConflict" /> class.
 /// </summary>
 public PostWebpushSiteConflict(NameAlreadyExistsErrors errors = default(NameAlreadyExistsErrors), string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string)) : base()
 {
 }
Exemplo n.º 22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostContactsConflict" /> class.
 /// </summary>
 public PostContactsConflict(UniqueFieldInUseErrors errors = default(UniqueFieldInUseErrors), string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string)) : base()
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DeleteSegmentsConflict" /> class.
 /// </summary>
 public DeleteSegmentsConflict(string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string)) : base(type, title, status, detail)
 {
 }
Exemplo n.º 24
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeleteFieldsConflict" /> class.
 /// </summary>
 public DeleteFieldsConflict(FieldInUseErrors errors = default(FieldInUseErrors), string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string)) : base()
 {
 }
Exemplo n.º 25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EnableTeConflict" /> class.
 /// </summary>
 public EnableTeConflict(string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string)) : base()
 {
 }
Exemplo n.º 26
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostCNameConflict" /> class.
 /// </summary>
 public PostCNameConflict(CnameExistsErrors errors = default(CnameExistsErrors), string type = default(string), TitleEnum?title = default(TitleEnum?), int?status = default(int?), string detail = default(string)) : base()
 {
 }