Documentation ¶
Index ¶
- type Client
- func (a *Client) ProductOrderCreate(params *ProductOrderCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProductOrderCreateCreated, error)
- func (a *Client) ProductOrderFind(params *ProductOrderFindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProductOrderFindOK, error)
- func (a *Client) ProductOrderGet(params *ProductOrderGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProductOrderGetOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ProductOrderCreateBadRequest
- type ProductOrderCreateCreated
- type ProductOrderCreateForbidden
- type ProductOrderCreateInternalServerError
- type ProductOrderCreateMethodNotAllowed
- type ProductOrderCreateNotFound
- type ProductOrderCreateParams
- func NewProductOrderCreateParams() *ProductOrderCreateParams
- func NewProductOrderCreateParamsWithContext(ctx context.Context) *ProductOrderCreateParams
- func NewProductOrderCreateParamsWithHTTPClient(client *http.Client) *ProductOrderCreateParams
- func NewProductOrderCreateParamsWithTimeout(timeout time.Duration) *ProductOrderCreateParams
- func (o *ProductOrderCreateParams) SetContext(ctx context.Context)
- func (o *ProductOrderCreateParams) SetDefaults()
- func (o *ProductOrderCreateParams) SetHTTPClient(client *http.Client)
- func (o *ProductOrderCreateParams) SetProductOrder(productOrder *models.ProductOrderCreate)
- func (o *ProductOrderCreateParams) SetTimeout(timeout time.Duration)
- func (o *ProductOrderCreateParams) WithContext(ctx context.Context) *ProductOrderCreateParams
- func (o *ProductOrderCreateParams) WithDefaults() *ProductOrderCreateParams
- func (o *ProductOrderCreateParams) WithHTTPClient(client *http.Client) *ProductOrderCreateParams
- func (o *ProductOrderCreateParams) WithProductOrder(productOrder *models.ProductOrderCreate) *ProductOrderCreateParams
- func (o *ProductOrderCreateParams) WithTimeout(timeout time.Duration) *ProductOrderCreateParams
- func (o *ProductOrderCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductOrderCreateReader
- type ProductOrderCreateRequestTimeout
- type ProductOrderCreateServiceUnavailable
- type ProductOrderCreateUnauthorized
- type ProductOrderCreateUnprocessableEntity
- type ProductOrderFindBadRequest
- type ProductOrderFindForbidden
- type ProductOrderFindInternalServerError
- type ProductOrderFindMethodNotAllowed
- type ProductOrderFindNotFound
- type ProductOrderFindOK
- type ProductOrderFindParams
- func NewProductOrderFindParams() *ProductOrderFindParams
- func NewProductOrderFindParamsWithContext(ctx context.Context) *ProductOrderFindParams
- func NewProductOrderFindParamsWithHTTPClient(client *http.Client) *ProductOrderFindParams
- func NewProductOrderFindParamsWithTimeout(timeout time.Duration) *ProductOrderFindParams
- func (o *ProductOrderFindParams) SetBuyerID(buyerID *string)
- func (o *ProductOrderFindParams) SetBuyerRequestedDateGt(buyerRequestedDateGt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetBuyerRequestedDateLt(buyerRequestedDateLt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetCompletionDateGt(completionDateGt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetCompletionDateLt(completionDateLt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetContext(ctx context.Context)
- func (o *ProductOrderFindParams) SetDefaults()
- func (o *ProductOrderFindParams) SetExpectedCompletionDateGt(expectedCompletionDateGt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetExpectedCompletionDateLt(expectedCompletionDateLt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetExternalID(externalID *string)
- func (o *ProductOrderFindParams) SetHTTPClient(client *http.Client)
- func (o *ProductOrderFindParams) SetLimit(limit *string)
- func (o *ProductOrderFindParams) SetOffset(offset *string)
- func (o *ProductOrderFindParams) SetOrderCancellationDateGt(orderCancellationDateGt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetOrderCancellationDateLt(orderCancellationDateLt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetOrderDateGt(orderDateGt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetOrderDateLt(orderDateLt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetProjectID(projectID *string)
- func (o *ProductOrderFindParams) SetRequestedCompletionDateGt(requestedCompletionDateGt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetRequestedCompletionDateLt(requestedCompletionDateLt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetRequestedStartDateGt(requestedStartDateGt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetRequestedStartDateLt(requestedStartDateLt *strfmt.DateTime)
- func (o *ProductOrderFindParams) SetSellerID(sellerID *string)
- func (o *ProductOrderFindParams) SetSiteCompanyName(siteCompanyName *string)
- func (o *ProductOrderFindParams) SetSiteCustomerName(siteCustomerName *string)
- func (o *ProductOrderFindParams) SetSiteName(siteName *string)
- func (o *ProductOrderFindParams) SetState(state *string)
- func (o *ProductOrderFindParams) SetTimeout(timeout time.Duration)
- func (o *ProductOrderFindParams) WithBuyerID(buyerID *string) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithBuyerRequestedDateGt(buyerRequestedDateGt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithBuyerRequestedDateLt(buyerRequestedDateLt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithCompletionDateGt(completionDateGt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithCompletionDateLt(completionDateLt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithContext(ctx context.Context) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithDefaults() *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithExpectedCompletionDateGt(expectedCompletionDateGt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithExpectedCompletionDateLt(expectedCompletionDateLt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithExternalID(externalID *string) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithHTTPClient(client *http.Client) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithLimit(limit *string) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithOffset(offset *string) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithOrderCancellationDateGt(orderCancellationDateGt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithOrderCancellationDateLt(orderCancellationDateLt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithOrderDateGt(orderDateGt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithOrderDateLt(orderDateLt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithProjectID(projectID *string) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithRequestedCompletionDateGt(requestedCompletionDateGt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithRequestedCompletionDateLt(requestedCompletionDateLt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithRequestedStartDateGt(requestedStartDateGt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithRequestedStartDateLt(requestedStartDateLt *strfmt.DateTime) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithSellerID(sellerID *string) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithSiteCompanyName(siteCompanyName *string) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithSiteCustomerName(siteCustomerName *string) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithSiteName(siteName *string) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithState(state *string) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WithTimeout(timeout time.Duration) *ProductOrderFindParams
- func (o *ProductOrderFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductOrderFindReader
- type ProductOrderFindRequestTimeout
- type ProductOrderFindServiceUnavailable
- type ProductOrderFindUnauthorized
- type ProductOrderFindUnprocessableEntity
- type ProductOrderGetBadRequest
- type ProductOrderGetForbidden
- type ProductOrderGetInternalServerError
- type ProductOrderGetMethodNotAllowed
- type ProductOrderGetNotFound
- type ProductOrderGetOK
- type ProductOrderGetParams
- func NewProductOrderGetParams() *ProductOrderGetParams
- func NewProductOrderGetParamsWithContext(ctx context.Context) *ProductOrderGetParams
- func NewProductOrderGetParamsWithHTTPClient(client *http.Client) *ProductOrderGetParams
- func NewProductOrderGetParamsWithTimeout(timeout time.Duration) *ProductOrderGetParams
- func (o *ProductOrderGetParams) SetContext(ctx context.Context)
- func (o *ProductOrderGetParams) SetDefaults()
- func (o *ProductOrderGetParams) SetHTTPClient(client *http.Client)
- func (o *ProductOrderGetParams) SetProductOrderID(productOrderID string)
- func (o *ProductOrderGetParams) SetTimeout(timeout time.Duration)
- func (o *ProductOrderGetParams) WithContext(ctx context.Context) *ProductOrderGetParams
- func (o *ProductOrderGetParams) WithDefaults() *ProductOrderGetParams
- func (o *ProductOrderGetParams) WithHTTPClient(client *http.Client) *ProductOrderGetParams
- func (o *ProductOrderGetParams) WithProductOrderID(productOrderID string) *ProductOrderGetParams
- func (o *ProductOrderGetParams) WithTimeout(timeout time.Duration) *ProductOrderGetParams
- func (o *ProductOrderGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductOrderGetReader
- type ProductOrderGetRequestTimeout
- type ProductOrderGetServiceUnavailable
- type ProductOrderGetUnauthorized
- type ProductOrderGetUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for product order API
func (*Client) ProductOrderCreate ¶
func (a *Client) ProductOrderCreate(params *ProductOrderCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOrderCreateCreated, error)
ProductOrderCreate creates 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 (*Client) ProductOrderFind ¶
func (a *Client) ProductOrderFind(params *ProductOrderFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOrderFindOK, error)
ProductOrderFind finds 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 (*Client) ProductOrderGet ¶
func (a *Client) ProductOrderGet(params *ProductOrderGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOrderGetOK, error)
ProductOrderGet gets a product order by id
This operation is used to retrieve a single product order based upon a specified product order id.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ProductOrderCreate(params *ProductOrderCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOrderCreateCreated, error) ProductOrderFind(params *ProductOrderFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOrderFindOK, error) ProductOrderGet(params *ProductOrderGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOrderGetOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new product order API client.
type ProductOrderCreateBadRequest ¶
type ProductOrderCreateBadRequest struct {
Payload *models.ErrorRepresentation
}
ProductOrderCreateBadRequest describes a response with status code 400, with default header values. 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
func NewProductOrderCreateBadRequest ¶
func NewProductOrderCreateBadRequest() *ProductOrderCreateBadRequest
NewProductOrderCreateBadRequest creates a ProductOrderCreateBadRequest with default headers values
func (*ProductOrderCreateBadRequest) Error ¶
func (o *ProductOrderCreateBadRequest) Error() string
func (*ProductOrderCreateBadRequest) GetPayload ¶
func (o *ProductOrderCreateBadRequest) GetPayload() *models.ErrorRepresentation
type ProductOrderCreateCreated ¶
type ProductOrderCreateCreated struct {
Payload *models.ProductOrder
}
ProductOrderCreateCreated describes a response with status code 201, with default header values.
Created
func NewProductOrderCreateCreated ¶
func NewProductOrderCreateCreated() *ProductOrderCreateCreated
NewProductOrderCreateCreated creates a ProductOrderCreateCreated with default headers values
func (*ProductOrderCreateCreated) Error ¶
func (o *ProductOrderCreateCreated) Error() string
func (*ProductOrderCreateCreated) GetPayload ¶
func (o *ProductOrderCreateCreated) GetPayload() *models.ProductOrder
type ProductOrderCreateForbidden ¶
type ProductOrderCreateForbidden struct {
Payload *models.ErrorRepresentation
}
ProductOrderCreateForbidden describes a response with status code 403, with default header values. Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
func NewProductOrderCreateForbidden ¶
func NewProductOrderCreateForbidden() *ProductOrderCreateForbidden
NewProductOrderCreateForbidden creates a ProductOrderCreateForbidden with default headers values
func (*ProductOrderCreateForbidden) Error ¶
func (o *ProductOrderCreateForbidden) Error() string
func (*ProductOrderCreateForbidden) GetPayload ¶
func (o *ProductOrderCreateForbidden) GetPayload() *models.ErrorRepresentation
type ProductOrderCreateInternalServerError ¶
type ProductOrderCreateInternalServerError struct {
Payload *models.ErrorRepresentation
}
ProductOrderCreateInternalServerError describes a response with status code 500, with default header values. Internal Server Error
List of supported error codes: - 1: Internal error
func NewProductOrderCreateInternalServerError ¶
func NewProductOrderCreateInternalServerError() *ProductOrderCreateInternalServerError
NewProductOrderCreateInternalServerError creates a ProductOrderCreateInternalServerError with default headers values
func (*ProductOrderCreateInternalServerError) Error ¶
func (o *ProductOrderCreateInternalServerError) Error() string
func (*ProductOrderCreateInternalServerError) GetPayload ¶
func (o *ProductOrderCreateInternalServerError) GetPayload() *models.ErrorRepresentation
type ProductOrderCreateMethodNotAllowed ¶
type ProductOrderCreateMethodNotAllowed struct {
Payload *models.ErrorRepresentation
}
ProductOrderCreateMethodNotAllowed describes a response with status code 405, with default header values. Method Not Allowed
List of supported error codes: - 61: Method not allowed
func NewProductOrderCreateMethodNotAllowed ¶
func NewProductOrderCreateMethodNotAllowed() *ProductOrderCreateMethodNotAllowed
NewProductOrderCreateMethodNotAllowed creates a ProductOrderCreateMethodNotAllowed with default headers values
func (*ProductOrderCreateMethodNotAllowed) Error ¶
func (o *ProductOrderCreateMethodNotAllowed) Error() string
func (*ProductOrderCreateMethodNotAllowed) GetPayload ¶
func (o *ProductOrderCreateMethodNotAllowed) GetPayload() *models.ErrorRepresentation
type ProductOrderCreateNotFound ¶
type ProductOrderCreateNotFound struct {
Payload *models.ErrorRepresentation
}
ProductOrderCreateNotFound describes a response with status code 404, with default header values. Not Found
List of supported error codes: - 60: Resource not found
func NewProductOrderCreateNotFound ¶
func NewProductOrderCreateNotFound() *ProductOrderCreateNotFound
NewProductOrderCreateNotFound creates a ProductOrderCreateNotFound with default headers values
func (*ProductOrderCreateNotFound) Error ¶
func (o *ProductOrderCreateNotFound) Error() string
func (*ProductOrderCreateNotFound) GetPayload ¶
func (o *ProductOrderCreateNotFound) GetPayload() *models.ErrorRepresentation
type ProductOrderCreateParams ¶
type ProductOrderCreateParams struct { // ProductOrder. ProductOrder *models.ProductOrderCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProductOrderCreateParams contains all the parameters to send to the API endpoint
for the product order create operation. Typically these are written to a http.Request.
func NewProductOrderCreateParams ¶
func NewProductOrderCreateParams() *ProductOrderCreateParams
NewProductOrderCreateParams creates a new ProductOrderCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewProductOrderCreateParamsWithContext ¶
func NewProductOrderCreateParamsWithContext(ctx context.Context) *ProductOrderCreateParams
NewProductOrderCreateParamsWithContext creates a new ProductOrderCreateParams object with the ability to set a context for a request.
func NewProductOrderCreateParamsWithHTTPClient ¶
func NewProductOrderCreateParamsWithHTTPClient(client *http.Client) *ProductOrderCreateParams
NewProductOrderCreateParamsWithHTTPClient creates a new ProductOrderCreateParams object with the ability to set a custom HTTPClient for a request.
func NewProductOrderCreateParamsWithTimeout ¶
func NewProductOrderCreateParamsWithTimeout(timeout time.Duration) *ProductOrderCreateParams
NewProductOrderCreateParamsWithTimeout creates a new ProductOrderCreateParams object with the ability to set a timeout on a request.
func (*ProductOrderCreateParams) SetContext ¶
func (o *ProductOrderCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the product order create params
func (*ProductOrderCreateParams) SetDefaults ¶
func (o *ProductOrderCreateParams) SetDefaults()
SetDefaults hydrates default values in the product order create params (not the query body).
All values with no default are reset to their zero value.
func (*ProductOrderCreateParams) SetHTTPClient ¶
func (o *ProductOrderCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the product order create params
func (*ProductOrderCreateParams) SetProductOrder ¶
func (o *ProductOrderCreateParams) SetProductOrder(productOrder *models.ProductOrderCreate)
SetProductOrder adds the productOrder to the product order create params
func (*ProductOrderCreateParams) SetTimeout ¶
func (o *ProductOrderCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the product order create params
func (*ProductOrderCreateParams) WithContext ¶
func (o *ProductOrderCreateParams) WithContext(ctx context.Context) *ProductOrderCreateParams
WithContext adds the context to the product order create params
func (*ProductOrderCreateParams) WithDefaults ¶
func (o *ProductOrderCreateParams) WithDefaults() *ProductOrderCreateParams
WithDefaults hydrates default values in the product order create params (not the query body).
All values with no default are reset to their zero value.
func (*ProductOrderCreateParams) WithHTTPClient ¶
func (o *ProductOrderCreateParams) WithHTTPClient(client *http.Client) *ProductOrderCreateParams
WithHTTPClient adds the HTTPClient to the product order create params
func (*ProductOrderCreateParams) WithProductOrder ¶
func (o *ProductOrderCreateParams) WithProductOrder(productOrder *models.ProductOrderCreate) *ProductOrderCreateParams
WithProductOrder adds the productOrder to the product order create params
func (*ProductOrderCreateParams) WithTimeout ¶
func (o *ProductOrderCreateParams) WithTimeout(timeout time.Duration) *ProductOrderCreateParams
WithTimeout adds the timeout to the product order create params
func (*ProductOrderCreateParams) WriteToRequest ¶
func (o *ProductOrderCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProductOrderCreateReader ¶
type ProductOrderCreateReader struct {
// contains filtered or unexported fields
}
ProductOrderCreateReader is a Reader for the ProductOrderCreate structure.
func (*ProductOrderCreateReader) ReadResponse ¶
func (o *ProductOrderCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProductOrderCreateRequestTimeout ¶
type ProductOrderCreateRequestTimeout struct {
Payload *models.ErrorRepresentation
}
ProductOrderCreateRequestTimeout describes a response with status code 408, with default header values. Request Time-out
List of supported error codes: - 63: Request time-out
func NewProductOrderCreateRequestTimeout ¶
func NewProductOrderCreateRequestTimeout() *ProductOrderCreateRequestTimeout
NewProductOrderCreateRequestTimeout creates a ProductOrderCreateRequestTimeout with default headers values
func (*ProductOrderCreateRequestTimeout) Error ¶
func (o *ProductOrderCreateRequestTimeout) Error() string
func (*ProductOrderCreateRequestTimeout) GetPayload ¶
func (o *ProductOrderCreateRequestTimeout) GetPayload() *models.ErrorRepresentation
type ProductOrderCreateServiceUnavailable ¶
type ProductOrderCreateServiceUnavailable struct {
}ProductOrderCreateServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewProductOrderCreateServiceUnavailable ¶
func NewProductOrderCreateServiceUnavailable() *ProductOrderCreateServiceUnavailable
NewProductOrderCreateServiceUnavailable creates a ProductOrderCreateServiceUnavailable with default headers values
func (*ProductOrderCreateServiceUnavailable) Error ¶
func (o *ProductOrderCreateServiceUnavailable) Error() string
func (*ProductOrderCreateServiceUnavailable) GetPayload ¶
func (o *ProductOrderCreateServiceUnavailable) GetPayload() *models.ErrorRepresentation
type ProductOrderCreateUnauthorized ¶
type ProductOrderCreateUnauthorized struct {
}ProductOrderCreateUnauthorized describes a response with status code 401, with default header values. Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
func NewProductOrderCreateUnauthorized ¶
func NewProductOrderCreateUnauthorized() *ProductOrderCreateUnauthorized
NewProductOrderCreateUnauthorized creates a ProductOrderCreateUnauthorized with default headers values
func (*ProductOrderCreateUnauthorized) Error ¶
func (o *ProductOrderCreateUnauthorized) Error() string
func (*ProductOrderCreateUnauthorized) GetPayload ¶
func (o *ProductOrderCreateUnauthorized) GetPayload() *models.ErrorRepresentation
type ProductOrderCreateUnprocessableEntity ¶
type ProductOrderCreateUnprocessableEntity struct {
Payload *models.ErrorRepresentation
}
ProductOrderCreateUnprocessableEntity describes a response with status code 422, with default header values. 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:
func NewProductOrderCreateUnprocessableEntity ¶
func NewProductOrderCreateUnprocessableEntity() *ProductOrderCreateUnprocessableEntity
NewProductOrderCreateUnprocessableEntity creates a ProductOrderCreateUnprocessableEntity with default headers values
func (*ProductOrderCreateUnprocessableEntity) Error ¶
func (o *ProductOrderCreateUnprocessableEntity) Error() string
func (*ProductOrderCreateUnprocessableEntity) GetPayload ¶
func (o *ProductOrderCreateUnprocessableEntity) GetPayload() *models.ErrorRepresentation
type ProductOrderFindBadRequest ¶
type ProductOrderFindBadRequest struct {
Payload *models.ErrorRepresentation
}
ProductOrderFindBadRequest describes a response with status code 400, with default header values. 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
func NewProductOrderFindBadRequest ¶
func NewProductOrderFindBadRequest() *ProductOrderFindBadRequest
NewProductOrderFindBadRequest creates a ProductOrderFindBadRequest with default headers values
func (*ProductOrderFindBadRequest) Error ¶
func (o *ProductOrderFindBadRequest) Error() string
func (*ProductOrderFindBadRequest) GetPayload ¶
func (o *ProductOrderFindBadRequest) GetPayload() *models.ErrorRepresentation
type ProductOrderFindForbidden ¶
type ProductOrderFindForbidden struct {
Payload *models.ErrorRepresentation
}
ProductOrderFindForbidden describes a response with status code 403, with default header values. Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
func NewProductOrderFindForbidden ¶
func NewProductOrderFindForbidden() *ProductOrderFindForbidden
NewProductOrderFindForbidden creates a ProductOrderFindForbidden with default headers values
func (*ProductOrderFindForbidden) Error ¶
func (o *ProductOrderFindForbidden) Error() string
func (*ProductOrderFindForbidden) GetPayload ¶
func (o *ProductOrderFindForbidden) GetPayload() *models.ErrorRepresentation
type ProductOrderFindInternalServerError ¶
type ProductOrderFindInternalServerError struct {
Payload *models.ErrorRepresentation
}
ProductOrderFindInternalServerError describes a response with status code 500, with default header values. Internal Server Error
List of supported error codes: - 1: Internal error
func NewProductOrderFindInternalServerError ¶
func NewProductOrderFindInternalServerError() *ProductOrderFindInternalServerError
NewProductOrderFindInternalServerError creates a ProductOrderFindInternalServerError with default headers values
func (*ProductOrderFindInternalServerError) Error ¶
func (o *ProductOrderFindInternalServerError) Error() string
func (*ProductOrderFindInternalServerError) GetPayload ¶
func (o *ProductOrderFindInternalServerError) GetPayload() *models.ErrorRepresentation
type ProductOrderFindMethodNotAllowed ¶
type ProductOrderFindMethodNotAllowed struct {
Payload *models.ErrorRepresentation
}
ProductOrderFindMethodNotAllowed describes a response with status code 405, with default header values. Method Not Allowed
List of supported error codes: - 61: Method not allowed
func NewProductOrderFindMethodNotAllowed ¶
func NewProductOrderFindMethodNotAllowed() *ProductOrderFindMethodNotAllowed
NewProductOrderFindMethodNotAllowed creates a ProductOrderFindMethodNotAllowed with default headers values
func (*ProductOrderFindMethodNotAllowed) Error ¶
func (o *ProductOrderFindMethodNotAllowed) Error() string
func (*ProductOrderFindMethodNotAllowed) GetPayload ¶
func (o *ProductOrderFindMethodNotAllowed) GetPayload() *models.ErrorRepresentation
type ProductOrderFindNotFound ¶
type ProductOrderFindNotFound struct {
Payload *models.ErrorRepresentation
}
ProductOrderFindNotFound describes a response with status code 404, with default header values. Not Found
List of supported error codes: - 60: Resource not found
func NewProductOrderFindNotFound ¶
func NewProductOrderFindNotFound() *ProductOrderFindNotFound
NewProductOrderFindNotFound creates a ProductOrderFindNotFound with default headers values
func (*ProductOrderFindNotFound) Error ¶
func (o *ProductOrderFindNotFound) Error() string
func (*ProductOrderFindNotFound) GetPayload ¶
func (o *ProductOrderFindNotFound) GetPayload() *models.ErrorRepresentation
type ProductOrderFindOK ¶
type ProductOrderFindOK struct { /* The number of resources retrieved in the response Format: int32 */ XResultCount int32 /* The total number of matching resources Format: int32 */ XTotalCount int32 Payload []*models.ProductOrderSummary }
ProductOrderFindOK describes a response with status code 200, with default header values.
Ok
func NewProductOrderFindOK ¶
func NewProductOrderFindOK() *ProductOrderFindOK
NewProductOrderFindOK creates a ProductOrderFindOK with default headers values
func (*ProductOrderFindOK) Error ¶
func (o *ProductOrderFindOK) Error() string
func (*ProductOrderFindOK) GetPayload ¶
func (o *ProductOrderFindOK) GetPayload() []*models.ProductOrderSummary
type ProductOrderFindParams ¶
type ProductOrderFindParams struct { /* BuyerID. 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. */ BuyerID *string /* BuyerRequestedDateGt. Buyer requested date greater than Format: date-time */ BuyerRequestedDateGt *strfmt.DateTime /* BuyerRequestedDateLt. Buyer requested date lesser than Format: date-time */ BuyerRequestedDateLt *strfmt.DateTime /* CompletionDateGt. Effective completion date greater than Format: date-time */ CompletionDateGt *strfmt.DateTime /* CompletionDateLt. Effective completion date lesser than Format: date-time */ CompletionDateLt *strfmt.DateTime /* ExpectedCompletionDateGt. Seller planned completion date greater than Format: date-time */ ExpectedCompletionDateGt *strfmt.DateTime /* ExpectedCompletionDateLt. Seller planned completion date lesser than Format: date-time */ ExpectedCompletionDateLt *strfmt.DateTime /* ExternalID. A number that uniquely identifies an order within the Buyer's enterprise. */ ExternalID *string /* Limit. Requested number of resources to be provided in response requested by client */ Limit *string /* Offset. Requested index for start of resources to be provided in response requested by client */ Offset *string /* OrderCancellationDateGt. order cancellation date greater than Format: date-time */ OrderCancellationDateGt *strfmt.DateTime /* OrderCancellationDateLt. order cancellation date lesser than Format: date-time */ OrderCancellationDateLt *strfmt.DateTime /* OrderDateGt. Date when the order was created greater than Format: date-time */ OrderDateGt *strfmt.DateTime /* OrderDateLt. Date when the order was created lesser than Format: date-time */ OrderDateLt *strfmt.DateTime /* ProjectID. An identifier that is used to group Orders that represent a unit of functionality that is important to a Buyer. */ ProjectID *string /* RequestedCompletionDateGt. Identifies the Buyer's desired due date (requested delivery date) greater than Format: date-time */ RequestedCompletionDateGt *strfmt.DateTime /* RequestedCompletionDateLt. Identifies the Buyer's desired due date (requested delivery date) lesser than Format: date-time */ RequestedCompletionDateLt *strfmt.DateTime /* RequestedStartDateGt. Buyer requested start date greater than Format: date-time */ RequestedStartDateGt *strfmt.DateTime /* RequestedStartDateLt. Buyer requested start date lesser than Format: date-time */ RequestedStartDateLt *strfmt.DateTime /* SellerID. 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. */ SellerID *string /* SiteCompanyName. 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. */ SiteCompanyName *string /* SiteCustomerName. The customer name at a site where the service is being delivered */ SiteCustomerName *string /* SiteName. A name by which the site is known. */ SiteName *string /* State. The status of the order */ State *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProductOrderFindParams contains all the parameters to send to the API endpoint
for the product order find operation. Typically these are written to a http.Request.
func NewProductOrderFindParams ¶
func NewProductOrderFindParams() *ProductOrderFindParams
NewProductOrderFindParams creates a new ProductOrderFindParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewProductOrderFindParamsWithContext ¶
func NewProductOrderFindParamsWithContext(ctx context.Context) *ProductOrderFindParams
NewProductOrderFindParamsWithContext creates a new ProductOrderFindParams object with the ability to set a context for a request.
func NewProductOrderFindParamsWithHTTPClient ¶
func NewProductOrderFindParamsWithHTTPClient(client *http.Client) *ProductOrderFindParams
NewProductOrderFindParamsWithHTTPClient creates a new ProductOrderFindParams object with the ability to set a custom HTTPClient for a request.
func NewProductOrderFindParamsWithTimeout ¶
func NewProductOrderFindParamsWithTimeout(timeout time.Duration) *ProductOrderFindParams
NewProductOrderFindParamsWithTimeout creates a new ProductOrderFindParams object with the ability to set a timeout on a request.
func (*ProductOrderFindParams) SetBuyerID ¶
func (o *ProductOrderFindParams) SetBuyerID(buyerID *string)
SetBuyerID adds the buyerId to the product order find params
func (*ProductOrderFindParams) SetBuyerRequestedDateGt ¶
func (o *ProductOrderFindParams) SetBuyerRequestedDateGt(buyerRequestedDateGt *strfmt.DateTime)
SetBuyerRequestedDateGt adds the buyerRequestedDateGt to the product order find params
func (*ProductOrderFindParams) SetBuyerRequestedDateLt ¶
func (o *ProductOrderFindParams) SetBuyerRequestedDateLt(buyerRequestedDateLt *strfmt.DateTime)
SetBuyerRequestedDateLt adds the buyerRequestedDateLt to the product order find params
func (*ProductOrderFindParams) SetCompletionDateGt ¶
func (o *ProductOrderFindParams) SetCompletionDateGt(completionDateGt *strfmt.DateTime)
SetCompletionDateGt adds the completionDateGt to the product order find params
func (*ProductOrderFindParams) SetCompletionDateLt ¶
func (o *ProductOrderFindParams) SetCompletionDateLt(completionDateLt *strfmt.DateTime)
SetCompletionDateLt adds the completionDateLt to the product order find params
func (*ProductOrderFindParams) SetContext ¶
func (o *ProductOrderFindParams) SetContext(ctx context.Context)
SetContext adds the context to the product order find params
func (*ProductOrderFindParams) SetDefaults ¶
func (o *ProductOrderFindParams) SetDefaults()
SetDefaults hydrates default values in the product order find params (not the query body).
All values with no default are reset to their zero value.
func (*ProductOrderFindParams) SetExpectedCompletionDateGt ¶
func (o *ProductOrderFindParams) SetExpectedCompletionDateGt(expectedCompletionDateGt *strfmt.DateTime)
SetExpectedCompletionDateGt adds the expectedCompletionDateGt to the product order find params
func (*ProductOrderFindParams) SetExpectedCompletionDateLt ¶
func (o *ProductOrderFindParams) SetExpectedCompletionDateLt(expectedCompletionDateLt *strfmt.DateTime)
SetExpectedCompletionDateLt adds the expectedCompletionDateLt to the product order find params
func (*ProductOrderFindParams) SetExternalID ¶
func (o *ProductOrderFindParams) SetExternalID(externalID *string)
SetExternalID adds the externalId to the product order find params
func (*ProductOrderFindParams) SetHTTPClient ¶
func (o *ProductOrderFindParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the product order find params
func (*ProductOrderFindParams) SetLimit ¶
func (o *ProductOrderFindParams) SetLimit(limit *string)
SetLimit adds the limit to the product order find params
func (*ProductOrderFindParams) SetOffset ¶
func (o *ProductOrderFindParams) SetOffset(offset *string)
SetOffset adds the offset to the product order find params
func (*ProductOrderFindParams) SetOrderCancellationDateGt ¶
func (o *ProductOrderFindParams) SetOrderCancellationDateGt(orderCancellationDateGt *strfmt.DateTime)
SetOrderCancellationDateGt adds the orderCancellationDateGt to the product order find params
func (*ProductOrderFindParams) SetOrderCancellationDateLt ¶
func (o *ProductOrderFindParams) SetOrderCancellationDateLt(orderCancellationDateLt *strfmt.DateTime)
SetOrderCancellationDateLt adds the orderCancellationDateLt to the product order find params
func (*ProductOrderFindParams) SetOrderDateGt ¶
func (o *ProductOrderFindParams) SetOrderDateGt(orderDateGt *strfmt.DateTime)
SetOrderDateGt adds the orderDateGt to the product order find params
func (*ProductOrderFindParams) SetOrderDateLt ¶
func (o *ProductOrderFindParams) SetOrderDateLt(orderDateLt *strfmt.DateTime)
SetOrderDateLt adds the orderDateLt to the product order find params
func (*ProductOrderFindParams) SetProjectID ¶
func (o *ProductOrderFindParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the product order find params
func (*ProductOrderFindParams) SetRequestedCompletionDateGt ¶
func (o *ProductOrderFindParams) SetRequestedCompletionDateGt(requestedCompletionDateGt *strfmt.DateTime)
SetRequestedCompletionDateGt adds the requestedCompletionDateGt to the product order find params
func (*ProductOrderFindParams) SetRequestedCompletionDateLt ¶
func (o *ProductOrderFindParams) SetRequestedCompletionDateLt(requestedCompletionDateLt *strfmt.DateTime)
SetRequestedCompletionDateLt adds the requestedCompletionDateLt to the product order find params
func (*ProductOrderFindParams) SetRequestedStartDateGt ¶
func (o *ProductOrderFindParams) SetRequestedStartDateGt(requestedStartDateGt *strfmt.DateTime)
SetRequestedStartDateGt adds the requestedStartDateGt to the product order find params
func (*ProductOrderFindParams) SetRequestedStartDateLt ¶
func (o *ProductOrderFindParams) SetRequestedStartDateLt(requestedStartDateLt *strfmt.DateTime)
SetRequestedStartDateLt adds the requestedStartDateLt to the product order find params
func (*ProductOrderFindParams) SetSellerID ¶
func (o *ProductOrderFindParams) SetSellerID(sellerID *string)
SetSellerID adds the sellerId to the product order find params
func (*ProductOrderFindParams) SetSiteCompanyName ¶
func (o *ProductOrderFindParams) SetSiteCompanyName(siteCompanyName *string)
SetSiteCompanyName adds the siteCompanyName to the product order find params
func (*ProductOrderFindParams) SetSiteCustomerName ¶
func (o *ProductOrderFindParams) SetSiteCustomerName(siteCustomerName *string)
SetSiteCustomerName adds the siteCustomerName to the product order find params
func (*ProductOrderFindParams) SetSiteName ¶
func (o *ProductOrderFindParams) SetSiteName(siteName *string)
SetSiteName adds the siteName to the product order find params
func (*ProductOrderFindParams) SetState ¶
func (o *ProductOrderFindParams) SetState(state *string)
SetState adds the state to the product order find params
func (*ProductOrderFindParams) SetTimeout ¶
func (o *ProductOrderFindParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the product order find params
func (*ProductOrderFindParams) WithBuyerID ¶
func (o *ProductOrderFindParams) WithBuyerID(buyerID *string) *ProductOrderFindParams
WithBuyerID adds the buyerID to the product order find params
func (*ProductOrderFindParams) WithBuyerRequestedDateGt ¶
func (o *ProductOrderFindParams) WithBuyerRequestedDateGt(buyerRequestedDateGt *strfmt.DateTime) *ProductOrderFindParams
WithBuyerRequestedDateGt adds the buyerRequestedDateGt to the product order find params
func (*ProductOrderFindParams) WithBuyerRequestedDateLt ¶
func (o *ProductOrderFindParams) WithBuyerRequestedDateLt(buyerRequestedDateLt *strfmt.DateTime) *ProductOrderFindParams
WithBuyerRequestedDateLt adds the buyerRequestedDateLt to the product order find params
func (*ProductOrderFindParams) WithCompletionDateGt ¶
func (o *ProductOrderFindParams) WithCompletionDateGt(completionDateGt *strfmt.DateTime) *ProductOrderFindParams
WithCompletionDateGt adds the completionDateGt to the product order find params
func (*ProductOrderFindParams) WithCompletionDateLt ¶
func (o *ProductOrderFindParams) WithCompletionDateLt(completionDateLt *strfmt.DateTime) *ProductOrderFindParams
WithCompletionDateLt adds the completionDateLt to the product order find params
func (*ProductOrderFindParams) WithContext ¶
func (o *ProductOrderFindParams) WithContext(ctx context.Context) *ProductOrderFindParams
WithContext adds the context to the product order find params
func (*ProductOrderFindParams) WithDefaults ¶
func (o *ProductOrderFindParams) WithDefaults() *ProductOrderFindParams
WithDefaults hydrates default values in the product order find params (not the query body).
All values with no default are reset to their zero value.
func (*ProductOrderFindParams) WithExpectedCompletionDateGt ¶
func (o *ProductOrderFindParams) WithExpectedCompletionDateGt(expectedCompletionDateGt *strfmt.DateTime) *ProductOrderFindParams
WithExpectedCompletionDateGt adds the expectedCompletionDateGt to the product order find params
func (*ProductOrderFindParams) WithExpectedCompletionDateLt ¶
func (o *ProductOrderFindParams) WithExpectedCompletionDateLt(expectedCompletionDateLt *strfmt.DateTime) *ProductOrderFindParams
WithExpectedCompletionDateLt adds the expectedCompletionDateLt to the product order find params
func (*ProductOrderFindParams) WithExternalID ¶
func (o *ProductOrderFindParams) WithExternalID(externalID *string) *ProductOrderFindParams
WithExternalID adds the externalID to the product order find params
func (*ProductOrderFindParams) WithHTTPClient ¶
func (o *ProductOrderFindParams) WithHTTPClient(client *http.Client) *ProductOrderFindParams
WithHTTPClient adds the HTTPClient to the product order find params
func (*ProductOrderFindParams) WithLimit ¶
func (o *ProductOrderFindParams) WithLimit(limit *string) *ProductOrderFindParams
WithLimit adds the limit to the product order find params
func (*ProductOrderFindParams) WithOffset ¶
func (o *ProductOrderFindParams) WithOffset(offset *string) *ProductOrderFindParams
WithOffset adds the offset to the product order find params
func (*ProductOrderFindParams) WithOrderCancellationDateGt ¶
func (o *ProductOrderFindParams) WithOrderCancellationDateGt(orderCancellationDateGt *strfmt.DateTime) *ProductOrderFindParams
WithOrderCancellationDateGt adds the orderCancellationDateGt to the product order find params
func (*ProductOrderFindParams) WithOrderCancellationDateLt ¶
func (o *ProductOrderFindParams) WithOrderCancellationDateLt(orderCancellationDateLt *strfmt.DateTime) *ProductOrderFindParams
WithOrderCancellationDateLt adds the orderCancellationDateLt to the product order find params
func (*ProductOrderFindParams) WithOrderDateGt ¶
func (o *ProductOrderFindParams) WithOrderDateGt(orderDateGt *strfmt.DateTime) *ProductOrderFindParams
WithOrderDateGt adds the orderDateGt to the product order find params
func (*ProductOrderFindParams) WithOrderDateLt ¶
func (o *ProductOrderFindParams) WithOrderDateLt(orderDateLt *strfmt.DateTime) *ProductOrderFindParams
WithOrderDateLt adds the orderDateLt to the product order find params
func (*ProductOrderFindParams) WithProjectID ¶
func (o *ProductOrderFindParams) WithProjectID(projectID *string) *ProductOrderFindParams
WithProjectID adds the projectID to the product order find params
func (*ProductOrderFindParams) WithRequestedCompletionDateGt ¶
func (o *ProductOrderFindParams) WithRequestedCompletionDateGt(requestedCompletionDateGt *strfmt.DateTime) *ProductOrderFindParams
WithRequestedCompletionDateGt adds the requestedCompletionDateGt to the product order find params
func (*ProductOrderFindParams) WithRequestedCompletionDateLt ¶
func (o *ProductOrderFindParams) WithRequestedCompletionDateLt(requestedCompletionDateLt *strfmt.DateTime) *ProductOrderFindParams
WithRequestedCompletionDateLt adds the requestedCompletionDateLt to the product order find params
func (*ProductOrderFindParams) WithRequestedStartDateGt ¶
func (o *ProductOrderFindParams) WithRequestedStartDateGt(requestedStartDateGt *strfmt.DateTime) *ProductOrderFindParams
WithRequestedStartDateGt adds the requestedStartDateGt to the product order find params
func (*ProductOrderFindParams) WithRequestedStartDateLt ¶
func (o *ProductOrderFindParams) WithRequestedStartDateLt(requestedStartDateLt *strfmt.DateTime) *ProductOrderFindParams
WithRequestedStartDateLt adds the requestedStartDateLt to the product order find params
func (*ProductOrderFindParams) WithSellerID ¶
func (o *ProductOrderFindParams) WithSellerID(sellerID *string) *ProductOrderFindParams
WithSellerID adds the sellerID to the product order find params
func (*ProductOrderFindParams) WithSiteCompanyName ¶
func (o *ProductOrderFindParams) WithSiteCompanyName(siteCompanyName *string) *ProductOrderFindParams
WithSiteCompanyName adds the siteCompanyName to the product order find params
func (*ProductOrderFindParams) WithSiteCustomerName ¶
func (o *ProductOrderFindParams) WithSiteCustomerName(siteCustomerName *string) *ProductOrderFindParams
WithSiteCustomerName adds the siteCustomerName to the product order find params
func (*ProductOrderFindParams) WithSiteName ¶
func (o *ProductOrderFindParams) WithSiteName(siteName *string) *ProductOrderFindParams
WithSiteName adds the siteName to the product order find params
func (*ProductOrderFindParams) WithState ¶
func (o *ProductOrderFindParams) WithState(state *string) *ProductOrderFindParams
WithState adds the state to the product order find params
func (*ProductOrderFindParams) WithTimeout ¶
func (o *ProductOrderFindParams) WithTimeout(timeout time.Duration) *ProductOrderFindParams
WithTimeout adds the timeout to the product order find params
func (*ProductOrderFindParams) WriteToRequest ¶
func (o *ProductOrderFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProductOrderFindReader ¶
type ProductOrderFindReader struct {
// contains filtered or unexported fields
}
ProductOrderFindReader is a Reader for the ProductOrderFind structure.
func (*ProductOrderFindReader) ReadResponse ¶
func (o *ProductOrderFindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProductOrderFindRequestTimeout ¶
type ProductOrderFindRequestTimeout struct {
Payload *models.ErrorRepresentation
}
ProductOrderFindRequestTimeout describes a response with status code 408, with default header values. Request Time-out
List of supported error codes: - 63: Request time-out
func NewProductOrderFindRequestTimeout ¶
func NewProductOrderFindRequestTimeout() *ProductOrderFindRequestTimeout
NewProductOrderFindRequestTimeout creates a ProductOrderFindRequestTimeout with default headers values
func (*ProductOrderFindRequestTimeout) Error ¶
func (o *ProductOrderFindRequestTimeout) Error() string
func (*ProductOrderFindRequestTimeout) GetPayload ¶
func (o *ProductOrderFindRequestTimeout) GetPayload() *models.ErrorRepresentation
type ProductOrderFindServiceUnavailable ¶
type ProductOrderFindServiceUnavailable struct {
}ProductOrderFindServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewProductOrderFindServiceUnavailable ¶
func NewProductOrderFindServiceUnavailable() *ProductOrderFindServiceUnavailable
NewProductOrderFindServiceUnavailable creates a ProductOrderFindServiceUnavailable with default headers values
func (*ProductOrderFindServiceUnavailable) Error ¶
func (o *ProductOrderFindServiceUnavailable) Error() string
func (*ProductOrderFindServiceUnavailable) GetPayload ¶
func (o *ProductOrderFindServiceUnavailable) GetPayload() *models.ErrorRepresentation
type ProductOrderFindUnauthorized ¶
type ProductOrderFindUnauthorized struct {
}ProductOrderFindUnauthorized describes a response with status code 401, with default header values. Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
func NewProductOrderFindUnauthorized ¶
func NewProductOrderFindUnauthorized() *ProductOrderFindUnauthorized
NewProductOrderFindUnauthorized creates a ProductOrderFindUnauthorized with default headers values
func (*ProductOrderFindUnauthorized) Error ¶
func (o *ProductOrderFindUnauthorized) Error() string
func (*ProductOrderFindUnauthorized) GetPayload ¶
func (o *ProductOrderFindUnauthorized) GetPayload() *models.ErrorRepresentation
type ProductOrderFindUnprocessableEntity ¶
type ProductOrderFindUnprocessableEntity struct {
Payload *models.ErrorRepresentation
}
ProductOrderFindUnprocessableEntity describes a response with status code 422, with default header values. Unprocessable entity
Functional error
- code: 100
message: Too many records retrieved - please restrict requested parameter value(s) description:
func NewProductOrderFindUnprocessableEntity ¶
func NewProductOrderFindUnprocessableEntity() *ProductOrderFindUnprocessableEntity
NewProductOrderFindUnprocessableEntity creates a ProductOrderFindUnprocessableEntity with default headers values
func (*ProductOrderFindUnprocessableEntity) Error ¶
func (o *ProductOrderFindUnprocessableEntity) Error() string
func (*ProductOrderFindUnprocessableEntity) GetPayload ¶
func (o *ProductOrderFindUnprocessableEntity) GetPayload() *models.ErrorRepresentation
type ProductOrderGetBadRequest ¶
type ProductOrderGetBadRequest struct {
Payload *models.ErrorRepresentation
}
ProductOrderGetBadRequest describes a response with status code 400, with default header values. 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
func NewProductOrderGetBadRequest ¶
func NewProductOrderGetBadRequest() *ProductOrderGetBadRequest
NewProductOrderGetBadRequest creates a ProductOrderGetBadRequest with default headers values
func (*ProductOrderGetBadRequest) Error ¶
func (o *ProductOrderGetBadRequest) Error() string
func (*ProductOrderGetBadRequest) GetPayload ¶
func (o *ProductOrderGetBadRequest) GetPayload() *models.ErrorRepresentation
type ProductOrderGetForbidden ¶
type ProductOrderGetForbidden struct {
Payload *models.ErrorRepresentation
}
ProductOrderGetForbidden describes a response with status code 403, with default header values. Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
func NewProductOrderGetForbidden ¶
func NewProductOrderGetForbidden() *ProductOrderGetForbidden
NewProductOrderGetForbidden creates a ProductOrderGetForbidden with default headers values
func (*ProductOrderGetForbidden) Error ¶
func (o *ProductOrderGetForbidden) Error() string
func (*ProductOrderGetForbidden) GetPayload ¶
func (o *ProductOrderGetForbidden) GetPayload() *models.ErrorRepresentation
type ProductOrderGetInternalServerError ¶
type ProductOrderGetInternalServerError struct {
Payload *models.ErrorRepresentation
}
ProductOrderGetInternalServerError describes a response with status code 500, with default header values. Internal Server Error
List of supported error codes: - 1: Internal error
func NewProductOrderGetInternalServerError ¶
func NewProductOrderGetInternalServerError() *ProductOrderGetInternalServerError
NewProductOrderGetInternalServerError creates a ProductOrderGetInternalServerError with default headers values
func (*ProductOrderGetInternalServerError) Error ¶
func (o *ProductOrderGetInternalServerError) Error() string
func (*ProductOrderGetInternalServerError) GetPayload ¶
func (o *ProductOrderGetInternalServerError) GetPayload() *models.ErrorRepresentation
type ProductOrderGetMethodNotAllowed ¶
type ProductOrderGetMethodNotAllowed struct {
Payload *models.ErrorRepresentation
}
ProductOrderGetMethodNotAllowed describes a response with status code 405, with default header values. Method Not Allowed
List of supported error codes: - 61: Method not allowed
func NewProductOrderGetMethodNotAllowed ¶
func NewProductOrderGetMethodNotAllowed() *ProductOrderGetMethodNotAllowed
NewProductOrderGetMethodNotAllowed creates a ProductOrderGetMethodNotAllowed with default headers values
func (*ProductOrderGetMethodNotAllowed) Error ¶
func (o *ProductOrderGetMethodNotAllowed) Error() string
func (*ProductOrderGetMethodNotAllowed) GetPayload ¶
func (o *ProductOrderGetMethodNotAllowed) GetPayload() *models.ErrorRepresentation
type ProductOrderGetNotFound ¶
type ProductOrderGetNotFound struct {
Payload *models.ErrorRepresentation
}
ProductOrderGetNotFound describes a response with status code 404, with default header values. Not Found
List of supported error codes: - 60: Resource not found
func NewProductOrderGetNotFound ¶
func NewProductOrderGetNotFound() *ProductOrderGetNotFound
NewProductOrderGetNotFound creates a ProductOrderGetNotFound with default headers values
func (*ProductOrderGetNotFound) Error ¶
func (o *ProductOrderGetNotFound) Error() string
func (*ProductOrderGetNotFound) GetPayload ¶
func (o *ProductOrderGetNotFound) GetPayload() *models.ErrorRepresentation
type ProductOrderGetOK ¶
type ProductOrderGetOK struct {
Payload *models.ProductOrder
}
ProductOrderGetOK describes a response with status code 200, with default header values.
Ok
func NewProductOrderGetOK ¶
func NewProductOrderGetOK() *ProductOrderGetOK
NewProductOrderGetOK creates a ProductOrderGetOK with default headers values
func (*ProductOrderGetOK) Error ¶
func (o *ProductOrderGetOK) Error() string
func (*ProductOrderGetOK) GetPayload ¶
func (o *ProductOrderGetOK) GetPayload() *models.ProductOrder
type ProductOrderGetParams ¶
type ProductOrderGetParams struct { // ProductOrderID. ProductOrderID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProductOrderGetParams contains all the parameters to send to the API endpoint
for the product order get operation. Typically these are written to a http.Request.
func NewProductOrderGetParams ¶
func NewProductOrderGetParams() *ProductOrderGetParams
NewProductOrderGetParams creates a new ProductOrderGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewProductOrderGetParamsWithContext ¶
func NewProductOrderGetParamsWithContext(ctx context.Context) *ProductOrderGetParams
NewProductOrderGetParamsWithContext creates a new ProductOrderGetParams object with the ability to set a context for a request.
func NewProductOrderGetParamsWithHTTPClient ¶
func NewProductOrderGetParamsWithHTTPClient(client *http.Client) *ProductOrderGetParams
NewProductOrderGetParamsWithHTTPClient creates a new ProductOrderGetParams object with the ability to set a custom HTTPClient for a request.
func NewProductOrderGetParamsWithTimeout ¶
func NewProductOrderGetParamsWithTimeout(timeout time.Duration) *ProductOrderGetParams
NewProductOrderGetParamsWithTimeout creates a new ProductOrderGetParams object with the ability to set a timeout on a request.
func (*ProductOrderGetParams) SetContext ¶
func (o *ProductOrderGetParams) SetContext(ctx context.Context)
SetContext adds the context to the product order get params
func (*ProductOrderGetParams) SetDefaults ¶
func (o *ProductOrderGetParams) SetDefaults()
SetDefaults hydrates default values in the product order get params (not the query body).
All values with no default are reset to their zero value.
func (*ProductOrderGetParams) SetHTTPClient ¶
func (o *ProductOrderGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the product order get params
func (*ProductOrderGetParams) SetProductOrderID ¶
func (o *ProductOrderGetParams) SetProductOrderID(productOrderID string)
SetProductOrderID adds the productOrderId to the product order get params
func (*ProductOrderGetParams) SetTimeout ¶
func (o *ProductOrderGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the product order get params
func (*ProductOrderGetParams) WithContext ¶
func (o *ProductOrderGetParams) WithContext(ctx context.Context) *ProductOrderGetParams
WithContext adds the context to the product order get params
func (*ProductOrderGetParams) WithDefaults ¶
func (o *ProductOrderGetParams) WithDefaults() *ProductOrderGetParams
WithDefaults hydrates default values in the product order get params (not the query body).
All values with no default are reset to their zero value.
func (*ProductOrderGetParams) WithHTTPClient ¶
func (o *ProductOrderGetParams) WithHTTPClient(client *http.Client) *ProductOrderGetParams
WithHTTPClient adds the HTTPClient to the product order get params
func (*ProductOrderGetParams) WithProductOrderID ¶
func (o *ProductOrderGetParams) WithProductOrderID(productOrderID string) *ProductOrderGetParams
WithProductOrderID adds the productOrderID to the product order get params
func (*ProductOrderGetParams) WithTimeout ¶
func (o *ProductOrderGetParams) WithTimeout(timeout time.Duration) *ProductOrderGetParams
WithTimeout adds the timeout to the product order get params
func (*ProductOrderGetParams) WriteToRequest ¶
func (o *ProductOrderGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProductOrderGetReader ¶
type ProductOrderGetReader struct {
// contains filtered or unexported fields
}
ProductOrderGetReader is a Reader for the ProductOrderGet structure.
func (*ProductOrderGetReader) ReadResponse ¶
func (o *ProductOrderGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProductOrderGetRequestTimeout ¶
type ProductOrderGetRequestTimeout struct {
Payload *models.ErrorRepresentation
}
ProductOrderGetRequestTimeout describes a response with status code 408, with default header values. Request Time-out
List of supported error codes: - 63: Request time-out
func NewProductOrderGetRequestTimeout ¶
func NewProductOrderGetRequestTimeout() *ProductOrderGetRequestTimeout
NewProductOrderGetRequestTimeout creates a ProductOrderGetRequestTimeout with default headers values
func (*ProductOrderGetRequestTimeout) Error ¶
func (o *ProductOrderGetRequestTimeout) Error() string
func (*ProductOrderGetRequestTimeout) GetPayload ¶
func (o *ProductOrderGetRequestTimeout) GetPayload() *models.ErrorRepresentation
type ProductOrderGetServiceUnavailable ¶
type ProductOrderGetServiceUnavailable struct {
}ProductOrderGetServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewProductOrderGetServiceUnavailable ¶
func NewProductOrderGetServiceUnavailable() *ProductOrderGetServiceUnavailable
NewProductOrderGetServiceUnavailable creates a ProductOrderGetServiceUnavailable with default headers values
func (*ProductOrderGetServiceUnavailable) Error ¶
func (o *ProductOrderGetServiceUnavailable) Error() string
func (*ProductOrderGetServiceUnavailable) GetPayload ¶
func (o *ProductOrderGetServiceUnavailable) GetPayload() *models.ErrorRepresentation
type ProductOrderGetUnauthorized ¶
type ProductOrderGetUnauthorized struct {
}ProductOrderGetUnauthorized describes a response with status code 401, with default header values. Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
func NewProductOrderGetUnauthorized ¶
func NewProductOrderGetUnauthorized() *ProductOrderGetUnauthorized
NewProductOrderGetUnauthorized creates a ProductOrderGetUnauthorized with default headers values
func (*ProductOrderGetUnauthorized) Error ¶
func (o *ProductOrderGetUnauthorized) Error() string
func (*ProductOrderGetUnauthorized) GetPayload ¶
func (o *ProductOrderGetUnauthorized) GetPayload() *models.ErrorRepresentation
type ProductOrderGetUnprocessableEntity ¶
type ProductOrderGetUnprocessableEntity struct {
Payload *models.ErrorRepresentation
}
ProductOrderGetUnprocessableEntity describes a response with status code 422, with default header values. Unprocessable entity
Functional error
func NewProductOrderGetUnprocessableEntity ¶
func NewProductOrderGetUnprocessableEntity() *ProductOrderGetUnprocessableEntity
NewProductOrderGetUnprocessableEntity creates a ProductOrderGetUnprocessableEntity with default headers values
func (*ProductOrderGetUnprocessableEntity) Error ¶
func (o *ProductOrderGetUnprocessableEntity) Error() string
func (*ProductOrderGetUnprocessableEntity) GetPayload ¶
func (o *ProductOrderGetUnprocessableEntity) GetPayload() *models.ErrorRepresentation