-
Notifications
You must be signed in to change notification settings - Fork 0
/
delete_quota_of_email_account_responses.go
108 lines (72 loc) · 3.6 KB
/
delete_quota_of_email_account_responses.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// Code generated by go-swagger; DO NOT EDIT.
package email
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"net/http"
"github.com/go-openapi/runtime"
)
// DeleteQuotaOfEmailAccountOKCode is the HTTP code returned for type DeleteQuotaOfEmailAccountOK
const DeleteQuotaOfEmailAccountOKCode int = 200
/*DeleteQuotaOfEmailAccountOK Successful operation
swagger:response deleteQuotaOfEmailAccountOK
*/
type DeleteQuotaOfEmailAccountOK struct {
}
// NewDeleteQuotaOfEmailAccountOK creates DeleteQuotaOfEmailAccountOK with default headers values
func NewDeleteQuotaOfEmailAccountOK() *DeleteQuotaOfEmailAccountOK {
return &DeleteQuotaOfEmailAccountOK{}
}
// WriteResponse to the client
func (o *DeleteQuotaOfEmailAccountOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(200)
}
// DeleteQuotaOfEmailAccountNotFoundCode is the HTTP code returned for type DeleteQuotaOfEmailAccountNotFound
const DeleteQuotaOfEmailAccountNotFoundCode int = 404
/*DeleteQuotaOfEmailAccountNotFound Email account not found
swagger:response deleteQuotaOfEmailAccountNotFound
*/
type DeleteQuotaOfEmailAccountNotFound struct {
}
// NewDeleteQuotaOfEmailAccountNotFound creates DeleteQuotaOfEmailAccountNotFound with default headers values
func NewDeleteQuotaOfEmailAccountNotFound() *DeleteQuotaOfEmailAccountNotFound {
return &DeleteQuotaOfEmailAccountNotFound{}
}
// WriteResponse to the client
func (o *DeleteQuotaOfEmailAccountNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(404)
}
// DeleteQuotaOfEmailAccountMethodNotAllowedCode is the HTTP code returned for type DeleteQuotaOfEmailAccountMethodNotAllowed
const DeleteQuotaOfEmailAccountMethodNotAllowedCode int = 405
/*DeleteQuotaOfEmailAccountMethodNotAllowed Invalid input
swagger:response deleteQuotaOfEmailAccountMethodNotAllowed
*/
type DeleteQuotaOfEmailAccountMethodNotAllowed struct {
}
// NewDeleteQuotaOfEmailAccountMethodNotAllowed creates DeleteQuotaOfEmailAccountMethodNotAllowed with default headers values
func NewDeleteQuotaOfEmailAccountMethodNotAllowed() *DeleteQuotaOfEmailAccountMethodNotAllowed {
return &DeleteQuotaOfEmailAccountMethodNotAllowed{}
}
// WriteResponse to the client
func (o *DeleteQuotaOfEmailAccountMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(405)
}
// DeleteQuotaOfEmailAccountInternalServerErrorCode is the HTTP code returned for type DeleteQuotaOfEmailAccountInternalServerError
const DeleteQuotaOfEmailAccountInternalServerErrorCode int = 500
/*DeleteQuotaOfEmailAccountInternalServerError Internal error
swagger:response deleteQuotaOfEmailAccountInternalServerError
*/
type DeleteQuotaOfEmailAccountInternalServerError struct {
}
// NewDeleteQuotaOfEmailAccountInternalServerError creates DeleteQuotaOfEmailAccountInternalServerError with default headers values
func NewDeleteQuotaOfEmailAccountInternalServerError() *DeleteQuotaOfEmailAccountInternalServerError {
return &DeleteQuotaOfEmailAccountInternalServerError{}
}
// WriteResponse to the client
func (o *DeleteQuotaOfEmailAccountInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(500)
}