Documentation ¶
Index ¶
- type Client
- type ClientService
- type GeographicSiteFindBadRequest
- type GeographicSiteFindInternalServerError
- type GeographicSiteFindNotFound
- type GeographicSiteFindOK
- type GeographicSiteFindParams
- func NewGeographicSiteFindParams() *GeographicSiteFindParams
- func NewGeographicSiteFindParamsWithContext(ctx context.Context) *GeographicSiteFindParams
- func NewGeographicSiteFindParamsWithHTTPClient(client *http.Client) *GeographicSiteFindParams
- func NewGeographicSiteFindParamsWithTimeout(timeout time.Duration) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) SetContext(ctx context.Context)
- func (o *GeographicSiteFindParams) SetGeographicAddressCity(geographicAddressCity *string)
- func (o *GeographicSiteFindParams) SetGeographicAddressCountry(geographicAddressCountry *string)
- func (o *GeographicSiteFindParams) SetGeographicAddressID(geographicAddressID *string)
- func (o *GeographicSiteFindParams) SetGeographicAddressPostcode(geographicAddressPostcode *string)
- func (o *GeographicSiteFindParams) SetGeographicAddressStreetName(geographicAddressStreetName *string)
- func (o *GeographicSiteFindParams) SetGeographicAddressStreetNr(geographicAddressStreetNr *string)
- func (o *GeographicSiteFindParams) SetGeographicAddressStreetType(geographicAddressStreetType *string)
- func (o *GeographicSiteFindParams) SetHTTPClient(client *http.Client)
- func (o *GeographicSiteFindParams) SetSiteCompanyName(siteCompanyName *string)
- func (o *GeographicSiteFindParams) SetSiteContactName(siteContactName *string)
- func (o *GeographicSiteFindParams) SetSiteCustomerName(siteCustomerName *string)
- func (o *GeographicSiteFindParams) SetSiteDescription(siteDescription *string)
- func (o *GeographicSiteFindParams) SetSiteName(siteName *string)
- func (o *GeographicSiteFindParams) SetSiteType(siteType *string)
- func (o *GeographicSiteFindParams) SetStatus(status *string)
- func (o *GeographicSiteFindParams) SetTimeout(timeout time.Duration)
- func (o *GeographicSiteFindParams) WithContext(ctx context.Context) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithGeographicAddressCity(geographicAddressCity *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithGeographicAddressCountry(geographicAddressCountry *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithGeographicAddressID(geographicAddressID *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithGeographicAddressPostcode(geographicAddressPostcode *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithGeographicAddressStreetName(geographicAddressStreetName *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithGeographicAddressStreetNr(geographicAddressStreetNr *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithGeographicAddressStreetType(geographicAddressStreetType *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithHTTPClient(client *http.Client) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithSiteCompanyName(siteCompanyName *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithSiteContactName(siteContactName *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithSiteCustomerName(siteCustomerName *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithSiteDescription(siteDescription *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithSiteName(siteName *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithSiteType(siteType *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithStatus(status *string) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WithTimeout(timeout time.Duration) *GeographicSiteFindParams
- func (o *GeographicSiteFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GeographicSiteFindReader
- type GeographicSiteFindRequestTimeout
- type GeographicSiteFindServiceUnavailable
- type GeographicSiteFindUnauthorized
- type GeographicSiteFindUnprocessableEntity
- type GeographicSiteGetBadRequest
- type GeographicSiteGetInternalServerError
- type GeographicSiteGetNotFound
- type GeographicSiteGetOK
- type GeographicSiteGetParams
- func NewGeographicSiteGetParams() *GeographicSiteGetParams
- func NewGeographicSiteGetParamsWithContext(ctx context.Context) *GeographicSiteGetParams
- func NewGeographicSiteGetParamsWithHTTPClient(client *http.Client) *GeographicSiteGetParams
- func NewGeographicSiteGetParamsWithTimeout(timeout time.Duration) *GeographicSiteGetParams
- func (o *GeographicSiteGetParams) SetContext(ctx context.Context)
- func (o *GeographicSiteGetParams) SetHTTPClient(client *http.Client)
- func (o *GeographicSiteGetParams) SetSiteID(siteID string)
- func (o *GeographicSiteGetParams) SetTimeout(timeout time.Duration)
- func (o *GeographicSiteGetParams) WithContext(ctx context.Context) *GeographicSiteGetParams
- func (o *GeographicSiteGetParams) WithHTTPClient(client *http.Client) *GeographicSiteGetParams
- func (o *GeographicSiteGetParams) WithSiteID(siteID string) *GeographicSiteGetParams
- func (o *GeographicSiteGetParams) WithTimeout(timeout time.Duration) *GeographicSiteGetParams
- func (o *GeographicSiteGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GeographicSiteGetReader
- type GeographicSiteGetRequestTimeout
- type GeographicSiteGetServiceUnavailable
- type GeographicSiteGetUnauthorized
- type GeographicSiteGetUnprocessableEntity
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 (o *GeographicSiteFindBadRequest) Error() string
func (*GeographicSiteFindBadRequest) GetPayload ¶
func (o *GeographicSiteFindBadRequest) GetPayload() *models.ErrorRepresentation
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 (o *GeographicSiteFindInternalServerError) Error() string
func (*GeographicSiteFindInternalServerError) GetPayload ¶
func (o *GeographicSiteFindInternalServerError) GetPayload() *models.ErrorRepresentation
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 (o *GeographicSiteFindNotFound) Error() string
func (*GeographicSiteFindNotFound) GetPayload ¶
func (o *GeographicSiteFindNotFound) GetPayload() *models.ErrorRepresentation
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 ¶
func (o *GeographicSiteFindOK) GetPayload() []*models.GeographicSiteFindResp
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 ¶
func (o *GeographicSiteFindParams) WithContext(ctx context.Context) *GeographicSiteFindParams
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 ¶
func (o *GeographicSiteFindParams) WithStatus(status *string) *GeographicSiteFindParams
WithStatus adds the status to the geographic site find params
func (*GeographicSiteFindParams) WithTimeout ¶
func (o *GeographicSiteFindParams) WithTimeout(timeout time.Duration) *GeographicSiteFindParams
WithTimeout adds the timeout to the geographic site find params
func (*GeographicSiteFindParams) WriteToRequest ¶
func (o *GeographicSiteFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GeographicSiteFindRequestTimeout) Error() string
func (*GeographicSiteFindRequestTimeout) GetPayload ¶
func (o *GeographicSiteFindRequestTimeout) GetPayload() *models.ErrorRepresentation
type GeographicSiteFindServiceUnavailable ¶
type GeographicSiteFindServiceUnavailable struct {
}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 (o *GeographicSiteFindServiceUnavailable) Error() string
func (*GeographicSiteFindServiceUnavailable) GetPayload ¶
func (o *GeographicSiteFindServiceUnavailable) GetPayload() *models.ErrorRepresentation
type GeographicSiteFindUnauthorized ¶
type GeographicSiteFindUnauthorized struct {
}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 (o *GeographicSiteFindUnauthorized) Error() string
func (*GeographicSiteFindUnauthorized) GetPayload ¶
func (o *GeographicSiteFindUnauthorized) GetPayload() *models.ErrorRepresentation
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 (o *GeographicSiteFindUnprocessableEntity) Error() string
func (*GeographicSiteFindUnprocessableEntity) GetPayload ¶
func (o *GeographicSiteFindUnprocessableEntity) GetPayload() *models.ErrorRepresentation
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 (o *GeographicSiteGetBadRequest) Error() string
func (*GeographicSiteGetBadRequest) GetPayload ¶
func (o *GeographicSiteGetBadRequest) GetPayload() *models.ErrorRepresentation
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 (o *GeographicSiteGetInternalServerError) Error() string
func (*GeographicSiteGetInternalServerError) GetPayload ¶
func (o *GeographicSiteGetInternalServerError) GetPayload() *models.ErrorRepresentation
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 ¶
func (o *GeographicSiteGetNotFound) GetPayload() *models.ErrorRepresentation
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 ¶
func (o *GeographicSiteGetParams) WithContext(ctx context.Context) *GeographicSiteGetParams
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 ¶
func (o *GeographicSiteGetParams) WithSiteID(siteID string) *GeographicSiteGetParams
WithSiteID adds the siteID to the geographic site get params
func (*GeographicSiteGetParams) WithTimeout ¶
func (o *GeographicSiteGetParams) WithTimeout(timeout time.Duration) *GeographicSiteGetParams
WithTimeout adds the timeout to the geographic site get params
func (*GeographicSiteGetParams) WriteToRequest ¶
func (o *GeographicSiteGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GeographicSiteGetRequestTimeout) Error() string
func (*GeographicSiteGetRequestTimeout) GetPayload ¶
func (o *GeographicSiteGetRequestTimeout) GetPayload() *models.ErrorRepresentation
type GeographicSiteGetServiceUnavailable ¶
type GeographicSiteGetServiceUnavailable struct {
}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 (o *GeographicSiteGetServiceUnavailable) Error() string
func (*GeographicSiteGetServiceUnavailable) GetPayload ¶
func (o *GeographicSiteGetServiceUnavailable) GetPayload() *models.ErrorRepresentation
type GeographicSiteGetUnauthorized ¶
type GeographicSiteGetUnauthorized struct {
}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 (o *GeographicSiteGetUnauthorized) Error() string
func (*GeographicSiteGetUnauthorized) GetPayload ¶
func (o *GeographicSiteGetUnauthorized) GetPayload() *models.ErrorRepresentation
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 (o *GeographicSiteGetUnprocessableEntity) Error() string
func (*GeographicSiteGetUnprocessableEntity) GetPayload ¶
func (o *GeographicSiteGetUnprocessableEntity) GetPayload() *models.ErrorRepresentation