Documentation
¶
Index ¶
- Constants
- type ProductOrderCreate
- type ProductOrderCreateBadRequest
- func (o *ProductOrderCreateBadRequest) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderCreateBadRequest) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateBadRequest
- func (o *ProductOrderCreateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderCreateCreated
- type ProductOrderCreateForbidden
- func (o *ProductOrderCreateForbidden) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderCreateForbidden) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateForbidden
- func (o *ProductOrderCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderCreateHandler
- type ProductOrderCreateHandlerFunc
- type ProductOrderCreateInternalServerError
- func (o *ProductOrderCreateInternalServerError) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderCreateInternalServerError) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateInternalServerError
- func (o *ProductOrderCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderCreateMethodNotAllowed
- func (o *ProductOrderCreateMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderCreateMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateMethodNotAllowed
- func (o *ProductOrderCreateMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderCreateNotFound
- func (o *ProductOrderCreateNotFound) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderCreateNotFound) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateNotFound
- func (o *ProductOrderCreateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderCreateParams
- type ProductOrderCreateRequestTimeout
- func (o *ProductOrderCreateRequestTimeout) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderCreateRequestTimeout) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateRequestTimeout
- func (o *ProductOrderCreateRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderCreateServiceUnavailable
- func (o *ProductOrderCreateServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderCreateServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateServiceUnavailable
- func (o *ProductOrderCreateServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderCreateURL
- func (o *ProductOrderCreateURL) Build() (*url.URL, error)
- func (o *ProductOrderCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ProductOrderCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *ProductOrderCreateURL) SetBasePath(bp string)
- func (o *ProductOrderCreateURL) String() string
- func (o *ProductOrderCreateURL) StringFull(scheme, host string) string
- func (o *ProductOrderCreateURL) WithBasePath(bp string) *ProductOrderCreateURL
- type ProductOrderCreateUnauthorized
- func (o *ProductOrderCreateUnauthorized) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderCreateUnauthorized) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateUnauthorized
- func (o *ProductOrderCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderCreateUnprocessableEntity
- func (o *ProductOrderCreateUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderCreateUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateUnprocessableEntity
- func (o *ProductOrderCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderFind
- type ProductOrderFindBadRequest
- func (o *ProductOrderFindBadRequest) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderFindBadRequest) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindBadRequest
- func (o *ProductOrderFindBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderFindForbidden
- type ProductOrderFindHandler
- type ProductOrderFindHandlerFunc
- type ProductOrderFindInternalServerError
- func (o *ProductOrderFindInternalServerError) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderFindInternalServerError) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindInternalServerError
- func (o *ProductOrderFindInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderFindMethodNotAllowed
- func (o *ProductOrderFindMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderFindMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindMethodNotAllowed
- func (o *ProductOrderFindMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderFindNotFound
- type ProductOrderFindOK
- func (o *ProductOrderFindOK) SetPayload(payload []*models.ProductOrderSummary)
- func (o *ProductOrderFindOK) SetXResultCount(xResultCount int32)
- func (o *ProductOrderFindOK) SetXTotalCount(xTotalCount int32)
- func (o *ProductOrderFindOK) WithPayload(payload []*models.ProductOrderSummary) *ProductOrderFindOK
- func (o *ProductOrderFindOK) WithXResultCount(xResultCount int32) *ProductOrderFindOK
- func (o *ProductOrderFindOK) WithXTotalCount(xTotalCount int32) *ProductOrderFindOK
- func (o *ProductOrderFindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderFindParams
- type ProductOrderFindRequestTimeout
- func (o *ProductOrderFindRequestTimeout) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderFindRequestTimeout) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindRequestTimeout
- func (o *ProductOrderFindRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderFindServiceUnavailable
- func (o *ProductOrderFindServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderFindServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindServiceUnavailable
- func (o *ProductOrderFindServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderFindURL
- func (o *ProductOrderFindURL) Build() (*url.URL, error)
- func (o *ProductOrderFindURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ProductOrderFindURL) Must(u *url.URL, err error) *url.URL
- func (o *ProductOrderFindURL) SetBasePath(bp string)
- func (o *ProductOrderFindURL) String() string
- func (o *ProductOrderFindURL) StringFull(scheme, host string) string
- func (o *ProductOrderFindURL) WithBasePath(bp string) *ProductOrderFindURL
- type ProductOrderFindUnauthorized
- func (o *ProductOrderFindUnauthorized) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderFindUnauthorized) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindUnauthorized
- func (o *ProductOrderFindUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderFindUnprocessableEntity
- func (o *ProductOrderFindUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderFindUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindUnprocessableEntity
- func (o *ProductOrderFindUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderGet
- type ProductOrderGetBadRequest
- type ProductOrderGetForbidden
- type ProductOrderGetHandler
- type ProductOrderGetHandlerFunc
- type ProductOrderGetInternalServerError
- func (o *ProductOrderGetInternalServerError) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderGetInternalServerError) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetInternalServerError
- func (o *ProductOrderGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderGetMethodNotAllowed
- func (o *ProductOrderGetMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderGetMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetMethodNotAllowed
- func (o *ProductOrderGetMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderGetNotFound
- type ProductOrderGetOK
- type ProductOrderGetParams
- type ProductOrderGetRequestTimeout
- func (o *ProductOrderGetRequestTimeout) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderGetRequestTimeout) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetRequestTimeout
- func (o *ProductOrderGetRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderGetServiceUnavailable
- func (o *ProductOrderGetServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderGetServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetServiceUnavailable
- func (o *ProductOrderGetServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderGetURL
- func (o *ProductOrderGetURL) Build() (*url.URL, error)
- func (o *ProductOrderGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ProductOrderGetURL) Must(u *url.URL, err error) *url.URL
- func (o *ProductOrderGetURL) SetBasePath(bp string)
- func (o *ProductOrderGetURL) String() string
- func (o *ProductOrderGetURL) StringFull(scheme, host string) string
- func (o *ProductOrderGetURL) WithBasePath(bp string) *ProductOrderGetURL
- type ProductOrderGetUnauthorized
- func (o *ProductOrderGetUnauthorized) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderGetUnauthorized) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetUnauthorized
- func (o *ProductOrderGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProductOrderGetUnprocessableEntity
- func (o *ProductOrderGetUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
- func (o *ProductOrderGetUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetUnprocessableEntity
- func (o *ProductOrderGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const ProductOrderCreateBadRequestCode int = 400
ProductOrderCreateBadRequestCode is the HTTP code returned for type ProductOrderCreateBadRequest
const ProductOrderCreateCreatedCode int = 201
ProductOrderCreateCreatedCode is the HTTP code returned for type ProductOrderCreateCreated
const ProductOrderCreateForbiddenCode int = 403
ProductOrderCreateForbiddenCode is the HTTP code returned for type ProductOrderCreateForbidden
const ProductOrderCreateInternalServerErrorCode int = 500
ProductOrderCreateInternalServerErrorCode is the HTTP code returned for type ProductOrderCreateInternalServerError
const ProductOrderCreateMethodNotAllowedCode int = 405
ProductOrderCreateMethodNotAllowedCode is the HTTP code returned for type ProductOrderCreateMethodNotAllowed
const ProductOrderCreateNotFoundCode int = 404
ProductOrderCreateNotFoundCode is the HTTP code returned for type ProductOrderCreateNotFound
const ProductOrderCreateRequestTimeoutCode int = 408
ProductOrderCreateRequestTimeoutCode is the HTTP code returned for type ProductOrderCreateRequestTimeout
ProductOrderCreateServiceUnavailableCode is the HTTP code returned for type ProductOrderCreateServiceUnavailable
ProductOrderCreateUnauthorizedCode is the HTTP code returned for type ProductOrderCreateUnauthorized
const ProductOrderCreateUnprocessableEntityCode int = 422
ProductOrderCreateUnprocessableEntityCode is the HTTP code returned for type ProductOrderCreateUnprocessableEntity
const ProductOrderFindBadRequestCode int = 400
ProductOrderFindBadRequestCode is the HTTP code returned for type ProductOrderFindBadRequest
const ProductOrderFindForbiddenCode int = 403
ProductOrderFindForbiddenCode is the HTTP code returned for type ProductOrderFindForbidden
const ProductOrderFindInternalServerErrorCode int = 500
ProductOrderFindInternalServerErrorCode is the HTTP code returned for type ProductOrderFindInternalServerError
const ProductOrderFindMethodNotAllowedCode int = 405
ProductOrderFindMethodNotAllowedCode is the HTTP code returned for type ProductOrderFindMethodNotAllowed
const ProductOrderFindNotFoundCode int = 404
ProductOrderFindNotFoundCode is the HTTP code returned for type ProductOrderFindNotFound
const ProductOrderFindOKCode int = 200
ProductOrderFindOKCode is the HTTP code returned for type ProductOrderFindOK
const ProductOrderFindRequestTimeoutCode int = 408
ProductOrderFindRequestTimeoutCode is the HTTP code returned for type ProductOrderFindRequestTimeout
ProductOrderFindServiceUnavailableCode is the HTTP code returned for type ProductOrderFindServiceUnavailable
ProductOrderFindUnauthorizedCode is the HTTP code returned for type ProductOrderFindUnauthorized
const ProductOrderFindUnprocessableEntityCode int = 422
ProductOrderFindUnprocessableEntityCode is the HTTP code returned for type ProductOrderFindUnprocessableEntity
const ProductOrderGetBadRequestCode int = 400
ProductOrderGetBadRequestCode is the HTTP code returned for type ProductOrderGetBadRequest
const ProductOrderGetForbiddenCode int = 403
ProductOrderGetForbiddenCode is the HTTP code returned for type ProductOrderGetForbidden
const ProductOrderGetInternalServerErrorCode int = 500
ProductOrderGetInternalServerErrorCode is the HTTP code returned for type ProductOrderGetInternalServerError
const ProductOrderGetMethodNotAllowedCode int = 405
ProductOrderGetMethodNotAllowedCode is the HTTP code returned for type ProductOrderGetMethodNotAllowed
const ProductOrderGetNotFoundCode int = 404
ProductOrderGetNotFoundCode is the HTTP code returned for type ProductOrderGetNotFound
const ProductOrderGetOKCode int = 200
ProductOrderGetOKCode is the HTTP code returned for type ProductOrderGetOK
const ProductOrderGetRequestTimeoutCode int = 408
ProductOrderGetRequestTimeoutCode is the HTTP code returned for type ProductOrderGetRequestTimeout
ProductOrderGetServiceUnavailableCode is the HTTP code returned for type ProductOrderGetServiceUnavailable
ProductOrderGetUnauthorizedCode is the HTTP code returned for type ProductOrderGetUnauthorized
const ProductOrderGetUnprocessableEntityCode int = 422
ProductOrderGetUnprocessableEntityCode is the HTTP code returned for type ProductOrderGetUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductOrderCreate ¶
type ProductOrderCreate struct { Context *middleware.Context Handler ProductOrderCreateHandler }
ProductOrderCreate swagger:route POST /productOrderManagement/v3/productOrder ProductOrder productOrderCreate
Create a product order ¶
This operation is used to create an order. Depending on the order activity, one can "INSTALL", "CHANGE", or "DISCONNECT" an associated product.
func NewProductOrderCreate ¶
func NewProductOrderCreate(ctx *middleware.Context, handler ProductOrderCreateHandler) *ProductOrderCreate
NewProductOrderCreate creates a new http.Handler for the product order create operation
func (*ProductOrderCreate) ServeHTTP ¶
func (o *ProductOrderCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ProductOrderCreateBadRequest ¶
type ProductOrderCreateBadRequest struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderCreateBadRequest 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 productOrderCreateBadRequest
func NewProductOrderCreateBadRequest ¶
func NewProductOrderCreateBadRequest() *ProductOrderCreateBadRequest
NewProductOrderCreateBadRequest creates ProductOrderCreateBadRequest with default headers values
func (*ProductOrderCreateBadRequest) SetPayload ¶
func (o *ProductOrderCreateBadRequest) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order create bad request response
func (*ProductOrderCreateBadRequest) WithPayload ¶
func (o *ProductOrderCreateBadRequest) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateBadRequest
WithPayload adds the payload to the product order create bad request response
func (*ProductOrderCreateBadRequest) WriteResponse ¶
func (o *ProductOrderCreateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderCreateCreated ¶
type ProductOrderCreateCreated struct { /* In: Body */ Payload *models.ProductOrder `json:"body,omitempty"` }
ProductOrderCreateCreated Created
swagger:response productOrderCreateCreated
func NewProductOrderCreateCreated ¶
func NewProductOrderCreateCreated() *ProductOrderCreateCreated
NewProductOrderCreateCreated creates ProductOrderCreateCreated with default headers values
func (*ProductOrderCreateCreated) SetPayload ¶
func (o *ProductOrderCreateCreated) SetPayload(payload *models.ProductOrder)
SetPayload sets the payload to the product order create created response
func (*ProductOrderCreateCreated) WithPayload ¶
func (o *ProductOrderCreateCreated) WithPayload(payload *models.ProductOrder) *ProductOrderCreateCreated
WithPayload adds the payload to the product order create created response
func (*ProductOrderCreateCreated) WriteResponse ¶
func (o *ProductOrderCreateCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderCreateForbidden ¶
type ProductOrderCreateForbidden struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderCreateForbidden Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
swagger:response productOrderCreateForbidden
func NewProductOrderCreateForbidden ¶
func NewProductOrderCreateForbidden() *ProductOrderCreateForbidden
NewProductOrderCreateForbidden creates ProductOrderCreateForbidden with default headers values
func (*ProductOrderCreateForbidden) SetPayload ¶
func (o *ProductOrderCreateForbidden) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order create forbidden response
func (*ProductOrderCreateForbidden) WithPayload ¶
func (o *ProductOrderCreateForbidden) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateForbidden
WithPayload adds the payload to the product order create forbidden response
func (*ProductOrderCreateForbidden) WriteResponse ¶
func (o *ProductOrderCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderCreateHandler ¶
type ProductOrderCreateHandler interface {
Handle(ProductOrderCreateParams, *models.Principal) middleware.Responder
}
ProductOrderCreateHandler interface for that can handle valid product order create params
type ProductOrderCreateHandlerFunc ¶
type ProductOrderCreateHandlerFunc func(ProductOrderCreateParams, *models.Principal) middleware.Responder
ProductOrderCreateHandlerFunc turns a function with the right signature into a product order create handler
func (ProductOrderCreateHandlerFunc) Handle ¶
func (fn ProductOrderCreateHandlerFunc) Handle(params ProductOrderCreateParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ProductOrderCreateInternalServerError ¶
type ProductOrderCreateInternalServerError struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderCreateInternalServerError Internal Server Error
List of supported error codes: - 1: Internal error
swagger:response productOrderCreateInternalServerError
func NewProductOrderCreateInternalServerError ¶
func NewProductOrderCreateInternalServerError() *ProductOrderCreateInternalServerError
NewProductOrderCreateInternalServerError creates ProductOrderCreateInternalServerError with default headers values
func (*ProductOrderCreateInternalServerError) SetPayload ¶
func (o *ProductOrderCreateInternalServerError) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order create internal server error response
func (*ProductOrderCreateInternalServerError) WithPayload ¶
func (o *ProductOrderCreateInternalServerError) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateInternalServerError
WithPayload adds the payload to the product order create internal server error response
func (*ProductOrderCreateInternalServerError) WriteResponse ¶
func (o *ProductOrderCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderCreateMethodNotAllowed ¶
type ProductOrderCreateMethodNotAllowed struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderCreateMethodNotAllowed Method Not Allowed
List of supported error codes: - 61: Method not allowed
swagger:response productOrderCreateMethodNotAllowed
func NewProductOrderCreateMethodNotAllowed ¶
func NewProductOrderCreateMethodNotAllowed() *ProductOrderCreateMethodNotAllowed
NewProductOrderCreateMethodNotAllowed creates ProductOrderCreateMethodNotAllowed with default headers values
func (*ProductOrderCreateMethodNotAllowed) SetPayload ¶
func (o *ProductOrderCreateMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order create method not allowed response
func (*ProductOrderCreateMethodNotAllowed) WithPayload ¶
func (o *ProductOrderCreateMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateMethodNotAllowed
WithPayload adds the payload to the product order create method not allowed response
func (*ProductOrderCreateMethodNotAllowed) WriteResponse ¶
func (o *ProductOrderCreateMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderCreateNotFound ¶
type ProductOrderCreateNotFound struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderCreateNotFound Not Found
List of supported error codes: - 60: Resource not found
swagger:response productOrderCreateNotFound
func NewProductOrderCreateNotFound ¶
func NewProductOrderCreateNotFound() *ProductOrderCreateNotFound
NewProductOrderCreateNotFound creates ProductOrderCreateNotFound with default headers values
func (*ProductOrderCreateNotFound) SetPayload ¶
func (o *ProductOrderCreateNotFound) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order create not found response
func (*ProductOrderCreateNotFound) WithPayload ¶
func (o *ProductOrderCreateNotFound) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateNotFound
WithPayload adds the payload to the product order create not found response
func (*ProductOrderCreateNotFound) WriteResponse ¶
func (o *ProductOrderCreateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderCreateParams ¶
type ProductOrderCreateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ ProductOrder *models.ProductOrderCreate }
ProductOrderCreateParams contains all the bound params for the product order create operation typically these are obtained from a http.Request
swagger:parameters productOrderCreate
func NewProductOrderCreateParams ¶
func NewProductOrderCreateParams() ProductOrderCreateParams
NewProductOrderCreateParams creates a new ProductOrderCreateParams object
There are no default values defined in the spec.
func (*ProductOrderCreateParams) BindRequest ¶
func (o *ProductOrderCreateParams) 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 NewProductOrderCreateParams() beforehand.
type ProductOrderCreateRequestTimeout ¶
type ProductOrderCreateRequestTimeout struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderCreateRequestTimeout Request Time-out
List of supported error codes: - 63: Request time-out
swagger:response productOrderCreateRequestTimeout
func NewProductOrderCreateRequestTimeout ¶
func NewProductOrderCreateRequestTimeout() *ProductOrderCreateRequestTimeout
NewProductOrderCreateRequestTimeout creates ProductOrderCreateRequestTimeout with default headers values
func (*ProductOrderCreateRequestTimeout) SetPayload ¶
func (o *ProductOrderCreateRequestTimeout) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order create request timeout response
func (*ProductOrderCreateRequestTimeout) WithPayload ¶
func (o *ProductOrderCreateRequestTimeout) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateRequestTimeout
WithPayload adds the payload to the product order create request timeout response
func (*ProductOrderCreateRequestTimeout) WriteResponse ¶
func (o *ProductOrderCreateRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderCreateServiceUnavailable ¶
type ProductOrderCreateServiceUnavailable struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
ProductOrderCreateServiceUnavailable Service Unavailable
swagger:response productOrderCreateServiceUnavailable
func NewProductOrderCreateServiceUnavailable ¶
func NewProductOrderCreateServiceUnavailable() *ProductOrderCreateServiceUnavailable
NewProductOrderCreateServiceUnavailable creates ProductOrderCreateServiceUnavailable with default headers values
func (*ProductOrderCreateServiceUnavailable) SetPayload ¶
func (o *ProductOrderCreateServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order create service unavailable response
func (*ProductOrderCreateServiceUnavailable) WithPayload ¶
func (o *ProductOrderCreateServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateServiceUnavailable
WithPayload adds the payload to the product order create service unavailable response
func (*ProductOrderCreateServiceUnavailable) WriteResponse ¶
func (o *ProductOrderCreateServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderCreateURL ¶
type ProductOrderCreateURL struct {
// contains filtered or unexported fields
}
ProductOrderCreateURL generates an URL for the product order create operation
func (*ProductOrderCreateURL) Build ¶
func (o *ProductOrderCreateURL) Build() (*url.URL, error)
Build a url path and query string
func (*ProductOrderCreateURL) BuildFull ¶
func (o *ProductOrderCreateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ProductOrderCreateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ProductOrderCreateURL) SetBasePath ¶
func (o *ProductOrderCreateURL) 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 (*ProductOrderCreateURL) String ¶
func (o *ProductOrderCreateURL) String() string
String returns the string representation of the path with query string
func (*ProductOrderCreateURL) StringFull ¶
func (o *ProductOrderCreateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ProductOrderCreateURL) WithBasePath ¶
func (o *ProductOrderCreateURL) WithBasePath(bp string) *ProductOrderCreateURL
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 ProductOrderCreateUnauthorized ¶
type ProductOrderCreateUnauthorized struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
ProductOrderCreateUnauthorized Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
swagger:response productOrderCreateUnauthorized
func NewProductOrderCreateUnauthorized ¶
func NewProductOrderCreateUnauthorized() *ProductOrderCreateUnauthorized
NewProductOrderCreateUnauthorized creates ProductOrderCreateUnauthorized with default headers values
func (*ProductOrderCreateUnauthorized) SetPayload ¶
func (o *ProductOrderCreateUnauthorized) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order create unauthorized response
func (*ProductOrderCreateUnauthorized) WithPayload ¶
func (o *ProductOrderCreateUnauthorized) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateUnauthorized
WithPayload adds the payload to the product order create unauthorized response
func (*ProductOrderCreateUnauthorized) WriteResponse ¶
func (o *ProductOrderCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderCreateUnprocessableEntity ¶
type ProductOrderCreateUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderCreateUnprocessableEntity Unprocessable entity
Functional error
- code: 100
message: Missing order item (minimum 1) description: At least one order item must be provided
- code: 101
message: Missing Buyer at order level description: One and only one related partyRole with a "Buyer" role should be provided at the product order level.
- code: 114
message: Missing Seller at order level description: One and only one related partyRole with a "Seller" role should be provided at the product order level.
- code: 102
message: A relatedParty is at the wrong level description: The partyRole provided is not at the correct level - MEF allows to have "Buyer", "Seller", "Billing Contact", "Order Contact", "Implementation Contact", "Technical Contact" roles at product order level and "UNI Site Contact", "UNI Alt Site Contact", "ENNI Site Contact", "ENNI Alt Site Contact" at product order item level.
- code: 103
message: Missing Buyer Order Contact at order level description: One and only one related partyRole with a "Order Contact" role should be provided at the product order level. Buyer Order Contact name & Telephone number must be provided.
- code: 104
message: Missing Buyer Implementation Contact at order level description: One and only one related partyRole with a "Implementation Contact" role should be provided at the product order level. Implementation Contact name & Telephone number must be provided.
- code: 105
message: Missing Buyer Technical contact at order level description: One and only one related partyRole with a "Technical Contact" role should be provided at the product order level. Technical Contact name, Telephone number and email address must be provided.
- code: 106
message: Address information must match place type description: If place type is 'Formatted Address' : addrLine1, city, stateOrProvince, postCode and country must be there. If place type is 'Fielded Address' : streetName, streetType, city, stateOrProvince, postCode and country must be there.
- code: 107
message: postCode extension requires postcode value to be filled description: A postCode extension must not be present without a postcode being present
- code: 108
message: Product id is required for all OrderItem Actions other than INSTALL description: If orderItemAction is not INSTALL, orderItem.product.id is mandatory
- code: 109
message: Order Activity must match all OrderItem Actions for INSTALL description: If orderActivity is set to INSTALL, all orderItemAction must be INSTALL
- code: 110
message: Referred quote cannot be used for ordering due to its status description: Quote cannot be used in the order if its status is in CANCELLED, UNABLE TO PROVIDE, REJECTED or EXPIRED state.
- code: 111
message: Billing Account information must not be both at order level and order item level description: Billing Account must not be present both at order header level and order item level.
- code: 112
message: PricingMethod, pricing Reference & pricing term attributes must not be both at order level and order item level description: Pricing data must not be present both at order header level and order item level.
- code: 113
message: Referred Serviceability request is expired description: Serviceability information are expired.
- code: 114
message: A reccuring price is mentionned without a charge period. description:
- code: 115
message: Referred Quote is not existing description:
- code: 116
message: Referred ProductOfferingQualification is not existing description:
- code: 117
message: Product /item relationship is missing description:
- code: 118
message: Product Id refered in a relationship is not existing description:
swagger:response productOrderCreateUnprocessableEntity
func NewProductOrderCreateUnprocessableEntity ¶
func NewProductOrderCreateUnprocessableEntity() *ProductOrderCreateUnprocessableEntity
NewProductOrderCreateUnprocessableEntity creates ProductOrderCreateUnprocessableEntity with default headers values
func (*ProductOrderCreateUnprocessableEntity) SetPayload ¶
func (o *ProductOrderCreateUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order create unprocessable entity response
func (*ProductOrderCreateUnprocessableEntity) WithPayload ¶
func (o *ProductOrderCreateUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *ProductOrderCreateUnprocessableEntity
WithPayload adds the payload to the product order create unprocessable entity response
func (*ProductOrderCreateUnprocessableEntity) WriteResponse ¶
func (o *ProductOrderCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderFind ¶
type ProductOrderFind struct { Context *middleware.Context Handler ProductOrderFindHandler }
ProductOrderFind swagger:route GET /productOrderManagement/v3/productOrder ProductOrder productOrderFind
Find a list of product order(s)
This operation is used to retrieve one or more product orders based upon filter criteria specified on input.
func NewProductOrderFind ¶
func NewProductOrderFind(ctx *middleware.Context, handler ProductOrderFindHandler) *ProductOrderFind
NewProductOrderFind creates a new http.Handler for the product order find operation
func (*ProductOrderFind) ServeHTTP ¶
func (o *ProductOrderFind) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ProductOrderFindBadRequest ¶
type ProductOrderFindBadRequest struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderFindBadRequest 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 productOrderFindBadRequest
func NewProductOrderFindBadRequest ¶
func NewProductOrderFindBadRequest() *ProductOrderFindBadRequest
NewProductOrderFindBadRequest creates ProductOrderFindBadRequest with default headers values
func (*ProductOrderFindBadRequest) SetPayload ¶
func (o *ProductOrderFindBadRequest) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order find bad request response
func (*ProductOrderFindBadRequest) WithPayload ¶
func (o *ProductOrderFindBadRequest) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindBadRequest
WithPayload adds the payload to the product order find bad request response
func (*ProductOrderFindBadRequest) WriteResponse ¶
func (o *ProductOrderFindBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderFindForbidden ¶
type ProductOrderFindForbidden struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderFindForbidden Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
swagger:response productOrderFindForbidden
func NewProductOrderFindForbidden ¶
func NewProductOrderFindForbidden() *ProductOrderFindForbidden
NewProductOrderFindForbidden creates ProductOrderFindForbidden with default headers values
func (*ProductOrderFindForbidden) SetPayload ¶
func (o *ProductOrderFindForbidden) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order find forbidden response
func (*ProductOrderFindForbidden) WithPayload ¶
func (o *ProductOrderFindForbidden) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindForbidden
WithPayload adds the payload to the product order find forbidden response
func (*ProductOrderFindForbidden) WriteResponse ¶
func (o *ProductOrderFindForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderFindHandler ¶
type ProductOrderFindHandler interface {
Handle(ProductOrderFindParams, *models.Principal) middleware.Responder
}
ProductOrderFindHandler interface for that can handle valid product order find params
type ProductOrderFindHandlerFunc ¶
type ProductOrderFindHandlerFunc func(ProductOrderFindParams, *models.Principal) middleware.Responder
ProductOrderFindHandlerFunc turns a function with the right signature into a product order find handler
func (ProductOrderFindHandlerFunc) Handle ¶
func (fn ProductOrderFindHandlerFunc) Handle(params ProductOrderFindParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ProductOrderFindInternalServerError ¶
type ProductOrderFindInternalServerError struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderFindInternalServerError Internal Server Error
List of supported error codes: - 1: Internal error
swagger:response productOrderFindInternalServerError
func NewProductOrderFindInternalServerError ¶
func NewProductOrderFindInternalServerError() *ProductOrderFindInternalServerError
NewProductOrderFindInternalServerError creates ProductOrderFindInternalServerError with default headers values
func (*ProductOrderFindInternalServerError) SetPayload ¶
func (o *ProductOrderFindInternalServerError) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order find internal server error response
func (*ProductOrderFindInternalServerError) WithPayload ¶
func (o *ProductOrderFindInternalServerError) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindInternalServerError
WithPayload adds the payload to the product order find internal server error response
func (*ProductOrderFindInternalServerError) WriteResponse ¶
func (o *ProductOrderFindInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderFindMethodNotAllowed ¶
type ProductOrderFindMethodNotAllowed struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderFindMethodNotAllowed Method Not Allowed
List of supported error codes: - 61: Method not allowed
swagger:response productOrderFindMethodNotAllowed
func NewProductOrderFindMethodNotAllowed ¶
func NewProductOrderFindMethodNotAllowed() *ProductOrderFindMethodNotAllowed
NewProductOrderFindMethodNotAllowed creates ProductOrderFindMethodNotAllowed with default headers values
func (*ProductOrderFindMethodNotAllowed) SetPayload ¶
func (o *ProductOrderFindMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order find method not allowed response
func (*ProductOrderFindMethodNotAllowed) WithPayload ¶
func (o *ProductOrderFindMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindMethodNotAllowed
WithPayload adds the payload to the product order find method not allowed response
func (*ProductOrderFindMethodNotAllowed) WriteResponse ¶
func (o *ProductOrderFindMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderFindNotFound ¶
type ProductOrderFindNotFound struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderFindNotFound Not Found
List of supported error codes: - 60: Resource not found
swagger:response productOrderFindNotFound
func NewProductOrderFindNotFound ¶
func NewProductOrderFindNotFound() *ProductOrderFindNotFound
NewProductOrderFindNotFound creates ProductOrderFindNotFound with default headers values
func (*ProductOrderFindNotFound) SetPayload ¶
func (o *ProductOrderFindNotFound) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order find not found response
func (*ProductOrderFindNotFound) WithPayload ¶
func (o *ProductOrderFindNotFound) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindNotFound
WithPayload adds the payload to the product order find not found response
func (*ProductOrderFindNotFound) WriteResponse ¶
func (o *ProductOrderFindNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderFindOK ¶
type ProductOrderFindOK struct { /*The number of resources retrieved in the response */ XResultCount int32 `json:"X-Result-Count"` /*The total number of matching resources */ XTotalCount int32 `json:"X-Total-Count"` /* In: Body */ Payload []*models.ProductOrderSummary `json:"body,omitempty"` }
ProductOrderFindOK Ok
swagger:response productOrderFindOK
func NewProductOrderFindOK ¶
func NewProductOrderFindOK() *ProductOrderFindOK
NewProductOrderFindOK creates ProductOrderFindOK with default headers values
func (*ProductOrderFindOK) SetPayload ¶
func (o *ProductOrderFindOK) SetPayload(payload []*models.ProductOrderSummary)
SetPayload sets the payload to the product order find o k response
func (*ProductOrderFindOK) SetXResultCount ¶
func (o *ProductOrderFindOK) SetXResultCount(xResultCount int32)
SetXResultCount sets the xResultCount to the product order find o k response
func (*ProductOrderFindOK) SetXTotalCount ¶
func (o *ProductOrderFindOK) SetXTotalCount(xTotalCount int32)
SetXTotalCount sets the xTotalCount to the product order find o k response
func (*ProductOrderFindOK) WithPayload ¶
func (o *ProductOrderFindOK) WithPayload(payload []*models.ProductOrderSummary) *ProductOrderFindOK
WithPayload adds the payload to the product order find o k response
func (*ProductOrderFindOK) WithXResultCount ¶
func (o *ProductOrderFindOK) WithXResultCount(xResultCount int32) *ProductOrderFindOK
WithXResultCount adds the xResultCount to the product order find o k response
func (*ProductOrderFindOK) WithXTotalCount ¶
func (o *ProductOrderFindOK) WithXTotalCount(xTotalCount int32) *ProductOrderFindOK
WithXTotalCount adds the xTotalCount to the product order find o k response
func (*ProductOrderFindOK) WriteResponse ¶
func (o *ProductOrderFindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderFindParams ¶
type ProductOrderFindParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A Party Role played by an Individual or an Organization that buys products and services from a Seller. Specifically, the ID of the Service Provider (Buyer) organization placing the order. In: query */ BuyerID *string /*Buyer requested date greater than In: query */ BuyerRequestedDateGt *strfmt.DateTime /*Buyer requested date lesser than In: query */ BuyerRequestedDateLt *strfmt.DateTime /*Effective completion date greater than In: query */ CompletionDateGt *strfmt.DateTime /*Effective completion date lesser than In: query */ CompletionDateLt *strfmt.DateTime /*Seller planned completion date greater than In: query */ ExpectedCompletionDateGt *strfmt.DateTime /*Seller planned completion date lesser than In: query */ ExpectedCompletionDateLt *strfmt.DateTime /*A number that uniquely identifies an order within the Buyer's enterprise. 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 /*order cancellation date greater than In: query */ OrderCancellationDateGt *strfmt.DateTime /*order cancellation date lesser than In: query */ OrderCancellationDateLt *strfmt.DateTime /*Date when the order was created greater than In: query */ OrderDateGt *strfmt.DateTime /*Date when the order was created lesser than In: query */ OrderDateLt *strfmt.DateTime /*An identifier that is used to group Orders that represent a unit of functionality that is important to a Buyer. In: query */ ProjectID *string /*Identifies the Buyer's desired due date (requested delivery date) greater than In: query */ RequestedCompletionDateGt *strfmt.DateTime /*Identifies the Buyer's desired due date (requested delivery date) lesser than In: query */ RequestedCompletionDateLt *strfmt.DateTime /*Buyer requested start date greater than In: query */ RequestedStartDateGt *strfmt.DateTime /*Buyer requested start date lesser than In: query */ RequestedStartDateLt *strfmt.DateTime /*A Party Role played by an organization that provides products and services to a Buyer. Specifically, the ID of the Partner/Access Provider (Seller) organization receiving the order. In: query */ SellerID *string /*The name of the company that is located at the service location. This may be different from the name of the Buyer that ordered services at that site. In: query */ SiteCompanyName *string /*The customer name at a site where the service is being delivered In: query */ SiteCustomerName *string /*A name by which the site is known. In: query */ SiteName *string /*The status of the order In: query */ State *string }
ProductOrderFindParams contains all the bound params for the product order find operation typically these are obtained from a http.Request
swagger:parameters productOrderFind
func NewProductOrderFindParams ¶
func NewProductOrderFindParams() ProductOrderFindParams
NewProductOrderFindParams creates a new ProductOrderFindParams object
There are no default values defined in the spec.
func (*ProductOrderFindParams) BindRequest ¶
func (o *ProductOrderFindParams) 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 NewProductOrderFindParams() beforehand.
type ProductOrderFindRequestTimeout ¶
type ProductOrderFindRequestTimeout struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderFindRequestTimeout Request Time-out
List of supported error codes: - 63: Request time-out
swagger:response productOrderFindRequestTimeout
func NewProductOrderFindRequestTimeout ¶
func NewProductOrderFindRequestTimeout() *ProductOrderFindRequestTimeout
NewProductOrderFindRequestTimeout creates ProductOrderFindRequestTimeout with default headers values
func (*ProductOrderFindRequestTimeout) SetPayload ¶
func (o *ProductOrderFindRequestTimeout) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order find request timeout response
func (*ProductOrderFindRequestTimeout) WithPayload ¶
func (o *ProductOrderFindRequestTimeout) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindRequestTimeout
WithPayload adds the payload to the product order find request timeout response
func (*ProductOrderFindRequestTimeout) WriteResponse ¶
func (o *ProductOrderFindRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderFindServiceUnavailable ¶
type ProductOrderFindServiceUnavailable struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
ProductOrderFindServiceUnavailable Service Unavailable
swagger:response productOrderFindServiceUnavailable
func NewProductOrderFindServiceUnavailable ¶
func NewProductOrderFindServiceUnavailable() *ProductOrderFindServiceUnavailable
NewProductOrderFindServiceUnavailable creates ProductOrderFindServiceUnavailable with default headers values
func (*ProductOrderFindServiceUnavailable) SetPayload ¶
func (o *ProductOrderFindServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order find service unavailable response
func (*ProductOrderFindServiceUnavailable) WithPayload ¶
func (o *ProductOrderFindServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindServiceUnavailable
WithPayload adds the payload to the product order find service unavailable response
func (*ProductOrderFindServiceUnavailable) WriteResponse ¶
func (o *ProductOrderFindServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderFindURL ¶
type ProductOrderFindURL struct { BuyerID *string BuyerRequestedDateGt *strfmt.DateTime BuyerRequestedDateLt *strfmt.DateTime CompletionDateGt *strfmt.DateTime CompletionDateLt *strfmt.DateTime ExpectedCompletionDateGt *strfmt.DateTime ExpectedCompletionDateLt *strfmt.DateTime ExternalID *string Limit *string Offset *string OrderCancellationDateGt *strfmt.DateTime OrderCancellationDateLt *strfmt.DateTime OrderDateGt *strfmt.DateTime OrderDateLt *strfmt.DateTime ProjectID *string RequestedCompletionDateGt *strfmt.DateTime RequestedCompletionDateLt *strfmt.DateTime RequestedStartDateGt *strfmt.DateTime RequestedStartDateLt *strfmt.DateTime SellerID *string SiteCompanyName *string SiteCustomerName *string SiteName *string State *string // contains filtered or unexported fields }
ProductOrderFindURL generates an URL for the product order find operation
func (*ProductOrderFindURL) Build ¶
func (o *ProductOrderFindURL) Build() (*url.URL, error)
Build a url path and query string
func (*ProductOrderFindURL) BuildFull ¶
func (o *ProductOrderFindURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ProductOrderFindURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ProductOrderFindURL) SetBasePath ¶
func (o *ProductOrderFindURL) 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 (*ProductOrderFindURL) String ¶
func (o *ProductOrderFindURL) String() string
String returns the string representation of the path with query string
func (*ProductOrderFindURL) StringFull ¶
func (o *ProductOrderFindURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ProductOrderFindURL) WithBasePath ¶
func (o *ProductOrderFindURL) WithBasePath(bp string) *ProductOrderFindURL
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 ProductOrderFindUnauthorized ¶
type ProductOrderFindUnauthorized struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
ProductOrderFindUnauthorized Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
swagger:response productOrderFindUnauthorized
func NewProductOrderFindUnauthorized ¶
func NewProductOrderFindUnauthorized() *ProductOrderFindUnauthorized
NewProductOrderFindUnauthorized creates ProductOrderFindUnauthorized with default headers values
func (*ProductOrderFindUnauthorized) SetPayload ¶
func (o *ProductOrderFindUnauthorized) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order find unauthorized response
func (*ProductOrderFindUnauthorized) WithPayload ¶
func (o *ProductOrderFindUnauthorized) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindUnauthorized
WithPayload adds the payload to the product order find unauthorized response
func (*ProductOrderFindUnauthorized) WriteResponse ¶
func (o *ProductOrderFindUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderFindUnprocessableEntity ¶
type ProductOrderFindUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderFindUnprocessableEntity Unprocessable entity
Functional error
- code: 100
message: Too many records retrieved - please restrict requested parameter value(s) description:
swagger:response productOrderFindUnprocessableEntity
func NewProductOrderFindUnprocessableEntity ¶
func NewProductOrderFindUnprocessableEntity() *ProductOrderFindUnprocessableEntity
NewProductOrderFindUnprocessableEntity creates ProductOrderFindUnprocessableEntity with default headers values
func (*ProductOrderFindUnprocessableEntity) SetPayload ¶
func (o *ProductOrderFindUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order find unprocessable entity response
func (*ProductOrderFindUnprocessableEntity) WithPayload ¶
func (o *ProductOrderFindUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *ProductOrderFindUnprocessableEntity
WithPayload adds the payload to the product order find unprocessable entity response
func (*ProductOrderFindUnprocessableEntity) WriteResponse ¶
func (o *ProductOrderFindUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderGet ¶
type ProductOrderGet struct { Context *middleware.Context Handler ProductOrderGetHandler }
ProductOrderGet swagger:route GET /productOrderManagement/v3/productOrder/{ProductOrderId} ProductOrder productOrderGet
Get a product order (by id)
This operation is used to retrieve a single product order based upon a specified product order id.
func NewProductOrderGet ¶
func NewProductOrderGet(ctx *middleware.Context, handler ProductOrderGetHandler) *ProductOrderGet
NewProductOrderGet creates a new http.Handler for the product order get operation
func (*ProductOrderGet) ServeHTTP ¶
func (o *ProductOrderGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ProductOrderGetBadRequest ¶
type ProductOrderGetBadRequest struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderGetBadRequest 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 productOrderGetBadRequest
func NewProductOrderGetBadRequest ¶
func NewProductOrderGetBadRequest() *ProductOrderGetBadRequest
NewProductOrderGetBadRequest creates ProductOrderGetBadRequest with default headers values
func (*ProductOrderGetBadRequest) SetPayload ¶
func (o *ProductOrderGetBadRequest) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order get bad request response
func (*ProductOrderGetBadRequest) WithPayload ¶
func (o *ProductOrderGetBadRequest) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetBadRequest
WithPayload adds the payload to the product order get bad request response
func (*ProductOrderGetBadRequest) WriteResponse ¶
func (o *ProductOrderGetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderGetForbidden ¶
type ProductOrderGetForbidden struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderGetForbidden Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
swagger:response productOrderGetForbidden
func NewProductOrderGetForbidden ¶
func NewProductOrderGetForbidden() *ProductOrderGetForbidden
NewProductOrderGetForbidden creates ProductOrderGetForbidden with default headers values
func (*ProductOrderGetForbidden) SetPayload ¶
func (o *ProductOrderGetForbidden) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order get forbidden response
func (*ProductOrderGetForbidden) WithPayload ¶
func (o *ProductOrderGetForbidden) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetForbidden
WithPayload adds the payload to the product order get forbidden response
func (*ProductOrderGetForbidden) WriteResponse ¶
func (o *ProductOrderGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderGetHandler ¶
type ProductOrderGetHandler interface {
Handle(ProductOrderGetParams, *models.Principal) middleware.Responder
}
ProductOrderGetHandler interface for that can handle valid product order get params
type ProductOrderGetHandlerFunc ¶
type ProductOrderGetHandlerFunc func(ProductOrderGetParams, *models.Principal) middleware.Responder
ProductOrderGetHandlerFunc turns a function with the right signature into a product order get handler
func (ProductOrderGetHandlerFunc) Handle ¶
func (fn ProductOrderGetHandlerFunc) Handle(params ProductOrderGetParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ProductOrderGetInternalServerError ¶
type ProductOrderGetInternalServerError struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderGetInternalServerError Internal Server Error
List of supported error codes: - 1: Internal error
swagger:response productOrderGetInternalServerError
func NewProductOrderGetInternalServerError ¶
func NewProductOrderGetInternalServerError() *ProductOrderGetInternalServerError
NewProductOrderGetInternalServerError creates ProductOrderGetInternalServerError with default headers values
func (*ProductOrderGetInternalServerError) SetPayload ¶
func (o *ProductOrderGetInternalServerError) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order get internal server error response
func (*ProductOrderGetInternalServerError) WithPayload ¶
func (o *ProductOrderGetInternalServerError) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetInternalServerError
WithPayload adds the payload to the product order get internal server error response
func (*ProductOrderGetInternalServerError) WriteResponse ¶
func (o *ProductOrderGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderGetMethodNotAllowed ¶
type ProductOrderGetMethodNotAllowed struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderGetMethodNotAllowed Method Not Allowed
List of supported error codes: - 61: Method not allowed
swagger:response productOrderGetMethodNotAllowed
func NewProductOrderGetMethodNotAllowed ¶
func NewProductOrderGetMethodNotAllowed() *ProductOrderGetMethodNotAllowed
NewProductOrderGetMethodNotAllowed creates ProductOrderGetMethodNotAllowed with default headers values
func (*ProductOrderGetMethodNotAllowed) SetPayload ¶
func (o *ProductOrderGetMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order get method not allowed response
func (*ProductOrderGetMethodNotAllowed) WithPayload ¶
func (o *ProductOrderGetMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetMethodNotAllowed
WithPayload adds the payload to the product order get method not allowed response
func (*ProductOrderGetMethodNotAllowed) WriteResponse ¶
func (o *ProductOrderGetMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderGetNotFound ¶
type ProductOrderGetNotFound struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderGetNotFound Not Found
List of supported error codes: - 60: Resource not found
swagger:response productOrderGetNotFound
func NewProductOrderGetNotFound ¶
func NewProductOrderGetNotFound() *ProductOrderGetNotFound
NewProductOrderGetNotFound creates ProductOrderGetNotFound with default headers values
func (*ProductOrderGetNotFound) SetPayload ¶
func (o *ProductOrderGetNotFound) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order get not found response
func (*ProductOrderGetNotFound) WithPayload ¶
func (o *ProductOrderGetNotFound) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetNotFound
WithPayload adds the payload to the product order get not found response
func (*ProductOrderGetNotFound) WriteResponse ¶
func (o *ProductOrderGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderGetOK ¶
type ProductOrderGetOK struct { /* In: Body */ Payload *models.ProductOrder `json:"body,omitempty"` }
ProductOrderGetOK Ok
swagger:response productOrderGetOK
func NewProductOrderGetOK ¶
func NewProductOrderGetOK() *ProductOrderGetOK
NewProductOrderGetOK creates ProductOrderGetOK with default headers values
func (*ProductOrderGetOK) SetPayload ¶
func (o *ProductOrderGetOK) SetPayload(payload *models.ProductOrder)
SetPayload sets the payload to the product order get o k response
func (*ProductOrderGetOK) WithPayload ¶
func (o *ProductOrderGetOK) WithPayload(payload *models.ProductOrder) *ProductOrderGetOK
WithPayload adds the payload to the product order get o k response
func (*ProductOrderGetOK) WriteResponse ¶
func (o *ProductOrderGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderGetParams ¶
type ProductOrderGetParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ProductOrderID string }
ProductOrderGetParams contains all the bound params for the product order get operation typically these are obtained from a http.Request
swagger:parameters productOrderGet
func NewProductOrderGetParams ¶
func NewProductOrderGetParams() ProductOrderGetParams
NewProductOrderGetParams creates a new ProductOrderGetParams object
There are no default values defined in the spec.
func (*ProductOrderGetParams) BindRequest ¶
func (o *ProductOrderGetParams) 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 NewProductOrderGetParams() beforehand.
type ProductOrderGetRequestTimeout ¶
type ProductOrderGetRequestTimeout struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderGetRequestTimeout Request Time-out
List of supported error codes: - 63: Request time-out
swagger:response productOrderGetRequestTimeout
func NewProductOrderGetRequestTimeout ¶
func NewProductOrderGetRequestTimeout() *ProductOrderGetRequestTimeout
NewProductOrderGetRequestTimeout creates ProductOrderGetRequestTimeout with default headers values
func (*ProductOrderGetRequestTimeout) SetPayload ¶
func (o *ProductOrderGetRequestTimeout) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order get request timeout response
func (*ProductOrderGetRequestTimeout) WithPayload ¶
func (o *ProductOrderGetRequestTimeout) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetRequestTimeout
WithPayload adds the payload to the product order get request timeout response
func (*ProductOrderGetRequestTimeout) WriteResponse ¶
func (o *ProductOrderGetRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderGetServiceUnavailable ¶
type ProductOrderGetServiceUnavailable struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
ProductOrderGetServiceUnavailable Service Unavailable
swagger:response productOrderGetServiceUnavailable
func NewProductOrderGetServiceUnavailable ¶
func NewProductOrderGetServiceUnavailable() *ProductOrderGetServiceUnavailable
NewProductOrderGetServiceUnavailable creates ProductOrderGetServiceUnavailable with default headers values
func (*ProductOrderGetServiceUnavailable) SetPayload ¶
func (o *ProductOrderGetServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order get service unavailable response
func (*ProductOrderGetServiceUnavailable) WithPayload ¶
func (o *ProductOrderGetServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetServiceUnavailable
WithPayload adds the payload to the product order get service unavailable response
func (*ProductOrderGetServiceUnavailable) WriteResponse ¶
func (o *ProductOrderGetServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderGetURL ¶
type ProductOrderGetURL struct { ProductOrderID string // contains filtered or unexported fields }
ProductOrderGetURL generates an URL for the product order get operation
func (*ProductOrderGetURL) Build ¶
func (o *ProductOrderGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*ProductOrderGetURL) BuildFull ¶
func (o *ProductOrderGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ProductOrderGetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ProductOrderGetURL) SetBasePath ¶
func (o *ProductOrderGetURL) 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 (*ProductOrderGetURL) String ¶
func (o *ProductOrderGetURL) String() string
String returns the string representation of the path with query string
func (*ProductOrderGetURL) StringFull ¶
func (o *ProductOrderGetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ProductOrderGetURL) WithBasePath ¶
func (o *ProductOrderGetURL) WithBasePath(bp string) *ProductOrderGetURL
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 ProductOrderGetUnauthorized ¶
type ProductOrderGetUnauthorized struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
ProductOrderGetUnauthorized Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
swagger:response productOrderGetUnauthorized
func NewProductOrderGetUnauthorized ¶
func NewProductOrderGetUnauthorized() *ProductOrderGetUnauthorized
NewProductOrderGetUnauthorized creates ProductOrderGetUnauthorized with default headers values
func (*ProductOrderGetUnauthorized) SetPayload ¶
func (o *ProductOrderGetUnauthorized) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order get unauthorized response
func (*ProductOrderGetUnauthorized) WithPayload ¶
func (o *ProductOrderGetUnauthorized) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetUnauthorized
WithPayload adds the payload to the product order get unauthorized response
func (*ProductOrderGetUnauthorized) WriteResponse ¶
func (o *ProductOrderGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ProductOrderGetUnprocessableEntity ¶
type ProductOrderGetUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
ProductOrderGetUnprocessableEntity Unprocessable entity
Functional error ¶
swagger:response productOrderGetUnprocessableEntity
func NewProductOrderGetUnprocessableEntity ¶
func NewProductOrderGetUnprocessableEntity() *ProductOrderGetUnprocessableEntity
NewProductOrderGetUnprocessableEntity creates ProductOrderGetUnprocessableEntity with default headers values
func (*ProductOrderGetUnprocessableEntity) SetPayload ¶
func (o *ProductOrderGetUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the product order get unprocessable entity response
func (*ProductOrderGetUnprocessableEntity) WithPayload ¶
func (o *ProductOrderGetUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *ProductOrderGetUnprocessableEntity
WithPayload adds the payload to the product order get unprocessable entity response
func (*ProductOrderGetUnprocessableEntity) WriteResponse ¶
func (o *ProductOrderGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- product_order_create.go
- product_order_create_parameters.go
- product_order_create_responses.go
- product_order_create_urlbuilder.go
- product_order_find.go
- product_order_find_parameters.go
- product_order_find_responses.go
- product_order_find_urlbuilder.go
- product_order_get.go
- product_order_get_parameters.go
- product_order_get_responses.go
- product_order_get_urlbuilder.go