geographic_site

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

View Source
const GeographicSiteFindBadRequestCode int = 400

GeographicSiteFindBadRequestCode is the HTTP code returned for type GeographicSiteFindBadRequest

View Source
const GeographicSiteFindInternalServerErrorCode int = 500

GeographicSiteFindInternalServerErrorCode is the HTTP code returned for type GeographicSiteFindInternalServerError

View Source
const GeographicSiteFindNotFoundCode int = 404

GeographicSiteFindNotFoundCode is the HTTP code returned for type GeographicSiteFindNotFound

View Source
const GeographicSiteFindOKCode int = 200

GeographicSiteFindOKCode is the HTTP code returned for type GeographicSiteFindOK

View Source
const GeographicSiteFindRequestTimeoutCode int = 408

GeographicSiteFindRequestTimeoutCode is the HTTP code returned for type GeographicSiteFindRequestTimeout

View Source
const GeographicSiteFindServiceUnavailableCode int = 503

GeographicSiteFindServiceUnavailableCode is the HTTP code returned for type GeographicSiteFindServiceUnavailable

View Source
const GeographicSiteFindUnauthorizedCode int = 401

GeographicSiteFindUnauthorizedCode is the HTTP code returned for type GeographicSiteFindUnauthorized

View Source
const GeographicSiteFindUnprocessableEntityCode int = 422

GeographicSiteFindUnprocessableEntityCode is the HTTP code returned for type GeographicSiteFindUnprocessableEntity

View Source
const GeographicSiteGetBadRequestCode int = 400

GeographicSiteGetBadRequestCode is the HTTP code returned for type GeographicSiteGetBadRequest

View Source
const GeographicSiteGetInternalServerErrorCode int = 500

GeographicSiteGetInternalServerErrorCode is the HTTP code returned for type GeographicSiteGetInternalServerError

View Source
const GeographicSiteGetNotFoundCode int = 404

GeographicSiteGetNotFoundCode is the HTTP code returned for type GeographicSiteGetNotFound

View Source
const GeographicSiteGetOKCode int = 200

GeographicSiteGetOKCode is the HTTP code returned for type GeographicSiteGetOK

View Source
const GeographicSiteGetRequestTimeoutCode int = 408

GeographicSiteGetRequestTimeoutCode is the HTTP code returned for type GeographicSiteGetRequestTimeout

View Source
const GeographicSiteGetServiceUnavailableCode int = 503

GeographicSiteGetServiceUnavailableCode is the HTTP code returned for type GeographicSiteGetServiceUnavailable

View Source
const GeographicSiteGetUnauthorizedCode int = 401

GeographicSiteGetUnauthorizedCode is the HTTP code returned for type GeographicSiteGetUnauthorized

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

SetPayload sets the payload to the geographic site find bad request response

func (*GeographicSiteFindBadRequest) WithPayload

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

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

SetPayload sets the payload to the geographic site find internal server error response

func (*GeographicSiteFindInternalServerError) WithPayload

WithPayload adds the payload to the geographic site find internal server error response

func (*GeographicSiteFindInternalServerError) WriteResponse

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

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

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

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

SetPayload sets the payload to the geographic site find request timeout response

func (*GeographicSiteFindRequestTimeout) WithPayload

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 {

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

GeographicSiteFindServiceUnavailable Service Unavailable

swagger:response geographicSiteFindServiceUnavailable

func NewGeographicSiteFindServiceUnavailable

func NewGeographicSiteFindServiceUnavailable() *GeographicSiteFindServiceUnavailable

NewGeographicSiteFindServiceUnavailable creates GeographicSiteFindServiceUnavailable with default headers values

func (*GeographicSiteFindServiceUnavailable) SetPayload

SetPayload sets the payload to the geographic site find service unavailable response

func (*GeographicSiteFindServiceUnavailable) WithPayload

WithPayload adds the payload to the geographic site find service unavailable response

func (*GeographicSiteFindServiceUnavailable) WriteResponse

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

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

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 {

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

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

SetPayload sets the payload to the geographic site find unauthorized response

func (*GeographicSiteFindUnauthorized) WithPayload

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

SetPayload sets the payload to the geographic site find unprocessable entity response

func (*GeographicSiteFindUnprocessableEntity) WithPayload

WithPayload adds the payload to the geographic site find unprocessable entity response

func (*GeographicSiteFindUnprocessableEntity) WriteResponse

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

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

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

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

func (*GeographicSiteGetInternalServerError) WithPayload

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

func (*GeographicSiteGetInternalServerError) WriteResponse

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

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

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

SetPayload sets the payload to the geographic site get request timeout response

func (*GeographicSiteGetRequestTimeout) WithPayload

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 {

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

GeographicSiteGetServiceUnavailable Service Unavailable

swagger:response geographicSiteGetServiceUnavailable

func NewGeographicSiteGetServiceUnavailable

func NewGeographicSiteGetServiceUnavailable() *GeographicSiteGetServiceUnavailable

NewGeographicSiteGetServiceUnavailable creates GeographicSiteGetServiceUnavailable with default headers values

func (*GeographicSiteGetServiceUnavailable) SetPayload

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

func (*GeographicSiteGetServiceUnavailable) WithPayload

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

func (*GeographicSiteGetServiceUnavailable) WriteResponse

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

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

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 {

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

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

SetPayload sets the payload to the geographic site get unauthorized response

func (*GeographicSiteGetUnauthorized) WithPayload

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

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

func (*GeographicSiteGetUnprocessableEntity) WithPayload

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

func (*GeographicSiteGetUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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