Documentation ¶
Index ¶
- type Client
- type ClientService
- type GeographicAddressGetBadRequest
- type GeographicAddressGetForbidden
- type GeographicAddressGetInternalServerError
- type GeographicAddressGetMethodNotAllowed
- type GeographicAddressGetNotFound
- type GeographicAddressGetOK
- type GeographicAddressGetParams
- func NewGeographicAddressGetParams() *GeographicAddressGetParams
- func NewGeographicAddressGetParamsWithContext(ctx context.Context) *GeographicAddressGetParams
- func NewGeographicAddressGetParamsWithHTTPClient(client *http.Client) *GeographicAddressGetParams
- func NewGeographicAddressGetParamsWithTimeout(timeout time.Duration) *GeographicAddressGetParams
- func (o *GeographicAddressGetParams) SetContext(ctx context.Context)
- func (o *GeographicAddressGetParams) SetGeographicAddressID(geographicAddressID string)
- func (o *GeographicAddressGetParams) SetHTTPClient(client *http.Client)
- func (o *GeographicAddressGetParams) SetTimeout(timeout time.Duration)
- func (o *GeographicAddressGetParams) WithContext(ctx context.Context) *GeographicAddressGetParams
- func (o *GeographicAddressGetParams) WithGeographicAddressID(geographicAddressID string) *GeographicAddressGetParams
- func (o *GeographicAddressGetParams) WithHTTPClient(client *http.Client) *GeographicAddressGetParams
- func (o *GeographicAddressGetParams) WithTimeout(timeout time.Duration) *GeographicAddressGetParams
- func (o *GeographicAddressGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GeographicAddressGetReader
- type GeographicAddressGetServiceUnavailable
- type GeographicAddressGetUnauthorized
- type GeographicAddressGetUnprocessableEntity
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 geographic address API
func (*Client) GeographicAddressGet ¶
func (a *Client) GeographicAddressGet(params *GeographicAddressGetParams) (*GeographicAddressGetOK, error)
GeographicAddressGet retrieves address
The Buyer requests the full details of a single Address based on an Address identifier that was previously provided by the Seller.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GeographicAddressGet(params *GeographicAddressGetParams) (*GeographicAddressGetOK, 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 geographic address API client.
type GeographicAddressGetBadRequest ¶
type GeographicAddressGetBadRequest struct {
Payload *models.ErrorRepresentation
}
GeographicAddressGetBadRequest 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 NewGeographicAddressGetBadRequest ¶
func NewGeographicAddressGetBadRequest() *GeographicAddressGetBadRequest
NewGeographicAddressGetBadRequest creates a GeographicAddressGetBadRequest with default headers values
func (*GeographicAddressGetBadRequest) Error ¶
func (o *GeographicAddressGetBadRequest) Error() string
func (*GeographicAddressGetBadRequest) GetPayload ¶
func (o *GeographicAddressGetBadRequest) GetPayload() *models.ErrorRepresentation
type GeographicAddressGetForbidden ¶
type GeographicAddressGetForbidden struct {
Payload *models.ErrorRepresentation
}
GeographicAddressGetForbidden 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 NewGeographicAddressGetForbidden ¶
func NewGeographicAddressGetForbidden() *GeographicAddressGetForbidden
NewGeographicAddressGetForbidden creates a GeographicAddressGetForbidden with default headers values
func (*GeographicAddressGetForbidden) Error ¶
func (o *GeographicAddressGetForbidden) Error() string
func (*GeographicAddressGetForbidden) GetPayload ¶
func (o *GeographicAddressGetForbidden) GetPayload() *models.ErrorRepresentation
type GeographicAddressGetInternalServerError ¶
type GeographicAddressGetInternalServerError struct {
Payload *models.ErrorRepresentation
}
GeographicAddressGetInternalServerError handles this case with default header values.
Internal Server Error ¶
List of supported error codes: - 1: Internal error
func NewGeographicAddressGetInternalServerError ¶
func NewGeographicAddressGetInternalServerError() *GeographicAddressGetInternalServerError
NewGeographicAddressGetInternalServerError creates a GeographicAddressGetInternalServerError with default headers values
func (*GeographicAddressGetInternalServerError) Error ¶
func (o *GeographicAddressGetInternalServerError) Error() string
func (*GeographicAddressGetInternalServerError) GetPayload ¶
func (o *GeographicAddressGetInternalServerError) GetPayload() *models.ErrorRepresentation
type GeographicAddressGetMethodNotAllowed ¶
type GeographicAddressGetMethodNotAllowed struct {
Payload *models.ErrorRepresentation
}
GeographicAddressGetMethodNotAllowed handles this case with default header values.
Method Not Allowed ¶
List of supported error codes: - 61: Method not allowed
func NewGeographicAddressGetMethodNotAllowed ¶
func NewGeographicAddressGetMethodNotAllowed() *GeographicAddressGetMethodNotAllowed
NewGeographicAddressGetMethodNotAllowed creates a GeographicAddressGetMethodNotAllowed with default headers values
func (*GeographicAddressGetMethodNotAllowed) Error ¶
func (o *GeographicAddressGetMethodNotAllowed) Error() string
func (*GeographicAddressGetMethodNotAllowed) GetPayload ¶
func (o *GeographicAddressGetMethodNotAllowed) GetPayload() *models.ErrorRepresentation
type GeographicAddressGetNotFound ¶
type GeographicAddressGetNotFound struct {
Payload *models.ErrorRepresentation
}
GeographicAddressGetNotFound handles this case with default header values.
Not Found ¶
List of supported error codes: - 60: Resource not found
func NewGeographicAddressGetNotFound ¶
func NewGeographicAddressGetNotFound() *GeographicAddressGetNotFound
NewGeographicAddressGetNotFound creates a GeographicAddressGetNotFound with default headers values
func (*GeographicAddressGetNotFound) Error ¶
func (o *GeographicAddressGetNotFound) Error() string
func (*GeographicAddressGetNotFound) GetPayload ¶
func (o *GeographicAddressGetNotFound) GetPayload() *models.ErrorRepresentation
type GeographicAddressGetOK ¶
type GeographicAddressGetOK struct {
Payload *models.GeographicAddress
}
GeographicAddressGetOK handles this case with default header values.
Ok
func NewGeographicAddressGetOK ¶
func NewGeographicAddressGetOK() *GeographicAddressGetOK
NewGeographicAddressGetOK creates a GeographicAddressGetOK with default headers values
func (*GeographicAddressGetOK) Error ¶
func (o *GeographicAddressGetOK) Error() string
func (*GeographicAddressGetOK) GetPayload ¶
func (o *GeographicAddressGetOK) GetPayload() *models.GeographicAddress
type GeographicAddressGetParams ¶
type GeographicAddressGetParams struct { /*GeographicAddressID*/ GeographicAddressID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GeographicAddressGetParams contains all the parameters to send to the API endpoint for the geographic address get operation typically these are written to a http.Request
func NewGeographicAddressGetParams ¶
func NewGeographicAddressGetParams() *GeographicAddressGetParams
NewGeographicAddressGetParams creates a new GeographicAddressGetParams object with the default values initialized.
func NewGeographicAddressGetParamsWithContext ¶
func NewGeographicAddressGetParamsWithContext(ctx context.Context) *GeographicAddressGetParams
NewGeographicAddressGetParamsWithContext creates a new GeographicAddressGetParams object with the default values initialized, and the ability to set a context for a request
func NewGeographicAddressGetParamsWithHTTPClient ¶
func NewGeographicAddressGetParamsWithHTTPClient(client *http.Client) *GeographicAddressGetParams
NewGeographicAddressGetParamsWithHTTPClient creates a new GeographicAddressGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGeographicAddressGetParamsWithTimeout ¶
func NewGeographicAddressGetParamsWithTimeout(timeout time.Duration) *GeographicAddressGetParams
NewGeographicAddressGetParamsWithTimeout creates a new GeographicAddressGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*GeographicAddressGetParams) SetContext ¶
func (o *GeographicAddressGetParams) SetContext(ctx context.Context)
SetContext adds the context to the geographic address get params
func (*GeographicAddressGetParams) SetGeographicAddressID ¶
func (o *GeographicAddressGetParams) SetGeographicAddressID(geographicAddressID string)
SetGeographicAddressID adds the geographicAddressId to the geographic address get params
func (*GeographicAddressGetParams) SetHTTPClient ¶
func (o *GeographicAddressGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the geographic address get params
func (*GeographicAddressGetParams) SetTimeout ¶
func (o *GeographicAddressGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the geographic address get params
func (*GeographicAddressGetParams) WithContext ¶
func (o *GeographicAddressGetParams) WithContext(ctx context.Context) *GeographicAddressGetParams
WithContext adds the context to the geographic address get params
func (*GeographicAddressGetParams) WithGeographicAddressID ¶
func (o *GeographicAddressGetParams) WithGeographicAddressID(geographicAddressID string) *GeographicAddressGetParams
WithGeographicAddressID adds the geographicAddressID to the geographic address get params
func (*GeographicAddressGetParams) WithHTTPClient ¶
func (o *GeographicAddressGetParams) WithHTTPClient(client *http.Client) *GeographicAddressGetParams
WithHTTPClient adds the HTTPClient to the geographic address get params
func (*GeographicAddressGetParams) WithTimeout ¶
func (o *GeographicAddressGetParams) WithTimeout(timeout time.Duration) *GeographicAddressGetParams
WithTimeout adds the timeout to the geographic address get params
func (*GeographicAddressGetParams) WriteToRequest ¶
func (o *GeographicAddressGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GeographicAddressGetReader ¶
type GeographicAddressGetReader struct {
// contains filtered or unexported fields
}
GeographicAddressGetReader is a Reader for the GeographicAddressGet structure.
func (*GeographicAddressGetReader) ReadResponse ¶
func (o *GeographicAddressGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GeographicAddressGetServiceUnavailable ¶
type GeographicAddressGetServiceUnavailable struct {
}GeographicAddressGetServiceUnavailable handles this case with default header values.
Service Unavailable
func NewGeographicAddressGetServiceUnavailable ¶
func NewGeographicAddressGetServiceUnavailable() *GeographicAddressGetServiceUnavailable
NewGeographicAddressGetServiceUnavailable creates a GeographicAddressGetServiceUnavailable with default headers values
func (*GeographicAddressGetServiceUnavailable) Error ¶
func (o *GeographicAddressGetServiceUnavailable) Error() string
func (*GeographicAddressGetServiceUnavailable) GetPayload ¶
func (o *GeographicAddressGetServiceUnavailable) GetPayload() *models.ErrorRepresentation
type GeographicAddressGetUnauthorized ¶
type GeographicAddressGetUnauthorized struct {
}GeographicAddressGetUnauthorized handles this case with default header values.
Unauthorized ¶
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
func NewGeographicAddressGetUnauthorized ¶
func NewGeographicAddressGetUnauthorized() *GeographicAddressGetUnauthorized
NewGeographicAddressGetUnauthorized creates a GeographicAddressGetUnauthorized with default headers values
func (*GeographicAddressGetUnauthorized) Error ¶
func (o *GeographicAddressGetUnauthorized) Error() string
func (*GeographicAddressGetUnauthorized) GetPayload ¶
func (o *GeographicAddressGetUnauthorized) GetPayload() *models.ErrorRepresentation
type GeographicAddressGetUnprocessableEntity ¶
type GeographicAddressGetUnprocessableEntity struct {
Payload *models.ErrorRepresentation
}
GeographicAddressGetUnprocessableEntity handles this case with default header values.
Unprocessable entity ¶
Functional error
func NewGeographicAddressGetUnprocessableEntity ¶
func NewGeographicAddressGetUnprocessableEntity() *GeographicAddressGetUnprocessableEntity
NewGeographicAddressGetUnprocessableEntity creates a GeographicAddressGetUnprocessableEntity with default headers values
func (*GeographicAddressGetUnprocessableEntity) Error ¶
func (o *GeographicAddressGetUnprocessableEntity) Error() string
func (*GeographicAddressGetUnprocessableEntity) GetPayload ¶
func (o *GeographicAddressGetUnprocessableEntity) GetPayload() *models.ErrorRepresentation