geographic_site

package
v0.0.0-...-c4e9093 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for geographic site API

func (*Client) GeographicSiteFind

func (a *Client) GeographicSiteFind(params *GeographicSiteFindParams) (*GeographicSiteFindOK, error)

GeographicSiteFind retrieves geographic sites

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 (*Client) GeographicSiteGet

func (a *Client) GeographicSiteGet(params *GeographicSiteGetParams) (*GeographicSiteGetOK, error)

GeographicSiteGet retrieves site

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 (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GeographicSiteFind(params *GeographicSiteFindParams) (*GeographicSiteFindOK, error)

	GeographicSiteGet(params *GeographicSiteGetParams) (*GeographicSiteGetOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new geographic site API client.

type GeographicSiteFindBadRequest

type GeographicSiteFindBadRequest struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteFindBadRequest handles this case with default header values.

Bad Request

List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value

func NewGeographicSiteFindBadRequest

func NewGeographicSiteFindBadRequest() *GeographicSiteFindBadRequest

NewGeographicSiteFindBadRequest creates a GeographicSiteFindBadRequest with default headers values

func (*GeographicSiteFindBadRequest) Error

func (*GeographicSiteFindBadRequest) GetPayload

type GeographicSiteFindInternalServerError

type GeographicSiteFindInternalServerError struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteFindInternalServerError handles this case with default header values.

Internal Server Error

List of supported error codes: - 1: Internal error

func NewGeographicSiteFindInternalServerError

func NewGeographicSiteFindInternalServerError() *GeographicSiteFindInternalServerError

NewGeographicSiteFindInternalServerError creates a GeographicSiteFindInternalServerError with default headers values

func (*GeographicSiteFindInternalServerError) Error

func (*GeographicSiteFindInternalServerError) GetPayload

type GeographicSiteFindNotFound

type GeographicSiteFindNotFound struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteFindNotFound handles this case with default header values.

Not Found

List of supported error codes: - 60: Resource not found

func NewGeographicSiteFindNotFound

func NewGeographicSiteFindNotFound() *GeographicSiteFindNotFound

NewGeographicSiteFindNotFound creates a GeographicSiteFindNotFound with default headers values

func (*GeographicSiteFindNotFound) Error

func (*GeographicSiteFindNotFound) GetPayload

type GeographicSiteFindOK

type GeographicSiteFindOK struct {
	Payload []*models.GeographicSiteFindResp
}

GeographicSiteFindOK handles this case with default header values.

Ok

func NewGeographicSiteFindOK

func NewGeographicSiteFindOK() *GeographicSiteFindOK

NewGeographicSiteFindOK creates a GeographicSiteFindOK with default headers values

func (*GeographicSiteFindOK) Error

func (o *GeographicSiteFindOK) Error() string

func (*GeographicSiteFindOK) GetPayload

type GeographicSiteFindParams

type GeographicSiteFindParams struct {

	/*GeographicAddressCity
	  City of the geographic site address

	*/
	GeographicAddressCity *string
	/*GeographicAddressCountry
	  Country of the geographic site address

	*/
	GeographicAddressCountry *string
	/*GeographicAddressID
	  Identifier of a geographic address (from the seller). It could be any type of address reference (fielded, formatted, referenced, geoCode)

	*/
	GeographicAddressID *string
	/*GeographicAddressPostcode
	  Postcode of the geographic site address

	*/
	GeographicAddressPostcode *string
	/*GeographicAddressStreetName
	  Street Name of the geographic site address

	*/
	GeographicAddressStreetName *string
	/*GeographicAddressStreetNr
	  Street Nr of the geographic site address

	*/
	GeographicAddressStreetNr *string
	/*GeographicAddressStreetType
	  Street Type of the geographic site address

	*/
	GeographicAddressStreetType *string
	/*SiteCompanyName
	  The name of the company that is the administrative authority (e.g. controls access) for this Service Site. (For example, the building owner)

	*/
	SiteCompanyName *string
	/*SiteContactName
	  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.

	*/
	SiteContactName *string
	/*SiteCustomerName
	  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).

	*/
	SiteCustomerName *string
	/*SiteDescription
	  A textual description of the Service Site.

	*/
	SiteDescription *string
	/*SiteName
	  A name commonly used by people to refer to this Service Site.

	*/
	SiteName *string
	/*SiteType
	  This defines whether a Service Site is public or private.

	*/
	SiteType *string
	/*Status
	  Status of the site

	*/
	Status *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GeographicSiteFindParams contains all the parameters to send to the API endpoint for the geographic site find operation typically these are written to a http.Request

func NewGeographicSiteFindParams

func NewGeographicSiteFindParams() *GeographicSiteFindParams

NewGeographicSiteFindParams creates a new GeographicSiteFindParams object with the default values initialized.

func NewGeographicSiteFindParamsWithContext

func NewGeographicSiteFindParamsWithContext(ctx context.Context) *GeographicSiteFindParams

NewGeographicSiteFindParamsWithContext creates a new GeographicSiteFindParams object with the default values initialized, and the ability to set a context for a request

func NewGeographicSiteFindParamsWithHTTPClient

func NewGeographicSiteFindParamsWithHTTPClient(client *http.Client) *GeographicSiteFindParams

NewGeographicSiteFindParamsWithHTTPClient creates a new GeographicSiteFindParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGeographicSiteFindParamsWithTimeout

func NewGeographicSiteFindParamsWithTimeout(timeout time.Duration) *GeographicSiteFindParams

NewGeographicSiteFindParamsWithTimeout creates a new GeographicSiteFindParams object with the default values initialized, and the ability to set a timeout on a request

func (*GeographicSiteFindParams) SetContext

func (o *GeographicSiteFindParams) SetContext(ctx context.Context)

SetContext adds the context to the geographic site find params

func (*GeographicSiteFindParams) SetGeographicAddressCity

func (o *GeographicSiteFindParams) SetGeographicAddressCity(geographicAddressCity *string)

SetGeographicAddressCity adds the geographicAddressCity to the geographic site find params

func (*GeographicSiteFindParams) SetGeographicAddressCountry

func (o *GeographicSiteFindParams) SetGeographicAddressCountry(geographicAddressCountry *string)

SetGeographicAddressCountry adds the geographicAddressCountry to the geographic site find params

func (*GeographicSiteFindParams) SetGeographicAddressID

func (o *GeographicSiteFindParams) SetGeographicAddressID(geographicAddressID *string)

SetGeographicAddressID adds the geographicAddressId to the geographic site find params

func (*GeographicSiteFindParams) SetGeographicAddressPostcode

func (o *GeographicSiteFindParams) SetGeographicAddressPostcode(geographicAddressPostcode *string)

SetGeographicAddressPostcode adds the geographicAddressPostcode to the geographic site find params

func (*GeographicSiteFindParams) SetGeographicAddressStreetName

func (o *GeographicSiteFindParams) SetGeographicAddressStreetName(geographicAddressStreetName *string)

SetGeographicAddressStreetName adds the geographicAddressStreetName to the geographic site find params

func (*GeographicSiteFindParams) SetGeographicAddressStreetNr

func (o *GeographicSiteFindParams) SetGeographicAddressStreetNr(geographicAddressStreetNr *string)

SetGeographicAddressStreetNr adds the geographicAddressStreetNr to the geographic site find params

func (*GeographicSiteFindParams) SetGeographicAddressStreetType

func (o *GeographicSiteFindParams) SetGeographicAddressStreetType(geographicAddressStreetType *string)

SetGeographicAddressStreetType adds the geographicAddressStreetType to the geographic site find params

func (*GeographicSiteFindParams) SetHTTPClient

func (o *GeographicSiteFindParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the geographic site find params

func (*GeographicSiteFindParams) SetSiteCompanyName

func (o *GeographicSiteFindParams) SetSiteCompanyName(siteCompanyName *string)

SetSiteCompanyName adds the siteCompanyName to the geographic site find params

func (*GeographicSiteFindParams) SetSiteContactName

func (o *GeographicSiteFindParams) SetSiteContactName(siteContactName *string)

SetSiteContactName adds the siteContactName to the geographic site find params

func (*GeographicSiteFindParams) SetSiteCustomerName

func (o *GeographicSiteFindParams) SetSiteCustomerName(siteCustomerName *string)

SetSiteCustomerName adds the siteCustomerName to the geographic site find params

func (*GeographicSiteFindParams) SetSiteDescription

func (o *GeographicSiteFindParams) SetSiteDescription(siteDescription *string)

SetSiteDescription adds the siteDescription to the geographic site find params

func (*GeographicSiteFindParams) SetSiteName

func (o *GeographicSiteFindParams) SetSiteName(siteName *string)

SetSiteName adds the siteName to the geographic site find params

func (*GeographicSiteFindParams) SetSiteType

func (o *GeographicSiteFindParams) SetSiteType(siteType *string)

SetSiteType adds the siteType to the geographic site find params

func (*GeographicSiteFindParams) SetStatus

func (o *GeographicSiteFindParams) SetStatus(status *string)

SetStatus adds the status to the geographic site find params

func (*GeographicSiteFindParams) SetTimeout

func (o *GeographicSiteFindParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the geographic site find params

func (*GeographicSiteFindParams) WithContext

WithContext adds the context to the geographic site find params

func (*GeographicSiteFindParams) WithGeographicAddressCity

func (o *GeographicSiteFindParams) WithGeographicAddressCity(geographicAddressCity *string) *GeographicSiteFindParams

WithGeographicAddressCity adds the geographicAddressCity to the geographic site find params

func (*GeographicSiteFindParams) WithGeographicAddressCountry

func (o *GeographicSiteFindParams) WithGeographicAddressCountry(geographicAddressCountry *string) *GeographicSiteFindParams

WithGeographicAddressCountry adds the geographicAddressCountry to the geographic site find params

func (*GeographicSiteFindParams) WithGeographicAddressID

func (o *GeographicSiteFindParams) WithGeographicAddressID(geographicAddressID *string) *GeographicSiteFindParams

WithGeographicAddressID adds the geographicAddressID to the geographic site find params

func (*GeographicSiteFindParams) WithGeographicAddressPostcode

func (o *GeographicSiteFindParams) WithGeographicAddressPostcode(geographicAddressPostcode *string) *GeographicSiteFindParams

WithGeographicAddressPostcode adds the geographicAddressPostcode to the geographic site find params

func (*GeographicSiteFindParams) WithGeographicAddressStreetName

func (o *GeographicSiteFindParams) WithGeographicAddressStreetName(geographicAddressStreetName *string) *GeographicSiteFindParams

WithGeographicAddressStreetName adds the geographicAddressStreetName to the geographic site find params

func (*GeographicSiteFindParams) WithGeographicAddressStreetNr

func (o *GeographicSiteFindParams) WithGeographicAddressStreetNr(geographicAddressStreetNr *string) *GeographicSiteFindParams

WithGeographicAddressStreetNr adds the geographicAddressStreetNr to the geographic site find params

func (*GeographicSiteFindParams) WithGeographicAddressStreetType

func (o *GeographicSiteFindParams) WithGeographicAddressStreetType(geographicAddressStreetType *string) *GeographicSiteFindParams

WithGeographicAddressStreetType adds the geographicAddressStreetType to the geographic site find params

func (*GeographicSiteFindParams) WithHTTPClient

func (o *GeographicSiteFindParams) WithHTTPClient(client *http.Client) *GeographicSiteFindParams

WithHTTPClient adds the HTTPClient to the geographic site find params

func (*GeographicSiteFindParams) WithSiteCompanyName

func (o *GeographicSiteFindParams) WithSiteCompanyName(siteCompanyName *string) *GeographicSiteFindParams

WithSiteCompanyName adds the siteCompanyName to the geographic site find params

func (*GeographicSiteFindParams) WithSiteContactName

func (o *GeographicSiteFindParams) WithSiteContactName(siteContactName *string) *GeographicSiteFindParams

WithSiteContactName adds the siteContactName to the geographic site find params

func (*GeographicSiteFindParams) WithSiteCustomerName

func (o *GeographicSiteFindParams) WithSiteCustomerName(siteCustomerName *string) *GeographicSiteFindParams

WithSiteCustomerName adds the siteCustomerName to the geographic site find params

func (*GeographicSiteFindParams) WithSiteDescription

func (o *GeographicSiteFindParams) WithSiteDescription(siteDescription *string) *GeographicSiteFindParams

WithSiteDescription adds the siteDescription to the geographic site find params

func (*GeographicSiteFindParams) WithSiteName

func (o *GeographicSiteFindParams) WithSiteName(siteName *string) *GeographicSiteFindParams

WithSiteName adds the siteName to the geographic site find params

func (*GeographicSiteFindParams) WithSiteType

func (o *GeographicSiteFindParams) WithSiteType(siteType *string) *GeographicSiteFindParams

WithSiteType adds the siteType to the geographic site find params

func (*GeographicSiteFindParams) WithStatus

WithStatus adds the status to the geographic site find params

func (*GeographicSiteFindParams) WithTimeout

WithTimeout adds the timeout to the geographic site find params

func (*GeographicSiteFindParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GeographicSiteFindReader

type GeographicSiteFindReader struct {
	// contains filtered or unexported fields
}

GeographicSiteFindReader is a Reader for the GeographicSiteFind structure.

func (*GeographicSiteFindReader) ReadResponse

func (o *GeographicSiteFindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GeographicSiteFindRequestTimeout

type GeographicSiteFindRequestTimeout struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteFindRequestTimeout handles this case with default header values.

Request Time-out

List of supported error codes: - 63: Request time-out

func NewGeographicSiteFindRequestTimeout

func NewGeographicSiteFindRequestTimeout() *GeographicSiteFindRequestTimeout

NewGeographicSiteFindRequestTimeout creates a GeographicSiteFindRequestTimeout with default headers values

func (*GeographicSiteFindRequestTimeout) Error

func (*GeographicSiteFindRequestTimeout) GetPayload

type GeographicSiteFindServiceUnavailable

type GeographicSiteFindServiceUnavailable struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteFindServiceUnavailable handles this case with default header values.

Service Unavailable

func NewGeographicSiteFindServiceUnavailable

func NewGeographicSiteFindServiceUnavailable() *GeographicSiteFindServiceUnavailable

NewGeographicSiteFindServiceUnavailable creates a GeographicSiteFindServiceUnavailable with default headers values

func (*GeographicSiteFindServiceUnavailable) Error

func (*GeographicSiteFindServiceUnavailable) GetPayload

type GeographicSiteFindUnauthorized

type GeographicSiteFindUnauthorized struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteFindUnauthorized handles this case with default header values.

Unauthorized

List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials

func NewGeographicSiteFindUnauthorized

func NewGeographicSiteFindUnauthorized() *GeographicSiteFindUnauthorized

NewGeographicSiteFindUnauthorized creates a GeographicSiteFindUnauthorized with default headers values

func (*GeographicSiteFindUnauthorized) Error

func (*GeographicSiteFindUnauthorized) GetPayload

type GeographicSiteFindUnprocessableEntity

type GeographicSiteFindUnprocessableEntity struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteFindUnprocessableEntity handles this case with default header values.

Unprocessable entity

Functional error

  • code: 100

message: Too many records retrieved - please restrict requested parameter value(s) description:

func NewGeographicSiteFindUnprocessableEntity

func NewGeographicSiteFindUnprocessableEntity() *GeographicSiteFindUnprocessableEntity

NewGeographicSiteFindUnprocessableEntity creates a GeographicSiteFindUnprocessableEntity with default headers values

func (*GeographicSiteFindUnprocessableEntity) Error

func (*GeographicSiteFindUnprocessableEntity) GetPayload

type GeographicSiteGetBadRequest

type GeographicSiteGetBadRequest struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteGetBadRequest handles this case with default header values.

Bad Request

List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value

func NewGeographicSiteGetBadRequest

func NewGeographicSiteGetBadRequest() *GeographicSiteGetBadRequest

NewGeographicSiteGetBadRequest creates a GeographicSiteGetBadRequest with default headers values

func (*GeographicSiteGetBadRequest) Error

func (*GeographicSiteGetBadRequest) GetPayload

type GeographicSiteGetInternalServerError

type GeographicSiteGetInternalServerError struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteGetInternalServerError handles this case with default header values.

Internal Server Error

List of supported error codes: - 1: Internal error

func NewGeographicSiteGetInternalServerError

func NewGeographicSiteGetInternalServerError() *GeographicSiteGetInternalServerError

NewGeographicSiteGetInternalServerError creates a GeographicSiteGetInternalServerError with default headers values

func (*GeographicSiteGetInternalServerError) Error

func (*GeographicSiteGetInternalServerError) GetPayload

type GeographicSiteGetNotFound

type GeographicSiteGetNotFound struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteGetNotFound handles this case with default header values.

Not Found

List of supported error codes: - 60: Resource not found

func NewGeographicSiteGetNotFound

func NewGeographicSiteGetNotFound() *GeographicSiteGetNotFound

NewGeographicSiteGetNotFound creates a GeographicSiteGetNotFound with default headers values

func (*GeographicSiteGetNotFound) Error

func (o *GeographicSiteGetNotFound) Error() string

func (*GeographicSiteGetNotFound) GetPayload

type GeographicSiteGetOK

type GeographicSiteGetOK struct {
	Payload *models.GeographicSite
}

GeographicSiteGetOK handles this case with default header values.

Ok

func NewGeographicSiteGetOK

func NewGeographicSiteGetOK() *GeographicSiteGetOK

NewGeographicSiteGetOK creates a GeographicSiteGetOK with default headers values

func (*GeographicSiteGetOK) Error

func (o *GeographicSiteGetOK) Error() string

func (*GeographicSiteGetOK) GetPayload

func (o *GeographicSiteGetOK) GetPayload() *models.GeographicSite

type GeographicSiteGetParams

type GeographicSiteGetParams struct {

	/*SiteID*/
	SiteID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GeographicSiteGetParams contains all the parameters to send to the API endpoint for the geographic site get operation typically these are written to a http.Request

func NewGeographicSiteGetParams

func NewGeographicSiteGetParams() *GeographicSiteGetParams

NewGeographicSiteGetParams creates a new GeographicSiteGetParams object with the default values initialized.

func NewGeographicSiteGetParamsWithContext

func NewGeographicSiteGetParamsWithContext(ctx context.Context) *GeographicSiteGetParams

NewGeographicSiteGetParamsWithContext creates a new GeographicSiteGetParams object with the default values initialized, and the ability to set a context for a request

func NewGeographicSiteGetParamsWithHTTPClient

func NewGeographicSiteGetParamsWithHTTPClient(client *http.Client) *GeographicSiteGetParams

NewGeographicSiteGetParamsWithHTTPClient creates a new GeographicSiteGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGeographicSiteGetParamsWithTimeout

func NewGeographicSiteGetParamsWithTimeout(timeout time.Duration) *GeographicSiteGetParams

NewGeographicSiteGetParamsWithTimeout creates a new GeographicSiteGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*GeographicSiteGetParams) SetContext

func (o *GeographicSiteGetParams) SetContext(ctx context.Context)

SetContext adds the context to the geographic site get params

func (*GeographicSiteGetParams) SetHTTPClient

func (o *GeographicSiteGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the geographic site get params

func (*GeographicSiteGetParams) SetSiteID

func (o *GeographicSiteGetParams) SetSiteID(siteID string)

SetSiteID adds the siteId to the geographic site get params

func (*GeographicSiteGetParams) SetTimeout

func (o *GeographicSiteGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the geographic site get params

func (*GeographicSiteGetParams) WithContext

WithContext adds the context to the geographic site get params

func (*GeographicSiteGetParams) WithHTTPClient

func (o *GeographicSiteGetParams) WithHTTPClient(client *http.Client) *GeographicSiteGetParams

WithHTTPClient adds the HTTPClient to the geographic site get params

func (*GeographicSiteGetParams) WithSiteID

WithSiteID adds the siteID to the geographic site get params

func (*GeographicSiteGetParams) WithTimeout

WithTimeout adds the timeout to the geographic site get params

func (*GeographicSiteGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GeographicSiteGetReader

type GeographicSiteGetReader struct {
	// contains filtered or unexported fields
}

GeographicSiteGetReader is a Reader for the GeographicSiteGet structure.

func (*GeographicSiteGetReader) ReadResponse

func (o *GeographicSiteGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GeographicSiteGetRequestTimeout

type GeographicSiteGetRequestTimeout struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteGetRequestTimeout handles this case with default header values.

Request Time-out

List of supported error codes: - 63: Request time-out

func NewGeographicSiteGetRequestTimeout

func NewGeographicSiteGetRequestTimeout() *GeographicSiteGetRequestTimeout

NewGeographicSiteGetRequestTimeout creates a GeographicSiteGetRequestTimeout with default headers values

func (*GeographicSiteGetRequestTimeout) Error

func (*GeographicSiteGetRequestTimeout) GetPayload

type GeographicSiteGetServiceUnavailable

type GeographicSiteGetServiceUnavailable struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteGetServiceUnavailable handles this case with default header values.

Service Unavailable

func NewGeographicSiteGetServiceUnavailable

func NewGeographicSiteGetServiceUnavailable() *GeographicSiteGetServiceUnavailable

NewGeographicSiteGetServiceUnavailable creates a GeographicSiteGetServiceUnavailable with default headers values

func (*GeographicSiteGetServiceUnavailable) Error

func (*GeographicSiteGetServiceUnavailable) GetPayload

type GeographicSiteGetUnauthorized

type GeographicSiteGetUnauthorized struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteGetUnauthorized handles this case with default header values.

Unauthorized

List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials

func NewGeographicSiteGetUnauthorized

func NewGeographicSiteGetUnauthorized() *GeographicSiteGetUnauthorized

NewGeographicSiteGetUnauthorized creates a GeographicSiteGetUnauthorized with default headers values

func (*GeographicSiteGetUnauthorized) Error

func (*GeographicSiteGetUnauthorized) GetPayload

type GeographicSiteGetUnprocessableEntity

type GeographicSiteGetUnprocessableEntity struct {
	Payload *models.ErrorRepresentation
}

GeographicSiteGetUnprocessableEntity handles this case with default header values.

Unprocessable entity

Functional error

func NewGeographicSiteGetUnprocessableEntity

func NewGeographicSiteGetUnprocessableEntity() *GeographicSiteGetUnprocessableEntity

NewGeographicSiteGetUnprocessableEntity creates a GeographicSiteGetUnprocessableEntity with default headers values

func (*GeographicSiteGetUnprocessableEntity) Error

func (*GeographicSiteGetUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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