Documentation ¶
Index ¶
- type Client
- func (a *Client) QuoteCreate(params *QuoteCreateParams) (*QuoteCreateCreated, error)
- func (a *Client) QuoteFind(params *QuoteFindParams) (*QuoteFindOK, error)
- func (a *Client) QuoteGet(params *QuoteGetParams) (*QuoteGetOK, error)
- func (a *Client) QuoteRequestStateChange(params *QuoteRequestStateChangeParams) (*QuoteRequestStateChangeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type QuoteCreateBadRequest
- type QuoteCreateCreated
- type QuoteCreateForbidden
- type QuoteCreateInternalServerError
- type QuoteCreateMethodNotAllowed
- type QuoteCreateNotFound
- type QuoteCreateParams
- func (o *QuoteCreateParams) SetContext(ctx context.Context)
- func (o *QuoteCreateParams) SetHTTPClient(client *http.Client)
- func (o *QuoteCreateParams) SetQuote(quote *models.QuoteCreate)
- func (o *QuoteCreateParams) SetTimeout(timeout time.Duration)
- func (o *QuoteCreateParams) WithContext(ctx context.Context) *QuoteCreateParams
- func (o *QuoteCreateParams) WithHTTPClient(client *http.Client) *QuoteCreateParams
- func (o *QuoteCreateParams) WithQuote(quote *models.QuoteCreate) *QuoteCreateParams
- func (o *QuoteCreateParams) WithTimeout(timeout time.Duration) *QuoteCreateParams
- func (o *QuoteCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuoteCreateReader
- type QuoteCreateServiceUnavailable
- type QuoteCreateUnauthorized
- type QuoteCreateUnprocessableEntity
- type QuoteFindBadRequest
- type QuoteFindForbidden
- type QuoteFindInternalServerError
- type QuoteFindMethodNotAllowed
- type QuoteFindNotFound
- type QuoteFindOK
- type QuoteFindParams
- func (o *QuoteFindParams) SetContext(ctx context.Context)
- func (o *QuoteFindParams) SetExternalID(externalID *string)
- func (o *QuoteFindParams) SetHTTPClient(client *http.Client)
- func (o *QuoteFindParams) SetLimit(limit *string)
- func (o *QuoteFindParams) SetOffset(offset *string)
- func (o *QuoteFindParams) SetProjectID(projectID *string)
- func (o *QuoteFindParams) SetQuoteCompletionDateGt(quoteCompletionDateGt *strfmt.DateTime)
- func (o *QuoteFindParams) SetQuoteCompletionDateLt(quoteCompletionDateLt *strfmt.DateTime)
- func (o *QuoteFindParams) SetQuoteDateGt(quoteDateGt *strfmt.DateTime)
- func (o *QuoteFindParams) SetQuoteDateLt(quoteDateLt *strfmt.DateTime)
- func (o *QuoteFindParams) SetQuoteLevel(quoteLevel *string)
- func (o *QuoteFindParams) SetState(state *string)
- func (o *QuoteFindParams) SetTimeout(timeout time.Duration)
- func (o *QuoteFindParams) WithContext(ctx context.Context) *QuoteFindParams
- func (o *QuoteFindParams) WithExternalID(externalID *string) *QuoteFindParams
- func (o *QuoteFindParams) WithHTTPClient(client *http.Client) *QuoteFindParams
- func (o *QuoteFindParams) WithLimit(limit *string) *QuoteFindParams
- func (o *QuoteFindParams) WithOffset(offset *string) *QuoteFindParams
- func (o *QuoteFindParams) WithProjectID(projectID *string) *QuoteFindParams
- func (o *QuoteFindParams) WithQuoteCompletionDateGt(quoteCompletionDateGt *strfmt.DateTime) *QuoteFindParams
- func (o *QuoteFindParams) WithQuoteCompletionDateLt(quoteCompletionDateLt *strfmt.DateTime) *QuoteFindParams
- func (o *QuoteFindParams) WithQuoteDateGt(quoteDateGt *strfmt.DateTime) *QuoteFindParams
- func (o *QuoteFindParams) WithQuoteDateLt(quoteDateLt *strfmt.DateTime) *QuoteFindParams
- func (o *QuoteFindParams) WithQuoteLevel(quoteLevel *string) *QuoteFindParams
- func (o *QuoteFindParams) WithState(state *string) *QuoteFindParams
- func (o *QuoteFindParams) WithTimeout(timeout time.Duration) *QuoteFindParams
- func (o *QuoteFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuoteFindReader
- type QuoteFindServiceUnavailable
- type QuoteFindUnauthorized
- type QuoteFindUnprocessableEntity
- type QuoteGetBadRequest
- type QuoteGetForbidden
- type QuoteGetInternalServerError
- type QuoteGetMethodNotAllowed
- type QuoteGetNotFound
- type QuoteGetOK
- type QuoteGetParams
- func (o *QuoteGetParams) SetContext(ctx context.Context)
- func (o *QuoteGetParams) SetHTTPClient(client *http.Client)
- func (o *QuoteGetParams) SetID(id string)
- func (o *QuoteGetParams) SetTimeout(timeout time.Duration)
- func (o *QuoteGetParams) WithContext(ctx context.Context) *QuoteGetParams
- func (o *QuoteGetParams) WithHTTPClient(client *http.Client) *QuoteGetParams
- func (o *QuoteGetParams) WithID(id string) *QuoteGetParams
- func (o *QuoteGetParams) WithTimeout(timeout time.Duration) *QuoteGetParams
- func (o *QuoteGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuoteGetReader
- type QuoteGetServiceUnavailable
- type QuoteGetUnauthorized
- type QuoteGetUnprocessableEntity
- type QuoteRequestStateChangeBadRequest
- type QuoteRequestStateChangeForbidden
- type QuoteRequestStateChangeInternalServerError
- type QuoteRequestStateChangeMethodNotAllowed
- type QuoteRequestStateChangeNotFound
- type QuoteRequestStateChangeOK
- type QuoteRequestStateChangeParams
- func NewQuoteRequestStateChangeParams() *QuoteRequestStateChangeParams
- func NewQuoteRequestStateChangeParamsWithContext(ctx context.Context) *QuoteRequestStateChangeParams
- func NewQuoteRequestStateChangeParamsWithHTTPClient(client *http.Client) *QuoteRequestStateChangeParams
- func NewQuoteRequestStateChangeParamsWithTimeout(timeout time.Duration) *QuoteRequestStateChangeParams
- func (o *QuoteRequestStateChangeParams) SetChangeQuoteStateRequest(changeQuoteStateRequest *models.ChangelQuoteStateRequest)
- func (o *QuoteRequestStateChangeParams) SetContext(ctx context.Context)
- func (o *QuoteRequestStateChangeParams) SetHTTPClient(client *http.Client)
- func (o *QuoteRequestStateChangeParams) SetTimeout(timeout time.Duration)
- func (o *QuoteRequestStateChangeParams) WithChangeQuoteStateRequest(changeQuoteStateRequest *models.ChangelQuoteStateRequest) *QuoteRequestStateChangeParams
- func (o *QuoteRequestStateChangeParams) WithContext(ctx context.Context) *QuoteRequestStateChangeParams
- func (o *QuoteRequestStateChangeParams) WithHTTPClient(client *http.Client) *QuoteRequestStateChangeParams
- func (o *QuoteRequestStateChangeParams) WithTimeout(timeout time.Duration) *QuoteRequestStateChangeParams
- func (o *QuoteRequestStateChangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuoteRequestStateChangeReader
- type QuoteRequestStateChangeServiceUnavailable
- type QuoteRequestStateChangeUnauthorized
- type QuoteRequestStateChangeUnprocessableEntity
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 quote API
func (*Client) QuoteCreate ¶
func (a *Client) QuoteCreate(params *QuoteCreateParams) (*QuoteCreateCreated, error)
QuoteCreate creates a quote
This operation is used to create a new quote.
func (*Client) QuoteFind ¶
func (a *Client) QuoteFind(params *QuoteFindParams) (*QuoteFindOK, error)
QuoteFind lists quotes
This operation is used to retrieve quote information using filter criteria.
func (*Client) QuoteGet ¶
func (a *Client) QuoteGet(params *QuoteGetParams) (*QuoteGetOK, error)
QuoteGet retrieves a quote
This operation is used to retrieve quote information using the ID.
func (*Client) QuoteRequestStateChange ¶
func (a *Client) QuoteRequestStateChange(params *QuoteRequestStateChangeParams) (*QuoteRequestStateChangeOK, error)
QuoteRequestStateChange requests a quote state change Request from buyer to cancel or reject a quote.
When seller receive cancel request, seller will shift quote state to CANCELLED (no change on order item state) When seller receive reject request, seller will shift quote state to REJECTED (no change on order item state)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { QuoteCreate(params *QuoteCreateParams) (*QuoteCreateCreated, error) QuoteFind(params *QuoteFindParams) (*QuoteFindOK, error) QuoteGet(params *QuoteGetParams) (*QuoteGetOK, error) QuoteRequestStateChange(params *QuoteRequestStateChangeParams) (*QuoteRequestStateChangeOK, 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 quote API client.
type QuoteCreateBadRequest ¶
type QuoteCreateBadRequest struct {
Payload *models.ErrorRepresentation
}
QuoteCreateBadRequest handles this case 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 NewQuoteCreateBadRequest ¶
func NewQuoteCreateBadRequest() *QuoteCreateBadRequest
NewQuoteCreateBadRequest creates a QuoteCreateBadRequest with default headers values
func (*QuoteCreateBadRequest) Error ¶
func (o *QuoteCreateBadRequest) Error() string
func (*QuoteCreateBadRequest) GetPayload ¶
func (o *QuoteCreateBadRequest) GetPayload() *models.ErrorRepresentation
type QuoteCreateCreated ¶
QuoteCreateCreated handles this case with default header values.
Created
func NewQuoteCreateCreated ¶
func NewQuoteCreateCreated() *QuoteCreateCreated
NewQuoteCreateCreated creates a QuoteCreateCreated with default headers values
func (*QuoteCreateCreated) Error ¶
func (o *QuoteCreateCreated) Error() string
func (*QuoteCreateCreated) GetPayload ¶
func (o *QuoteCreateCreated) GetPayload() *models.Quote
type QuoteCreateForbidden ¶
type QuoteCreateForbidden struct {
Payload *models.ErrorRepresentation
}
QuoteCreateForbidden handles this case with default header values.
Forbidden ¶
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
func NewQuoteCreateForbidden ¶
func NewQuoteCreateForbidden() *QuoteCreateForbidden
NewQuoteCreateForbidden creates a QuoteCreateForbidden with default headers values
func (*QuoteCreateForbidden) Error ¶
func (o *QuoteCreateForbidden) Error() string
func (*QuoteCreateForbidden) GetPayload ¶
func (o *QuoteCreateForbidden) GetPayload() *models.ErrorRepresentation
type QuoteCreateInternalServerError ¶
type QuoteCreateInternalServerError struct {
Payload *models.ErrorRepresentation
}
QuoteCreateInternalServerError handles this case with default header values.
Internal Server Error ¶
List of supported error codes: - 1: Internal error
func NewQuoteCreateInternalServerError ¶
func NewQuoteCreateInternalServerError() *QuoteCreateInternalServerError
NewQuoteCreateInternalServerError creates a QuoteCreateInternalServerError with default headers values
func (*QuoteCreateInternalServerError) Error ¶
func (o *QuoteCreateInternalServerError) Error() string
func (*QuoteCreateInternalServerError) GetPayload ¶
func (o *QuoteCreateInternalServerError) GetPayload() *models.ErrorRepresentation
type QuoteCreateMethodNotAllowed ¶
type QuoteCreateMethodNotAllowed struct {
Payload *models.ErrorRepresentation
}
QuoteCreateMethodNotAllowed handles this case with default header values.
Method Not Allowed ¶
List of supported error codes: - 61: Method not allowed
func NewQuoteCreateMethodNotAllowed ¶
func NewQuoteCreateMethodNotAllowed() *QuoteCreateMethodNotAllowed
NewQuoteCreateMethodNotAllowed creates a QuoteCreateMethodNotAllowed with default headers values
func (*QuoteCreateMethodNotAllowed) Error ¶
func (o *QuoteCreateMethodNotAllowed) Error() string
func (*QuoteCreateMethodNotAllowed) GetPayload ¶
func (o *QuoteCreateMethodNotAllowed) GetPayload() *models.ErrorRepresentation
type QuoteCreateNotFound ¶
type QuoteCreateNotFound struct {
Payload *models.ErrorRepresentation
}
QuoteCreateNotFound handles this case with default header values.
Not Found ¶
List of supported error codes: - 60: Resource not found
func NewQuoteCreateNotFound ¶
func NewQuoteCreateNotFound() *QuoteCreateNotFound
NewQuoteCreateNotFound creates a QuoteCreateNotFound with default headers values
func (*QuoteCreateNotFound) Error ¶
func (o *QuoteCreateNotFound) Error() string
func (*QuoteCreateNotFound) GetPayload ¶
func (o *QuoteCreateNotFound) GetPayload() *models.ErrorRepresentation
type QuoteCreateParams ¶
type QuoteCreateParams struct { /*Quote*/ Quote *models.QuoteCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuoteCreateParams contains all the parameters to send to the API endpoint for the quote create operation typically these are written to a http.Request
func NewQuoteCreateParams ¶
func NewQuoteCreateParams() *QuoteCreateParams
NewQuoteCreateParams creates a new QuoteCreateParams object with the default values initialized.
func NewQuoteCreateParamsWithContext ¶
func NewQuoteCreateParamsWithContext(ctx context.Context) *QuoteCreateParams
NewQuoteCreateParamsWithContext creates a new QuoteCreateParams object with the default values initialized, and the ability to set a context for a request
func NewQuoteCreateParamsWithHTTPClient ¶
func NewQuoteCreateParamsWithHTTPClient(client *http.Client) *QuoteCreateParams
NewQuoteCreateParamsWithHTTPClient creates a new QuoteCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQuoteCreateParamsWithTimeout ¶
func NewQuoteCreateParamsWithTimeout(timeout time.Duration) *QuoteCreateParams
NewQuoteCreateParamsWithTimeout creates a new QuoteCreateParams object with the default values initialized, and the ability to set a timeout on a request
func (*QuoteCreateParams) SetContext ¶
func (o *QuoteCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the quote create params
func (*QuoteCreateParams) SetHTTPClient ¶
func (o *QuoteCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quote create params
func (*QuoteCreateParams) SetQuote ¶
func (o *QuoteCreateParams) SetQuote(quote *models.QuoteCreate)
SetQuote adds the quote to the quote create params
func (*QuoteCreateParams) SetTimeout ¶
func (o *QuoteCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quote create params
func (*QuoteCreateParams) WithContext ¶
func (o *QuoteCreateParams) WithContext(ctx context.Context) *QuoteCreateParams
WithContext adds the context to the quote create params
func (*QuoteCreateParams) WithHTTPClient ¶
func (o *QuoteCreateParams) WithHTTPClient(client *http.Client) *QuoteCreateParams
WithHTTPClient adds the HTTPClient to the quote create params
func (*QuoteCreateParams) WithQuote ¶
func (o *QuoteCreateParams) WithQuote(quote *models.QuoteCreate) *QuoteCreateParams
WithQuote adds the quote to the quote create params
func (*QuoteCreateParams) WithTimeout ¶
func (o *QuoteCreateParams) WithTimeout(timeout time.Duration) *QuoteCreateParams
WithTimeout adds the timeout to the quote create params
func (*QuoteCreateParams) WriteToRequest ¶
func (o *QuoteCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuoteCreateReader ¶
type QuoteCreateReader struct {
// contains filtered or unexported fields
}
QuoteCreateReader is a Reader for the QuoteCreate structure.
func (*QuoteCreateReader) ReadResponse ¶
func (o *QuoteCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuoteCreateServiceUnavailable ¶
type QuoteCreateServiceUnavailable struct {
}QuoteCreateServiceUnavailable handles this case with default header values.
Service Unavailable
func NewQuoteCreateServiceUnavailable ¶
func NewQuoteCreateServiceUnavailable() *QuoteCreateServiceUnavailable
NewQuoteCreateServiceUnavailable creates a QuoteCreateServiceUnavailable with default headers values
func (*QuoteCreateServiceUnavailable) Error ¶
func (o *QuoteCreateServiceUnavailable) Error() string
func (*QuoteCreateServiceUnavailable) GetPayload ¶
func (o *QuoteCreateServiceUnavailable) GetPayload() *models.ErrorRepresentation
type QuoteCreateUnauthorized ¶
type QuoteCreateUnauthorized struct {
}QuoteCreateUnauthorized handles this case with default header values.
Unauthorized ¶
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
func NewQuoteCreateUnauthorized ¶
func NewQuoteCreateUnauthorized() *QuoteCreateUnauthorized
NewQuoteCreateUnauthorized creates a QuoteCreateUnauthorized with default headers values
func (*QuoteCreateUnauthorized) Error ¶
func (o *QuoteCreateUnauthorized) Error() string
func (*QuoteCreateUnauthorized) GetPayload ¶
func (o *QuoteCreateUnauthorized) GetPayload() *models.ErrorRepresentation
type QuoteCreateUnprocessableEntity ¶
type QuoteCreateUnprocessableEntity struct {
Payload *models.ErrorRepresentation
}
QuoteCreateUnprocessableEntity handles this case with default header values.
Unprocessable entity ¶
Functional error
- code: 101
message: A relatedPartyRole for Buyer role must be provided description:
- code: 103
message: A relatedPartyRole is incomplete (must have partyRole.id or role.id+relatedParty) description:
- code: 104
message: A relatedParty is incomplete (must have a party.id or a party.name) description:
- code: 105
message: Qualification Id provided did not exist or expired description:
- code: 106
message: At least a productOffering Id or a product.id or a productSpec.id must be provided in quote item description:
- code: 107
message: inconsistency between requestedQuoteCompletionDate and expectedFulfillmentStartDate description:
- code: 108
message: Seller requires agreement under which the buyer is requesting but is missing from the request. description:
- code: 109
message: The agreement provided cannot be validated by the seller description:
- code: 110
message: Product requested is not part of the provided agreement description:
- code: 111
message: Mandatory product/item relationship is missing description:
func NewQuoteCreateUnprocessableEntity ¶
func NewQuoteCreateUnprocessableEntity() *QuoteCreateUnprocessableEntity
NewQuoteCreateUnprocessableEntity creates a QuoteCreateUnprocessableEntity with default headers values
func (*QuoteCreateUnprocessableEntity) Error ¶
func (o *QuoteCreateUnprocessableEntity) Error() string
func (*QuoteCreateUnprocessableEntity) GetPayload ¶
func (o *QuoteCreateUnprocessableEntity) GetPayload() *models.ErrorRepresentation
type QuoteFindBadRequest ¶
type QuoteFindBadRequest struct {
Payload *models.ErrorRepresentation
}
QuoteFindBadRequest handles this case 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 NewQuoteFindBadRequest ¶
func NewQuoteFindBadRequest() *QuoteFindBadRequest
NewQuoteFindBadRequest creates a QuoteFindBadRequest with default headers values
func (*QuoteFindBadRequest) Error ¶
func (o *QuoteFindBadRequest) Error() string
func (*QuoteFindBadRequest) GetPayload ¶
func (o *QuoteFindBadRequest) GetPayload() *models.ErrorRepresentation
type QuoteFindForbidden ¶
type QuoteFindForbidden struct {
Payload *models.ErrorRepresentation
}
QuoteFindForbidden handles this case with default header values.
Forbidden ¶
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
func NewQuoteFindForbidden ¶
func NewQuoteFindForbidden() *QuoteFindForbidden
NewQuoteFindForbidden creates a QuoteFindForbidden with default headers values
func (*QuoteFindForbidden) Error ¶
func (o *QuoteFindForbidden) Error() string
func (*QuoteFindForbidden) GetPayload ¶
func (o *QuoteFindForbidden) GetPayload() *models.ErrorRepresentation
type QuoteFindInternalServerError ¶
type QuoteFindInternalServerError struct {
Payload *models.ErrorRepresentation
}
QuoteFindInternalServerError handles this case with default header values.
Internal Server Error ¶
List of supported error codes: - 1: Internal error
func NewQuoteFindInternalServerError ¶
func NewQuoteFindInternalServerError() *QuoteFindInternalServerError
NewQuoteFindInternalServerError creates a QuoteFindInternalServerError with default headers values
func (*QuoteFindInternalServerError) Error ¶
func (o *QuoteFindInternalServerError) Error() string
func (*QuoteFindInternalServerError) GetPayload ¶
func (o *QuoteFindInternalServerError) GetPayload() *models.ErrorRepresentation
type QuoteFindMethodNotAllowed ¶
type QuoteFindMethodNotAllowed struct {
Payload *models.ErrorRepresentation
}
QuoteFindMethodNotAllowed handles this case with default header values.
Method Not Allowed ¶
List of supported error codes: - 61: Method not allowed
func NewQuoteFindMethodNotAllowed ¶
func NewQuoteFindMethodNotAllowed() *QuoteFindMethodNotAllowed
NewQuoteFindMethodNotAllowed creates a QuoteFindMethodNotAllowed with default headers values
func (*QuoteFindMethodNotAllowed) Error ¶
func (o *QuoteFindMethodNotAllowed) Error() string
func (*QuoteFindMethodNotAllowed) GetPayload ¶
func (o *QuoteFindMethodNotAllowed) GetPayload() *models.ErrorRepresentation
type QuoteFindNotFound ¶
type QuoteFindNotFound struct {
Payload *models.ErrorRepresentation
}
QuoteFindNotFound handles this case with default header values.
Not Found ¶
List of supported error codes: - 60: Resource not found
func NewQuoteFindNotFound ¶
func NewQuoteFindNotFound() *QuoteFindNotFound
NewQuoteFindNotFound creates a QuoteFindNotFound with default headers values
func (*QuoteFindNotFound) Error ¶
func (o *QuoteFindNotFound) Error() string
func (*QuoteFindNotFound) GetPayload ¶
func (o *QuoteFindNotFound) GetPayload() *models.ErrorRepresentation
type QuoteFindOK ¶
type QuoteFindOK struct { /*The number of resources retrieved in the response */ XResultCount int32 /*Total number of items matching criteria */ XTotalCount int32 Payload []*models.QuoteFind }
QuoteFindOK handles this case with default header values.
Ok
func NewQuoteFindOK ¶
func NewQuoteFindOK() *QuoteFindOK
NewQuoteFindOK creates a QuoteFindOK with default headers values
func (*QuoteFindOK) Error ¶
func (o *QuoteFindOK) Error() string
func (*QuoteFindOK) GetPayload ¶
func (o *QuoteFindOK) GetPayload() []*models.QuoteFind
type QuoteFindParams ¶
type QuoteFindParams struct { /*ExternalID ID given by the consumer and only understandable by him (to facilitate his searches afterwards) */ 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 /*ProjectID This value MAY be assigned by the Buyer/Seller to identify a project the quoting request is associated with. */ ProjectID *string /*QuoteCompletionDateGt Date when the quote was completed - greater than */ QuoteCompletionDateGt *strfmt.DateTime /*QuoteCompletionDateLt Date when the quote was completed - lower than */ QuoteCompletionDateLt *strfmt.DateTime /*QuoteDateGt Date when the quote was created - greater than */ QuoteDateGt *strfmt.DateTime /*QuoteDateLt Date when the quote was created - lower than */ QuoteDateLt *strfmt.DateTime /*QuoteLevel Level of the quote - could be indicative, budgetary or firm */ QuoteLevel *string /*State State of the Quote */ State *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuoteFindParams contains all the parameters to send to the API endpoint for the quote find operation typically these are written to a http.Request
func NewQuoteFindParams ¶
func NewQuoteFindParams() *QuoteFindParams
NewQuoteFindParams creates a new QuoteFindParams object with the default values initialized.
func NewQuoteFindParamsWithContext ¶
func NewQuoteFindParamsWithContext(ctx context.Context) *QuoteFindParams
NewQuoteFindParamsWithContext creates a new QuoteFindParams object with the default values initialized, and the ability to set a context for a request
func NewQuoteFindParamsWithHTTPClient ¶
func NewQuoteFindParamsWithHTTPClient(client *http.Client) *QuoteFindParams
NewQuoteFindParamsWithHTTPClient creates a new QuoteFindParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQuoteFindParamsWithTimeout ¶
func NewQuoteFindParamsWithTimeout(timeout time.Duration) *QuoteFindParams
NewQuoteFindParamsWithTimeout creates a new QuoteFindParams object with the default values initialized, and the ability to set a timeout on a request
func (*QuoteFindParams) SetContext ¶
func (o *QuoteFindParams) SetContext(ctx context.Context)
SetContext adds the context to the quote find params
func (*QuoteFindParams) SetExternalID ¶
func (o *QuoteFindParams) SetExternalID(externalID *string)
SetExternalID adds the externalId to the quote find params
func (*QuoteFindParams) SetHTTPClient ¶
func (o *QuoteFindParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quote find params
func (*QuoteFindParams) SetLimit ¶
func (o *QuoteFindParams) SetLimit(limit *string)
SetLimit adds the limit to the quote find params
func (*QuoteFindParams) SetOffset ¶
func (o *QuoteFindParams) SetOffset(offset *string)
SetOffset adds the offset to the quote find params
func (*QuoteFindParams) SetProjectID ¶
func (o *QuoteFindParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the quote find params
func (*QuoteFindParams) SetQuoteCompletionDateGt ¶
func (o *QuoteFindParams) SetQuoteCompletionDateGt(quoteCompletionDateGt *strfmt.DateTime)
SetQuoteCompletionDateGt adds the quoteCompletionDateGt to the quote find params
func (*QuoteFindParams) SetQuoteCompletionDateLt ¶
func (o *QuoteFindParams) SetQuoteCompletionDateLt(quoteCompletionDateLt *strfmt.DateTime)
SetQuoteCompletionDateLt adds the quoteCompletionDateLt to the quote find params
func (*QuoteFindParams) SetQuoteDateGt ¶
func (o *QuoteFindParams) SetQuoteDateGt(quoteDateGt *strfmt.DateTime)
SetQuoteDateGt adds the quoteDateGt to the quote find params
func (*QuoteFindParams) SetQuoteDateLt ¶
func (o *QuoteFindParams) SetQuoteDateLt(quoteDateLt *strfmt.DateTime)
SetQuoteDateLt adds the quoteDateLt to the quote find params
func (*QuoteFindParams) SetQuoteLevel ¶
func (o *QuoteFindParams) SetQuoteLevel(quoteLevel *string)
SetQuoteLevel adds the quoteLevel to the quote find params
func (*QuoteFindParams) SetState ¶
func (o *QuoteFindParams) SetState(state *string)
SetState adds the state to the quote find params
func (*QuoteFindParams) SetTimeout ¶
func (o *QuoteFindParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quote find params
func (*QuoteFindParams) WithContext ¶
func (o *QuoteFindParams) WithContext(ctx context.Context) *QuoteFindParams
WithContext adds the context to the quote find params
func (*QuoteFindParams) WithExternalID ¶
func (o *QuoteFindParams) WithExternalID(externalID *string) *QuoteFindParams
WithExternalID adds the externalID to the quote find params
func (*QuoteFindParams) WithHTTPClient ¶
func (o *QuoteFindParams) WithHTTPClient(client *http.Client) *QuoteFindParams
WithHTTPClient adds the HTTPClient to the quote find params
func (*QuoteFindParams) WithLimit ¶
func (o *QuoteFindParams) WithLimit(limit *string) *QuoteFindParams
WithLimit adds the limit to the quote find params
func (*QuoteFindParams) WithOffset ¶
func (o *QuoteFindParams) WithOffset(offset *string) *QuoteFindParams
WithOffset adds the offset to the quote find params
func (*QuoteFindParams) WithProjectID ¶
func (o *QuoteFindParams) WithProjectID(projectID *string) *QuoteFindParams
WithProjectID adds the projectID to the quote find params
func (*QuoteFindParams) WithQuoteCompletionDateGt ¶
func (o *QuoteFindParams) WithQuoteCompletionDateGt(quoteCompletionDateGt *strfmt.DateTime) *QuoteFindParams
WithQuoteCompletionDateGt adds the quoteCompletionDateGt to the quote find params
func (*QuoteFindParams) WithQuoteCompletionDateLt ¶
func (o *QuoteFindParams) WithQuoteCompletionDateLt(quoteCompletionDateLt *strfmt.DateTime) *QuoteFindParams
WithQuoteCompletionDateLt adds the quoteCompletionDateLt to the quote find params
func (*QuoteFindParams) WithQuoteDateGt ¶
func (o *QuoteFindParams) WithQuoteDateGt(quoteDateGt *strfmt.DateTime) *QuoteFindParams
WithQuoteDateGt adds the quoteDateGt to the quote find params
func (*QuoteFindParams) WithQuoteDateLt ¶
func (o *QuoteFindParams) WithQuoteDateLt(quoteDateLt *strfmt.DateTime) *QuoteFindParams
WithQuoteDateLt adds the quoteDateLt to the quote find params
func (*QuoteFindParams) WithQuoteLevel ¶
func (o *QuoteFindParams) WithQuoteLevel(quoteLevel *string) *QuoteFindParams
WithQuoteLevel adds the quoteLevel to the quote find params
func (*QuoteFindParams) WithState ¶
func (o *QuoteFindParams) WithState(state *string) *QuoteFindParams
WithState adds the state to the quote find params
func (*QuoteFindParams) WithTimeout ¶
func (o *QuoteFindParams) WithTimeout(timeout time.Duration) *QuoteFindParams
WithTimeout adds the timeout to the quote find params
func (*QuoteFindParams) WriteToRequest ¶
func (o *QuoteFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuoteFindReader ¶
type QuoteFindReader struct {
// contains filtered or unexported fields
}
QuoteFindReader is a Reader for the QuoteFind structure.
func (*QuoteFindReader) ReadResponse ¶
func (o *QuoteFindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuoteFindServiceUnavailable ¶
type QuoteFindServiceUnavailable struct {
}QuoteFindServiceUnavailable handles this case with default header values.
Service Unavailable
func NewQuoteFindServiceUnavailable ¶
func NewQuoteFindServiceUnavailable() *QuoteFindServiceUnavailable
NewQuoteFindServiceUnavailable creates a QuoteFindServiceUnavailable with default headers values
func (*QuoteFindServiceUnavailable) Error ¶
func (o *QuoteFindServiceUnavailable) Error() string
func (*QuoteFindServiceUnavailable) GetPayload ¶
func (o *QuoteFindServiceUnavailable) GetPayload() *models.ErrorRepresentation
type QuoteFindUnauthorized ¶
type QuoteFindUnauthorized struct {
}QuoteFindUnauthorized handles this case with default header values.
Unauthorized ¶
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
func NewQuoteFindUnauthorized ¶
func NewQuoteFindUnauthorized() *QuoteFindUnauthorized
NewQuoteFindUnauthorized creates a QuoteFindUnauthorized with default headers values
func (*QuoteFindUnauthorized) Error ¶
func (o *QuoteFindUnauthorized) Error() string
func (*QuoteFindUnauthorized) GetPayload ¶
func (o *QuoteFindUnauthorized) GetPayload() *models.ErrorRepresentation
type QuoteFindUnprocessableEntity ¶
type QuoteFindUnprocessableEntity struct {
Payload *models.ErrorRepresentation
}
QuoteFindUnprocessableEntity handles this case with default header values.
Unprocessable entity ¶
Functional error
- code: 100
message: Too many records retrieved - please restrict requested parameter value(s) description:
func NewQuoteFindUnprocessableEntity ¶
func NewQuoteFindUnprocessableEntity() *QuoteFindUnprocessableEntity
NewQuoteFindUnprocessableEntity creates a QuoteFindUnprocessableEntity with default headers values
func (*QuoteFindUnprocessableEntity) Error ¶
func (o *QuoteFindUnprocessableEntity) Error() string
func (*QuoteFindUnprocessableEntity) GetPayload ¶
func (o *QuoteFindUnprocessableEntity) GetPayload() *models.ErrorRepresentation
type QuoteGetBadRequest ¶
type QuoteGetBadRequest struct {
Payload *models.ErrorRepresentation
}
QuoteGetBadRequest handles this case 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 NewQuoteGetBadRequest ¶
func NewQuoteGetBadRequest() *QuoteGetBadRequest
NewQuoteGetBadRequest creates a QuoteGetBadRequest with default headers values
func (*QuoteGetBadRequest) Error ¶
func (o *QuoteGetBadRequest) Error() string
func (*QuoteGetBadRequest) GetPayload ¶
func (o *QuoteGetBadRequest) GetPayload() *models.ErrorRepresentation
type QuoteGetForbidden ¶
type QuoteGetForbidden struct {
Payload *models.ErrorRepresentation
}
QuoteGetForbidden handles this case with default header values.
Forbidden ¶
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
func NewQuoteGetForbidden ¶
func NewQuoteGetForbidden() *QuoteGetForbidden
NewQuoteGetForbidden creates a QuoteGetForbidden with default headers values
func (*QuoteGetForbidden) Error ¶
func (o *QuoteGetForbidden) Error() string
func (*QuoteGetForbidden) GetPayload ¶
func (o *QuoteGetForbidden) GetPayload() *models.ErrorRepresentation
type QuoteGetInternalServerError ¶
type QuoteGetInternalServerError struct {
Payload *models.ErrorRepresentation
}
QuoteGetInternalServerError handles this case with default header values.
Internal Server Error ¶
List of supported error codes: - 1: Internal error
func NewQuoteGetInternalServerError ¶
func NewQuoteGetInternalServerError() *QuoteGetInternalServerError
NewQuoteGetInternalServerError creates a QuoteGetInternalServerError with default headers values
func (*QuoteGetInternalServerError) Error ¶
func (o *QuoteGetInternalServerError) Error() string
func (*QuoteGetInternalServerError) GetPayload ¶
func (o *QuoteGetInternalServerError) GetPayload() *models.ErrorRepresentation
type QuoteGetMethodNotAllowed ¶
type QuoteGetMethodNotAllowed struct {
Payload *models.ErrorRepresentation
}
QuoteGetMethodNotAllowed handles this case with default header values.
Method Not Allowed ¶
List of supported error codes: - 61: Method not allowed
func NewQuoteGetMethodNotAllowed ¶
func NewQuoteGetMethodNotAllowed() *QuoteGetMethodNotAllowed
NewQuoteGetMethodNotAllowed creates a QuoteGetMethodNotAllowed with default headers values
func (*QuoteGetMethodNotAllowed) Error ¶
func (o *QuoteGetMethodNotAllowed) Error() string
func (*QuoteGetMethodNotAllowed) GetPayload ¶
func (o *QuoteGetMethodNotAllowed) GetPayload() *models.ErrorRepresentation
type QuoteGetNotFound ¶
type QuoteGetNotFound struct {
Payload *models.ErrorRepresentation
}
QuoteGetNotFound handles this case with default header values.
Not Found ¶
List of supported error codes: - 60: Resource not found
func NewQuoteGetNotFound ¶
func NewQuoteGetNotFound() *QuoteGetNotFound
NewQuoteGetNotFound creates a QuoteGetNotFound with default headers values
func (*QuoteGetNotFound) Error ¶
func (o *QuoteGetNotFound) Error() string
func (*QuoteGetNotFound) GetPayload ¶
func (o *QuoteGetNotFound) GetPayload() *models.ErrorRepresentation
type QuoteGetOK ¶
QuoteGetOK handles this case with default header values.
Ok
func NewQuoteGetOK ¶
func NewQuoteGetOK() *QuoteGetOK
NewQuoteGetOK creates a QuoteGetOK with default headers values
func (*QuoteGetOK) Error ¶
func (o *QuoteGetOK) Error() string
func (*QuoteGetOK) GetPayload ¶
func (o *QuoteGetOK) GetPayload() *models.Quote
type QuoteGetParams ¶
type QuoteGetParams struct { /*ID*/ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuoteGetParams contains all the parameters to send to the API endpoint for the quote get operation typically these are written to a http.Request
func NewQuoteGetParams ¶
func NewQuoteGetParams() *QuoteGetParams
NewQuoteGetParams creates a new QuoteGetParams object with the default values initialized.
func NewQuoteGetParamsWithContext ¶
func NewQuoteGetParamsWithContext(ctx context.Context) *QuoteGetParams
NewQuoteGetParamsWithContext creates a new QuoteGetParams object with the default values initialized, and the ability to set a context for a request
func NewQuoteGetParamsWithHTTPClient ¶
func NewQuoteGetParamsWithHTTPClient(client *http.Client) *QuoteGetParams
NewQuoteGetParamsWithHTTPClient creates a new QuoteGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQuoteGetParamsWithTimeout ¶
func NewQuoteGetParamsWithTimeout(timeout time.Duration) *QuoteGetParams
NewQuoteGetParamsWithTimeout creates a new QuoteGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*QuoteGetParams) SetContext ¶
func (o *QuoteGetParams) SetContext(ctx context.Context)
SetContext adds the context to the quote get params
func (*QuoteGetParams) SetHTTPClient ¶
func (o *QuoteGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quote get params
func (*QuoteGetParams) SetID ¶
func (o *QuoteGetParams) SetID(id string)
SetID adds the id to the quote get params
func (*QuoteGetParams) SetTimeout ¶
func (o *QuoteGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quote get params
func (*QuoteGetParams) WithContext ¶
func (o *QuoteGetParams) WithContext(ctx context.Context) *QuoteGetParams
WithContext adds the context to the quote get params
func (*QuoteGetParams) WithHTTPClient ¶
func (o *QuoteGetParams) WithHTTPClient(client *http.Client) *QuoteGetParams
WithHTTPClient adds the HTTPClient to the quote get params
func (*QuoteGetParams) WithID ¶
func (o *QuoteGetParams) WithID(id string) *QuoteGetParams
WithID adds the id to the quote get params
func (*QuoteGetParams) WithTimeout ¶
func (o *QuoteGetParams) WithTimeout(timeout time.Duration) *QuoteGetParams
WithTimeout adds the timeout to the quote get params
func (*QuoteGetParams) WriteToRequest ¶
func (o *QuoteGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuoteGetReader ¶
type QuoteGetReader struct {
// contains filtered or unexported fields
}
QuoteGetReader is a Reader for the QuoteGet structure.
func (*QuoteGetReader) ReadResponse ¶
func (o *QuoteGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuoteGetServiceUnavailable ¶
type QuoteGetServiceUnavailable struct {
}QuoteGetServiceUnavailable handles this case with default header values.
Service Unavailable
func NewQuoteGetServiceUnavailable ¶
func NewQuoteGetServiceUnavailable() *QuoteGetServiceUnavailable
NewQuoteGetServiceUnavailable creates a QuoteGetServiceUnavailable with default headers values
func (*QuoteGetServiceUnavailable) Error ¶
func (o *QuoteGetServiceUnavailable) Error() string
func (*QuoteGetServiceUnavailable) GetPayload ¶
func (o *QuoteGetServiceUnavailable) GetPayload() *models.ErrorRepresentation
type QuoteGetUnauthorized ¶
type QuoteGetUnauthorized struct {
}QuoteGetUnauthorized handles this case with default header values.
Unauthorized ¶
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
func NewQuoteGetUnauthorized ¶
func NewQuoteGetUnauthorized() *QuoteGetUnauthorized
NewQuoteGetUnauthorized creates a QuoteGetUnauthorized with default headers values
func (*QuoteGetUnauthorized) Error ¶
func (o *QuoteGetUnauthorized) Error() string
func (*QuoteGetUnauthorized) GetPayload ¶
func (o *QuoteGetUnauthorized) GetPayload() *models.ErrorRepresentation
type QuoteGetUnprocessableEntity ¶
type QuoteGetUnprocessableEntity struct {
Payload *models.ErrorRepresentation
}
QuoteGetUnprocessableEntity handles this case with default header values.
Unprocessable entity ¶
Functional error
func NewQuoteGetUnprocessableEntity ¶
func NewQuoteGetUnprocessableEntity() *QuoteGetUnprocessableEntity
NewQuoteGetUnprocessableEntity creates a QuoteGetUnprocessableEntity with default headers values
func (*QuoteGetUnprocessableEntity) Error ¶
func (o *QuoteGetUnprocessableEntity) Error() string
func (*QuoteGetUnprocessableEntity) GetPayload ¶
func (o *QuoteGetUnprocessableEntity) GetPayload() *models.ErrorRepresentation
type QuoteRequestStateChangeBadRequest ¶
type QuoteRequestStateChangeBadRequest struct {
Payload *models.ErrorRepresentation
}
QuoteRequestStateChangeBadRequest handles this case 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 NewQuoteRequestStateChangeBadRequest ¶
func NewQuoteRequestStateChangeBadRequest() *QuoteRequestStateChangeBadRequest
NewQuoteRequestStateChangeBadRequest creates a QuoteRequestStateChangeBadRequest with default headers values
func (*QuoteRequestStateChangeBadRequest) Error ¶
func (o *QuoteRequestStateChangeBadRequest) Error() string
func (*QuoteRequestStateChangeBadRequest) GetPayload ¶
func (o *QuoteRequestStateChangeBadRequest) GetPayload() *models.ErrorRepresentation
type QuoteRequestStateChangeForbidden ¶
type QuoteRequestStateChangeForbidden struct {
Payload *models.ErrorRepresentation
}
QuoteRequestStateChangeForbidden handles this case with default header values.
Forbidden ¶
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
func NewQuoteRequestStateChangeForbidden ¶
func NewQuoteRequestStateChangeForbidden() *QuoteRequestStateChangeForbidden
NewQuoteRequestStateChangeForbidden creates a QuoteRequestStateChangeForbidden with default headers values
func (*QuoteRequestStateChangeForbidden) Error ¶
func (o *QuoteRequestStateChangeForbidden) Error() string
func (*QuoteRequestStateChangeForbidden) GetPayload ¶
func (o *QuoteRequestStateChangeForbidden) GetPayload() *models.ErrorRepresentation
type QuoteRequestStateChangeInternalServerError ¶
type QuoteRequestStateChangeInternalServerError struct {
Payload *models.ErrorRepresentation
}
QuoteRequestStateChangeInternalServerError handles this case with default header values.
Internal Server Error ¶
List of supported error codes: - 1: Internal error
func NewQuoteRequestStateChangeInternalServerError ¶
func NewQuoteRequestStateChangeInternalServerError() *QuoteRequestStateChangeInternalServerError
NewQuoteRequestStateChangeInternalServerError creates a QuoteRequestStateChangeInternalServerError with default headers values
func (*QuoteRequestStateChangeInternalServerError) Error ¶
func (o *QuoteRequestStateChangeInternalServerError) Error() string
func (*QuoteRequestStateChangeInternalServerError) GetPayload ¶
func (o *QuoteRequestStateChangeInternalServerError) GetPayload() *models.ErrorRepresentation
type QuoteRequestStateChangeMethodNotAllowed ¶
type QuoteRequestStateChangeMethodNotAllowed struct {
Payload *models.ErrorRepresentation
}
QuoteRequestStateChangeMethodNotAllowed handles this case with default header values.
Method Not Allowed ¶
List of supported error codes: - 61: Method not allowed
func NewQuoteRequestStateChangeMethodNotAllowed ¶
func NewQuoteRequestStateChangeMethodNotAllowed() *QuoteRequestStateChangeMethodNotAllowed
NewQuoteRequestStateChangeMethodNotAllowed creates a QuoteRequestStateChangeMethodNotAllowed with default headers values
func (*QuoteRequestStateChangeMethodNotAllowed) Error ¶
func (o *QuoteRequestStateChangeMethodNotAllowed) Error() string
func (*QuoteRequestStateChangeMethodNotAllowed) GetPayload ¶
func (o *QuoteRequestStateChangeMethodNotAllowed) GetPayload() *models.ErrorRepresentation
type QuoteRequestStateChangeNotFound ¶
type QuoteRequestStateChangeNotFound struct {
Payload *models.ErrorRepresentation
}
QuoteRequestStateChangeNotFound handles this case with default header values.
Not Found ¶
List of supported error codes: - 60: Resource not found
func NewQuoteRequestStateChangeNotFound ¶
func NewQuoteRequestStateChangeNotFound() *QuoteRequestStateChangeNotFound
NewQuoteRequestStateChangeNotFound creates a QuoteRequestStateChangeNotFound with default headers values
func (*QuoteRequestStateChangeNotFound) Error ¶
func (o *QuoteRequestStateChangeNotFound) Error() string
func (*QuoteRequestStateChangeNotFound) GetPayload ¶
func (o *QuoteRequestStateChangeNotFound) GetPayload() *models.ErrorRepresentation
type QuoteRequestStateChangeOK ¶
type QuoteRequestStateChangeOK struct {
Payload *models.ChangeQuoteStateResponse
}
QuoteRequestStateChangeOK handles this case with default header values.
Ok
func NewQuoteRequestStateChangeOK ¶
func NewQuoteRequestStateChangeOK() *QuoteRequestStateChangeOK
NewQuoteRequestStateChangeOK creates a QuoteRequestStateChangeOK with default headers values
func (*QuoteRequestStateChangeOK) Error ¶
func (o *QuoteRequestStateChangeOK) Error() string
func (*QuoteRequestStateChangeOK) GetPayload ¶
func (o *QuoteRequestStateChangeOK) GetPayload() *models.ChangeQuoteStateResponse
type QuoteRequestStateChangeParams ¶
type QuoteRequestStateChangeParams struct { /*ChangeQuoteStateRequest*/ ChangeQuoteStateRequest *models.ChangelQuoteStateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuoteRequestStateChangeParams contains all the parameters to send to the API endpoint for the quote request state change operation typically these are written to a http.Request
func NewQuoteRequestStateChangeParams ¶
func NewQuoteRequestStateChangeParams() *QuoteRequestStateChangeParams
NewQuoteRequestStateChangeParams creates a new QuoteRequestStateChangeParams object with the default values initialized.
func NewQuoteRequestStateChangeParamsWithContext ¶
func NewQuoteRequestStateChangeParamsWithContext(ctx context.Context) *QuoteRequestStateChangeParams
NewQuoteRequestStateChangeParamsWithContext creates a new QuoteRequestStateChangeParams object with the default values initialized, and the ability to set a context for a request
func NewQuoteRequestStateChangeParamsWithHTTPClient ¶
func NewQuoteRequestStateChangeParamsWithHTTPClient(client *http.Client) *QuoteRequestStateChangeParams
NewQuoteRequestStateChangeParamsWithHTTPClient creates a new QuoteRequestStateChangeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQuoteRequestStateChangeParamsWithTimeout ¶
func NewQuoteRequestStateChangeParamsWithTimeout(timeout time.Duration) *QuoteRequestStateChangeParams
NewQuoteRequestStateChangeParamsWithTimeout creates a new QuoteRequestStateChangeParams object with the default values initialized, and the ability to set a timeout on a request
func (*QuoteRequestStateChangeParams) SetChangeQuoteStateRequest ¶
func (o *QuoteRequestStateChangeParams) SetChangeQuoteStateRequest(changeQuoteStateRequest *models.ChangelQuoteStateRequest)
SetChangeQuoteStateRequest adds the changeQuoteStateRequest to the quote request state change params
func (*QuoteRequestStateChangeParams) SetContext ¶
func (o *QuoteRequestStateChangeParams) SetContext(ctx context.Context)
SetContext adds the context to the quote request state change params
func (*QuoteRequestStateChangeParams) SetHTTPClient ¶
func (o *QuoteRequestStateChangeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quote request state change params
func (*QuoteRequestStateChangeParams) SetTimeout ¶
func (o *QuoteRequestStateChangeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quote request state change params
func (*QuoteRequestStateChangeParams) WithChangeQuoteStateRequest ¶
func (o *QuoteRequestStateChangeParams) WithChangeQuoteStateRequest(changeQuoteStateRequest *models.ChangelQuoteStateRequest) *QuoteRequestStateChangeParams
WithChangeQuoteStateRequest adds the changeQuoteStateRequest to the quote request state change params
func (*QuoteRequestStateChangeParams) WithContext ¶
func (o *QuoteRequestStateChangeParams) WithContext(ctx context.Context) *QuoteRequestStateChangeParams
WithContext adds the context to the quote request state change params
func (*QuoteRequestStateChangeParams) WithHTTPClient ¶
func (o *QuoteRequestStateChangeParams) WithHTTPClient(client *http.Client) *QuoteRequestStateChangeParams
WithHTTPClient adds the HTTPClient to the quote request state change params
func (*QuoteRequestStateChangeParams) WithTimeout ¶
func (o *QuoteRequestStateChangeParams) WithTimeout(timeout time.Duration) *QuoteRequestStateChangeParams
WithTimeout adds the timeout to the quote request state change params
func (*QuoteRequestStateChangeParams) WriteToRequest ¶
func (o *QuoteRequestStateChangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuoteRequestStateChangeReader ¶
type QuoteRequestStateChangeReader struct {
// contains filtered or unexported fields
}
QuoteRequestStateChangeReader is a Reader for the QuoteRequestStateChange structure.
func (*QuoteRequestStateChangeReader) ReadResponse ¶
func (o *QuoteRequestStateChangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuoteRequestStateChangeServiceUnavailable ¶
type QuoteRequestStateChangeServiceUnavailable struct {
}QuoteRequestStateChangeServiceUnavailable handles this case with default header values.
Service Unavailable
func NewQuoteRequestStateChangeServiceUnavailable ¶
func NewQuoteRequestStateChangeServiceUnavailable() *QuoteRequestStateChangeServiceUnavailable
NewQuoteRequestStateChangeServiceUnavailable creates a QuoteRequestStateChangeServiceUnavailable with default headers values
func (*QuoteRequestStateChangeServiceUnavailable) Error ¶
func (o *QuoteRequestStateChangeServiceUnavailable) Error() string
func (*QuoteRequestStateChangeServiceUnavailable) GetPayload ¶
func (o *QuoteRequestStateChangeServiceUnavailable) GetPayload() *models.ErrorRepresentation
type QuoteRequestStateChangeUnauthorized ¶
type QuoteRequestStateChangeUnauthorized struct {
}QuoteRequestStateChangeUnauthorized handles this case with default header values.
Unauthorized ¶
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
func NewQuoteRequestStateChangeUnauthorized ¶
func NewQuoteRequestStateChangeUnauthorized() *QuoteRequestStateChangeUnauthorized
NewQuoteRequestStateChangeUnauthorized creates a QuoteRequestStateChangeUnauthorized with default headers values
func (*QuoteRequestStateChangeUnauthorized) Error ¶
func (o *QuoteRequestStateChangeUnauthorized) Error() string
func (*QuoteRequestStateChangeUnauthorized) GetPayload ¶
func (o *QuoteRequestStateChangeUnauthorized) GetPayload() *models.ErrorRepresentation
type QuoteRequestStateChangeUnprocessableEntity ¶
type QuoteRequestStateChangeUnprocessableEntity struct {
Payload *models.ErrorRepresentation
}
QuoteRequestStateChangeUnprocessableEntity handles this case with default header values.
Unprocessable entity ¶
Functional error
- code: 100
message: Quote current status is incompatible with requested quote state change description:
- code: 101
message: Quote external Id provided did not match description:
func NewQuoteRequestStateChangeUnprocessableEntity ¶
func NewQuoteRequestStateChangeUnprocessableEntity() *QuoteRequestStateChangeUnprocessableEntity
NewQuoteRequestStateChangeUnprocessableEntity creates a QuoteRequestStateChangeUnprocessableEntity with default headers values
func (*QuoteRequestStateChangeUnprocessableEntity) Error ¶
func (o *QuoteRequestStateChangeUnprocessableEntity) Error() string
func (*QuoteRequestStateChangeUnprocessableEntity) GetPayload ¶
func (o *QuoteRequestStateChangeUnprocessableEntity) GetPayload() *models.ErrorRepresentation