Documentation ¶
Index ¶
- Constants
- type GeographicSiteFind
- type GeographicSiteFindBadRequest
- func (o *GeographicSiteFindBadRequest) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteFindBadRequest) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindBadRequest
- func (o *GeographicSiteFindBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteFindHandler
- type GeographicSiteFindHandlerFunc
- type GeographicSiteFindInternalServerError
- func (o *GeographicSiteFindInternalServerError) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteFindInternalServerError) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindInternalServerError
- func (o *GeographicSiteFindInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteFindNotFound
- func (o *GeographicSiteFindNotFound) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteFindNotFound) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindNotFound
- func (o *GeographicSiteFindNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteFindOK
- type GeographicSiteFindParams
- type GeographicSiteFindRequestTimeout
- func (o *GeographicSiteFindRequestTimeout) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteFindRequestTimeout) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindRequestTimeout
- func (o *GeographicSiteFindRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteFindServiceUnavailable
- func (o *GeographicSiteFindServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteFindServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindServiceUnavailable
- func (o *GeographicSiteFindServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteFindURL
- func (o *GeographicSiteFindURL) Build() (*url.URL, error)
- func (o *GeographicSiteFindURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GeographicSiteFindURL) Must(u *url.URL, err error) *url.URL
- func (o *GeographicSiteFindURL) SetBasePath(bp string)
- func (o *GeographicSiteFindURL) String() string
- func (o *GeographicSiteFindURL) StringFull(scheme, host string) string
- func (o *GeographicSiteFindURL) WithBasePath(bp string) *GeographicSiteFindURL
- type GeographicSiteFindUnauthorized
- func (o *GeographicSiteFindUnauthorized) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteFindUnauthorized) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindUnauthorized
- func (o *GeographicSiteFindUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteFindUnprocessableEntity
- func (o *GeographicSiteFindUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteFindUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindUnprocessableEntity
- func (o *GeographicSiteFindUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteGet
- type GeographicSiteGetBadRequest
- func (o *GeographicSiteGetBadRequest) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteGetBadRequest) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetBadRequest
- func (o *GeographicSiteGetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteGetHandler
- type GeographicSiteGetHandlerFunc
- type GeographicSiteGetInternalServerError
- func (o *GeographicSiteGetInternalServerError) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteGetInternalServerError) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetInternalServerError
- func (o *GeographicSiteGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteGetNotFound
- type GeographicSiteGetOK
- type GeographicSiteGetParams
- type GeographicSiteGetRequestTimeout
- func (o *GeographicSiteGetRequestTimeout) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteGetRequestTimeout) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetRequestTimeout
- func (o *GeographicSiteGetRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteGetServiceUnavailable
- func (o *GeographicSiteGetServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteGetServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetServiceUnavailable
- func (o *GeographicSiteGetServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteGetURL
- func (o *GeographicSiteGetURL) Build() (*url.URL, error)
- func (o *GeographicSiteGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GeographicSiteGetURL) Must(u *url.URL, err error) *url.URL
- func (o *GeographicSiteGetURL) SetBasePath(bp string)
- func (o *GeographicSiteGetURL) String() string
- func (o *GeographicSiteGetURL) StringFull(scheme, host string) string
- func (o *GeographicSiteGetURL) WithBasePath(bp string) *GeographicSiteGetURL
- type GeographicSiteGetUnauthorized
- func (o *GeographicSiteGetUnauthorized) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteGetUnauthorized) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetUnauthorized
- func (o *GeographicSiteGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicSiteGetUnprocessableEntity
- func (o *GeographicSiteGetUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicSiteGetUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetUnprocessableEntity
- func (o *GeographicSiteGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const GeographicSiteFindBadRequestCode int = 400
GeographicSiteFindBadRequestCode is the HTTP code returned for type GeographicSiteFindBadRequest
const GeographicSiteFindInternalServerErrorCode int = 500
GeographicSiteFindInternalServerErrorCode is the HTTP code returned for type GeographicSiteFindInternalServerError
const GeographicSiteFindNotFoundCode int = 404
GeographicSiteFindNotFoundCode is the HTTP code returned for type GeographicSiteFindNotFound
const GeographicSiteFindOKCode int = 200
GeographicSiteFindOKCode is the HTTP code returned for type GeographicSiteFindOK
const GeographicSiteFindRequestTimeoutCode int = 408
GeographicSiteFindRequestTimeoutCode is the HTTP code returned for type GeographicSiteFindRequestTimeout
GeographicSiteFindServiceUnavailableCode is the HTTP code returned for type GeographicSiteFindServiceUnavailable
GeographicSiteFindUnauthorizedCode is the HTTP code returned for type GeographicSiteFindUnauthorized
const GeographicSiteFindUnprocessableEntityCode int = 422
GeographicSiteFindUnprocessableEntityCode is the HTTP code returned for type GeographicSiteFindUnprocessableEntity
const GeographicSiteGetBadRequestCode int = 400
GeographicSiteGetBadRequestCode is the HTTP code returned for type GeographicSiteGetBadRequest
const GeographicSiteGetInternalServerErrorCode int = 500
GeographicSiteGetInternalServerErrorCode is the HTTP code returned for type GeographicSiteGetInternalServerError
const GeographicSiteGetNotFoundCode int = 404
GeographicSiteGetNotFoundCode is the HTTP code returned for type GeographicSiteGetNotFound
const GeographicSiteGetOKCode int = 200
GeographicSiteGetOKCode is the HTTP code returned for type GeographicSiteGetOK
const GeographicSiteGetRequestTimeoutCode int = 408
GeographicSiteGetRequestTimeoutCode is the HTTP code returned for type GeographicSiteGetRequestTimeout
GeographicSiteGetServiceUnavailableCode is the HTTP code returned for type GeographicSiteGetServiceUnavailable
GeographicSiteGetUnauthorizedCode is the HTTP code returned for type GeographicSiteGetUnauthorized
const GeographicSiteGetUnprocessableEntityCode int = 422
GeographicSiteGetUnprocessableEntityCode is the HTTP code returned for type GeographicSiteGetUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeographicSiteFind ¶
type GeographicSiteFind struct { Context *middleware.Context Handler GeographicSiteFindHandler }
GeographicSiteFind swagger:route GET /geographicSiteManagement/v3/geographicSite GeographicSite geographicSiteFind
retrieveGeographicSites
The Buyer requests that the Seller provides a list of Service Sites known to the Seller based on a set of Site/Address filter criteria. For each Service Site returned, the Seller also provides a Service Site Identifier, which uniquely identifies this Service Site within the Seller.
func NewGeographicSiteFind ¶
func NewGeographicSiteFind(ctx *middleware.Context, handler GeographicSiteFindHandler) *GeographicSiteFind
NewGeographicSiteFind creates a new http.Handler for the geographic site find operation
func (*GeographicSiteFind) ServeHTTP ¶
func (o *GeographicSiteFind) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GeographicSiteFindBadRequest ¶
type GeographicSiteFindBadRequest struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicSiteFindBadRequest 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 geographicSiteFindBadRequest
func NewGeographicSiteFindBadRequest ¶
func NewGeographicSiteFindBadRequest() *GeographicSiteFindBadRequest
NewGeographicSiteFindBadRequest creates GeographicSiteFindBadRequest with default headers values
func (*GeographicSiteFindBadRequest) SetPayload ¶
func (o *GeographicSiteFindBadRequest) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site find bad request response
func (*GeographicSiteFindBadRequest) WithPayload ¶
func (o *GeographicSiteFindBadRequest) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindBadRequest
WithPayload adds the payload to the geographic site find bad request response
func (*GeographicSiteFindBadRequest) WriteResponse ¶
func (o *GeographicSiteFindBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteFindHandler ¶
type GeographicSiteFindHandler interface {
Handle(GeographicSiteFindParams, *models.Principal) middleware.Responder
}
GeographicSiteFindHandler interface for that can handle valid geographic site find params
type GeographicSiteFindHandlerFunc ¶
type GeographicSiteFindHandlerFunc func(GeographicSiteFindParams, *models.Principal) middleware.Responder
GeographicSiteFindHandlerFunc turns a function with the right signature into a geographic site find handler
func (GeographicSiteFindHandlerFunc) Handle ¶
func (fn GeographicSiteFindHandlerFunc) Handle(params GeographicSiteFindParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GeographicSiteFindInternalServerError ¶
type GeographicSiteFindInternalServerError struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicSiteFindInternalServerError Internal Server Error
List of supported error codes: - 1: Internal error
swagger:response geographicSiteFindInternalServerError
func NewGeographicSiteFindInternalServerError ¶
func NewGeographicSiteFindInternalServerError() *GeographicSiteFindInternalServerError
NewGeographicSiteFindInternalServerError creates GeographicSiteFindInternalServerError with default headers values
func (*GeographicSiteFindInternalServerError) SetPayload ¶
func (o *GeographicSiteFindInternalServerError) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site find internal server error response
func (*GeographicSiteFindInternalServerError) WithPayload ¶
func (o *GeographicSiteFindInternalServerError) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindInternalServerError
WithPayload adds the payload to the geographic site find internal server error response
func (*GeographicSiteFindInternalServerError) WriteResponse ¶
func (o *GeographicSiteFindInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteFindNotFound ¶
type GeographicSiteFindNotFound struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicSiteFindNotFound Not Found
List of supported error codes: - 60: Resource not found
swagger:response geographicSiteFindNotFound
func NewGeographicSiteFindNotFound ¶
func NewGeographicSiteFindNotFound() *GeographicSiteFindNotFound
NewGeographicSiteFindNotFound creates GeographicSiteFindNotFound with default headers values
func (*GeographicSiteFindNotFound) SetPayload ¶
func (o *GeographicSiteFindNotFound) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site find not found response
func (*GeographicSiteFindNotFound) WithPayload ¶
func (o *GeographicSiteFindNotFound) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindNotFound
WithPayload adds the payload to the geographic site find not found response
func (*GeographicSiteFindNotFound) WriteResponse ¶
func (o *GeographicSiteFindNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteFindOK ¶
type GeographicSiteFindOK struct { /* In: Body */ Payload []*models.GeographicSiteFindResp `json:"body,omitempty"` }
GeographicSiteFindOK Ok
swagger:response geographicSiteFindOK
func NewGeographicSiteFindOK ¶
func NewGeographicSiteFindOK() *GeographicSiteFindOK
NewGeographicSiteFindOK creates GeographicSiteFindOK with default headers values
func (*GeographicSiteFindOK) SetPayload ¶
func (o *GeographicSiteFindOK) SetPayload(payload []*models.GeographicSiteFindResp)
SetPayload sets the payload to the geographic site find o k response
func (*GeographicSiteFindOK) WithPayload ¶
func (o *GeographicSiteFindOK) WithPayload(payload []*models.GeographicSiteFindResp) *GeographicSiteFindOK
WithPayload adds the payload to the geographic site find o k response
func (*GeographicSiteFindOK) WriteResponse ¶
func (o *GeographicSiteFindOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteFindParams ¶
type GeographicSiteFindParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*City of the geographic site address In: query */ GeographicAddressCity *string /*Country of the geographic site address In: query */ GeographicAddressCountry *string /*Identifier of a geographic address (from the seller). It could be any type of address reference (fielded, formatted, referenced, geoCode) In: query */ GeographicAddressID *string /*Postcode of the geographic site address In: query */ GeographicAddressPostcode *string /*Street Name of the geographic site address In: query */ GeographicAddressStreetName *string /*Street Nr of the geographic site address In: query */ GeographicAddressStreetNr *string /*Street Type of the geographic site address In: query */ GeographicAddressStreetType *string /*The name of the company that is the administrative authority (e.g. controls access) for this Service Site. (For example, the building owner) In: query */ SiteCompanyName *string /*Identifies the name of the person or organization at the specific site location that is the local contact. This contact will primarily be used for gaining access to the site. Filtering is done on the name of the relatedParty which has role ‘Site Contact’ in the Site record. In: query */ SiteContactName *string /*The name of the company that is the administrative authority for the space within this Service Site. (For example, the company leasing space in a multi-tenant building). In: query */ SiteCustomerName *string /*A textual description of the Service Site. In: query */ SiteDescription *string /*A name commonly used by people to refer to this Service Site. In: query */ SiteName *string /*This defines whether a Service Site is public or private. In: query */ SiteType *string /*Status of the site In: query */ Status *string }
GeographicSiteFindParams contains all the bound params for the geographic site find operation typically these are obtained from a http.Request
swagger:parameters geographicSiteFind
func NewGeographicSiteFindParams ¶
func NewGeographicSiteFindParams() GeographicSiteFindParams
NewGeographicSiteFindParams creates a new GeographicSiteFindParams object
There are no default values defined in the spec.
func (*GeographicSiteFindParams) BindRequest ¶
func (o *GeographicSiteFindParams) 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 NewGeographicSiteFindParams() beforehand.
type GeographicSiteFindRequestTimeout ¶
type GeographicSiteFindRequestTimeout struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicSiteFindRequestTimeout Request Time-out
List of supported error codes: - 63: Request time-out
swagger:response geographicSiteFindRequestTimeout
func NewGeographicSiteFindRequestTimeout ¶
func NewGeographicSiteFindRequestTimeout() *GeographicSiteFindRequestTimeout
NewGeographicSiteFindRequestTimeout creates GeographicSiteFindRequestTimeout with default headers values
func (*GeographicSiteFindRequestTimeout) SetPayload ¶
func (o *GeographicSiteFindRequestTimeout) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site find request timeout response
func (*GeographicSiteFindRequestTimeout) WithPayload ¶
func (o *GeographicSiteFindRequestTimeout) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindRequestTimeout
WithPayload adds the payload to the geographic site find request timeout response
func (*GeographicSiteFindRequestTimeout) WriteResponse ¶
func (o *GeographicSiteFindRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteFindServiceUnavailable ¶
type GeographicSiteFindServiceUnavailable struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
GeographicSiteFindServiceUnavailable Service Unavailable
swagger:response geographicSiteFindServiceUnavailable
func NewGeographicSiteFindServiceUnavailable ¶
func NewGeographicSiteFindServiceUnavailable() *GeographicSiteFindServiceUnavailable
NewGeographicSiteFindServiceUnavailable creates GeographicSiteFindServiceUnavailable with default headers values
func (*GeographicSiteFindServiceUnavailable) SetPayload ¶
func (o *GeographicSiteFindServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site find service unavailable response
func (*GeographicSiteFindServiceUnavailable) WithPayload ¶
func (o *GeographicSiteFindServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindServiceUnavailable
WithPayload adds the payload to the geographic site find service unavailable response
func (*GeographicSiteFindServiceUnavailable) WriteResponse ¶
func (o *GeographicSiteFindServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteFindURL ¶
type GeographicSiteFindURL struct { GeographicAddressCity *string GeographicAddressCountry *string GeographicAddressID *string GeographicAddressPostcode *string GeographicAddressStreetName *string GeographicAddressStreetNr *string GeographicAddressStreetType *string SiteCompanyName *string SiteContactName *string SiteCustomerName *string SiteDescription *string SiteName *string SiteType *string Status *string // contains filtered or unexported fields }
GeographicSiteFindURL generates an URL for the geographic site find operation
func (*GeographicSiteFindURL) Build ¶
func (o *GeographicSiteFindURL) Build() (*url.URL, error)
Build a url path and query string
func (*GeographicSiteFindURL) BuildFull ¶
func (o *GeographicSiteFindURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GeographicSiteFindURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GeographicSiteFindURL) SetBasePath ¶
func (o *GeographicSiteFindURL) 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 (*GeographicSiteFindURL) String ¶
func (o *GeographicSiteFindURL) String() string
String returns the string representation of the path with query string
func (*GeographicSiteFindURL) StringFull ¶
func (o *GeographicSiteFindURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GeographicSiteFindURL) WithBasePath ¶
func (o *GeographicSiteFindURL) WithBasePath(bp string) *GeographicSiteFindURL
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 GeographicSiteFindUnauthorized ¶
type GeographicSiteFindUnauthorized struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
GeographicSiteFindUnauthorized Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
swagger:response geographicSiteFindUnauthorized
func NewGeographicSiteFindUnauthorized ¶
func NewGeographicSiteFindUnauthorized() *GeographicSiteFindUnauthorized
NewGeographicSiteFindUnauthorized creates GeographicSiteFindUnauthorized with default headers values
func (*GeographicSiteFindUnauthorized) SetPayload ¶
func (o *GeographicSiteFindUnauthorized) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site find unauthorized response
func (*GeographicSiteFindUnauthorized) WithPayload ¶
func (o *GeographicSiteFindUnauthorized) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindUnauthorized
WithPayload adds the payload to the geographic site find unauthorized response
func (*GeographicSiteFindUnauthorized) WriteResponse ¶
func (o *GeographicSiteFindUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteFindUnprocessableEntity ¶
type GeographicSiteFindUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicSiteFindUnprocessableEntity Unprocessable entity
Functional error
- code: 100
message: Too many records retrieved - please restrict requested parameter value(s) description:
swagger:response geographicSiteFindUnprocessableEntity
func NewGeographicSiteFindUnprocessableEntity ¶
func NewGeographicSiteFindUnprocessableEntity() *GeographicSiteFindUnprocessableEntity
NewGeographicSiteFindUnprocessableEntity creates GeographicSiteFindUnprocessableEntity with default headers values
func (*GeographicSiteFindUnprocessableEntity) SetPayload ¶
func (o *GeographicSiteFindUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site find unprocessable entity response
func (*GeographicSiteFindUnprocessableEntity) WithPayload ¶
func (o *GeographicSiteFindUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteFindUnprocessableEntity
WithPayload adds the payload to the geographic site find unprocessable entity response
func (*GeographicSiteFindUnprocessableEntity) WriteResponse ¶
func (o *GeographicSiteFindUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteGet ¶
type GeographicSiteGet struct { Context *middleware.Context Handler GeographicSiteGetHandler }
GeographicSiteGet swagger:route GET /geographicSiteManagement/v3/geographicSite/{SiteId} GeographicSite geographicSiteGet
retrieveSite
The Buyer requests the full details for a single Service Site based on a Service Site identifier that was previously provided by the Seller.
func NewGeographicSiteGet ¶
func NewGeographicSiteGet(ctx *middleware.Context, handler GeographicSiteGetHandler) *GeographicSiteGet
NewGeographicSiteGet creates a new http.Handler for the geographic site get operation
func (*GeographicSiteGet) ServeHTTP ¶
func (o *GeographicSiteGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GeographicSiteGetBadRequest ¶
type GeographicSiteGetBadRequest struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicSiteGetBadRequest 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 geographicSiteGetBadRequest
func NewGeographicSiteGetBadRequest ¶
func NewGeographicSiteGetBadRequest() *GeographicSiteGetBadRequest
NewGeographicSiteGetBadRequest creates GeographicSiteGetBadRequest with default headers values
func (*GeographicSiteGetBadRequest) SetPayload ¶
func (o *GeographicSiteGetBadRequest) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site get bad request response
func (*GeographicSiteGetBadRequest) WithPayload ¶
func (o *GeographicSiteGetBadRequest) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetBadRequest
WithPayload adds the payload to the geographic site get bad request response
func (*GeographicSiteGetBadRequest) WriteResponse ¶
func (o *GeographicSiteGetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteGetHandler ¶
type GeographicSiteGetHandler interface {
Handle(GeographicSiteGetParams, *models.Principal) middleware.Responder
}
GeographicSiteGetHandler interface for that can handle valid geographic site get params
type GeographicSiteGetHandlerFunc ¶
type GeographicSiteGetHandlerFunc func(GeographicSiteGetParams, *models.Principal) middleware.Responder
GeographicSiteGetHandlerFunc turns a function with the right signature into a geographic site get handler
func (GeographicSiteGetHandlerFunc) Handle ¶
func (fn GeographicSiteGetHandlerFunc) Handle(params GeographicSiteGetParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GeographicSiteGetInternalServerError ¶
type GeographicSiteGetInternalServerError struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicSiteGetInternalServerError Internal Server Error
List of supported error codes: - 1: Internal error
swagger:response geographicSiteGetInternalServerError
func NewGeographicSiteGetInternalServerError ¶
func NewGeographicSiteGetInternalServerError() *GeographicSiteGetInternalServerError
NewGeographicSiteGetInternalServerError creates GeographicSiteGetInternalServerError with default headers values
func (*GeographicSiteGetInternalServerError) SetPayload ¶
func (o *GeographicSiteGetInternalServerError) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site get internal server error response
func (*GeographicSiteGetInternalServerError) WithPayload ¶
func (o *GeographicSiteGetInternalServerError) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetInternalServerError
WithPayload adds the payload to the geographic site get internal server error response
func (*GeographicSiteGetInternalServerError) WriteResponse ¶
func (o *GeographicSiteGetInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteGetNotFound ¶
type GeographicSiteGetNotFound struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicSiteGetNotFound Not Found
List of supported error codes: - 60: Resource not found
swagger:response geographicSiteGetNotFound
func NewGeographicSiteGetNotFound ¶
func NewGeographicSiteGetNotFound() *GeographicSiteGetNotFound
NewGeographicSiteGetNotFound creates GeographicSiteGetNotFound with default headers values
func (*GeographicSiteGetNotFound) SetPayload ¶
func (o *GeographicSiteGetNotFound) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site get not found response
func (*GeographicSiteGetNotFound) WithPayload ¶
func (o *GeographicSiteGetNotFound) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetNotFound
WithPayload adds the payload to the geographic site get not found response
func (*GeographicSiteGetNotFound) WriteResponse ¶
func (o *GeographicSiteGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteGetOK ¶
type GeographicSiteGetOK struct { /* In: Body */ Payload *models.GeographicSite `json:"body,omitempty"` }
GeographicSiteGetOK Ok
swagger:response geographicSiteGetOK
func NewGeographicSiteGetOK ¶
func NewGeographicSiteGetOK() *GeographicSiteGetOK
NewGeographicSiteGetOK creates GeographicSiteGetOK with default headers values
func (*GeographicSiteGetOK) SetPayload ¶
func (o *GeographicSiteGetOK) SetPayload(payload *models.GeographicSite)
SetPayload sets the payload to the geographic site get o k response
func (*GeographicSiteGetOK) WithPayload ¶
func (o *GeographicSiteGetOK) WithPayload(payload *models.GeographicSite) *GeographicSiteGetOK
WithPayload adds the payload to the geographic site get o k response
func (*GeographicSiteGetOK) WriteResponse ¶
func (o *GeographicSiteGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteGetParams ¶
type GeographicSiteGetParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ SiteID string }
GeographicSiteGetParams contains all the bound params for the geographic site get operation typically these are obtained from a http.Request
swagger:parameters geographicSiteGet
func NewGeographicSiteGetParams ¶
func NewGeographicSiteGetParams() GeographicSiteGetParams
NewGeographicSiteGetParams creates a new GeographicSiteGetParams object
There are no default values defined in the spec.
func (*GeographicSiteGetParams) BindRequest ¶
func (o *GeographicSiteGetParams) 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 NewGeographicSiteGetParams() beforehand.
type GeographicSiteGetRequestTimeout ¶
type GeographicSiteGetRequestTimeout struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicSiteGetRequestTimeout Request Time-out
List of supported error codes: - 63: Request time-out
swagger:response geographicSiteGetRequestTimeout
func NewGeographicSiteGetRequestTimeout ¶
func NewGeographicSiteGetRequestTimeout() *GeographicSiteGetRequestTimeout
NewGeographicSiteGetRequestTimeout creates GeographicSiteGetRequestTimeout with default headers values
func (*GeographicSiteGetRequestTimeout) SetPayload ¶
func (o *GeographicSiteGetRequestTimeout) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site get request timeout response
func (*GeographicSiteGetRequestTimeout) WithPayload ¶
func (o *GeographicSiteGetRequestTimeout) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetRequestTimeout
WithPayload adds the payload to the geographic site get request timeout response
func (*GeographicSiteGetRequestTimeout) WriteResponse ¶
func (o *GeographicSiteGetRequestTimeout) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteGetServiceUnavailable ¶
type GeographicSiteGetServiceUnavailable struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
GeographicSiteGetServiceUnavailable Service Unavailable
swagger:response geographicSiteGetServiceUnavailable
func NewGeographicSiteGetServiceUnavailable ¶
func NewGeographicSiteGetServiceUnavailable() *GeographicSiteGetServiceUnavailable
NewGeographicSiteGetServiceUnavailable creates GeographicSiteGetServiceUnavailable with default headers values
func (*GeographicSiteGetServiceUnavailable) SetPayload ¶
func (o *GeographicSiteGetServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site get service unavailable response
func (*GeographicSiteGetServiceUnavailable) WithPayload ¶
func (o *GeographicSiteGetServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetServiceUnavailable
WithPayload adds the payload to the geographic site get service unavailable response
func (*GeographicSiteGetServiceUnavailable) WriteResponse ¶
func (o *GeographicSiteGetServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteGetURL ¶
type GeographicSiteGetURL struct { SiteID string // contains filtered or unexported fields }
GeographicSiteGetURL generates an URL for the geographic site get operation
func (*GeographicSiteGetURL) Build ¶
func (o *GeographicSiteGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*GeographicSiteGetURL) BuildFull ¶
func (o *GeographicSiteGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GeographicSiteGetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GeographicSiteGetURL) SetBasePath ¶
func (o *GeographicSiteGetURL) 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 (*GeographicSiteGetURL) String ¶
func (o *GeographicSiteGetURL) String() string
String returns the string representation of the path with query string
func (*GeographicSiteGetURL) StringFull ¶
func (o *GeographicSiteGetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GeographicSiteGetURL) WithBasePath ¶
func (o *GeographicSiteGetURL) WithBasePath(bp string) *GeographicSiteGetURL
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 GeographicSiteGetUnauthorized ¶
type GeographicSiteGetUnauthorized struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
GeographicSiteGetUnauthorized Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
swagger:response geographicSiteGetUnauthorized
func NewGeographicSiteGetUnauthorized ¶
func NewGeographicSiteGetUnauthorized() *GeographicSiteGetUnauthorized
NewGeographicSiteGetUnauthorized creates GeographicSiteGetUnauthorized with default headers values
func (*GeographicSiteGetUnauthorized) SetPayload ¶
func (o *GeographicSiteGetUnauthorized) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site get unauthorized response
func (*GeographicSiteGetUnauthorized) WithPayload ¶
func (o *GeographicSiteGetUnauthorized) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetUnauthorized
WithPayload adds the payload to the geographic site get unauthorized response
func (*GeographicSiteGetUnauthorized) WriteResponse ¶
func (o *GeographicSiteGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicSiteGetUnprocessableEntity ¶
type GeographicSiteGetUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicSiteGetUnprocessableEntity Unprocessable entity
Functional error ¶
swagger:response geographicSiteGetUnprocessableEntity
func NewGeographicSiteGetUnprocessableEntity ¶
func NewGeographicSiteGetUnprocessableEntity() *GeographicSiteGetUnprocessableEntity
NewGeographicSiteGetUnprocessableEntity creates GeographicSiteGetUnprocessableEntity with default headers values
func (*GeographicSiteGetUnprocessableEntity) SetPayload ¶
func (o *GeographicSiteGetUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic site get unprocessable entity response
func (*GeographicSiteGetUnprocessableEntity) WithPayload ¶
func (o *GeographicSiteGetUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *GeographicSiteGetUnprocessableEntity
WithPayload adds the payload to the geographic site get unprocessable entity response
func (*GeographicSiteGetUnprocessableEntity) WriteResponse ¶
func (o *GeographicSiteGetUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client