// Code generated by go-swagger; DO NOT EDIT. package account // 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" ) // InviteCreatedCode is the HTTP code returned for type InviteCreated const InviteCreatedCode int = 201 /* InviteCreated invitation created swagger:response inviteCreated */ type InviteCreated struct { } // NewInviteCreated creates InviteCreated with default headers values func NewInviteCreated() *InviteCreated { return &InviteCreated{} } // WriteResponse to the client func (o *InviteCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses rw.WriteHeader(201) } // InviteBadRequestCode is the HTTP code returned for type InviteBadRequest const InviteBadRequestCode int = 400 /* InviteBadRequest invitation not created (already exists) swagger:response inviteBadRequest */ type InviteBadRequest struct { } // NewInviteBadRequest creates InviteBadRequest with default headers values func NewInviteBadRequest() *InviteBadRequest { return &InviteBadRequest{} } // WriteResponse to the client func (o *InviteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses rw.WriteHeader(400) } // InviteInternalServerErrorCode is the HTTP code returned for type InviteInternalServerError const InviteInternalServerErrorCode int = 500 /* InviteInternalServerError internal server error swagger:response inviteInternalServerError */ type InviteInternalServerError struct { } // NewInviteInternalServerError creates InviteInternalServerError with default headers values func NewInviteInternalServerError() *InviteInternalServerError { return &InviteInternalServerError{} } // WriteResponse to the client func (o *InviteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses rw.WriteHeader(500) }