upvote and feedback list
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
// Code generated by go-swagger; DO NOT EDIT.
|
||||
|
||||
package feedback
|
||||
|
||||
// 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"
|
||||
)
|
||||
|
||||
// UpvoteFeedbackOKCode is the HTTP code returned for type UpvoteFeedbackOK
|
||||
const UpvoteFeedbackOKCode int = 200
|
||||
|
||||
/*
|
||||
UpvoteFeedbackOK successful operation
|
||||
|
||||
swagger:response upvoteFeedbackOK
|
||||
*/
|
||||
type UpvoteFeedbackOK struct {
|
||||
}
|
||||
|
||||
// NewUpvoteFeedbackOK creates UpvoteFeedbackOK with default headers values
|
||||
func NewUpvoteFeedbackOK() *UpvoteFeedbackOK {
|
||||
|
||||
return &UpvoteFeedbackOK{}
|
||||
}
|
||||
|
||||
// WriteResponse to the client
|
||||
func (o *UpvoteFeedbackOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
||||
|
||||
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
||||
|
||||
rw.WriteHeader(200)
|
||||
}
|
||||
|
||||
// UpvoteFeedbackForbiddenCode is the HTTP code returned for type UpvoteFeedbackForbidden
|
||||
const UpvoteFeedbackForbiddenCode int = 403
|
||||
|
||||
/*
|
||||
UpvoteFeedbackForbidden Forbidden
|
||||
|
||||
swagger:response upvoteFeedbackForbidden
|
||||
*/
|
||||
type UpvoteFeedbackForbidden struct {
|
||||
}
|
||||
|
||||
// NewUpvoteFeedbackForbidden creates UpvoteFeedbackForbidden with default headers values
|
||||
func NewUpvoteFeedbackForbidden() *UpvoteFeedbackForbidden {
|
||||
|
||||
return &UpvoteFeedbackForbidden{}
|
||||
}
|
||||
|
||||
// WriteResponse to the client
|
||||
func (o *UpvoteFeedbackForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
||||
|
||||
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
||||
|
||||
rw.WriteHeader(403)
|
||||
}
|
||||
Reference in New Issue
Block a user