Documentation ¶
Index ¶
- Constants
- type QuoteCreate
- type QuoteCreateBadRequest
- type QuoteCreateCreated
- type QuoteCreateForbidden
- type QuoteCreateHandler
- type QuoteCreateHandlerFunc
- type QuoteCreateInternalServerError
- func (o *QuoteCreateInternalServerError) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteCreateInternalServerError) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateInternalServerError
- func (o *QuoteCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteCreateMethodNotAllowed
- func (o *QuoteCreateMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteCreateMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateMethodNotAllowed
- func (o *QuoteCreateMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteCreateNotFound
- type QuoteCreateParams
- type QuoteCreateServiceUnavailable
- func (o *QuoteCreateServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteCreateServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateServiceUnavailable
- func (o *QuoteCreateServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteCreateURL
- func (o *QuoteCreateURL) Build() (*url.URL, error)
- func (o *QuoteCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *QuoteCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *QuoteCreateURL) SetBasePath(bp string)
- func (o *QuoteCreateURL) String() string
- func (o *QuoteCreateURL) StringFull(scheme, host string) string
- func (o *QuoteCreateURL) WithBasePath(bp string) *QuoteCreateURL
- type QuoteCreateUnauthorized
- type QuoteCreateUnprocessableEntity
- func (o *QuoteCreateUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteCreateUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateUnprocessableEntity
- func (o *QuoteCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteFind
- type QuoteFindBadRequest
- type QuoteFindForbidden
- type QuoteFindHandler
- type QuoteFindHandlerFunc
- type QuoteFindInternalServerError
- func (o *QuoteFindInternalServerError) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteFindInternalServerError) WithPayload(payload *models.ErrorRepresentation) *QuoteFindInternalServerError
- func (o *QuoteFindInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteFindMethodNotAllowed
- type QuoteFindNotFound
- type QuoteFindOK
- func (o *QuoteFindOK) SetPayload(payload []*models.QuoteFind)
- func (o *QuoteFindOK) SetXResultCount(xResultCount int32)
- func (o *QuoteFindOK) SetXTotalCount(xTotalCount int32)
- func (o *QuoteFindOK) WithPayload(payload []*models.QuoteFind) *QuoteFindOK
- func (o *QuoteFindOK) WithXResultCount(xResultCount int32) *QuoteFindOK
- func (o *QuoteFindOK) WithXTotalCount(xTotalCount int32) *QuoteFindOK
- func (o *QuoteFindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteFindParams
- type QuoteFindServiceUnavailable
- func (o *QuoteFindServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteFindServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *QuoteFindServiceUnavailable
- func (o *QuoteFindServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteFindURL
- func (o *QuoteFindURL) Build() (*url.URL, error)
- func (o *QuoteFindURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *QuoteFindURL) Must(u *url.URL, err error) *url.URL
- func (o *QuoteFindURL) SetBasePath(bp string)
- func (o *QuoteFindURL) String() string
- func (o *QuoteFindURL) StringFull(scheme, host string) string
- func (o *QuoteFindURL) WithBasePath(bp string) *QuoteFindURL
- type QuoteFindUnauthorized
- type QuoteFindUnprocessableEntity
- func (o *QuoteFindUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteFindUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *QuoteFindUnprocessableEntity
- func (o *QuoteFindUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteGet
- type QuoteGetBadRequest
- type QuoteGetForbidden
- type QuoteGetHandler
- type QuoteGetHandlerFunc
- type QuoteGetInternalServerError
- func (o *QuoteGetInternalServerError) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteGetInternalServerError) WithPayload(payload *models.ErrorRepresentation) *QuoteGetInternalServerError
- func (o *QuoteGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteGetMethodNotAllowed
- type QuoteGetNotFound
- type QuoteGetOK
- type QuoteGetParams
- type QuoteGetServiceUnavailable
- func (o *QuoteGetServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteGetServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *QuoteGetServiceUnavailable
- func (o *QuoteGetServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteGetURL
- func (o *QuoteGetURL) Build() (*url.URL, error)
- func (o *QuoteGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *QuoteGetURL) Must(u *url.URL, err error) *url.URL
- func (o *QuoteGetURL) SetBasePath(bp string)
- func (o *QuoteGetURL) String() string
- func (o *QuoteGetURL) StringFull(scheme, host string) string
- func (o *QuoteGetURL) WithBasePath(bp string) *QuoteGetURL
- type QuoteGetUnauthorized
- type QuoteGetUnprocessableEntity
- func (o *QuoteGetUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteGetUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *QuoteGetUnprocessableEntity
- func (o *QuoteGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteRequestStateChange
- type QuoteRequestStateChangeBadRequest
- func (o *QuoteRequestStateChangeBadRequest) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteRequestStateChangeBadRequest) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeBadRequest
- func (o *QuoteRequestStateChangeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteRequestStateChangeForbidden
- func (o *QuoteRequestStateChangeForbidden) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteRequestStateChangeForbidden) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeForbidden
- func (o *QuoteRequestStateChangeForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteRequestStateChangeHandler
- type QuoteRequestStateChangeHandlerFunc
- type QuoteRequestStateChangeInternalServerError
- func (o *QuoteRequestStateChangeInternalServerError) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteRequestStateChangeInternalServerError) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeInternalServerError
- func (o *QuoteRequestStateChangeInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteRequestStateChangeMethodNotAllowed
- func (o *QuoteRequestStateChangeMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteRequestStateChangeMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeMethodNotAllowed
- func (o *QuoteRequestStateChangeMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteRequestStateChangeNotFound
- func (o *QuoteRequestStateChangeNotFound) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteRequestStateChangeNotFound) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeNotFound
- func (o *QuoteRequestStateChangeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteRequestStateChangeOK
- func (o *QuoteRequestStateChangeOK) SetPayload(payload *models.ChangeQuoteStateResponse)
- func (o *QuoteRequestStateChangeOK) WithPayload(payload *models.ChangeQuoteStateResponse) *QuoteRequestStateChangeOK
- func (o *QuoteRequestStateChangeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteRequestStateChangeParams
- type QuoteRequestStateChangeServiceUnavailable
- func (o *QuoteRequestStateChangeServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteRequestStateChangeServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeServiceUnavailable
- func (o *QuoteRequestStateChangeServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteRequestStateChangeURL
- func (o *QuoteRequestStateChangeURL) Build() (*url.URL, error)
- func (o *QuoteRequestStateChangeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *QuoteRequestStateChangeURL) Must(u *url.URL, err error) *url.URL
- func (o *QuoteRequestStateChangeURL) SetBasePath(bp string)
- func (o *QuoteRequestStateChangeURL) String() string
- func (o *QuoteRequestStateChangeURL) StringFull(scheme, host string) string
- func (o *QuoteRequestStateChangeURL) WithBasePath(bp string) *QuoteRequestStateChangeURL
- type QuoteRequestStateChangeUnauthorized
- func (o *QuoteRequestStateChangeUnauthorized) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteRequestStateChangeUnauthorized) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeUnauthorized
- func (o *QuoteRequestStateChangeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type QuoteRequestStateChangeUnprocessableEntity
- func (o *QuoteRequestStateChangeUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
- func (o *QuoteRequestStateChangeUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeUnprocessableEntity
- func (o *QuoteRequestStateChangeUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const QuoteCreateBadRequestCode int = 400
QuoteCreateBadRequestCode is the HTTP code returned for type QuoteCreateBadRequest
const QuoteCreateCreatedCode int = 201
QuoteCreateCreatedCode is the HTTP code returned for type QuoteCreateCreated
const QuoteCreateForbiddenCode int = 403
QuoteCreateForbiddenCode is the HTTP code returned for type QuoteCreateForbidden
const QuoteCreateInternalServerErrorCode int = 500
QuoteCreateInternalServerErrorCode is the HTTP code returned for type QuoteCreateInternalServerError
const QuoteCreateMethodNotAllowedCode int = 405
QuoteCreateMethodNotAllowedCode is the HTTP code returned for type QuoteCreateMethodNotAllowed
const QuoteCreateNotFoundCode int = 404
QuoteCreateNotFoundCode is the HTTP code returned for type QuoteCreateNotFound
QuoteCreateServiceUnavailableCode is the HTTP code returned for type QuoteCreateServiceUnavailable
QuoteCreateUnauthorizedCode is the HTTP code returned for type QuoteCreateUnauthorized
const QuoteCreateUnprocessableEntityCode int = 422
QuoteCreateUnprocessableEntityCode is the HTTP code returned for type QuoteCreateUnprocessableEntity
const QuoteFindBadRequestCode int = 400
QuoteFindBadRequestCode is the HTTP code returned for type QuoteFindBadRequest
const QuoteFindForbiddenCode int = 403
QuoteFindForbiddenCode is the HTTP code returned for type QuoteFindForbidden
const QuoteFindInternalServerErrorCode int = 500
QuoteFindInternalServerErrorCode is the HTTP code returned for type QuoteFindInternalServerError
const QuoteFindMethodNotAllowedCode int = 405
QuoteFindMethodNotAllowedCode is the HTTP code returned for type QuoteFindMethodNotAllowed
const QuoteFindNotFoundCode int = 404
QuoteFindNotFoundCode is the HTTP code returned for type QuoteFindNotFound
const QuoteFindOKCode int = 200
QuoteFindOKCode is the HTTP code returned for type QuoteFindOK
QuoteFindServiceUnavailableCode is the HTTP code returned for type QuoteFindServiceUnavailable
QuoteFindUnauthorizedCode is the HTTP code returned for type QuoteFindUnauthorized
const QuoteFindUnprocessableEntityCode int = 422
QuoteFindUnprocessableEntityCode is the HTTP code returned for type QuoteFindUnprocessableEntity
const QuoteGetBadRequestCode int = 400
QuoteGetBadRequestCode is the HTTP code returned for type QuoteGetBadRequest
const QuoteGetForbiddenCode int = 403
QuoteGetForbiddenCode is the HTTP code returned for type QuoteGetForbidden
const QuoteGetInternalServerErrorCode int = 500
QuoteGetInternalServerErrorCode is the HTTP code returned for type QuoteGetInternalServerError
const QuoteGetMethodNotAllowedCode int = 405
QuoteGetMethodNotAllowedCode is the HTTP code returned for type QuoteGetMethodNotAllowed
const QuoteGetNotFoundCode int = 404
QuoteGetNotFoundCode is the HTTP code returned for type QuoteGetNotFound
const QuoteGetOKCode int = 200
QuoteGetOKCode is the HTTP code returned for type QuoteGetOK
QuoteGetServiceUnavailableCode is the HTTP code returned for type QuoteGetServiceUnavailable
QuoteGetUnauthorizedCode is the HTTP code returned for type QuoteGetUnauthorized
const QuoteGetUnprocessableEntityCode int = 422
QuoteGetUnprocessableEntityCode is the HTTP code returned for type QuoteGetUnprocessableEntity
const QuoteRequestStateChangeBadRequestCode int = 400
QuoteRequestStateChangeBadRequestCode is the HTTP code returned for type QuoteRequestStateChangeBadRequest
const QuoteRequestStateChangeForbiddenCode int = 403
QuoteRequestStateChangeForbiddenCode is the HTTP code returned for type QuoteRequestStateChangeForbidden
const QuoteRequestStateChangeInternalServerErrorCode int = 500
QuoteRequestStateChangeInternalServerErrorCode is the HTTP code returned for type QuoteRequestStateChangeInternalServerError
const QuoteRequestStateChangeMethodNotAllowedCode int = 405
QuoteRequestStateChangeMethodNotAllowedCode is the HTTP code returned for type QuoteRequestStateChangeMethodNotAllowed
const QuoteRequestStateChangeNotFoundCode int = 404
QuoteRequestStateChangeNotFoundCode is the HTTP code returned for type QuoteRequestStateChangeNotFound
const QuoteRequestStateChangeOKCode int = 200
QuoteRequestStateChangeOKCode is the HTTP code returned for type QuoteRequestStateChangeOK
QuoteRequestStateChangeServiceUnavailableCode is the HTTP code returned for type QuoteRequestStateChangeServiceUnavailable
QuoteRequestStateChangeUnauthorizedCode is the HTTP code returned for type QuoteRequestStateChangeUnauthorized
const QuoteRequestStateChangeUnprocessableEntityCode int = 422
QuoteRequestStateChangeUnprocessableEntityCode is the HTTP code returned for type QuoteRequestStateChangeUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuoteCreate ¶
type QuoteCreate struct { Context *middleware.Context Handler QuoteCreateHandler }
QuoteCreate swagger:route POST /quoteManagement/v2/quote Quote quoteCreate
Create a quote ¶
This operation is used to create a new quote.
func NewQuoteCreate ¶
func NewQuoteCreate(ctx *middleware.Context, handler QuoteCreateHandler) *QuoteCreate
NewQuoteCreate creates a new http.Handler for the quote create operation
func (*QuoteCreate) ServeHTTP ¶
func (o *QuoteCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type QuoteCreateBadRequest ¶
type QuoteCreateBadRequest struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteCreateBadRequest Bad Request
List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value
swagger:response quoteCreateBadRequest
func NewQuoteCreateBadRequest ¶
func NewQuoteCreateBadRequest() *QuoteCreateBadRequest
NewQuoteCreateBadRequest creates QuoteCreateBadRequest with default headers values
func (*QuoteCreateBadRequest) SetPayload ¶
func (o *QuoteCreateBadRequest) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote create bad request response
func (*QuoteCreateBadRequest) WithPayload ¶
func (o *QuoteCreateBadRequest) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateBadRequest
WithPayload adds the payload to the quote create bad request response
func (*QuoteCreateBadRequest) WriteResponse ¶
func (o *QuoteCreateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteCreateCreated ¶
QuoteCreateCreated Created
swagger:response quoteCreateCreated
func NewQuoteCreateCreated ¶
func NewQuoteCreateCreated() *QuoteCreateCreated
NewQuoteCreateCreated creates QuoteCreateCreated with default headers values
func (*QuoteCreateCreated) SetPayload ¶
func (o *QuoteCreateCreated) SetPayload(payload *models.Quote)
SetPayload sets the payload to the quote create created response
func (*QuoteCreateCreated) WithPayload ¶
func (o *QuoteCreateCreated) WithPayload(payload *models.Quote) *QuoteCreateCreated
WithPayload adds the payload to the quote create created response
func (*QuoteCreateCreated) WriteResponse ¶
func (o *QuoteCreateCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteCreateForbidden ¶
type QuoteCreateForbidden struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteCreateForbidden Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
swagger:response quoteCreateForbidden
func NewQuoteCreateForbidden ¶
func NewQuoteCreateForbidden() *QuoteCreateForbidden
NewQuoteCreateForbidden creates QuoteCreateForbidden with default headers values
func (*QuoteCreateForbidden) SetPayload ¶
func (o *QuoteCreateForbidden) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote create forbidden response
func (*QuoteCreateForbidden) WithPayload ¶
func (o *QuoteCreateForbidden) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateForbidden
WithPayload adds the payload to the quote create forbidden response
func (*QuoteCreateForbidden) WriteResponse ¶
func (o *QuoteCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteCreateHandler ¶
type QuoteCreateHandler interface {
Handle(QuoteCreateParams, *models.Principal) middleware.Responder
}
QuoteCreateHandler interface for that can handle valid quote create params
type QuoteCreateHandlerFunc ¶
type QuoteCreateHandlerFunc func(QuoteCreateParams, *models.Principal) middleware.Responder
QuoteCreateHandlerFunc turns a function with the right signature into a quote create handler
func (QuoteCreateHandlerFunc) Handle ¶
func (fn QuoteCreateHandlerFunc) Handle(params QuoteCreateParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type QuoteCreateInternalServerError ¶
type QuoteCreateInternalServerError struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteCreateInternalServerError Internal Server Error
List of supported error codes: - 1: Internal error
swagger:response quoteCreateInternalServerError
func NewQuoteCreateInternalServerError ¶
func NewQuoteCreateInternalServerError() *QuoteCreateInternalServerError
NewQuoteCreateInternalServerError creates QuoteCreateInternalServerError with default headers values
func (*QuoteCreateInternalServerError) SetPayload ¶
func (o *QuoteCreateInternalServerError) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote create internal server error response
func (*QuoteCreateInternalServerError) WithPayload ¶
func (o *QuoteCreateInternalServerError) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateInternalServerError
WithPayload adds the payload to the quote create internal server error response
func (*QuoteCreateInternalServerError) WriteResponse ¶
func (o *QuoteCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteCreateMethodNotAllowed ¶
type QuoteCreateMethodNotAllowed struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteCreateMethodNotAllowed Method Not Allowed
List of supported error codes: - 61: Method not allowed
swagger:response quoteCreateMethodNotAllowed
func NewQuoteCreateMethodNotAllowed ¶
func NewQuoteCreateMethodNotAllowed() *QuoteCreateMethodNotAllowed
NewQuoteCreateMethodNotAllowed creates QuoteCreateMethodNotAllowed with default headers values
func (*QuoteCreateMethodNotAllowed) SetPayload ¶
func (o *QuoteCreateMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote create method not allowed response
func (*QuoteCreateMethodNotAllowed) WithPayload ¶
func (o *QuoteCreateMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateMethodNotAllowed
WithPayload adds the payload to the quote create method not allowed response
func (*QuoteCreateMethodNotAllowed) WriteResponse ¶
func (o *QuoteCreateMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteCreateNotFound ¶
type QuoteCreateNotFound struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteCreateNotFound Not Found
List of supported error codes: - 60: Resource not found
swagger:response quoteCreateNotFound
func NewQuoteCreateNotFound ¶
func NewQuoteCreateNotFound() *QuoteCreateNotFound
NewQuoteCreateNotFound creates QuoteCreateNotFound with default headers values
func (*QuoteCreateNotFound) SetPayload ¶
func (o *QuoteCreateNotFound) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote create not found response
func (*QuoteCreateNotFound) WithPayload ¶
func (o *QuoteCreateNotFound) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateNotFound
WithPayload adds the payload to the quote create not found response
func (*QuoteCreateNotFound) WriteResponse ¶
func (o *QuoteCreateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteCreateParams ¶
type QuoteCreateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Quote *models.QuoteCreate }
QuoteCreateParams contains all the bound params for the quote create operation typically these are obtained from a http.Request
swagger:parameters quoteCreate
func NewQuoteCreateParams ¶
func NewQuoteCreateParams() QuoteCreateParams
NewQuoteCreateParams creates a new QuoteCreateParams object
There are no default values defined in the spec.
func (*QuoteCreateParams) BindRequest ¶
func (o *QuoteCreateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewQuoteCreateParams() beforehand.
type QuoteCreateServiceUnavailable ¶
type QuoteCreateServiceUnavailable struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
QuoteCreateServiceUnavailable Service Unavailable
swagger:response quoteCreateServiceUnavailable
func NewQuoteCreateServiceUnavailable ¶
func NewQuoteCreateServiceUnavailable() *QuoteCreateServiceUnavailable
NewQuoteCreateServiceUnavailable creates QuoteCreateServiceUnavailable with default headers values
func (*QuoteCreateServiceUnavailable) SetPayload ¶
func (o *QuoteCreateServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote create service unavailable response
func (*QuoteCreateServiceUnavailable) WithPayload ¶
func (o *QuoteCreateServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateServiceUnavailable
WithPayload adds the payload to the quote create service unavailable response
func (*QuoteCreateServiceUnavailable) WriteResponse ¶
func (o *QuoteCreateServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteCreateURL ¶
type QuoteCreateURL struct {
// contains filtered or unexported fields
}
QuoteCreateURL generates an URL for the quote create operation
func (*QuoteCreateURL) Build ¶
func (o *QuoteCreateURL) Build() (*url.URL, error)
Build a url path and query string
func (*QuoteCreateURL) BuildFull ¶
func (o *QuoteCreateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*QuoteCreateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*QuoteCreateURL) SetBasePath ¶
func (o *QuoteCreateURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*QuoteCreateURL) String ¶
func (o *QuoteCreateURL) String() string
String returns the string representation of the path with query string
func (*QuoteCreateURL) StringFull ¶
func (o *QuoteCreateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*QuoteCreateURL) WithBasePath ¶
func (o *QuoteCreateURL) WithBasePath(bp string) *QuoteCreateURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type QuoteCreateUnauthorized ¶
type QuoteCreateUnauthorized struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
QuoteCreateUnauthorized Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
swagger:response quoteCreateUnauthorized
func NewQuoteCreateUnauthorized ¶
func NewQuoteCreateUnauthorized() *QuoteCreateUnauthorized
NewQuoteCreateUnauthorized creates QuoteCreateUnauthorized with default headers values
func (*QuoteCreateUnauthorized) SetPayload ¶
func (o *QuoteCreateUnauthorized) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote create unauthorized response
func (*QuoteCreateUnauthorized) WithPayload ¶
func (o *QuoteCreateUnauthorized) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateUnauthorized
WithPayload adds the payload to the quote create unauthorized response
func (*QuoteCreateUnauthorized) WriteResponse ¶
func (o *QuoteCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteCreateUnprocessableEntity ¶
type QuoteCreateUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteCreateUnprocessableEntity Unprocessable entity
Functional error
- code: 101
message: A relatedPartyRole for Buyer role must be provided description:
- code: 103
message: A relatedPartyRole is incomplete (must have partyRole.id or role.id+relatedParty) description:
- code: 104
message: A relatedParty is incomplete (must have a party.id or a party.name) description:
- code: 105
message: Qualification Id provided did not exist or expired description:
- code: 106
message: At least a productOffering Id or a product.id or a productSpec.id must be provided in quote item description:
- code: 107
message: inconsistency between requestedQuoteCompletionDate and expectedFulfillmentStartDate description:
- code: 108
message: Seller requires agreement under which the buyer is requesting but is missing from the request. description:
- code: 109
message: The agreement provided cannot be validated by the seller description:
- code: 110
message: Product requested is not part of the provided agreement description:
- code: 111
message: Mandatory product/item relationship is missing description:
swagger:response quoteCreateUnprocessableEntity
func NewQuoteCreateUnprocessableEntity ¶
func NewQuoteCreateUnprocessableEntity() *QuoteCreateUnprocessableEntity
NewQuoteCreateUnprocessableEntity creates QuoteCreateUnprocessableEntity with default headers values
func (*QuoteCreateUnprocessableEntity) SetPayload ¶
func (o *QuoteCreateUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote create unprocessable entity response
func (*QuoteCreateUnprocessableEntity) WithPayload ¶
func (o *QuoteCreateUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *QuoteCreateUnprocessableEntity
WithPayload adds the payload to the quote create unprocessable entity response
func (*QuoteCreateUnprocessableEntity) WriteResponse ¶
func (o *QuoteCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteFind ¶
type QuoteFind struct { Context *middleware.Context Handler QuoteFindHandler }
QuoteFind swagger:route GET /quoteManagement/v2/quote Quote quoteFind
List quotes ¶
This operation is used to retrieve quote information using filter criteria.
func NewQuoteFind ¶
func NewQuoteFind(ctx *middleware.Context, handler QuoteFindHandler) *QuoteFind
NewQuoteFind creates a new http.Handler for the quote find operation
type QuoteFindBadRequest ¶
type QuoteFindBadRequest struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteFindBadRequest Bad Request
List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value
swagger:response quoteFindBadRequest
func NewQuoteFindBadRequest ¶
func NewQuoteFindBadRequest() *QuoteFindBadRequest
NewQuoteFindBadRequest creates QuoteFindBadRequest with default headers values
func (*QuoteFindBadRequest) SetPayload ¶
func (o *QuoteFindBadRequest) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote find bad request response
func (*QuoteFindBadRequest) WithPayload ¶
func (o *QuoteFindBadRequest) WithPayload(payload *models.ErrorRepresentation) *QuoteFindBadRequest
WithPayload adds the payload to the quote find bad request response
func (*QuoteFindBadRequest) WriteResponse ¶
func (o *QuoteFindBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteFindForbidden ¶
type QuoteFindForbidden struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteFindForbidden Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
swagger:response quoteFindForbidden
func NewQuoteFindForbidden ¶
func NewQuoteFindForbidden() *QuoteFindForbidden
NewQuoteFindForbidden creates QuoteFindForbidden with default headers values
func (*QuoteFindForbidden) SetPayload ¶
func (o *QuoteFindForbidden) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote find forbidden response
func (*QuoteFindForbidden) WithPayload ¶
func (o *QuoteFindForbidden) WithPayload(payload *models.ErrorRepresentation) *QuoteFindForbidden
WithPayload adds the payload to the quote find forbidden response
func (*QuoteFindForbidden) WriteResponse ¶
func (o *QuoteFindForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteFindHandler ¶
type QuoteFindHandler interface {
Handle(QuoteFindParams, *models.Principal) middleware.Responder
}
QuoteFindHandler interface for that can handle valid quote find params
type QuoteFindHandlerFunc ¶
type QuoteFindHandlerFunc func(QuoteFindParams, *models.Principal) middleware.Responder
QuoteFindHandlerFunc turns a function with the right signature into a quote find handler
func (QuoteFindHandlerFunc) Handle ¶
func (fn QuoteFindHandlerFunc) Handle(params QuoteFindParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type QuoteFindInternalServerError ¶
type QuoteFindInternalServerError struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteFindInternalServerError Internal Server Error
List of supported error codes: - 1: Internal error
swagger:response quoteFindInternalServerError
func NewQuoteFindInternalServerError ¶
func NewQuoteFindInternalServerError() *QuoteFindInternalServerError
NewQuoteFindInternalServerError creates QuoteFindInternalServerError with default headers values
func (*QuoteFindInternalServerError) SetPayload ¶
func (o *QuoteFindInternalServerError) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote find internal server error response
func (*QuoteFindInternalServerError) WithPayload ¶
func (o *QuoteFindInternalServerError) WithPayload(payload *models.ErrorRepresentation) *QuoteFindInternalServerError
WithPayload adds the payload to the quote find internal server error response
func (*QuoteFindInternalServerError) WriteResponse ¶
func (o *QuoteFindInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteFindMethodNotAllowed ¶
type QuoteFindMethodNotAllowed struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteFindMethodNotAllowed Method Not Allowed
List of supported error codes: - 61: Method not allowed
swagger:response quoteFindMethodNotAllowed
func NewQuoteFindMethodNotAllowed ¶
func NewQuoteFindMethodNotAllowed() *QuoteFindMethodNotAllowed
NewQuoteFindMethodNotAllowed creates QuoteFindMethodNotAllowed with default headers values
func (*QuoteFindMethodNotAllowed) SetPayload ¶
func (o *QuoteFindMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote find method not allowed response
func (*QuoteFindMethodNotAllowed) WithPayload ¶
func (o *QuoteFindMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *QuoteFindMethodNotAllowed
WithPayload adds the payload to the quote find method not allowed response
func (*QuoteFindMethodNotAllowed) WriteResponse ¶
func (o *QuoteFindMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteFindNotFound ¶
type QuoteFindNotFound struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteFindNotFound Not Found
List of supported error codes: - 60: Resource not found
swagger:response quoteFindNotFound
func NewQuoteFindNotFound ¶
func NewQuoteFindNotFound() *QuoteFindNotFound
NewQuoteFindNotFound creates QuoteFindNotFound with default headers values
func (*QuoteFindNotFound) SetPayload ¶
func (o *QuoteFindNotFound) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote find not found response
func (*QuoteFindNotFound) WithPayload ¶
func (o *QuoteFindNotFound) WithPayload(payload *models.ErrorRepresentation) *QuoteFindNotFound
WithPayload adds the payload to the quote find not found response
func (*QuoteFindNotFound) WriteResponse ¶
func (o *QuoteFindNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteFindOK ¶
type QuoteFindOK struct { /*The number of resources retrieved in the response */ XResultCount int32 `json:"X-Result-Count"` /*Total number of items matching criteria */ XTotalCount int32 `json:"X-Total-Count"` /* In: Body */ Payload []*models.QuoteFind `json:"body,omitempty"` }
QuoteFindOK Ok
swagger:response quoteFindOK
func NewQuoteFindOK ¶
func NewQuoteFindOK() *QuoteFindOK
NewQuoteFindOK creates QuoteFindOK with default headers values
func (*QuoteFindOK) SetPayload ¶
func (o *QuoteFindOK) SetPayload(payload []*models.QuoteFind)
SetPayload sets the payload to the quote find o k response
func (*QuoteFindOK) SetXResultCount ¶
func (o *QuoteFindOK) SetXResultCount(xResultCount int32)
SetXResultCount sets the xResultCount to the quote find o k response
func (*QuoteFindOK) SetXTotalCount ¶
func (o *QuoteFindOK) SetXTotalCount(xTotalCount int32)
SetXTotalCount sets the xTotalCount to the quote find o k response
func (*QuoteFindOK) WithPayload ¶
func (o *QuoteFindOK) WithPayload(payload []*models.QuoteFind) *QuoteFindOK
WithPayload adds the payload to the quote find o k response
func (*QuoteFindOK) WithXResultCount ¶
func (o *QuoteFindOK) WithXResultCount(xResultCount int32) *QuoteFindOK
WithXResultCount adds the xResultCount to the quote find o k response
func (*QuoteFindOK) WithXTotalCount ¶
func (o *QuoteFindOK) WithXTotalCount(xTotalCount int32) *QuoteFindOK
WithXTotalCount adds the xTotalCount to the quote find o k response
func (*QuoteFindOK) WriteResponse ¶
func (o *QuoteFindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteFindParams ¶
type QuoteFindParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*ID given by the consumer and only understandable by him (to facilitate his searches afterwards) In: query */ ExternalID *string /*Requested number of resources to be provided in response requested by client In: query */ Limit *string /*Requested index for start of resources to be provided in response requested by client In: query */ Offset *string /*This value MAY be assigned by the Buyer/Seller to identify a project the quoting request is associated with. In: query */ ProjectID *string /*Date when the quote was completed - greater than In: query */ QuoteCompletionDateGt *strfmt.DateTime /*Date when the quote was completed - lower than In: query */ QuoteCompletionDateLt *strfmt.DateTime /*Date when the quote was created - greater than In: query */ QuoteDateGt *strfmt.DateTime /*Date when the quote was created - lower than In: query */ QuoteDateLt *strfmt.DateTime /*Level of the quote - could be indicative, budgetary or firm In: query */ QuoteLevel *string /*State of the Quote In: query */ State *string }
QuoteFindParams contains all the bound params for the quote find operation typically these are obtained from a http.Request
swagger:parameters quoteFind
func NewQuoteFindParams ¶
func NewQuoteFindParams() QuoteFindParams
NewQuoteFindParams creates a new QuoteFindParams object
There are no default values defined in the spec.
func (*QuoteFindParams) BindRequest ¶
func (o *QuoteFindParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewQuoteFindParams() beforehand.
type QuoteFindServiceUnavailable ¶
type QuoteFindServiceUnavailable struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
QuoteFindServiceUnavailable Service Unavailable
swagger:response quoteFindServiceUnavailable
func NewQuoteFindServiceUnavailable ¶
func NewQuoteFindServiceUnavailable() *QuoteFindServiceUnavailable
NewQuoteFindServiceUnavailable creates QuoteFindServiceUnavailable with default headers values
func (*QuoteFindServiceUnavailable) SetPayload ¶
func (o *QuoteFindServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote find service unavailable response
func (*QuoteFindServiceUnavailable) WithPayload ¶
func (o *QuoteFindServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *QuoteFindServiceUnavailable
WithPayload adds the payload to the quote find service unavailable response
func (*QuoteFindServiceUnavailable) WriteResponse ¶
func (o *QuoteFindServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteFindURL ¶
type QuoteFindURL struct { ExternalID *string Limit *string Offset *string ProjectID *string QuoteCompletionDateGt *strfmt.DateTime QuoteCompletionDateLt *strfmt.DateTime QuoteDateGt *strfmt.DateTime QuoteDateLt *strfmt.DateTime QuoteLevel *string State *string // contains filtered or unexported fields }
QuoteFindURL generates an URL for the quote find operation
func (*QuoteFindURL) Build ¶
func (o *QuoteFindURL) Build() (*url.URL, error)
Build a url path and query string
func (*QuoteFindURL) BuildFull ¶
func (o *QuoteFindURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*QuoteFindURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*QuoteFindURL) SetBasePath ¶
func (o *QuoteFindURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*QuoteFindURL) String ¶
func (o *QuoteFindURL) String() string
String returns the string representation of the path with query string
func (*QuoteFindURL) StringFull ¶
func (o *QuoteFindURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*QuoteFindURL) WithBasePath ¶
func (o *QuoteFindURL) WithBasePath(bp string) *QuoteFindURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type QuoteFindUnauthorized ¶
type QuoteFindUnauthorized struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
QuoteFindUnauthorized Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
swagger:response quoteFindUnauthorized
func NewQuoteFindUnauthorized ¶
func NewQuoteFindUnauthorized() *QuoteFindUnauthorized
NewQuoteFindUnauthorized creates QuoteFindUnauthorized with default headers values
func (*QuoteFindUnauthorized) SetPayload ¶
func (o *QuoteFindUnauthorized) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote find unauthorized response
func (*QuoteFindUnauthorized) WithPayload ¶
func (o *QuoteFindUnauthorized) WithPayload(payload *models.ErrorRepresentation) *QuoteFindUnauthorized
WithPayload adds the payload to the quote find unauthorized response
func (*QuoteFindUnauthorized) WriteResponse ¶
func (o *QuoteFindUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteFindUnprocessableEntity ¶
type QuoteFindUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteFindUnprocessableEntity Unprocessable entity
Functional error
- code: 100
message: Too many records retrieved - please restrict requested parameter value(s) description:
swagger:response quoteFindUnprocessableEntity
func NewQuoteFindUnprocessableEntity ¶
func NewQuoteFindUnprocessableEntity() *QuoteFindUnprocessableEntity
NewQuoteFindUnprocessableEntity creates QuoteFindUnprocessableEntity with default headers values
func (*QuoteFindUnprocessableEntity) SetPayload ¶
func (o *QuoteFindUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote find unprocessable entity response
func (*QuoteFindUnprocessableEntity) WithPayload ¶
func (o *QuoteFindUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *QuoteFindUnprocessableEntity
WithPayload adds the payload to the quote find unprocessable entity response
func (*QuoteFindUnprocessableEntity) WriteResponse ¶
func (o *QuoteFindUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteGet ¶
type QuoteGet struct { Context *middleware.Context Handler QuoteGetHandler }
QuoteGet swagger:route GET /quoteManagement/v2/quote/{id} Quote quoteGet
Retrieve a quote ¶
This operation is used to retrieve quote information using the ID.
func NewQuoteGet ¶
func NewQuoteGet(ctx *middleware.Context, handler QuoteGetHandler) *QuoteGet
NewQuoteGet creates a new http.Handler for the quote get operation
type QuoteGetBadRequest ¶
type QuoteGetBadRequest struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteGetBadRequest Bad Request
List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value
swagger:response quoteGetBadRequest
func NewQuoteGetBadRequest ¶
func NewQuoteGetBadRequest() *QuoteGetBadRequest
NewQuoteGetBadRequest creates QuoteGetBadRequest with default headers values
func (*QuoteGetBadRequest) SetPayload ¶
func (o *QuoteGetBadRequest) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote get bad request response
func (*QuoteGetBadRequest) WithPayload ¶
func (o *QuoteGetBadRequest) WithPayload(payload *models.ErrorRepresentation) *QuoteGetBadRequest
WithPayload adds the payload to the quote get bad request response
func (*QuoteGetBadRequest) WriteResponse ¶
func (o *QuoteGetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteGetForbidden ¶
type QuoteGetForbidden struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteGetForbidden Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
swagger:response quoteGetForbidden
func NewQuoteGetForbidden ¶
func NewQuoteGetForbidden() *QuoteGetForbidden
NewQuoteGetForbidden creates QuoteGetForbidden with default headers values
func (*QuoteGetForbidden) SetPayload ¶
func (o *QuoteGetForbidden) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote get forbidden response
func (*QuoteGetForbidden) WithPayload ¶
func (o *QuoteGetForbidden) WithPayload(payload *models.ErrorRepresentation) *QuoteGetForbidden
WithPayload adds the payload to the quote get forbidden response
func (*QuoteGetForbidden) WriteResponse ¶
func (o *QuoteGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteGetHandler ¶
type QuoteGetHandler interface {
Handle(QuoteGetParams, *models.Principal) middleware.Responder
}
QuoteGetHandler interface for that can handle valid quote get params
type QuoteGetHandlerFunc ¶
type QuoteGetHandlerFunc func(QuoteGetParams, *models.Principal) middleware.Responder
QuoteGetHandlerFunc turns a function with the right signature into a quote get handler
func (QuoteGetHandlerFunc) Handle ¶
func (fn QuoteGetHandlerFunc) Handle(params QuoteGetParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type QuoteGetInternalServerError ¶
type QuoteGetInternalServerError struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteGetInternalServerError Internal Server Error
List of supported error codes: - 1: Internal error
swagger:response quoteGetInternalServerError
func NewQuoteGetInternalServerError ¶
func NewQuoteGetInternalServerError() *QuoteGetInternalServerError
NewQuoteGetInternalServerError creates QuoteGetInternalServerError with default headers values
func (*QuoteGetInternalServerError) SetPayload ¶
func (o *QuoteGetInternalServerError) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote get internal server error response
func (*QuoteGetInternalServerError) WithPayload ¶
func (o *QuoteGetInternalServerError) WithPayload(payload *models.ErrorRepresentation) *QuoteGetInternalServerError
WithPayload adds the payload to the quote get internal server error response
func (*QuoteGetInternalServerError) WriteResponse ¶
func (o *QuoteGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteGetMethodNotAllowed ¶
type QuoteGetMethodNotAllowed struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteGetMethodNotAllowed Method Not Allowed
List of supported error codes: - 61: Method not allowed
swagger:response quoteGetMethodNotAllowed
func NewQuoteGetMethodNotAllowed ¶
func NewQuoteGetMethodNotAllowed() *QuoteGetMethodNotAllowed
NewQuoteGetMethodNotAllowed creates QuoteGetMethodNotAllowed with default headers values
func (*QuoteGetMethodNotAllowed) SetPayload ¶
func (o *QuoteGetMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote get method not allowed response
func (*QuoteGetMethodNotAllowed) WithPayload ¶
func (o *QuoteGetMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *QuoteGetMethodNotAllowed
WithPayload adds the payload to the quote get method not allowed response
func (*QuoteGetMethodNotAllowed) WriteResponse ¶
func (o *QuoteGetMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteGetNotFound ¶
type QuoteGetNotFound struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteGetNotFound Not Found
List of supported error codes: - 60: Resource not found
swagger:response quoteGetNotFound
func NewQuoteGetNotFound ¶
func NewQuoteGetNotFound() *QuoteGetNotFound
NewQuoteGetNotFound creates QuoteGetNotFound with default headers values
func (*QuoteGetNotFound) SetPayload ¶
func (o *QuoteGetNotFound) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote get not found response
func (*QuoteGetNotFound) WithPayload ¶
func (o *QuoteGetNotFound) WithPayload(payload *models.ErrorRepresentation) *QuoteGetNotFound
WithPayload adds the payload to the quote get not found response
func (*QuoteGetNotFound) WriteResponse ¶
func (o *QuoteGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteGetOK ¶
QuoteGetOK Ok
swagger:response quoteGetOK
func NewQuoteGetOK ¶
func NewQuoteGetOK() *QuoteGetOK
NewQuoteGetOK creates QuoteGetOK with default headers values
func (*QuoteGetOK) SetPayload ¶
func (o *QuoteGetOK) SetPayload(payload *models.Quote)
SetPayload sets the payload to the quote get o k response
func (*QuoteGetOK) WithPayload ¶
func (o *QuoteGetOK) WithPayload(payload *models.Quote) *QuoteGetOK
WithPayload adds the payload to the quote get o k response
func (*QuoteGetOK) WriteResponse ¶
func (o *QuoteGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteGetParams ¶
type QuoteGetParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID string }
QuoteGetParams contains all the bound params for the quote get operation typically these are obtained from a http.Request
swagger:parameters quoteGet
func NewQuoteGetParams ¶
func NewQuoteGetParams() QuoteGetParams
NewQuoteGetParams creates a new QuoteGetParams object
There are no default values defined in the spec.
func (*QuoteGetParams) BindRequest ¶
func (o *QuoteGetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewQuoteGetParams() beforehand.
type QuoteGetServiceUnavailable ¶
type QuoteGetServiceUnavailable struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
QuoteGetServiceUnavailable Service Unavailable
swagger:response quoteGetServiceUnavailable
func NewQuoteGetServiceUnavailable ¶
func NewQuoteGetServiceUnavailable() *QuoteGetServiceUnavailable
NewQuoteGetServiceUnavailable creates QuoteGetServiceUnavailable with default headers values
func (*QuoteGetServiceUnavailable) SetPayload ¶
func (o *QuoteGetServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote get service unavailable response
func (*QuoteGetServiceUnavailable) WithPayload ¶
func (o *QuoteGetServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *QuoteGetServiceUnavailable
WithPayload adds the payload to the quote get service unavailable response
func (*QuoteGetServiceUnavailable) WriteResponse ¶
func (o *QuoteGetServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteGetURL ¶
type QuoteGetURL struct { ID string // contains filtered or unexported fields }
QuoteGetURL generates an URL for the quote get operation
func (*QuoteGetURL) Build ¶
func (o *QuoteGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*QuoteGetURL) BuildFull ¶
func (o *QuoteGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*QuoteGetURL) SetBasePath ¶
func (o *QuoteGetURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*QuoteGetURL) String ¶
func (o *QuoteGetURL) String() string
String returns the string representation of the path with query string
func (*QuoteGetURL) StringFull ¶
func (o *QuoteGetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*QuoteGetURL) WithBasePath ¶
func (o *QuoteGetURL) WithBasePath(bp string) *QuoteGetURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type QuoteGetUnauthorized ¶
type QuoteGetUnauthorized struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
QuoteGetUnauthorized Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
swagger:response quoteGetUnauthorized
func NewQuoteGetUnauthorized ¶
func NewQuoteGetUnauthorized() *QuoteGetUnauthorized
NewQuoteGetUnauthorized creates QuoteGetUnauthorized with default headers values
func (*QuoteGetUnauthorized) SetPayload ¶
func (o *QuoteGetUnauthorized) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote get unauthorized response
func (*QuoteGetUnauthorized) WithPayload ¶
func (o *QuoteGetUnauthorized) WithPayload(payload *models.ErrorRepresentation) *QuoteGetUnauthorized
WithPayload adds the payload to the quote get unauthorized response
func (*QuoteGetUnauthorized) WriteResponse ¶
func (o *QuoteGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteGetUnprocessableEntity ¶
type QuoteGetUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteGetUnprocessableEntity Unprocessable entity
Functional error ¶
swagger:response quoteGetUnprocessableEntity
func NewQuoteGetUnprocessableEntity ¶
func NewQuoteGetUnprocessableEntity() *QuoteGetUnprocessableEntity
NewQuoteGetUnprocessableEntity creates QuoteGetUnprocessableEntity with default headers values
func (*QuoteGetUnprocessableEntity) SetPayload ¶
func (o *QuoteGetUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote get unprocessable entity response
func (*QuoteGetUnprocessableEntity) WithPayload ¶
func (o *QuoteGetUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *QuoteGetUnprocessableEntity
WithPayload adds the payload to the quote get unprocessable entity response
func (*QuoteGetUnprocessableEntity) WriteResponse ¶
func (o *QuoteGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteRequestStateChange ¶
type QuoteRequestStateChange struct { Context *middleware.Context Handler QuoteRequestStateChangeHandler }
QuoteRequestStateChange swagger:route POST /quoteManagement/v2/quote/requestStateChange Quote quoteRequestStateChange
request a quote state change
Request from buyer to cancel or reject a quote. When seller receive cancel request, seller will shift quote state to CANCELLED (no change on order item state) When seller receive reject request, seller will shift quote state to REJECTED (no change on order item state)
func NewQuoteRequestStateChange ¶
func NewQuoteRequestStateChange(ctx *middleware.Context, handler QuoteRequestStateChangeHandler) *QuoteRequestStateChange
NewQuoteRequestStateChange creates a new http.Handler for the quote request state change operation
func (*QuoteRequestStateChange) ServeHTTP ¶
func (o *QuoteRequestStateChange) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type QuoteRequestStateChangeBadRequest ¶
type QuoteRequestStateChangeBadRequest struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteRequestStateChangeBadRequest Bad Request
List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value
swagger:response quoteRequestStateChangeBadRequest
func NewQuoteRequestStateChangeBadRequest ¶
func NewQuoteRequestStateChangeBadRequest() *QuoteRequestStateChangeBadRequest
NewQuoteRequestStateChangeBadRequest creates QuoteRequestStateChangeBadRequest with default headers values
func (*QuoteRequestStateChangeBadRequest) SetPayload ¶
func (o *QuoteRequestStateChangeBadRequest) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote request state change bad request response
func (*QuoteRequestStateChangeBadRequest) WithPayload ¶
func (o *QuoteRequestStateChangeBadRequest) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeBadRequest
WithPayload adds the payload to the quote request state change bad request response
func (*QuoteRequestStateChangeBadRequest) WriteResponse ¶
func (o *QuoteRequestStateChangeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteRequestStateChangeForbidden ¶
type QuoteRequestStateChangeForbidden struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteRequestStateChangeForbidden Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
swagger:response quoteRequestStateChangeForbidden
func NewQuoteRequestStateChangeForbidden ¶
func NewQuoteRequestStateChangeForbidden() *QuoteRequestStateChangeForbidden
NewQuoteRequestStateChangeForbidden creates QuoteRequestStateChangeForbidden with default headers values
func (*QuoteRequestStateChangeForbidden) SetPayload ¶
func (o *QuoteRequestStateChangeForbidden) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote request state change forbidden response
func (*QuoteRequestStateChangeForbidden) WithPayload ¶
func (o *QuoteRequestStateChangeForbidden) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeForbidden
WithPayload adds the payload to the quote request state change forbidden response
func (*QuoteRequestStateChangeForbidden) WriteResponse ¶
func (o *QuoteRequestStateChangeForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteRequestStateChangeHandler ¶
type QuoteRequestStateChangeHandler interface {
Handle(QuoteRequestStateChangeParams, *models.Principal) middleware.Responder
}
QuoteRequestStateChangeHandler interface for that can handle valid quote request state change params
type QuoteRequestStateChangeHandlerFunc ¶
type QuoteRequestStateChangeHandlerFunc func(QuoteRequestStateChangeParams, *models.Principal) middleware.Responder
QuoteRequestStateChangeHandlerFunc turns a function with the right signature into a quote request state change handler
func (QuoteRequestStateChangeHandlerFunc) Handle ¶
func (fn QuoteRequestStateChangeHandlerFunc) Handle(params QuoteRequestStateChangeParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type QuoteRequestStateChangeInternalServerError ¶
type QuoteRequestStateChangeInternalServerError struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteRequestStateChangeInternalServerError Internal Server Error
List of supported error codes: - 1: Internal error
swagger:response quoteRequestStateChangeInternalServerError
func NewQuoteRequestStateChangeInternalServerError ¶
func NewQuoteRequestStateChangeInternalServerError() *QuoteRequestStateChangeInternalServerError
NewQuoteRequestStateChangeInternalServerError creates QuoteRequestStateChangeInternalServerError with default headers values
func (*QuoteRequestStateChangeInternalServerError) SetPayload ¶
func (o *QuoteRequestStateChangeInternalServerError) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote request state change internal server error response
func (*QuoteRequestStateChangeInternalServerError) WithPayload ¶
func (o *QuoteRequestStateChangeInternalServerError) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeInternalServerError
WithPayload adds the payload to the quote request state change internal server error response
func (*QuoteRequestStateChangeInternalServerError) WriteResponse ¶
func (o *QuoteRequestStateChangeInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteRequestStateChangeMethodNotAllowed ¶
type QuoteRequestStateChangeMethodNotAllowed struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteRequestStateChangeMethodNotAllowed Method Not Allowed
List of supported error codes: - 61: Method not allowed
swagger:response quoteRequestStateChangeMethodNotAllowed
func NewQuoteRequestStateChangeMethodNotAllowed ¶
func NewQuoteRequestStateChangeMethodNotAllowed() *QuoteRequestStateChangeMethodNotAllowed
NewQuoteRequestStateChangeMethodNotAllowed creates QuoteRequestStateChangeMethodNotAllowed with default headers values
func (*QuoteRequestStateChangeMethodNotAllowed) SetPayload ¶
func (o *QuoteRequestStateChangeMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote request state change method not allowed response
func (*QuoteRequestStateChangeMethodNotAllowed) WithPayload ¶
func (o *QuoteRequestStateChangeMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeMethodNotAllowed
WithPayload adds the payload to the quote request state change method not allowed response
func (*QuoteRequestStateChangeMethodNotAllowed) WriteResponse ¶
func (o *QuoteRequestStateChangeMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteRequestStateChangeNotFound ¶
type QuoteRequestStateChangeNotFound struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteRequestStateChangeNotFound Not Found
List of supported error codes: - 60: Resource not found
swagger:response quoteRequestStateChangeNotFound
func NewQuoteRequestStateChangeNotFound ¶
func NewQuoteRequestStateChangeNotFound() *QuoteRequestStateChangeNotFound
NewQuoteRequestStateChangeNotFound creates QuoteRequestStateChangeNotFound with default headers values
func (*QuoteRequestStateChangeNotFound) SetPayload ¶
func (o *QuoteRequestStateChangeNotFound) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote request state change not found response
func (*QuoteRequestStateChangeNotFound) WithPayload ¶
func (o *QuoteRequestStateChangeNotFound) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeNotFound
WithPayload adds the payload to the quote request state change not found response
func (*QuoteRequestStateChangeNotFound) WriteResponse ¶
func (o *QuoteRequestStateChangeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteRequestStateChangeOK ¶
type QuoteRequestStateChangeOK struct { /* In: Body */ Payload *models.ChangeQuoteStateResponse `json:"body,omitempty"` }
QuoteRequestStateChangeOK Ok
swagger:response quoteRequestStateChangeOK
func NewQuoteRequestStateChangeOK ¶
func NewQuoteRequestStateChangeOK() *QuoteRequestStateChangeOK
NewQuoteRequestStateChangeOK creates QuoteRequestStateChangeOK with default headers values
func (*QuoteRequestStateChangeOK) SetPayload ¶
func (o *QuoteRequestStateChangeOK) SetPayload(payload *models.ChangeQuoteStateResponse)
SetPayload sets the payload to the quote request state change o k response
func (*QuoteRequestStateChangeOK) WithPayload ¶
func (o *QuoteRequestStateChangeOK) WithPayload(payload *models.ChangeQuoteStateResponse) *QuoteRequestStateChangeOK
WithPayload adds the payload to the quote request state change o k response
func (*QuoteRequestStateChangeOK) WriteResponse ¶
func (o *QuoteRequestStateChangeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteRequestStateChangeParams ¶
type QuoteRequestStateChangeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ ChangeQuoteStateRequest *models.ChangelQuoteStateRequest }
QuoteRequestStateChangeParams contains all the bound params for the quote request state change operation typically these are obtained from a http.Request
swagger:parameters quoteRequestStateChange
func NewQuoteRequestStateChangeParams ¶
func NewQuoteRequestStateChangeParams() QuoteRequestStateChangeParams
NewQuoteRequestStateChangeParams creates a new QuoteRequestStateChangeParams object
There are no default values defined in the spec.
func (*QuoteRequestStateChangeParams) BindRequest ¶
func (o *QuoteRequestStateChangeParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewQuoteRequestStateChangeParams() beforehand.
type QuoteRequestStateChangeServiceUnavailable ¶
type QuoteRequestStateChangeServiceUnavailable struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
QuoteRequestStateChangeServiceUnavailable Service Unavailable
swagger:response quoteRequestStateChangeServiceUnavailable
func NewQuoteRequestStateChangeServiceUnavailable ¶
func NewQuoteRequestStateChangeServiceUnavailable() *QuoteRequestStateChangeServiceUnavailable
NewQuoteRequestStateChangeServiceUnavailable creates QuoteRequestStateChangeServiceUnavailable with default headers values
func (*QuoteRequestStateChangeServiceUnavailable) SetPayload ¶
func (o *QuoteRequestStateChangeServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote request state change service unavailable response
func (*QuoteRequestStateChangeServiceUnavailable) WithPayload ¶
func (o *QuoteRequestStateChangeServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeServiceUnavailable
WithPayload adds the payload to the quote request state change service unavailable response
func (*QuoteRequestStateChangeServiceUnavailable) WriteResponse ¶
func (o *QuoteRequestStateChangeServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteRequestStateChangeURL ¶
type QuoteRequestStateChangeURL struct {
// contains filtered or unexported fields
}
QuoteRequestStateChangeURL generates an URL for the quote request state change operation
func (*QuoteRequestStateChangeURL) Build ¶
func (o *QuoteRequestStateChangeURL) Build() (*url.URL, error)
Build a url path and query string
func (*QuoteRequestStateChangeURL) BuildFull ¶
func (o *QuoteRequestStateChangeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*QuoteRequestStateChangeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*QuoteRequestStateChangeURL) SetBasePath ¶
func (o *QuoteRequestStateChangeURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*QuoteRequestStateChangeURL) String ¶
func (o *QuoteRequestStateChangeURL) String() string
String returns the string representation of the path with query string
func (*QuoteRequestStateChangeURL) StringFull ¶
func (o *QuoteRequestStateChangeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*QuoteRequestStateChangeURL) WithBasePath ¶
func (o *QuoteRequestStateChangeURL) WithBasePath(bp string) *QuoteRequestStateChangeURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type QuoteRequestStateChangeUnauthorized ¶
type QuoteRequestStateChangeUnauthorized struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
QuoteRequestStateChangeUnauthorized Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
swagger:response quoteRequestStateChangeUnauthorized
func NewQuoteRequestStateChangeUnauthorized ¶
func NewQuoteRequestStateChangeUnauthorized() *QuoteRequestStateChangeUnauthorized
NewQuoteRequestStateChangeUnauthorized creates QuoteRequestStateChangeUnauthorized with default headers values
func (*QuoteRequestStateChangeUnauthorized) SetPayload ¶
func (o *QuoteRequestStateChangeUnauthorized) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote request state change unauthorized response
func (*QuoteRequestStateChangeUnauthorized) WithPayload ¶
func (o *QuoteRequestStateChangeUnauthorized) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeUnauthorized
WithPayload adds the payload to the quote request state change unauthorized response
func (*QuoteRequestStateChangeUnauthorized) WriteResponse ¶
func (o *QuoteRequestStateChangeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type QuoteRequestStateChangeUnprocessableEntity ¶
type QuoteRequestStateChangeUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
QuoteRequestStateChangeUnprocessableEntity Unprocessable entity
Functional error
- code: 100
message: Quote current status is incompatible with requested quote state change description:
- code: 101
message: Quote external Id provided did not match description:
swagger:response quoteRequestStateChangeUnprocessableEntity
func NewQuoteRequestStateChangeUnprocessableEntity ¶
func NewQuoteRequestStateChangeUnprocessableEntity() *QuoteRequestStateChangeUnprocessableEntity
NewQuoteRequestStateChangeUnprocessableEntity creates QuoteRequestStateChangeUnprocessableEntity with default headers values
func (*QuoteRequestStateChangeUnprocessableEntity) SetPayload ¶
func (o *QuoteRequestStateChangeUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the quote request state change unprocessable entity response
func (*QuoteRequestStateChangeUnprocessableEntity) WithPayload ¶
func (o *QuoteRequestStateChangeUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *QuoteRequestStateChangeUnprocessableEntity
WithPayload adds the payload to the quote request state change unprocessable entity response
func (*QuoteRequestStateChangeUnprocessableEntity) WriteResponse ¶
func (o *QuoteRequestStateChangeUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- quote_create.go
- quote_create_parameters.go
- quote_create_responses.go
- quote_create_urlbuilder.go
- quote_find.go
- quote_find_parameters.go
- quote_find_responses.go
- quote_find_urlbuilder.go
- quote_get.go
- quote_get_parameters.go
- quote_get_responses.go
- quote_get_urlbuilder.go
- quote_request_state_change.go
- quote_request_state_change_parameters.go
- quote_request_state_change_responses.go
- quote_request_state_change_urlbuilder.go