-
Notifications
You must be signed in to change notification settings - Fork 0
/
update_email_address_responses.go
108 lines (72 loc) · 3.26 KB
/
update_email_address_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"
)
// UpdateEmailAddressOKCode is the HTTP code returned for type UpdateEmailAddressOK
const UpdateEmailAddressOKCode int = 200
/*UpdateEmailAddressOK Successful operation
swagger:response updateEmailAddressOK
*/
type UpdateEmailAddressOK struct {
}
// NewUpdateEmailAddressOK creates UpdateEmailAddressOK with default headers values
func NewUpdateEmailAddressOK() *UpdateEmailAddressOK {
return &UpdateEmailAddressOK{}
}
// WriteResponse to the client
func (o *UpdateEmailAddressOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(200)
}
// UpdateEmailAddressNotFoundCode is the HTTP code returned for type UpdateEmailAddressNotFound
const UpdateEmailAddressNotFoundCode int = 404
/*UpdateEmailAddressNotFound Account not found
swagger:response updateEmailAddressNotFound
*/
type UpdateEmailAddressNotFound struct {
}
// NewUpdateEmailAddressNotFound creates UpdateEmailAddressNotFound with default headers values
func NewUpdateEmailAddressNotFound() *UpdateEmailAddressNotFound {
return &UpdateEmailAddressNotFound{}
}
// WriteResponse to the client
func (o *UpdateEmailAddressNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(404)
}
// UpdateEmailAddressMethodNotAllowedCode is the HTTP code returned for type UpdateEmailAddressMethodNotAllowed
const UpdateEmailAddressMethodNotAllowedCode int = 405
/*UpdateEmailAddressMethodNotAllowed Invalid input
swagger:response updateEmailAddressMethodNotAllowed
*/
type UpdateEmailAddressMethodNotAllowed struct {
}
// NewUpdateEmailAddressMethodNotAllowed creates UpdateEmailAddressMethodNotAllowed with default headers values
func NewUpdateEmailAddressMethodNotAllowed() *UpdateEmailAddressMethodNotAllowed {
return &UpdateEmailAddressMethodNotAllowed{}
}
// WriteResponse to the client
func (o *UpdateEmailAddressMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(405)
}
// UpdateEmailAddressInternalServerErrorCode is the HTTP code returned for type UpdateEmailAddressInternalServerError
const UpdateEmailAddressInternalServerErrorCode int = 500
/*UpdateEmailAddressInternalServerError Internal error
swagger:response updateEmailAddressInternalServerError
*/
type UpdateEmailAddressInternalServerError struct {
}
// NewUpdateEmailAddressInternalServerError creates UpdateEmailAddressInternalServerError with default headers values
func NewUpdateEmailAddressInternalServerError() *UpdateEmailAddressInternalServerError {
return &UpdateEmailAddressInternalServerError{}
}
// WriteResponse to the client
func (o *UpdateEmailAddressInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(500)
}