1 // Code generated by go-swagger; DO NOT EDIT.
5 // This file was generated by the swagger tool.
6 // Editing this file might prove futile when you re-run the swagger generate command
11 "github.com/go-openapi/runtime"
14 // UnsubscribeNoContentCode is the HTTP code returned for type UnsubscribeNoContent
15 const UnsubscribeNoContentCode int = 204
17 /*UnsubscribeNoContent Operation done successfully
19 swagger:response unsubscribeNoContent
21 type UnsubscribeNoContent struct {
24 // NewUnsubscribeNoContent creates UnsubscribeNoContent with default headers values
25 func NewUnsubscribeNoContent() *UnsubscribeNoContent {
27 return &UnsubscribeNoContent{}
30 // WriteResponse to the client
31 func (o *UnsubscribeNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
33 rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
38 // UnsubscribeBadRequestCode is the HTTP code returned for type UnsubscribeBadRequest
39 const UnsubscribeBadRequestCode int = 400
41 /*UnsubscribeBadRequest Invalid subscriptionId supplied
43 swagger:response unsubscribeBadRequest
45 type UnsubscribeBadRequest struct {
48 // NewUnsubscribeBadRequest creates UnsubscribeBadRequest with default headers values
49 func NewUnsubscribeBadRequest() *UnsubscribeBadRequest {
51 return &UnsubscribeBadRequest{}
54 // WriteResponse to the client
55 func (o *UnsubscribeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
57 rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
62 // UnsubscribeInternalServerErrorCode is the HTTP code returned for type UnsubscribeInternalServerError
63 const UnsubscribeInternalServerErrorCode int = 500
65 /*UnsubscribeInternalServerError Internal error
67 swagger:response unsubscribeInternalServerError
69 type UnsubscribeInternalServerError struct {
72 // NewUnsubscribeInternalServerError creates UnsubscribeInternalServerError with default headers values
73 func NewUnsubscribeInternalServerError() *UnsubscribeInternalServerError {
75 return &UnsubscribeInternalServerError{}
78 // WriteResponse to the client
79 func (o *UnsubscribeInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
81 rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses