product_offering_qualification

package
v0.0.0-...-0ce3674 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 offering qualification API

func (*Client) ProductOfferingQualificationCreate

ProductOfferingQualificationCreate creates a product offering qualification

A request initiated by the Buyer to determine whether the Seller can feasibly deliver a particular Product (or Products) to a specific set of geographic locations specified by a set of Site/Address filter criteria. The Seller also provides estimated time intervals to complete these deliveries.

func (*Client) ProductOfferingQualificationFind

func (a *Client) ProductOfferingQualificationFind(params *ProductOfferingQualificationFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOfferingQualificationFindOK, error)

ProductOfferingQualificationFind retrieves a list of product offering qualifications based on a set of criteria

The Buyer requests a list of POQs (in any state) from the Seller based on a set of POQ filter criteria. For each POQ returned, the Seller also provides a POQ Identifier that uniquely identifies this POQ within the Seller.

func (*Client) ProductOfferingQualificationGet

func (a *Client) ProductOfferingQualificationGet(params *ProductOfferingQualificationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOfferingQualificationGetOK, error)

ProductOfferingQualificationGet gets a product offering qualification based on its id

The Buyer requests the full details of a single Product Offering Qualification based on a POQ identifier.

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 {
	ProductOfferingQualificationCreate(params *ProductOfferingQualificationCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOfferingQualificationCreateCreated, error)

	ProductOfferingQualificationFind(params *ProductOfferingQualificationFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOfferingQualificationFindOK, error)

	ProductOfferingQualificationGet(params *ProductOfferingQualificationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProductOfferingQualificationGetOK, 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 offering qualification API client.

type ProductOfferingQualificationCreateBadRequest

type ProductOfferingQualificationCreateBadRequest struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationCreateBadRequest 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 NewProductOfferingQualificationCreateBadRequest

func NewProductOfferingQualificationCreateBadRequest() *ProductOfferingQualificationCreateBadRequest

NewProductOfferingQualificationCreateBadRequest creates a ProductOfferingQualificationCreateBadRequest with default headers values

func (*ProductOfferingQualificationCreateBadRequest) Error

func (*ProductOfferingQualificationCreateBadRequest) GetPayload

type ProductOfferingQualificationCreateCreated

type ProductOfferingQualificationCreateCreated struct {
	Payload *models.ProductOfferingQualification
}
ProductOfferingQualificationCreateCreated describes a response with status code 201, with default header values.

Created

func NewProductOfferingQualificationCreateCreated

func NewProductOfferingQualificationCreateCreated() *ProductOfferingQualificationCreateCreated

NewProductOfferingQualificationCreateCreated creates a ProductOfferingQualificationCreateCreated with default headers values

func (*ProductOfferingQualificationCreateCreated) Error

func (*ProductOfferingQualificationCreateCreated) GetPayload

type ProductOfferingQualificationCreateForbidden

type ProductOfferingQualificationCreateForbidden struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationCreateForbidden 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 NewProductOfferingQualificationCreateForbidden

func NewProductOfferingQualificationCreateForbidden() *ProductOfferingQualificationCreateForbidden

NewProductOfferingQualificationCreateForbidden creates a ProductOfferingQualificationCreateForbidden with default headers values

func (*ProductOfferingQualificationCreateForbidden) Error

func (*ProductOfferingQualificationCreateForbidden) GetPayload

type ProductOfferingQualificationCreateNotFound

type ProductOfferingQualificationCreateNotFound struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationCreateNotFound describes a response with status code 404, with default header values.

Not Found

List of supported error codes: - 60: Resource not found

func NewProductOfferingQualificationCreateNotFound

func NewProductOfferingQualificationCreateNotFound() *ProductOfferingQualificationCreateNotFound

NewProductOfferingQualificationCreateNotFound creates a ProductOfferingQualificationCreateNotFound with default headers values

func (*ProductOfferingQualificationCreateNotFound) Error

func (*ProductOfferingQualificationCreateNotFound) GetPayload

type ProductOfferingQualificationCreateParams

type ProductOfferingQualificationCreateParams struct {

	// ProductOfferingQualification.
	ProductOfferingQualification *models.ProductOfferingQualificationCreate

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProductOfferingQualificationCreateParams contains all the parameters to send to the API endpoint

for the product offering qualification create operation.

Typically these are written to a http.Request.

func NewProductOfferingQualificationCreateParams

func NewProductOfferingQualificationCreateParams() *ProductOfferingQualificationCreateParams

NewProductOfferingQualificationCreateParams creates a new ProductOfferingQualificationCreateParams 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 NewProductOfferingQualificationCreateParamsWithContext

func NewProductOfferingQualificationCreateParamsWithContext(ctx context.Context) *ProductOfferingQualificationCreateParams

NewProductOfferingQualificationCreateParamsWithContext creates a new ProductOfferingQualificationCreateParams object with the ability to set a context for a request.

func NewProductOfferingQualificationCreateParamsWithHTTPClient

func NewProductOfferingQualificationCreateParamsWithHTTPClient(client *http.Client) *ProductOfferingQualificationCreateParams

NewProductOfferingQualificationCreateParamsWithHTTPClient creates a new ProductOfferingQualificationCreateParams object with the ability to set a custom HTTPClient for a request.

func NewProductOfferingQualificationCreateParamsWithTimeout

func NewProductOfferingQualificationCreateParamsWithTimeout(timeout time.Duration) *ProductOfferingQualificationCreateParams

NewProductOfferingQualificationCreateParamsWithTimeout creates a new ProductOfferingQualificationCreateParams object with the ability to set a timeout on a request.

func (*ProductOfferingQualificationCreateParams) SetContext

SetContext adds the context to the product offering qualification create params

func (*ProductOfferingQualificationCreateParams) SetDefaults

SetDefaults hydrates default values in the product offering qualification create params (not the query body).

All values with no default are reset to their zero value.

func (*ProductOfferingQualificationCreateParams) SetHTTPClient

func (o *ProductOfferingQualificationCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the product offering qualification create params

func (*ProductOfferingQualificationCreateParams) SetProductOfferingQualification

func (o *ProductOfferingQualificationCreateParams) SetProductOfferingQualification(productOfferingQualification *models.ProductOfferingQualificationCreate)

SetProductOfferingQualification adds the productOfferingQualification to the product offering qualification create params

func (*ProductOfferingQualificationCreateParams) SetTimeout

SetTimeout adds the timeout to the product offering qualification create params

func (*ProductOfferingQualificationCreateParams) WithContext

WithContext adds the context to the product offering qualification create params

func (*ProductOfferingQualificationCreateParams) WithDefaults

WithDefaults hydrates default values in the product offering qualification create params (not the query body).

All values with no default are reset to their zero value.

func (*ProductOfferingQualificationCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product offering qualification create params

func (*ProductOfferingQualificationCreateParams) WithProductOfferingQualification

func (o *ProductOfferingQualificationCreateParams) WithProductOfferingQualification(productOfferingQualification *models.ProductOfferingQualificationCreate) *ProductOfferingQualificationCreateParams

WithProductOfferingQualification adds the productOfferingQualification to the product offering qualification create params

func (*ProductOfferingQualificationCreateParams) WithTimeout

WithTimeout adds the timeout to the product offering qualification create params

func (*ProductOfferingQualificationCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProductOfferingQualificationCreateReader

type ProductOfferingQualificationCreateReader struct {
	// contains filtered or unexported fields
}

ProductOfferingQualificationCreateReader is a Reader for the ProductOfferingQualificationCreate structure.

func (*ProductOfferingQualificationCreateReader) ReadResponse

func (o *ProductOfferingQualificationCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProductOfferingQualificationCreateRequestTimeout

type ProductOfferingQualificationCreateRequestTimeout struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationCreateRequestTimeout describes a response with status code 408, with default header values.

Request Time-out

List of supported error codes: - 63: Request time-out

func NewProductOfferingQualificationCreateRequestTimeout

func NewProductOfferingQualificationCreateRequestTimeout() *ProductOfferingQualificationCreateRequestTimeout

NewProductOfferingQualificationCreateRequestTimeout creates a ProductOfferingQualificationCreateRequestTimeout with default headers values

func (*ProductOfferingQualificationCreateRequestTimeout) Error

func (*ProductOfferingQualificationCreateRequestTimeout) GetPayload

type ProductOfferingQualificationCreateServiceUnavailable

type ProductOfferingQualificationCreateServiceUnavailable struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationCreateServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable

func NewProductOfferingQualificationCreateServiceUnavailable

func NewProductOfferingQualificationCreateServiceUnavailable() *ProductOfferingQualificationCreateServiceUnavailable

NewProductOfferingQualificationCreateServiceUnavailable creates a ProductOfferingQualificationCreateServiceUnavailable with default headers values

func (*ProductOfferingQualificationCreateServiceUnavailable) Error

func (*ProductOfferingQualificationCreateServiceUnavailable) GetPayload

type ProductOfferingQualificationCreateUnauthorized

type ProductOfferingQualificationCreateUnauthorized struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationCreateUnauthorized 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 NewProductOfferingQualificationCreateUnauthorized

func NewProductOfferingQualificationCreateUnauthorized() *ProductOfferingQualificationCreateUnauthorized

NewProductOfferingQualificationCreateUnauthorized creates a ProductOfferingQualificationCreateUnauthorized with default headers values

func (*ProductOfferingQualificationCreateUnauthorized) Error

func (*ProductOfferingQualificationCreateUnauthorized) GetPayload

type ProductOfferingQualificationCreateUnprocessableEntity

type ProductOfferingQualificationCreateUnprocessableEntity struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationCreateUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

Functional error

  • code: 100

message: A relatedParty - at productOfferingQualification level - with a role 'Buyer' must be provided (including contact information) description:

  • code: 101

message: A least a productOffering OR a productSpecification OR a Product must be provided for a POQItem description:

  • code: 102

message: Provided Product Offering Identifier is unknown description:

  • code: 103

message: Provided Product Specification Identifier is unknown description:

  • code: 104

message: Provided Product Identifier is unknown description:

  • code: 105

message: The place information provided are invalid description:

  • code: 106

message: A least one date provided is invalid description:

  • code: 107

message: Incorrect related party role provided description:

func NewProductOfferingQualificationCreateUnprocessableEntity

func NewProductOfferingQualificationCreateUnprocessableEntity() *ProductOfferingQualificationCreateUnprocessableEntity

NewProductOfferingQualificationCreateUnprocessableEntity creates a ProductOfferingQualificationCreateUnprocessableEntity with default headers values

func (*ProductOfferingQualificationCreateUnprocessableEntity) Error

func (*ProductOfferingQualificationCreateUnprocessableEntity) GetPayload

type ProductOfferingQualificationFindBadRequest

type ProductOfferingQualificationFindBadRequest struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationFindBadRequest 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 NewProductOfferingQualificationFindBadRequest

func NewProductOfferingQualificationFindBadRequest() *ProductOfferingQualificationFindBadRequest

NewProductOfferingQualificationFindBadRequest creates a ProductOfferingQualificationFindBadRequest with default headers values

func (*ProductOfferingQualificationFindBadRequest) Error

func (*ProductOfferingQualificationFindBadRequest) GetPayload

type ProductOfferingQualificationFindForbidden

type ProductOfferingQualificationFindForbidden struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationFindForbidden 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 NewProductOfferingQualificationFindForbidden

func NewProductOfferingQualificationFindForbidden() *ProductOfferingQualificationFindForbidden

NewProductOfferingQualificationFindForbidden creates a ProductOfferingQualificationFindForbidden with default headers values

func (*ProductOfferingQualificationFindForbidden) Error

func (*ProductOfferingQualificationFindForbidden) GetPayload

type ProductOfferingQualificationFindNotFound

type ProductOfferingQualificationFindNotFound struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationFindNotFound describes a response with status code 404, with default header values.

Not Found

List of supported error codes: - 60: Resource not found

func NewProductOfferingQualificationFindNotFound

func NewProductOfferingQualificationFindNotFound() *ProductOfferingQualificationFindNotFound

NewProductOfferingQualificationFindNotFound creates a ProductOfferingQualificationFindNotFound with default headers values

func (*ProductOfferingQualificationFindNotFound) Error

func (*ProductOfferingQualificationFindNotFound) GetPayload

type ProductOfferingQualificationFindOK

type ProductOfferingQualificationFindOK 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.ProductOfferingQualificationFind
}
ProductOfferingQualificationFindOK describes a response with status code 200, with default header values.

Ok

func NewProductOfferingQualificationFindOK

func NewProductOfferingQualificationFindOK() *ProductOfferingQualificationFindOK

NewProductOfferingQualificationFindOK creates a ProductOfferingQualificationFindOK with default headers values

func (*ProductOfferingQualificationFindOK) Error

func (*ProductOfferingQualificationFindOK) GetPayload

type ProductOfferingQualificationFindParams

type ProductOfferingQualificationFindParams struct {

	/* 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.

	   Identifier of buyer project associated to POQ
	*/
	ProjectID *string

	/* RequestedResponseDateGt.

	   POQ expected response date is after this date

	   Format: date-time
	*/
	RequestedResponseDateGt *strfmt.DateTime

	/* RequestedResponseDateLt.

	   POQ expected response date is before this date

	   Format: date-time
	*/
	RequestedResponseDateLt *strfmt.DateTime

	/* State.

	   State of the POQ to be retrieeved
	*/
	State *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProductOfferingQualificationFindParams contains all the parameters to send to the API endpoint

for the product offering qualification find operation.

Typically these are written to a http.Request.

func NewProductOfferingQualificationFindParams

func NewProductOfferingQualificationFindParams() *ProductOfferingQualificationFindParams

NewProductOfferingQualificationFindParams creates a new ProductOfferingQualificationFindParams 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 NewProductOfferingQualificationFindParamsWithContext

func NewProductOfferingQualificationFindParamsWithContext(ctx context.Context) *ProductOfferingQualificationFindParams

NewProductOfferingQualificationFindParamsWithContext creates a new ProductOfferingQualificationFindParams object with the ability to set a context for a request.

func NewProductOfferingQualificationFindParamsWithHTTPClient

func NewProductOfferingQualificationFindParamsWithHTTPClient(client *http.Client) *ProductOfferingQualificationFindParams

NewProductOfferingQualificationFindParamsWithHTTPClient creates a new ProductOfferingQualificationFindParams object with the ability to set a custom HTTPClient for a request.

func NewProductOfferingQualificationFindParamsWithTimeout

func NewProductOfferingQualificationFindParamsWithTimeout(timeout time.Duration) *ProductOfferingQualificationFindParams

NewProductOfferingQualificationFindParamsWithTimeout creates a new ProductOfferingQualificationFindParams object with the ability to set a timeout on a request.

func (*ProductOfferingQualificationFindParams) SetContext

SetContext adds the context to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) SetDefaults

func (o *ProductOfferingQualificationFindParams) SetDefaults()

SetDefaults hydrates default values in the product offering qualification find params (not the query body).

All values with no default are reset to their zero value.

func (*ProductOfferingQualificationFindParams) SetHTTPClient

func (o *ProductOfferingQualificationFindParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) SetLimit

func (o *ProductOfferingQualificationFindParams) SetLimit(limit *string)

SetLimit adds the limit to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) SetOffset

func (o *ProductOfferingQualificationFindParams) SetOffset(offset *string)

SetOffset adds the offset to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) SetProjectID

func (o *ProductOfferingQualificationFindParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) SetRequestedResponseDateGt

func (o *ProductOfferingQualificationFindParams) SetRequestedResponseDateGt(requestedResponseDateGt *strfmt.DateTime)

SetRequestedResponseDateGt adds the requestedResponseDateGt to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) SetRequestedResponseDateLt

func (o *ProductOfferingQualificationFindParams) SetRequestedResponseDateLt(requestedResponseDateLt *strfmt.DateTime)

SetRequestedResponseDateLt adds the requestedResponseDateLt to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) SetState

func (o *ProductOfferingQualificationFindParams) SetState(state *string)

SetState adds the state to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) SetTimeout

func (o *ProductOfferingQualificationFindParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) WithContext

WithContext adds the context to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) WithDefaults

WithDefaults hydrates default values in the product offering qualification find params (not the query body).

All values with no default are reset to their zero value.

func (*ProductOfferingQualificationFindParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) WithLimit

WithLimit adds the limit to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) WithOffset

WithOffset adds the offset to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) WithProjectID

WithProjectID adds the projectID to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) WithRequestedResponseDateGt

func (o *ProductOfferingQualificationFindParams) WithRequestedResponseDateGt(requestedResponseDateGt *strfmt.DateTime) *ProductOfferingQualificationFindParams

WithRequestedResponseDateGt adds the requestedResponseDateGt to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) WithRequestedResponseDateLt

func (o *ProductOfferingQualificationFindParams) WithRequestedResponseDateLt(requestedResponseDateLt *strfmt.DateTime) *ProductOfferingQualificationFindParams

WithRequestedResponseDateLt adds the requestedResponseDateLt to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) WithState

WithState adds the state to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) WithTimeout

WithTimeout adds the timeout to the product offering qualification find params

func (*ProductOfferingQualificationFindParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProductOfferingQualificationFindReader

type ProductOfferingQualificationFindReader struct {
	// contains filtered or unexported fields
}

ProductOfferingQualificationFindReader is a Reader for the ProductOfferingQualificationFind structure.

func (*ProductOfferingQualificationFindReader) ReadResponse

func (o *ProductOfferingQualificationFindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProductOfferingQualificationFindRequestTimeout

type ProductOfferingQualificationFindRequestTimeout struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationFindRequestTimeout describes a response with status code 408, with default header values.

Request Time-out

List of supported error codes: - 63: Request time-out

func NewProductOfferingQualificationFindRequestTimeout

func NewProductOfferingQualificationFindRequestTimeout() *ProductOfferingQualificationFindRequestTimeout

NewProductOfferingQualificationFindRequestTimeout creates a ProductOfferingQualificationFindRequestTimeout with default headers values

func (*ProductOfferingQualificationFindRequestTimeout) Error

func (*ProductOfferingQualificationFindRequestTimeout) GetPayload

type ProductOfferingQualificationFindServiceUnavailable

type ProductOfferingQualificationFindServiceUnavailable struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationFindServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable

func NewProductOfferingQualificationFindServiceUnavailable

func NewProductOfferingQualificationFindServiceUnavailable() *ProductOfferingQualificationFindServiceUnavailable

NewProductOfferingQualificationFindServiceUnavailable creates a ProductOfferingQualificationFindServiceUnavailable with default headers values

func (*ProductOfferingQualificationFindServiceUnavailable) Error

func (*ProductOfferingQualificationFindServiceUnavailable) GetPayload

type ProductOfferingQualificationFindUnauthorized

type ProductOfferingQualificationFindUnauthorized struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationFindUnauthorized 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 NewProductOfferingQualificationFindUnauthorized

func NewProductOfferingQualificationFindUnauthorized() *ProductOfferingQualificationFindUnauthorized

NewProductOfferingQualificationFindUnauthorized creates a ProductOfferingQualificationFindUnauthorized with default headers values

func (*ProductOfferingQualificationFindUnauthorized) Error

func (*ProductOfferingQualificationFindUnauthorized) GetPayload

type ProductOfferingQualificationFindUnprocessableEntity

type ProductOfferingQualificationFindUnprocessableEntity struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationFindUnprocessableEntity 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 NewProductOfferingQualificationFindUnprocessableEntity

func NewProductOfferingQualificationFindUnprocessableEntity() *ProductOfferingQualificationFindUnprocessableEntity

NewProductOfferingQualificationFindUnprocessableEntity creates a ProductOfferingQualificationFindUnprocessableEntity with default headers values

func (*ProductOfferingQualificationFindUnprocessableEntity) Error

func (*ProductOfferingQualificationFindUnprocessableEntity) GetPayload

type ProductOfferingQualificationGetBadRequest

type ProductOfferingQualificationGetBadRequest struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationGetBadRequest 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 NewProductOfferingQualificationGetBadRequest

func NewProductOfferingQualificationGetBadRequest() *ProductOfferingQualificationGetBadRequest

NewProductOfferingQualificationGetBadRequest creates a ProductOfferingQualificationGetBadRequest with default headers values

func (*ProductOfferingQualificationGetBadRequest) Error

func (*ProductOfferingQualificationGetBadRequest) GetPayload

type ProductOfferingQualificationGetForbidden

type ProductOfferingQualificationGetForbidden struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationGetForbidden 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 NewProductOfferingQualificationGetForbidden

func NewProductOfferingQualificationGetForbidden() *ProductOfferingQualificationGetForbidden

NewProductOfferingQualificationGetForbidden creates a ProductOfferingQualificationGetForbidden with default headers values

func (*ProductOfferingQualificationGetForbidden) Error

func (*ProductOfferingQualificationGetForbidden) GetPayload

type ProductOfferingQualificationGetNotFound

type ProductOfferingQualificationGetNotFound struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationGetNotFound describes a response with status code 404, with default header values.

Not Found

List of supported error codes: - 60: Resource not found

func NewProductOfferingQualificationGetNotFound

func NewProductOfferingQualificationGetNotFound() *ProductOfferingQualificationGetNotFound

NewProductOfferingQualificationGetNotFound creates a ProductOfferingQualificationGetNotFound with default headers values

func (*ProductOfferingQualificationGetNotFound) Error

func (*ProductOfferingQualificationGetNotFound) GetPayload

type ProductOfferingQualificationGetOK

type ProductOfferingQualificationGetOK struct {
	Payload *models.ProductOfferingQualification
}
ProductOfferingQualificationGetOK describes a response with status code 200, with default header values.

Ok

func NewProductOfferingQualificationGetOK

func NewProductOfferingQualificationGetOK() *ProductOfferingQualificationGetOK

NewProductOfferingQualificationGetOK creates a ProductOfferingQualificationGetOK with default headers values

func (*ProductOfferingQualificationGetOK) Error

func (*ProductOfferingQualificationGetOK) GetPayload

type ProductOfferingQualificationGetParams

type ProductOfferingQualificationGetParams struct {

	// ProductOfferingQualificationID.
	ProductOfferingQualificationID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProductOfferingQualificationGetParams contains all the parameters to send to the API endpoint

for the product offering qualification get operation.

Typically these are written to a http.Request.

func NewProductOfferingQualificationGetParams

func NewProductOfferingQualificationGetParams() *ProductOfferingQualificationGetParams

NewProductOfferingQualificationGetParams creates a new ProductOfferingQualificationGetParams 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 NewProductOfferingQualificationGetParamsWithContext

func NewProductOfferingQualificationGetParamsWithContext(ctx context.Context) *ProductOfferingQualificationGetParams

NewProductOfferingQualificationGetParamsWithContext creates a new ProductOfferingQualificationGetParams object with the ability to set a context for a request.

func NewProductOfferingQualificationGetParamsWithHTTPClient

func NewProductOfferingQualificationGetParamsWithHTTPClient(client *http.Client) *ProductOfferingQualificationGetParams

NewProductOfferingQualificationGetParamsWithHTTPClient creates a new ProductOfferingQualificationGetParams object with the ability to set a custom HTTPClient for a request.

func NewProductOfferingQualificationGetParamsWithTimeout

func NewProductOfferingQualificationGetParamsWithTimeout(timeout time.Duration) *ProductOfferingQualificationGetParams

NewProductOfferingQualificationGetParamsWithTimeout creates a new ProductOfferingQualificationGetParams object with the ability to set a timeout on a request.

func (*ProductOfferingQualificationGetParams) SetContext

SetContext adds the context to the product offering qualification get params

func (*ProductOfferingQualificationGetParams) SetDefaults

func (o *ProductOfferingQualificationGetParams) SetDefaults()

SetDefaults hydrates default values in the product offering qualification get params (not the query body).

All values with no default are reset to their zero value.

func (*ProductOfferingQualificationGetParams) SetHTTPClient

func (o *ProductOfferingQualificationGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the product offering qualification get params

func (*ProductOfferingQualificationGetParams) SetProductOfferingQualificationID

func (o *ProductOfferingQualificationGetParams) SetProductOfferingQualificationID(productOfferingQualificationID string)

SetProductOfferingQualificationID adds the productOfferingQualificationId to the product offering qualification get params

func (*ProductOfferingQualificationGetParams) SetTimeout

func (o *ProductOfferingQualificationGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the product offering qualification get params

func (*ProductOfferingQualificationGetParams) WithContext

WithContext adds the context to the product offering qualification get params

func (*ProductOfferingQualificationGetParams) WithDefaults

WithDefaults hydrates default values in the product offering qualification get params (not the query body).

All values with no default are reset to their zero value.

func (*ProductOfferingQualificationGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product offering qualification get params

func (*ProductOfferingQualificationGetParams) WithProductOfferingQualificationID

func (o *ProductOfferingQualificationGetParams) WithProductOfferingQualificationID(productOfferingQualificationID string) *ProductOfferingQualificationGetParams

WithProductOfferingQualificationID adds the productOfferingQualificationID to the product offering qualification get params

func (*ProductOfferingQualificationGetParams) WithTimeout

WithTimeout adds the timeout to the product offering qualification get params

func (*ProductOfferingQualificationGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProductOfferingQualificationGetReader

type ProductOfferingQualificationGetReader struct {
	// contains filtered or unexported fields
}

ProductOfferingQualificationGetReader is a Reader for the ProductOfferingQualificationGet structure.

func (*ProductOfferingQualificationGetReader) ReadResponse

func (o *ProductOfferingQualificationGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProductOfferingQualificationGetRequestTimeout

type ProductOfferingQualificationGetRequestTimeout struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationGetRequestTimeout describes a response with status code 408, with default header values.

Request Time-out

List of supported error codes: - 63: Request time-out

func NewProductOfferingQualificationGetRequestTimeout

func NewProductOfferingQualificationGetRequestTimeout() *ProductOfferingQualificationGetRequestTimeout

NewProductOfferingQualificationGetRequestTimeout creates a ProductOfferingQualificationGetRequestTimeout with default headers values

func (*ProductOfferingQualificationGetRequestTimeout) Error

func (*ProductOfferingQualificationGetRequestTimeout) GetPayload

type ProductOfferingQualificationGetServiceUnavailable

type ProductOfferingQualificationGetServiceUnavailable struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationGetServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable

func NewProductOfferingQualificationGetServiceUnavailable

func NewProductOfferingQualificationGetServiceUnavailable() *ProductOfferingQualificationGetServiceUnavailable

NewProductOfferingQualificationGetServiceUnavailable creates a ProductOfferingQualificationGetServiceUnavailable with default headers values

func (*ProductOfferingQualificationGetServiceUnavailable) Error

func (*ProductOfferingQualificationGetServiceUnavailable) GetPayload

type ProductOfferingQualificationGetUnauthorized

type ProductOfferingQualificationGetUnauthorized struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationGetUnauthorized 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 NewProductOfferingQualificationGetUnauthorized

func NewProductOfferingQualificationGetUnauthorized() *ProductOfferingQualificationGetUnauthorized

NewProductOfferingQualificationGetUnauthorized creates a ProductOfferingQualificationGetUnauthorized with default headers values

func (*ProductOfferingQualificationGetUnauthorized) Error

func (*ProductOfferingQualificationGetUnauthorized) GetPayload

type ProductOfferingQualificationGetUnprocessableEntity

type ProductOfferingQualificationGetUnprocessableEntity struct {
	Payload *models.ErrorRepresentation
}
ProductOfferingQualificationGetUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

Functional error

func NewProductOfferingQualificationGetUnprocessableEntity

func NewProductOfferingQualificationGetUnprocessableEntity() *ProductOfferingQualificationGetUnprocessableEntity

NewProductOfferingQualificationGetUnprocessableEntity creates a ProductOfferingQualificationGetUnprocessableEntity with default headers values

func (*ProductOfferingQualificationGetUnprocessableEntity) Error

func (*ProductOfferingQualificationGetUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL