geographic_address

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: 10 Imported by: 0

Documentation

Index

Constants

View Source
const GeographicAddressGetBadRequestCode int = 400

GeographicAddressGetBadRequestCode is the HTTP code returned for type GeographicAddressGetBadRequest

View Source
const GeographicAddressGetForbiddenCode int = 403

GeographicAddressGetForbiddenCode is the HTTP code returned for type GeographicAddressGetForbidden

View Source
const GeographicAddressGetInternalServerErrorCode int = 500

GeographicAddressGetInternalServerErrorCode is the HTTP code returned for type GeographicAddressGetInternalServerError

View Source
const GeographicAddressGetMethodNotAllowedCode int = 405

GeographicAddressGetMethodNotAllowedCode is the HTTP code returned for type GeographicAddressGetMethodNotAllowed

View Source
const GeographicAddressGetNotFoundCode int = 404

GeographicAddressGetNotFoundCode is the HTTP code returned for type GeographicAddressGetNotFound

View Source
const GeographicAddressGetOKCode int = 200

GeographicAddressGetOKCode is the HTTP code returned for type GeographicAddressGetOK

View Source
const GeographicAddressGetServiceUnavailableCode int = 503

GeographicAddressGetServiceUnavailableCode is the HTTP code returned for type GeographicAddressGetServiceUnavailable

View Source
const GeographicAddressGetUnauthorizedCode int = 401

GeographicAddressGetUnauthorizedCode is the HTTP code returned for type GeographicAddressGetUnauthorized

View Source
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

SetPayload sets the payload to the geographic address get bad request response

func (*GeographicAddressGetBadRequest) WithPayload

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

SetPayload sets the payload to the geographic address get forbidden response

func (*GeographicAddressGetForbidden) WithPayload

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

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

SetPayload sets the payload to the geographic address get internal server error response

func (*GeographicAddressGetInternalServerError) WithPayload

WithPayload adds the payload to the geographic address get internal server error response

func (*GeographicAddressGetInternalServerError) WriteResponse

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

SetPayload sets the payload to the geographic address get method not allowed response

func (*GeographicAddressGetMethodNotAllowed) WithPayload

WithPayload adds the payload to the geographic address get method not allowed response

func (*GeographicAddressGetMethodNotAllowed) WriteResponse

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

SetPayload sets the payload to the geographic address get not found response

func (*GeographicAddressGetNotFound) WithPayload

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

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

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 {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

GeographicAddressGetServiceUnavailable Service Unavailable

swagger:response geographicAddressGetServiceUnavailable

func NewGeographicAddressGetServiceUnavailable

func NewGeographicAddressGetServiceUnavailable() *GeographicAddressGetServiceUnavailable

NewGeographicAddressGetServiceUnavailable creates GeographicAddressGetServiceUnavailable with default headers values

func (*GeographicAddressGetServiceUnavailable) SetPayload

SetPayload sets the payload to the geographic address get service unavailable response

func (*GeographicAddressGetServiceUnavailable) WithPayload

WithPayload adds the payload to the geographic address get service unavailable response

func (*GeographicAddressGetServiceUnavailable) WriteResponse

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

func (o *GeographicAddressGetURL) Must(u *url.URL, err error) *url.URL

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

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 {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

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

SetPayload sets the payload to the geographic address get unauthorized response

func (*GeographicAddressGetUnauthorized) WithPayload

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

SetPayload sets the payload to the geographic address get unprocessable entity response

func (*GeographicAddressGetUnprocessableEntity) WithPayload

WithPayload adds the payload to the geographic address get unprocessable entity response

func (*GeographicAddressGetUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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