Documentation ¶
Index ¶
- Constants
- type GeographicAddressGet
- type GeographicAddressGetBadRequest
- func (o *GeographicAddressGetBadRequest) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressGetBadRequest) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetBadRequest
- func (o *GeographicAddressGetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressGetForbidden
- func (o *GeographicAddressGetForbidden) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressGetForbidden) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetForbidden
- func (o *GeographicAddressGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressGetHandler
- type GeographicAddressGetHandlerFunc
- type GeographicAddressGetInternalServerError
- func (o *GeographicAddressGetInternalServerError) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressGetInternalServerError) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetInternalServerError
- func (o *GeographicAddressGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressGetMethodNotAllowed
- func (o *GeographicAddressGetMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressGetMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetMethodNotAllowed
- func (o *GeographicAddressGetMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressGetNotFound
- func (o *GeographicAddressGetNotFound) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressGetNotFound) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetNotFound
- func (o *GeographicAddressGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressGetOK
- type GeographicAddressGetParams
- type GeographicAddressGetServiceUnavailable
- func (o *GeographicAddressGetServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressGetServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetServiceUnavailable
- func (o *GeographicAddressGetServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressGetURL
- func (o *GeographicAddressGetURL) Build() (*url.URL, error)
- func (o *GeographicAddressGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GeographicAddressGetURL) Must(u *url.URL, err error) *url.URL
- func (o *GeographicAddressGetURL) SetBasePath(bp string)
- func (o *GeographicAddressGetURL) String() string
- func (o *GeographicAddressGetURL) StringFull(scheme, host string) string
- func (o *GeographicAddressGetURL) WithBasePath(bp string) *GeographicAddressGetURL
- type GeographicAddressGetUnauthorized
- func (o *GeographicAddressGetUnauthorized) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressGetUnauthorized) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetUnauthorized
- func (o *GeographicAddressGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressGetUnprocessableEntity
- func (o *GeographicAddressGetUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressGetUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetUnprocessableEntity
- func (o *GeographicAddressGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const GeographicAddressGetBadRequestCode int = 400
GeographicAddressGetBadRequestCode is the HTTP code returned for type GeographicAddressGetBadRequest
const GeographicAddressGetForbiddenCode int = 403
GeographicAddressGetForbiddenCode is the HTTP code returned for type GeographicAddressGetForbidden
const GeographicAddressGetInternalServerErrorCode int = 500
GeographicAddressGetInternalServerErrorCode is the HTTP code returned for type GeographicAddressGetInternalServerError
const GeographicAddressGetMethodNotAllowedCode int = 405
GeographicAddressGetMethodNotAllowedCode is the HTTP code returned for type GeographicAddressGetMethodNotAllowed
const GeographicAddressGetNotFoundCode int = 404
GeographicAddressGetNotFoundCode is the HTTP code returned for type GeographicAddressGetNotFound
const GeographicAddressGetOKCode int = 200
GeographicAddressGetOKCode is the HTTP code returned for type GeographicAddressGetOK
GeographicAddressGetServiceUnavailableCode is the HTTP code returned for type GeographicAddressGetServiceUnavailable
GeographicAddressGetUnauthorizedCode is the HTTP code returned for type GeographicAddressGetUnauthorized
const GeographicAddressGetUnprocessableEntityCode int = 422
GeographicAddressGetUnprocessableEntityCode is the HTTP code returned for type GeographicAddressGetUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeographicAddressGet ¶
type GeographicAddressGet struct { Context *middleware.Context Handler GeographicAddressGetHandler }
GeographicAddressGet swagger:route GET /geographicAddressManagement/v3/geographicAddress/{GeographicAddressId} GeographicAddress geographicAddressGet
retrieveAddress
The Buyer requests the full details of a single Address based on an Address identifier that was previously provided by the Seller.
func NewGeographicAddressGet ¶
func NewGeographicAddressGet(ctx *middleware.Context, handler GeographicAddressGetHandler) *GeographicAddressGet
NewGeographicAddressGet creates a new http.Handler for the geographic address get operation
func (*GeographicAddressGet) ServeHTTP ¶
func (o *GeographicAddressGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GeographicAddressGetBadRequest ¶
type GeographicAddressGetBadRequest struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressGetBadRequest Bad Request
List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value
swagger:response geographicAddressGetBadRequest
func NewGeographicAddressGetBadRequest ¶
func NewGeographicAddressGetBadRequest() *GeographicAddressGetBadRequest
NewGeographicAddressGetBadRequest creates GeographicAddressGetBadRequest with default headers values
func (*GeographicAddressGetBadRequest) SetPayload ¶
func (o *GeographicAddressGetBadRequest) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address get bad request response
func (*GeographicAddressGetBadRequest) WithPayload ¶
func (o *GeographicAddressGetBadRequest) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetBadRequest
WithPayload adds the payload to the geographic address get bad request response
func (*GeographicAddressGetBadRequest) WriteResponse ¶
func (o *GeographicAddressGetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressGetForbidden ¶
type GeographicAddressGetForbidden struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressGetForbidden Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
swagger:response geographicAddressGetForbidden
func NewGeographicAddressGetForbidden ¶
func NewGeographicAddressGetForbidden() *GeographicAddressGetForbidden
NewGeographicAddressGetForbidden creates GeographicAddressGetForbidden with default headers values
func (*GeographicAddressGetForbidden) SetPayload ¶
func (o *GeographicAddressGetForbidden) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address get forbidden response
func (*GeographicAddressGetForbidden) WithPayload ¶
func (o *GeographicAddressGetForbidden) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetForbidden
WithPayload adds the payload to the geographic address get forbidden response
func (*GeographicAddressGetForbidden) WriteResponse ¶
func (o *GeographicAddressGetForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressGetHandler ¶
type GeographicAddressGetHandler interface {
Handle(GeographicAddressGetParams, *models.Principal) middleware.Responder
}
GeographicAddressGetHandler interface for that can handle valid geographic address get params
type GeographicAddressGetHandlerFunc ¶
type GeographicAddressGetHandlerFunc func(GeographicAddressGetParams, *models.Principal) middleware.Responder
GeographicAddressGetHandlerFunc turns a function with the right signature into a geographic address get handler
func (GeographicAddressGetHandlerFunc) Handle ¶
func (fn GeographicAddressGetHandlerFunc) Handle(params GeographicAddressGetParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GeographicAddressGetInternalServerError ¶
type GeographicAddressGetInternalServerError struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressGetInternalServerError Internal Server Error
List of supported error codes: - 1: Internal error
swagger:response geographicAddressGetInternalServerError
func NewGeographicAddressGetInternalServerError ¶
func NewGeographicAddressGetInternalServerError() *GeographicAddressGetInternalServerError
NewGeographicAddressGetInternalServerError creates GeographicAddressGetInternalServerError with default headers values
func (*GeographicAddressGetInternalServerError) SetPayload ¶
func (o *GeographicAddressGetInternalServerError) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address get internal server error response
func (*GeographicAddressGetInternalServerError) WithPayload ¶
func (o *GeographicAddressGetInternalServerError) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetInternalServerError
WithPayload adds the payload to the geographic address get internal server error response
func (*GeographicAddressGetInternalServerError) WriteResponse ¶
func (o *GeographicAddressGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressGetMethodNotAllowed ¶
type GeographicAddressGetMethodNotAllowed struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressGetMethodNotAllowed Method Not Allowed
List of supported error codes: - 61: Method not allowed
swagger:response geographicAddressGetMethodNotAllowed
func NewGeographicAddressGetMethodNotAllowed ¶
func NewGeographicAddressGetMethodNotAllowed() *GeographicAddressGetMethodNotAllowed
NewGeographicAddressGetMethodNotAllowed creates GeographicAddressGetMethodNotAllowed with default headers values
func (*GeographicAddressGetMethodNotAllowed) SetPayload ¶
func (o *GeographicAddressGetMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address get method not allowed response
func (*GeographicAddressGetMethodNotAllowed) WithPayload ¶
func (o *GeographicAddressGetMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetMethodNotAllowed
WithPayload adds the payload to the geographic address get method not allowed response
func (*GeographicAddressGetMethodNotAllowed) WriteResponse ¶
func (o *GeographicAddressGetMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressGetNotFound ¶
type GeographicAddressGetNotFound struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressGetNotFound Not Found
List of supported error codes: - 60: Resource not found
swagger:response geographicAddressGetNotFound
func NewGeographicAddressGetNotFound ¶
func NewGeographicAddressGetNotFound() *GeographicAddressGetNotFound
NewGeographicAddressGetNotFound creates GeographicAddressGetNotFound with default headers values
func (*GeographicAddressGetNotFound) SetPayload ¶
func (o *GeographicAddressGetNotFound) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address get not found response
func (*GeographicAddressGetNotFound) WithPayload ¶
func (o *GeographicAddressGetNotFound) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetNotFound
WithPayload adds the payload to the geographic address get not found response
func (*GeographicAddressGetNotFound) WriteResponse ¶
func (o *GeographicAddressGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressGetOK ¶
type GeographicAddressGetOK struct { /* In: Body */ Payload *models.GeographicAddress `json:"body,omitempty"` }
GeographicAddressGetOK Ok
swagger:response geographicAddressGetOK
func NewGeographicAddressGetOK ¶
func NewGeographicAddressGetOK() *GeographicAddressGetOK
NewGeographicAddressGetOK creates GeographicAddressGetOK with default headers values
func (*GeographicAddressGetOK) SetPayload ¶
func (o *GeographicAddressGetOK) SetPayload(payload *models.GeographicAddress)
SetPayload sets the payload to the geographic address get o k response
func (*GeographicAddressGetOK) WithPayload ¶
func (o *GeographicAddressGetOK) WithPayload(payload *models.GeographicAddress) *GeographicAddressGetOK
WithPayload adds the payload to the geographic address get o k response
func (*GeographicAddressGetOK) WriteResponse ¶
func (o *GeographicAddressGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressGetParams ¶
type GeographicAddressGetParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ GeographicAddressID string }
GeographicAddressGetParams contains all the bound params for the geographic address get operation typically these are obtained from a http.Request
swagger:parameters geographicAddressGet
func NewGeographicAddressGetParams ¶
func NewGeographicAddressGetParams() GeographicAddressGetParams
NewGeographicAddressGetParams creates a new GeographicAddressGetParams object
There are no default values defined in the spec.
func (*GeographicAddressGetParams) BindRequest ¶
func (o *GeographicAddressGetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGeographicAddressGetParams() beforehand.
type GeographicAddressGetServiceUnavailable ¶
type GeographicAddressGetServiceUnavailable struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
GeographicAddressGetServiceUnavailable Service Unavailable
swagger:response geographicAddressGetServiceUnavailable
func NewGeographicAddressGetServiceUnavailable ¶
func NewGeographicAddressGetServiceUnavailable() *GeographicAddressGetServiceUnavailable
NewGeographicAddressGetServiceUnavailable creates GeographicAddressGetServiceUnavailable with default headers values
func (*GeographicAddressGetServiceUnavailable) SetPayload ¶
func (o *GeographicAddressGetServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address get service unavailable response
func (*GeographicAddressGetServiceUnavailable) WithPayload ¶
func (o *GeographicAddressGetServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetServiceUnavailable
WithPayload adds the payload to the geographic address get service unavailable response
func (*GeographicAddressGetServiceUnavailable) WriteResponse ¶
func (o *GeographicAddressGetServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressGetURL ¶
type GeographicAddressGetURL struct { GeographicAddressID string // contains filtered or unexported fields }
GeographicAddressGetURL generates an URL for the geographic address get operation
func (*GeographicAddressGetURL) Build ¶
func (o *GeographicAddressGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*GeographicAddressGetURL) BuildFull ¶
func (o *GeographicAddressGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GeographicAddressGetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GeographicAddressGetURL) SetBasePath ¶
func (o *GeographicAddressGetURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GeographicAddressGetURL) String ¶
func (o *GeographicAddressGetURL) String() string
String returns the string representation of the path with query string
func (*GeographicAddressGetURL) StringFull ¶
func (o *GeographicAddressGetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GeographicAddressGetURL) WithBasePath ¶
func (o *GeographicAddressGetURL) WithBasePath(bp string) *GeographicAddressGetURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GeographicAddressGetUnauthorized ¶
type GeographicAddressGetUnauthorized struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
GeographicAddressGetUnauthorized Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
swagger:response geographicAddressGetUnauthorized
func NewGeographicAddressGetUnauthorized ¶
func NewGeographicAddressGetUnauthorized() *GeographicAddressGetUnauthorized
NewGeographicAddressGetUnauthorized creates GeographicAddressGetUnauthorized with default headers values
func (*GeographicAddressGetUnauthorized) SetPayload ¶
func (o *GeographicAddressGetUnauthorized) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address get unauthorized response
func (*GeographicAddressGetUnauthorized) WithPayload ¶
func (o *GeographicAddressGetUnauthorized) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetUnauthorized
WithPayload adds the payload to the geographic address get unauthorized response
func (*GeographicAddressGetUnauthorized) WriteResponse ¶
func (o *GeographicAddressGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressGetUnprocessableEntity ¶
type GeographicAddressGetUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressGetUnprocessableEntity Unprocessable entity
Functional error ¶
swagger:response geographicAddressGetUnprocessableEntity
func NewGeographicAddressGetUnprocessableEntity ¶
func NewGeographicAddressGetUnprocessableEntity() *GeographicAddressGetUnprocessableEntity
NewGeographicAddressGetUnprocessableEntity creates GeographicAddressGetUnprocessableEntity with default headers values
func (*GeographicAddressGetUnprocessableEntity) SetPayload ¶
func (o *GeographicAddressGetUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address get unprocessable entity response
func (*GeographicAddressGetUnprocessableEntity) WithPayload ¶
func (o *GeographicAddressGetUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressGetUnprocessableEntity
WithPayload adds the payload to the geographic address get unprocessable entity response
func (*GeographicAddressGetUnprocessableEntity) WriteResponse ¶
func (o *GeographicAddressGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client