This repository has been archived by the owner on Nov 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
create_or_update_note_responses.go
84 lines (56 loc) · 2.47 KB
/
create_or_update_note_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
// Code generated by go-swagger; DO NOT EDIT.
package profile
// 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"
)
// CreateOrUpdateNoteOKCode is the HTTP code returned for type CreateOrUpdateNoteOK
const CreateOrUpdateNoteOKCode int = 200
/*CreateOrUpdateNoteOK Updated user note
swagger:response createOrUpdateNoteOK
*/
type CreateOrUpdateNoteOK struct {
}
// NewCreateOrUpdateNoteOK creates CreateOrUpdateNoteOK with default headers values
func NewCreateOrUpdateNoteOK() *CreateOrUpdateNoteOK {
return &CreateOrUpdateNoteOK{}
}
// WriteResponse to the client
func (o *CreateOrUpdateNoteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(200)
}
// CreateOrUpdateNoteBadRequestCode is the HTTP code returned for type CreateOrUpdateNoteBadRequest
const CreateOrUpdateNoteBadRequestCode int = 400
/*CreateOrUpdateNoteBadRequest Bad request
swagger:response createOrUpdateNoteBadRequest
*/
type CreateOrUpdateNoteBadRequest struct {
}
// NewCreateOrUpdateNoteBadRequest creates CreateOrUpdateNoteBadRequest with default headers values
func NewCreateOrUpdateNoteBadRequest() *CreateOrUpdateNoteBadRequest {
return &CreateOrUpdateNoteBadRequest{}
}
// WriteResponse to the client
func (o *CreateOrUpdateNoteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(400)
}
// CreateOrUpdateNoteInternalServerErrorCode is the HTTP code returned for type CreateOrUpdateNoteInternalServerError
const CreateOrUpdateNoteInternalServerErrorCode int = 500
/*CreateOrUpdateNoteInternalServerError Internal error
swagger:response createOrUpdateNoteInternalServerError
*/
type CreateOrUpdateNoteInternalServerError struct {
}
// NewCreateOrUpdateNoteInternalServerError creates CreateOrUpdateNoteInternalServerError with default headers values
func NewCreateOrUpdateNoteInternalServerError() *CreateOrUpdateNoteInternalServerError {
return &CreateOrUpdateNoteInternalServerError{}
}
// WriteResponse to the client
func (o *CreateOrUpdateNoteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(500)
}