Documentation ¶
Index ¶
- type Client
- func (a *Client) Comment(params *CommentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CommentOK, error)
- func (a *Client) Detail1(params *Detail1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*Detail1OK, error)
- func (a *Client) Geocode(params *GeocodeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GeocodeOK, error)
- func (a *Client) Search2(params *Search2Params, authInfo runtime.ClientAuthInfoWriter, ...) (*Search2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CommentOK
- func (o *CommentOK) Error() string
- func (o *CommentOK) GetPayload() *models.NetCommentResponse
- func (o *CommentOK) IsClientError() bool
- func (o *CommentOK) IsCode(code int) bool
- func (o *CommentOK) IsRedirect() bool
- func (o *CommentOK) IsServerError() bool
- func (o *CommentOK) IsSuccess() bool
- func (o *CommentOK) String() string
- type CommentParams
- func (o *CommentParams) SetComment(comment *string)
- func (o *CommentParams) SetContext(ctx context.Context)
- func (o *CommentParams) SetDefaults()
- func (o *CommentParams) SetHTTPClient(client *http.Client)
- func (o *CommentParams) SetNetid(netid *string)
- func (o *CommentParams) SetTimeout(timeout time.Duration)
- func (o *CommentParams) WithComment(comment *string) *CommentParams
- func (o *CommentParams) WithContext(ctx context.Context) *CommentParams
- func (o *CommentParams) WithDefaults() *CommentParams
- func (o *CommentParams) WithHTTPClient(client *http.Client) *CommentParams
- func (o *CommentParams) WithNetid(netid *string) *CommentParams
- func (o *CommentParams) WithTimeout(timeout time.Duration) *CommentParams
- func (o *CommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CommentReader
- type Detail1BadRequest
- func (o *Detail1BadRequest) Error() string
- func (o *Detail1BadRequest) IsClientError() bool
- func (o *Detail1BadRequest) IsCode(code int) bool
- func (o *Detail1BadRequest) IsRedirect() bool
- func (o *Detail1BadRequest) IsServerError() bool
- func (o *Detail1BadRequest) IsSuccess() bool
- func (o *Detail1BadRequest) String() string
- type Detail1Forbidden
- func (o *Detail1Forbidden) Error() string
- func (o *Detail1Forbidden) IsClientError() bool
- func (o *Detail1Forbidden) IsCode(code int) bool
- func (o *Detail1Forbidden) IsRedirect() bool
- func (o *Detail1Forbidden) IsServerError() bool
- func (o *Detail1Forbidden) IsSuccess() bool
- func (o *Detail1Forbidden) String() string
- type Detail1NotFound
- func (o *Detail1NotFound) Error() string
- func (o *Detail1NotFound) IsClientError() bool
- func (o *Detail1NotFound) IsCode(code int) bool
- func (o *Detail1NotFound) IsRedirect() bool
- func (o *Detail1NotFound) IsServerError() bool
- func (o *Detail1NotFound) IsSuccess() bool
- func (o *Detail1NotFound) String() string
- type Detail1OK
- func (o *Detail1OK) Error() string
- func (o *Detail1OK) GetPayload() *models.WiFiNetworkDetailResponse
- func (o *Detail1OK) IsClientError() bool
- func (o *Detail1OK) IsCode(code int) bool
- func (o *Detail1OK) IsRedirect() bool
- func (o *Detail1OK) IsServerError() bool
- func (o *Detail1OK) IsSuccess() bool
- func (o *Detail1OK) String() string
- type Detail1Params
- func (o *Detail1Params) SetBasestation(basestation *int64)
- func (o *Detail1Params) SetCid(cid *int64)
- func (o *Detail1Params) SetContext(ctx context.Context)
- func (o *Detail1Params) SetDefaults()
- func (o *Detail1Params) SetHTTPClient(client *http.Client)
- func (o *Detail1Params) SetLac(lac *int64)
- func (o *Detail1Params) SetNetid(netid *string)
- func (o *Detail1Params) SetNetwork(network *int64)
- func (o *Detail1Params) SetOperator(operator *int64)
- func (o *Detail1Params) SetSystem(system *int64)
- func (o *Detail1Params) SetTimeout(timeout time.Duration)
- func (o *Detail1Params) SetType(typeVar *string)
- func (o *Detail1Params) WithBasestation(basestation *int64) *Detail1Params
- func (o *Detail1Params) WithCid(cid *int64) *Detail1Params
- func (o *Detail1Params) WithContext(ctx context.Context) *Detail1Params
- func (o *Detail1Params) WithDefaults() *Detail1Params
- func (o *Detail1Params) WithHTTPClient(client *http.Client) *Detail1Params
- func (o *Detail1Params) WithLac(lac *int64) *Detail1Params
- func (o *Detail1Params) WithNetid(netid *string) *Detail1Params
- func (o *Detail1Params) WithNetwork(network *int64) *Detail1Params
- func (o *Detail1Params) WithOperator(operator *int64) *Detail1Params
- func (o *Detail1Params) WithSystem(system *int64) *Detail1Params
- func (o *Detail1Params) WithTimeout(timeout time.Duration) *Detail1Params
- func (o *Detail1Params) WithType(typeVar *string) *Detail1Params
- func (o *Detail1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type Detail1Reader
- type Detail1TooManyRequests
- func (o *Detail1TooManyRequests) Error() string
- func (o *Detail1TooManyRequests) IsClientError() bool
- func (o *Detail1TooManyRequests) IsCode(code int) bool
- func (o *Detail1TooManyRequests) IsRedirect() bool
- func (o *Detail1TooManyRequests) IsServerError() bool
- func (o *Detail1TooManyRequests) IsSuccess() bool
- func (o *Detail1TooManyRequests) String() string
- type Detail1Unauthorized
- func (o *Detail1Unauthorized) Error() string
- func (o *Detail1Unauthorized) IsClientError() bool
- func (o *Detail1Unauthorized) IsCode(code int) bool
- func (o *Detail1Unauthorized) IsRedirect() bool
- func (o *Detail1Unauthorized) IsServerError() bool
- func (o *Detail1Unauthorized) IsSuccess() bool
- func (o *Detail1Unauthorized) String() string
- type GeocodeBadRequest
- func (o *GeocodeBadRequest) Error() string
- func (o *GeocodeBadRequest) IsClientError() bool
- func (o *GeocodeBadRequest) IsCode(code int) bool
- func (o *GeocodeBadRequest) IsRedirect() bool
- func (o *GeocodeBadRequest) IsServerError() bool
- func (o *GeocodeBadRequest) IsSuccess() bool
- func (o *GeocodeBadRequest) String() string
- type GeocodeOK
- func (o *GeocodeOK) Error() string
- func (o *GeocodeOK) GetPayload() *models.NetworkGeocodingResponse
- func (o *GeocodeOK) IsClientError() bool
- func (o *GeocodeOK) IsCode(code int) bool
- func (o *GeocodeOK) IsRedirect() bool
- func (o *GeocodeOK) IsServerError() bool
- func (o *GeocodeOK) IsSuccess() bool
- func (o *GeocodeOK) String() string
- type GeocodeParams
- func (o *GeocodeParams) SetAddresscode(addresscode *string)
- func (o *GeocodeParams) SetContext(ctx context.Context)
- func (o *GeocodeParams) SetDefaults()
- func (o *GeocodeParams) SetHTTPClient(client *http.Client)
- func (o *GeocodeParams) SetTimeout(timeout time.Duration)
- func (o *GeocodeParams) WithAddresscode(addresscode *string) *GeocodeParams
- func (o *GeocodeParams) WithContext(ctx context.Context) *GeocodeParams
- func (o *GeocodeParams) WithDefaults() *GeocodeParams
- func (o *GeocodeParams) WithHTTPClient(client *http.Client) *GeocodeParams
- func (o *GeocodeParams) WithTimeout(timeout time.Duration) *GeocodeParams
- func (o *GeocodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GeocodeReader
- type GeocodeTooManyRequests
- func (o *GeocodeTooManyRequests) Error() string
- func (o *GeocodeTooManyRequests) IsClientError() bool
- func (o *GeocodeTooManyRequests) IsCode(code int) bool
- func (o *GeocodeTooManyRequests) IsRedirect() bool
- func (o *GeocodeTooManyRequests) IsServerError() bool
- func (o *GeocodeTooManyRequests) IsSuccess() bool
- func (o *GeocodeTooManyRequests) String() string
- type GeocodeUnauthorized
- func (o *GeocodeUnauthorized) Error() string
- func (o *GeocodeUnauthorized) IsClientError() bool
- func (o *GeocodeUnauthorized) IsCode(code int) bool
- func (o *GeocodeUnauthorized) IsRedirect() bool
- func (o *GeocodeUnauthorized) IsServerError() bool
- func (o *GeocodeUnauthorized) IsSuccess() bool
- func (o *GeocodeUnauthorized) String() string
- type Search2BadRequest
- func (o *Search2BadRequest) Error() string
- func (o *Search2BadRequest) IsClientError() bool
- func (o *Search2BadRequest) IsCode(code int) bool
- func (o *Search2BadRequest) IsRedirect() bool
- func (o *Search2BadRequest) IsServerError() bool
- func (o *Search2BadRequest) IsSuccess() bool
- func (o *Search2BadRequest) String() string
- type Search2Gone
- type Search2OK
- func (o *Search2OK) Error() string
- func (o *Search2OK) GetPayload() *models.NetSearchResponse
- func (o *Search2OK) IsClientError() bool
- func (o *Search2OK) IsCode(code int) bool
- func (o *Search2OK) IsRedirect() bool
- func (o *Search2OK) IsServerError() bool
- func (o *Search2OK) IsSuccess() bool
- func (o *Search2OK) String() string
- type Search2Params
- func (o *Search2Params) SetCity(city *string)
- func (o *Search2Params) SetClosestLat(closestLat *float64)
- func (o *Search2Params) SetClosestLong(closestLong *float64)
- func (o *Search2Params) SetContext(ctx context.Context)
- func (o *Search2Params) SetCountry(country *string)
- func (o *Search2Params) SetDefaults()
- func (o *Search2Params) SetEncryption(encryption *string)
- func (o *Search2Params) SetEndTransID(endTransID *string)
- func (o *Search2Params) SetFirsttime(firsttime *string)
- func (o *Search2Params) SetFreenet(freenet *bool)
- func (o *Search2Params) SetHTTPClient(client *http.Client)
- func (o *Search2Params) SetHouseNumber(houseNumber *string)
- func (o *Search2Params) SetLasttime(lasttime *string)
- func (o *Search2Params) SetLastupdt(lastupdt *string)
- func (o *Search2Params) SetLatrange1(latrange1 *float64)
- func (o *Search2Params) SetLatrange2(latrange2 *float64)
- func (o *Search2Params) SetLongrange1(longrange1 *float64)
- func (o *Search2Params) SetLongrange2(longrange2 *float64)
- func (o *Search2Params) SetMinQoS(minQoS *int32)
- func (o *Search2Params) SetNetid(netid *string)
- func (o *Search2Params) SetNotmine(notmine *string)
- func (o *Search2Params) SetOnlymine(onlymine *string)
- func (o *Search2Params) SetPaynet(paynet *bool)
- func (o *Search2Params) SetPostalCode(postalCode *string)
- func (o *Search2Params) SetRegion(region *string)
- func (o *Search2Params) SetResultsPerPage(resultsPerPage *int64)
- func (o *Search2Params) SetRoad(road *string)
- func (o *Search2Params) SetSearchAfter(searchAfter *string)
- func (o *Search2Params) SetSsid(ssid *string)
- func (o *Search2Params) SetSsidlike(ssidlike *string)
- func (o *Search2Params) SetStartTransID(startTransID *string)
- func (o *Search2Params) SetTimeout(timeout time.Duration)
- func (o *Search2Params) SetVariance(variance *float64)
- func (o *Search2Params) WithCity(city *string) *Search2Params
- func (o *Search2Params) WithClosestLat(closestLat *float64) *Search2Params
- func (o *Search2Params) WithClosestLong(closestLong *float64) *Search2Params
- func (o *Search2Params) WithContext(ctx context.Context) *Search2Params
- func (o *Search2Params) WithCountry(country *string) *Search2Params
- func (o *Search2Params) WithDefaults() *Search2Params
- func (o *Search2Params) WithEncryption(encryption *string) *Search2Params
- func (o *Search2Params) WithEndTransID(endTransID *string) *Search2Params
- func (o *Search2Params) WithFirsttime(firsttime *string) *Search2Params
- func (o *Search2Params) WithFreenet(freenet *bool) *Search2Params
- func (o *Search2Params) WithHTTPClient(client *http.Client) *Search2Params
- func (o *Search2Params) WithHouseNumber(houseNumber *string) *Search2Params
- func (o *Search2Params) WithLasttime(lasttime *string) *Search2Params
- func (o *Search2Params) WithLastupdt(lastupdt *string) *Search2Params
- func (o *Search2Params) WithLatrange1(latrange1 *float64) *Search2Params
- func (o *Search2Params) WithLatrange2(latrange2 *float64) *Search2Params
- func (o *Search2Params) WithLongrange1(longrange1 *float64) *Search2Params
- func (o *Search2Params) WithLongrange2(longrange2 *float64) *Search2Params
- func (o *Search2Params) WithMinQoS(minQoS *int32) *Search2Params
- func (o *Search2Params) WithNetid(netid *string) *Search2Params
- func (o *Search2Params) WithNotmine(notmine *string) *Search2Params
- func (o *Search2Params) WithOnlymine(onlymine *string) *Search2Params
- func (o *Search2Params) WithPaynet(paynet *bool) *Search2Params
- func (o *Search2Params) WithPostalCode(postalCode *string) *Search2Params
- func (o *Search2Params) WithRegion(region *string) *Search2Params
- func (o *Search2Params) WithResultsPerPage(resultsPerPage *int64) *Search2Params
- func (o *Search2Params) WithRoad(road *string) *Search2Params
- func (o *Search2Params) WithSearchAfter(searchAfter *string) *Search2Params
- func (o *Search2Params) WithSsid(ssid *string) *Search2Params
- func (o *Search2Params) WithSsidlike(ssidlike *string) *Search2Params
- func (o *Search2Params) WithStartTransID(startTransID *string) *Search2Params
- func (o *Search2Params) WithTimeout(timeout time.Duration) *Search2Params
- func (o *Search2Params) WithVariance(variance *float64) *Search2Params
- func (o *Search2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type Search2PaymentRequired
- func (o *Search2PaymentRequired) Error() string
- func (o *Search2PaymentRequired) IsClientError() bool
- func (o *Search2PaymentRequired) IsCode(code int) bool
- func (o *Search2PaymentRequired) IsRedirect() bool
- func (o *Search2PaymentRequired) IsServerError() bool
- func (o *Search2PaymentRequired) IsSuccess() bool
- func (o *Search2PaymentRequired) String() string
- type Search2Reader
- type Search2TooManyRequests
- func (o *Search2TooManyRequests) Error() string
- func (o *Search2TooManyRequests) IsClientError() bool
- func (o *Search2TooManyRequests) IsCode(code int) bool
- func (o *Search2TooManyRequests) IsRedirect() bool
- func (o *Search2TooManyRequests) IsServerError() bool
- func (o *Search2TooManyRequests) IsSuccess() bool
- func (o *Search2TooManyRequests) String() string
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 network search and information tools API
func (*Client) Comment ¶
func (a *Client) Comment(params *CommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CommentOK, error)
Comment adds a comment to a network
provide custom information regarding a single network
func (*Client) Detail1 ¶
func (a *Client) Detail1(params *Detail1Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Detail1OK, error)
Detail1 gets details and observation records for a single wifi or cell network
Provide unique information for a WiFi or cell network to request detailed information. Providing a netId value searches WiFi, operator searches GSM, and system searches CDMA. Detail endpoints are NOT included in COMMAPI subscriptions at this time.
func (*Client) Geocode ¶
func (a *Client) Geocode(params *GeocodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GeocodeOK, error)
Geocode gets coordinates for an address for use in searching
Relies on OpenStreetMap nominatim
func (*Client) Search2 ¶
func (a *Client) Search2(params *Search2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Search2OK, error)
Search2 searches the wi g l e wifi database
Query the WiGLE database for paginated results based on multiple criteria. API and session authentication default to a page size of 100 results/page. COMMAPI defaults to a page size of 25 with a maximum of 1000 results per return. Number of daily queries allowed per user are throttled based on history and participation. Search endpoints are the only feature included in COMMAPI subscriptions at this time.<br><br>To get next page of results put the previous request's searchAfter value as a parameter in the new request's searchAfter.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { Comment(params *CommentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CommentOK, error) Detail1(params *Detail1Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Detail1OK, error) Geocode(params *GeocodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GeocodeOK, error) Search2(params *Search2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*Search2OK, 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 network search and information tools API client.
type CommentOK ¶
type CommentOK struct {
Payload *models.NetCommentResponse
}
CommentOK describes a response with status code 200, with default header values.
successful operation
func NewCommentOK ¶
func NewCommentOK() *CommentOK
NewCommentOK creates a CommentOK with default headers values
func (*CommentOK) GetPayload ¶
func (o *CommentOK) GetPayload() *models.NetCommentResponse
func (*CommentOK) IsClientError ¶
IsClientError returns true when this comment o k response has a 4xx status code
func (*CommentOK) IsCode ¶
IsCode returns true when this comment o k response a status code equal to that given
func (*CommentOK) IsRedirect ¶
IsRedirect returns true when this comment o k response has a 3xx status code
func (*CommentOK) IsServerError ¶
IsServerError returns true when this comment o k response has a 5xx status code
type CommentParams ¶
type CommentParams struct { /* Comment. The comment to attach */ Comment *string /* Netid. The BSSID of the network for the comment, e.g. '0A:2C:EF:3D:25:1B' */ Netid *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CommentParams contains all the parameters to send to the API endpoint
for the comment operation. Typically these are written to a http.Request.
func NewCommentParams ¶
func NewCommentParams() *CommentParams
NewCommentParams creates a new CommentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCommentParamsWithContext ¶
func NewCommentParamsWithContext(ctx context.Context) *CommentParams
NewCommentParamsWithContext creates a new CommentParams object with the ability to set a context for a request.
func NewCommentParamsWithHTTPClient ¶
func NewCommentParamsWithHTTPClient(client *http.Client) *CommentParams
NewCommentParamsWithHTTPClient creates a new CommentParams object with the ability to set a custom HTTPClient for a request.
func NewCommentParamsWithTimeout ¶
func NewCommentParamsWithTimeout(timeout time.Duration) *CommentParams
NewCommentParamsWithTimeout creates a new CommentParams object with the ability to set a timeout on a request.
func (*CommentParams) SetComment ¶
func (o *CommentParams) SetComment(comment *string)
SetComment adds the comment to the comment params
func (*CommentParams) SetContext ¶
func (o *CommentParams) SetContext(ctx context.Context)
SetContext adds the context to the comment params
func (*CommentParams) SetDefaults ¶
func (o *CommentParams) SetDefaults()
SetDefaults hydrates default values in the comment params (not the query body).
All values with no default are reset to their zero value.
func (*CommentParams) SetHTTPClient ¶
func (o *CommentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the comment params
func (*CommentParams) SetNetid ¶
func (o *CommentParams) SetNetid(netid *string)
SetNetid adds the netid to the comment params
func (*CommentParams) SetTimeout ¶
func (o *CommentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the comment params
func (*CommentParams) WithComment ¶
func (o *CommentParams) WithComment(comment *string) *CommentParams
WithComment adds the comment to the comment params
func (*CommentParams) WithContext ¶
func (o *CommentParams) WithContext(ctx context.Context) *CommentParams
WithContext adds the context to the comment params
func (*CommentParams) WithDefaults ¶
func (o *CommentParams) WithDefaults() *CommentParams
WithDefaults hydrates default values in the comment params (not the query body).
All values with no default are reset to their zero value.
func (*CommentParams) WithHTTPClient ¶
func (o *CommentParams) WithHTTPClient(client *http.Client) *CommentParams
WithHTTPClient adds the HTTPClient to the comment params
func (*CommentParams) WithNetid ¶
func (o *CommentParams) WithNetid(netid *string) *CommentParams
WithNetid adds the netid to the comment params
func (*CommentParams) WithTimeout ¶
func (o *CommentParams) WithTimeout(timeout time.Duration) *CommentParams
WithTimeout adds the timeout to the comment params
func (*CommentParams) WriteToRequest ¶
func (o *CommentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CommentReader ¶
type CommentReader struct {
// contains filtered or unexported fields
}
CommentReader is a Reader for the Comment structure.
func (*CommentReader) ReadResponse ¶
func (o *CommentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Detail1BadRequest ¶
type Detail1BadRequest struct { }
Detail1BadRequest describes a response with status code 400, with default header values.
Request body error
func NewDetail1BadRequest ¶
func NewDetail1BadRequest() *Detail1BadRequest
NewDetail1BadRequest creates a Detail1BadRequest with default headers values
func (*Detail1BadRequest) Error ¶
func (o *Detail1BadRequest) Error() string
func (*Detail1BadRequest) IsClientError ¶
func (o *Detail1BadRequest) IsClientError() bool
IsClientError returns true when this detail1 bad request response has a 4xx status code
func (*Detail1BadRequest) IsCode ¶
func (o *Detail1BadRequest) IsCode(code int) bool
IsCode returns true when this detail1 bad request response a status code equal to that given
func (*Detail1BadRequest) IsRedirect ¶
func (o *Detail1BadRequest) IsRedirect() bool
IsRedirect returns true when this detail1 bad request response has a 3xx status code
func (*Detail1BadRequest) IsServerError ¶
func (o *Detail1BadRequest) IsServerError() bool
IsServerError returns true when this detail1 bad request response has a 5xx status code
func (*Detail1BadRequest) IsSuccess ¶
func (o *Detail1BadRequest) IsSuccess() bool
IsSuccess returns true when this detail1 bad request response has a 2xx status code
func (*Detail1BadRequest) String ¶
func (o *Detail1BadRequest) String() string
type Detail1Forbidden ¶
type Detail1Forbidden struct { }
Detail1Forbidden describes a response with status code 403, with default header values.
Commercial request made for non-commercial resource
func NewDetail1Forbidden ¶
func NewDetail1Forbidden() *Detail1Forbidden
NewDetail1Forbidden creates a Detail1Forbidden with default headers values
func (*Detail1Forbidden) Error ¶
func (o *Detail1Forbidden) Error() string
func (*Detail1Forbidden) IsClientError ¶
func (o *Detail1Forbidden) IsClientError() bool
IsClientError returns true when this detail1 forbidden response has a 4xx status code
func (*Detail1Forbidden) IsCode ¶
func (o *Detail1Forbidden) IsCode(code int) bool
IsCode returns true when this detail1 forbidden response a status code equal to that given
func (*Detail1Forbidden) IsRedirect ¶
func (o *Detail1Forbidden) IsRedirect() bool
IsRedirect returns true when this detail1 forbidden response has a 3xx status code
func (*Detail1Forbidden) IsServerError ¶
func (o *Detail1Forbidden) IsServerError() bool
IsServerError returns true when this detail1 forbidden response has a 5xx status code
func (*Detail1Forbidden) IsSuccess ¶
func (o *Detail1Forbidden) IsSuccess() bool
IsSuccess returns true when this detail1 forbidden response has a 2xx status code
func (*Detail1Forbidden) String ¶
func (o *Detail1Forbidden) String() string
type Detail1NotFound ¶
type Detail1NotFound struct { }
Detail1NotFound describes a response with status code 404, with default header values.
No network records matching search criteria found
func NewDetail1NotFound ¶
func NewDetail1NotFound() *Detail1NotFound
NewDetail1NotFound creates a Detail1NotFound with default headers values
func (*Detail1NotFound) Error ¶
func (o *Detail1NotFound) Error() string
func (*Detail1NotFound) IsClientError ¶
func (o *Detail1NotFound) IsClientError() bool
IsClientError returns true when this detail1 not found response has a 4xx status code
func (*Detail1NotFound) IsCode ¶
func (o *Detail1NotFound) IsCode(code int) bool
IsCode returns true when this detail1 not found response a status code equal to that given
func (*Detail1NotFound) IsRedirect ¶
func (o *Detail1NotFound) IsRedirect() bool
IsRedirect returns true when this detail1 not found response has a 3xx status code
func (*Detail1NotFound) IsServerError ¶
func (o *Detail1NotFound) IsServerError() bool
IsServerError returns true when this detail1 not found response has a 5xx status code
func (*Detail1NotFound) IsSuccess ¶
func (o *Detail1NotFound) IsSuccess() bool
IsSuccess returns true when this detail1 not found response has a 2xx status code
func (*Detail1NotFound) String ¶
func (o *Detail1NotFound) String() string
type Detail1OK ¶
type Detail1OK struct {
Payload *models.WiFiNetworkDetailResponse
}
Detail1OK describes a response with status code 200, with default header values.
Request succeeded
func NewDetail1OK ¶
func NewDetail1OK() *Detail1OK
NewDetail1OK creates a Detail1OK with default headers values
func (*Detail1OK) GetPayload ¶
func (o *Detail1OK) GetPayload() *models.WiFiNetworkDetailResponse
func (*Detail1OK) IsClientError ¶
IsClientError returns true when this detail1 o k response has a 4xx status code
func (*Detail1OK) IsCode ¶
IsCode returns true when this detail1 o k response a status code equal to that given
func (*Detail1OK) IsRedirect ¶
IsRedirect returns true when this detail1 o k response has a 3xx status code
func (*Detail1OK) IsServerError ¶
IsServerError returns true when this detail1 o k response has a 5xx status code
type Detail1Params ¶
type Detail1Params struct { /* Basestation. CDMA Base Station ID Format: int64 */ Basestation *int64 /* Cid. GSM/LTE/WCDMA/5G NR Cell ID/NIR Format: int64 */ Cid *int64 /* Lac. GSM/LTE/WCDMA/5G NR Location Area Code Format: int64 */ Lac *int64 /* Netid. The WiFi Network BSSID to search */ Netid *string /* Network. CDMA Network ID Format: int64 */ Network *int64 /* Operator. GSM/LTE/WCDMA/5G NR Operator ID Format: int64 */ Operator *int64 /* System. CDMA System ID Format: int64 */ System *int64 /* Type. Network Type: CDMA/GSM/LTE/WCDMA/NR/WIFI */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
Detail1Params contains all the parameters to send to the API endpoint
for the detail 1 operation. Typically these are written to a http.Request.
func NewDetail1Params ¶
func NewDetail1Params() *Detail1Params
NewDetail1Params creates a new Detail1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDetail1ParamsWithContext ¶
func NewDetail1ParamsWithContext(ctx context.Context) *Detail1Params
NewDetail1ParamsWithContext creates a new Detail1Params object with the ability to set a context for a request.
func NewDetail1ParamsWithHTTPClient ¶
func NewDetail1ParamsWithHTTPClient(client *http.Client) *Detail1Params
NewDetail1ParamsWithHTTPClient creates a new Detail1Params object with the ability to set a custom HTTPClient for a request.
func NewDetail1ParamsWithTimeout ¶
func NewDetail1ParamsWithTimeout(timeout time.Duration) *Detail1Params
NewDetail1ParamsWithTimeout creates a new Detail1Params object with the ability to set a timeout on a request.
func (*Detail1Params) SetBasestation ¶
func (o *Detail1Params) SetBasestation(basestation *int64)
SetBasestation adds the basestation to the detail 1 params
func (*Detail1Params) SetCid ¶
func (o *Detail1Params) SetCid(cid *int64)
SetCid adds the cid to the detail 1 params
func (*Detail1Params) SetContext ¶
func (o *Detail1Params) SetContext(ctx context.Context)
SetContext adds the context to the detail 1 params
func (*Detail1Params) SetDefaults ¶
func (o *Detail1Params) SetDefaults()
SetDefaults hydrates default values in the detail 1 params (not the query body).
All values with no default are reset to their zero value.
func (*Detail1Params) SetHTTPClient ¶
func (o *Detail1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail 1 params
func (*Detail1Params) SetLac ¶
func (o *Detail1Params) SetLac(lac *int64)
SetLac adds the lac to the detail 1 params
func (*Detail1Params) SetNetid ¶
func (o *Detail1Params) SetNetid(netid *string)
SetNetid adds the netid to the detail 1 params
func (*Detail1Params) SetNetwork ¶
func (o *Detail1Params) SetNetwork(network *int64)
SetNetwork adds the network to the detail 1 params
func (*Detail1Params) SetOperator ¶
func (o *Detail1Params) SetOperator(operator *int64)
SetOperator adds the operator to the detail 1 params
func (*Detail1Params) SetSystem ¶
func (o *Detail1Params) SetSystem(system *int64)
SetSystem adds the system to the detail 1 params
func (*Detail1Params) SetTimeout ¶
func (o *Detail1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail 1 params
func (*Detail1Params) SetType ¶
func (o *Detail1Params) SetType(typeVar *string)
SetType adds the type to the detail 1 params
func (*Detail1Params) WithBasestation ¶
func (o *Detail1Params) WithBasestation(basestation *int64) *Detail1Params
WithBasestation adds the basestation to the detail 1 params
func (*Detail1Params) WithCid ¶
func (o *Detail1Params) WithCid(cid *int64) *Detail1Params
WithCid adds the cid to the detail 1 params
func (*Detail1Params) WithContext ¶
func (o *Detail1Params) WithContext(ctx context.Context) *Detail1Params
WithContext adds the context to the detail 1 params
func (*Detail1Params) WithDefaults ¶
func (o *Detail1Params) WithDefaults() *Detail1Params
WithDefaults hydrates default values in the detail 1 params (not the query body).
All values with no default are reset to their zero value.
func (*Detail1Params) WithHTTPClient ¶
func (o *Detail1Params) WithHTTPClient(client *http.Client) *Detail1Params
WithHTTPClient adds the HTTPClient to the detail 1 params
func (*Detail1Params) WithLac ¶
func (o *Detail1Params) WithLac(lac *int64) *Detail1Params
WithLac adds the lac to the detail 1 params
func (*Detail1Params) WithNetid ¶
func (o *Detail1Params) WithNetid(netid *string) *Detail1Params
WithNetid adds the netid to the detail 1 params
func (*Detail1Params) WithNetwork ¶
func (o *Detail1Params) WithNetwork(network *int64) *Detail1Params
WithNetwork adds the network to the detail 1 params
func (*Detail1Params) WithOperator ¶
func (o *Detail1Params) WithOperator(operator *int64) *Detail1Params
WithOperator adds the operator to the detail 1 params
func (*Detail1Params) WithSystem ¶
func (o *Detail1Params) WithSystem(system *int64) *Detail1Params
WithSystem adds the system to the detail 1 params
func (*Detail1Params) WithTimeout ¶
func (o *Detail1Params) WithTimeout(timeout time.Duration) *Detail1Params
WithTimeout adds the timeout to the detail 1 params
func (*Detail1Params) WithType ¶
func (o *Detail1Params) WithType(typeVar *string) *Detail1Params
WithType adds the typeVar to the detail 1 params
func (*Detail1Params) WriteToRequest ¶
func (o *Detail1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type Detail1Reader ¶
type Detail1Reader struct {
// contains filtered or unexported fields
}
Detail1Reader is a Reader for the Detail1 structure.
func (*Detail1Reader) ReadResponse ¶
func (o *Detail1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Detail1TooManyRequests ¶
type Detail1TooManyRequests struct { }
Detail1TooManyRequests describes a response with status code 429, with default header values.
too many queries today.
func NewDetail1TooManyRequests ¶
func NewDetail1TooManyRequests() *Detail1TooManyRequests
NewDetail1TooManyRequests creates a Detail1TooManyRequests with default headers values
func (*Detail1TooManyRequests) Error ¶
func (o *Detail1TooManyRequests) Error() string
func (*Detail1TooManyRequests) IsClientError ¶
func (o *Detail1TooManyRequests) IsClientError() bool
IsClientError returns true when this detail1 too many requests response has a 4xx status code
func (*Detail1TooManyRequests) IsCode ¶
func (o *Detail1TooManyRequests) IsCode(code int) bool
IsCode returns true when this detail1 too many requests response a status code equal to that given
func (*Detail1TooManyRequests) IsRedirect ¶
func (o *Detail1TooManyRequests) IsRedirect() bool
IsRedirect returns true when this detail1 too many requests response has a 3xx status code
func (*Detail1TooManyRequests) IsServerError ¶
func (o *Detail1TooManyRequests) IsServerError() bool
IsServerError returns true when this detail1 too many requests response has a 5xx status code
func (*Detail1TooManyRequests) IsSuccess ¶
func (o *Detail1TooManyRequests) IsSuccess() bool
IsSuccess returns true when this detail1 too many requests response has a 2xx status code
func (*Detail1TooManyRequests) String ¶
func (o *Detail1TooManyRequests) String() string
type Detail1Unauthorized ¶
type Detail1Unauthorized struct { }
Detail1Unauthorized describes a response with status code 401, with default header values.
Not authenticated
func NewDetail1Unauthorized ¶
func NewDetail1Unauthorized() *Detail1Unauthorized
NewDetail1Unauthorized creates a Detail1Unauthorized with default headers values
func (*Detail1Unauthorized) Error ¶
func (o *Detail1Unauthorized) Error() string
func (*Detail1Unauthorized) IsClientError ¶
func (o *Detail1Unauthorized) IsClientError() bool
IsClientError returns true when this detail1 unauthorized response has a 4xx status code
func (*Detail1Unauthorized) IsCode ¶
func (o *Detail1Unauthorized) IsCode(code int) bool
IsCode returns true when this detail1 unauthorized response a status code equal to that given
func (*Detail1Unauthorized) IsRedirect ¶
func (o *Detail1Unauthorized) IsRedirect() bool
IsRedirect returns true when this detail1 unauthorized response has a 3xx status code
func (*Detail1Unauthorized) IsServerError ¶
func (o *Detail1Unauthorized) IsServerError() bool
IsServerError returns true when this detail1 unauthorized response has a 5xx status code
func (*Detail1Unauthorized) IsSuccess ¶
func (o *Detail1Unauthorized) IsSuccess() bool
IsSuccess returns true when this detail1 unauthorized response has a 2xx status code
func (*Detail1Unauthorized) String ¶
func (o *Detail1Unauthorized) String() string
type GeocodeBadRequest ¶
type GeocodeBadRequest struct { }
GeocodeBadRequest describes a response with status code 400, with default header values.
Request error
func NewGeocodeBadRequest ¶
func NewGeocodeBadRequest() *GeocodeBadRequest
NewGeocodeBadRequest creates a GeocodeBadRequest with default headers values
func (*GeocodeBadRequest) Error ¶
func (o *GeocodeBadRequest) Error() string
func (*GeocodeBadRequest) IsClientError ¶
func (o *GeocodeBadRequest) IsClientError() bool
IsClientError returns true when this geocode bad request response has a 4xx status code
func (*GeocodeBadRequest) IsCode ¶
func (o *GeocodeBadRequest) IsCode(code int) bool
IsCode returns true when this geocode bad request response a status code equal to that given
func (*GeocodeBadRequest) IsRedirect ¶
func (o *GeocodeBadRequest) IsRedirect() bool
IsRedirect returns true when this geocode bad request response has a 3xx status code
func (*GeocodeBadRequest) IsServerError ¶
func (o *GeocodeBadRequest) IsServerError() bool
IsServerError returns true when this geocode bad request response has a 5xx status code
func (*GeocodeBadRequest) IsSuccess ¶
func (o *GeocodeBadRequest) IsSuccess() bool
IsSuccess returns true when this geocode bad request response has a 2xx status code
func (*GeocodeBadRequest) String ¶
func (o *GeocodeBadRequest) String() string
type GeocodeOK ¶
type GeocodeOK struct {
Payload *models.NetworkGeocodingResponse
}
GeocodeOK describes a response with status code 200, with default header values.
Request succeeded
func NewGeocodeOK ¶
func NewGeocodeOK() *GeocodeOK
NewGeocodeOK creates a GeocodeOK with default headers values
func (*GeocodeOK) GetPayload ¶
func (o *GeocodeOK) GetPayload() *models.NetworkGeocodingResponse
func (*GeocodeOK) IsClientError ¶
IsClientError returns true when this geocode o k response has a 4xx status code
func (*GeocodeOK) IsCode ¶
IsCode returns true when this geocode o k response a status code equal to that given
func (*GeocodeOK) IsRedirect ¶
IsRedirect returns true when this geocode o k response has a 3xx status code
func (*GeocodeOK) IsServerError ¶
IsServerError returns true when this geocode o k response has a 5xx status code
type GeocodeParams ¶
type GeocodeParams struct { /* Addresscode. An address string, Street, City, State/Region, Country */ Addresscode *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GeocodeParams contains all the parameters to send to the API endpoint
for the geocode operation. Typically these are written to a http.Request.
func NewGeocodeParams ¶
func NewGeocodeParams() *GeocodeParams
NewGeocodeParams creates a new GeocodeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGeocodeParamsWithContext ¶
func NewGeocodeParamsWithContext(ctx context.Context) *GeocodeParams
NewGeocodeParamsWithContext creates a new GeocodeParams object with the ability to set a context for a request.
func NewGeocodeParamsWithHTTPClient ¶
func NewGeocodeParamsWithHTTPClient(client *http.Client) *GeocodeParams
NewGeocodeParamsWithHTTPClient creates a new GeocodeParams object with the ability to set a custom HTTPClient for a request.
func NewGeocodeParamsWithTimeout ¶
func NewGeocodeParamsWithTimeout(timeout time.Duration) *GeocodeParams
NewGeocodeParamsWithTimeout creates a new GeocodeParams object with the ability to set a timeout on a request.
func (*GeocodeParams) SetAddresscode ¶
func (o *GeocodeParams) SetAddresscode(addresscode *string)
SetAddresscode adds the addresscode to the geocode params
func (*GeocodeParams) SetContext ¶
func (o *GeocodeParams) SetContext(ctx context.Context)
SetContext adds the context to the geocode params
func (*GeocodeParams) SetDefaults ¶
func (o *GeocodeParams) SetDefaults()
SetDefaults hydrates default values in the geocode params (not the query body).
All values with no default are reset to their zero value.
func (*GeocodeParams) SetHTTPClient ¶
func (o *GeocodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the geocode params
func (*GeocodeParams) SetTimeout ¶
func (o *GeocodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the geocode params
func (*GeocodeParams) WithAddresscode ¶
func (o *GeocodeParams) WithAddresscode(addresscode *string) *GeocodeParams
WithAddresscode adds the addresscode to the geocode params
func (*GeocodeParams) WithContext ¶
func (o *GeocodeParams) WithContext(ctx context.Context) *GeocodeParams
WithContext adds the context to the geocode params
func (*GeocodeParams) WithDefaults ¶
func (o *GeocodeParams) WithDefaults() *GeocodeParams
WithDefaults hydrates default values in the geocode params (not the query body).
All values with no default are reset to their zero value.
func (*GeocodeParams) WithHTTPClient ¶
func (o *GeocodeParams) WithHTTPClient(client *http.Client) *GeocodeParams
WithHTTPClient adds the HTTPClient to the geocode params
func (*GeocodeParams) WithTimeout ¶
func (o *GeocodeParams) WithTimeout(timeout time.Duration) *GeocodeParams
WithTimeout adds the timeout to the geocode params
func (*GeocodeParams) WriteToRequest ¶
func (o *GeocodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GeocodeReader ¶
type GeocodeReader struct {
// contains filtered or unexported fields
}
GeocodeReader is a Reader for the Geocode structure.
func (*GeocodeReader) ReadResponse ¶
func (o *GeocodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GeocodeTooManyRequests ¶
type GeocodeTooManyRequests struct { }
GeocodeTooManyRequests describes a response with status code 429, with default header values.
too many queries today.
func NewGeocodeTooManyRequests ¶
func NewGeocodeTooManyRequests() *GeocodeTooManyRequests
NewGeocodeTooManyRequests creates a GeocodeTooManyRequests with default headers values
func (*GeocodeTooManyRequests) Error ¶
func (o *GeocodeTooManyRequests) Error() string
func (*GeocodeTooManyRequests) IsClientError ¶
func (o *GeocodeTooManyRequests) IsClientError() bool
IsClientError returns true when this geocode too many requests response has a 4xx status code
func (*GeocodeTooManyRequests) IsCode ¶
func (o *GeocodeTooManyRequests) IsCode(code int) bool
IsCode returns true when this geocode too many requests response a status code equal to that given
func (*GeocodeTooManyRequests) IsRedirect ¶
func (o *GeocodeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this geocode too many requests response has a 3xx status code
func (*GeocodeTooManyRequests) IsServerError ¶
func (o *GeocodeTooManyRequests) IsServerError() bool
IsServerError returns true when this geocode too many requests response has a 5xx status code
func (*GeocodeTooManyRequests) IsSuccess ¶
func (o *GeocodeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this geocode too many requests response has a 2xx status code
func (*GeocodeTooManyRequests) String ¶
func (o *GeocodeTooManyRequests) String() string
type GeocodeUnauthorized ¶
type GeocodeUnauthorized struct { }
GeocodeUnauthorized describes a response with status code 401, with default header values.
Not authenticated
func NewGeocodeUnauthorized ¶
func NewGeocodeUnauthorized() *GeocodeUnauthorized
NewGeocodeUnauthorized creates a GeocodeUnauthorized with default headers values
func (*GeocodeUnauthorized) Error ¶
func (o *GeocodeUnauthorized) Error() string
func (*GeocodeUnauthorized) IsClientError ¶
func (o *GeocodeUnauthorized) IsClientError() bool
IsClientError returns true when this geocode unauthorized response has a 4xx status code
func (*GeocodeUnauthorized) IsCode ¶
func (o *GeocodeUnauthorized) IsCode(code int) bool
IsCode returns true when this geocode unauthorized response a status code equal to that given
func (*GeocodeUnauthorized) IsRedirect ¶
func (o *GeocodeUnauthorized) IsRedirect() bool
IsRedirect returns true when this geocode unauthorized response has a 3xx status code
func (*GeocodeUnauthorized) IsServerError ¶
func (o *GeocodeUnauthorized) IsServerError() bool
IsServerError returns true when this geocode unauthorized response has a 5xx status code
func (*GeocodeUnauthorized) IsSuccess ¶
func (o *GeocodeUnauthorized) IsSuccess() bool
IsSuccess returns true when this geocode unauthorized response has a 2xx status code
func (*GeocodeUnauthorized) String ¶
func (o *GeocodeUnauthorized) String() string
type Search2BadRequest ¶
type Search2BadRequest struct { }
Search2BadRequest describes a response with status code 400, with default header values.
Request body error
func NewSearch2BadRequest ¶
func NewSearch2BadRequest() *Search2BadRequest
NewSearch2BadRequest creates a Search2BadRequest with default headers values
func (*Search2BadRequest) Error ¶
func (o *Search2BadRequest) Error() string
func (*Search2BadRequest) IsClientError ¶
func (o *Search2BadRequest) IsClientError() bool
IsClientError returns true when this search2 bad request response has a 4xx status code
func (*Search2BadRequest) IsCode ¶
func (o *Search2BadRequest) IsCode(code int) bool
IsCode returns true when this search2 bad request response a status code equal to that given
func (*Search2BadRequest) IsRedirect ¶
func (o *Search2BadRequest) IsRedirect() bool
IsRedirect returns true when this search2 bad request response has a 3xx status code
func (*Search2BadRequest) IsServerError ¶
func (o *Search2BadRequest) IsServerError() bool
IsServerError returns true when this search2 bad request response has a 5xx status code
func (*Search2BadRequest) IsSuccess ¶
func (o *Search2BadRequest) IsSuccess() bool
IsSuccess returns true when this search2 bad request response has a 2xx status code
func (*Search2BadRequest) String ¶
func (o *Search2BadRequest) String() string
type Search2Gone ¶
type Search2Gone struct { }
Search2Gone describes a response with status code 410, with default header values.
Query Failed
func NewSearch2Gone ¶
func NewSearch2Gone() *Search2Gone
NewSearch2Gone creates a Search2Gone with default headers values
func (*Search2Gone) Error ¶
func (o *Search2Gone) Error() string
func (*Search2Gone) IsClientError ¶
func (o *Search2Gone) IsClientError() bool
IsClientError returns true when this search2 gone response has a 4xx status code
func (*Search2Gone) IsCode ¶
func (o *Search2Gone) IsCode(code int) bool
IsCode returns true when this search2 gone response a status code equal to that given
func (*Search2Gone) IsRedirect ¶
func (o *Search2Gone) IsRedirect() bool
IsRedirect returns true when this search2 gone response has a 3xx status code
func (*Search2Gone) IsServerError ¶
func (o *Search2Gone) IsServerError() bool
IsServerError returns true when this search2 gone response has a 5xx status code
func (*Search2Gone) IsSuccess ¶
func (o *Search2Gone) IsSuccess() bool
IsSuccess returns true when this search2 gone response has a 2xx status code
func (*Search2Gone) String ¶
func (o *Search2Gone) String() string
type Search2OK ¶
type Search2OK struct {
Payload *models.NetSearchResponse
}
Search2OK describes a response with status code 200, with default header values.
Request succeeded
func NewSearch2OK ¶
func NewSearch2OK() *Search2OK
NewSearch2OK creates a Search2OK with default headers values
func (*Search2OK) GetPayload ¶
func (o *Search2OK) GetPayload() *models.NetSearchResponse
func (*Search2OK) IsClientError ¶
IsClientError returns true when this search2 o k response has a 4xx status code
func (*Search2OK) IsCode ¶
IsCode returns true when this search2 o k response a status code equal to that given
func (*Search2OK) IsRedirect ¶
IsRedirect returns true when this search2 o k response has a 3xx status code
func (*Search2OK) IsServerError ¶
IsServerError returns true when this search2 o k response has a 5xx status code
type Search2Params ¶
type Search2Params struct { /* City. Street address city */ City *string /* ClosestLat. Latitude to order by closest network (requires closestLong) */ ClosestLat *float64 /* ClosestLong. Longitude to order by closest network (requires closestLat) */ ClosestLong *float64 /* Country. Street address country */ Country *string /* Encryption. Encryption detected: 'None', 'WEP', 'WPA', 'WPA2', 'WPA3', 'Unknown'. Case insensitive. */ Encryption *string /* EndTransID. Latest transid by which to bound (year-level precision only), format 'yyyyMMdd-00000' */ EndTransID *string /* Firsttime. Filter points by when they were first created (more recent than this value), condensed date/time numeric string format 'yyyyMMdd[hhmm[ss]]' */ Firsttime *string /* Freenet. Include only networks that have been marked as free access. */ Freenet *bool /* HouseNumber. Street address house number */ HouseNumber *string /* Lasttime. Filter points by how recently they've had data submitted (more recent than this value), condensed date/time numeric string format 'yyyyMMdd[hhmm[ss]]' */ Lasttime *string /* Lastupdt. Filter points by how recently they've been updated (more recent than this value), condensed date/time numeric string format 'yyyyMMdd[hhmm[ss]]' */ Lastupdt *string /* Latrange1. Lesser of two latitudes by which to bound the search (specify both) */ Latrange1 *float64 /* Latrange2. Greater of two latitudes by which to bound the search (specify both) */ Latrange2 *float64 /* Longrange1. Lesser of two longitudes by which to bound the search (specify both) */ Longrange1 *float64 /* Longrange2. Greater of two longitudes by which to bound the search (specify both) */ Longrange2 *float64 /* MinQoS. Minimum Quality of Signal (0-7). Format: int32 */ MinQoS *int32 /* Netid. Include only networks matching the string network BSSID, e.g. '0A:2C:EF:3D:25:1B' or '0A:2C:EF'. The first three octets are required. */ Netid *string /* Notmine. Only search for networks first seen by other users */ Notmine *string /* Onlymine. Search only for points first discovered by the current user. Use any string to set, leave unset for general search. Can't be used with COMMAPI auth, since these are points you have locally. Default: "false" */ Onlymine *string /* Paynet. Include only networks that have been marked as for-pay access. */ Paynet *bool /* PostalCode. Street address postal code */ PostalCode *string /* Region. Street address region */ Region *string /* ResultsPerPage. How many results to return per request. Defaults to 25 for COMMAPI, 100 for site. Bounded at 1000 for COMMAPI, 100 for site. Format: int64 */ ResultsPerPage *int64 /* Road. Street address road */ Road *string /* SearchAfter. Put in the previous page's searchAfter result to get the next page. Use this instead of 'first' */ SearchAfter *string /* Ssid. Include only networks exactly matching the string network name. */ Ssid *string /* Ssidlike. Include only networks matching the string network name, allowing wildcards '%' (any string) and '_' (any character). */ Ssidlike *string /* StartTransID. Earliest transid by which to bound (year-level precision only), format 'yyyyMMdd-00000' */ StartTransID *string /* Variance. How tightly to bound queries against the provided latitude/longitude box. Value must be between 0.001 and 0.2. Intended for use with non-exact decimals and geocoded bounds. */ Variance *float64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
Search2Params contains all the parameters to send to the API endpoint
for the search 2 operation. Typically these are written to a http.Request.
func NewSearch2Params ¶
func NewSearch2Params() *Search2Params
NewSearch2Params creates a new Search2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearch2ParamsWithContext ¶
func NewSearch2ParamsWithContext(ctx context.Context) *Search2Params
NewSearch2ParamsWithContext creates a new Search2Params object with the ability to set a context for a request.
func NewSearch2ParamsWithHTTPClient ¶
func NewSearch2ParamsWithHTTPClient(client *http.Client) *Search2Params
NewSearch2ParamsWithHTTPClient creates a new Search2Params object with the ability to set a custom HTTPClient for a request.
func NewSearch2ParamsWithTimeout ¶
func NewSearch2ParamsWithTimeout(timeout time.Duration) *Search2Params
NewSearch2ParamsWithTimeout creates a new Search2Params object with the ability to set a timeout on a request.
func (*Search2Params) SetCity ¶
func (o *Search2Params) SetCity(city *string)
SetCity adds the city to the search 2 params
func (*Search2Params) SetClosestLat ¶
func (o *Search2Params) SetClosestLat(closestLat *float64)
SetClosestLat adds the closestLat to the search 2 params
func (*Search2Params) SetClosestLong ¶
func (o *Search2Params) SetClosestLong(closestLong *float64)
SetClosestLong adds the closestLong to the search 2 params
func (*Search2Params) SetContext ¶
func (o *Search2Params) SetContext(ctx context.Context)
SetContext adds the context to the search 2 params
func (*Search2Params) SetCountry ¶
func (o *Search2Params) SetCountry(country *string)
SetCountry adds the country to the search 2 params
func (*Search2Params) SetDefaults ¶
func (o *Search2Params) SetDefaults()
SetDefaults hydrates default values in the search 2 params (not the query body).
All values with no default are reset to their zero value.
func (*Search2Params) SetEncryption ¶
func (o *Search2Params) SetEncryption(encryption *string)
SetEncryption adds the encryption to the search 2 params
func (*Search2Params) SetEndTransID ¶
func (o *Search2Params) SetEndTransID(endTransID *string)
SetEndTransID adds the endTransId to the search 2 params
func (*Search2Params) SetFirsttime ¶
func (o *Search2Params) SetFirsttime(firsttime *string)
SetFirsttime adds the firsttime to the search 2 params
func (*Search2Params) SetFreenet ¶
func (o *Search2Params) SetFreenet(freenet *bool)
SetFreenet adds the freenet to the search 2 params
func (*Search2Params) SetHTTPClient ¶
func (o *Search2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search 2 params
func (*Search2Params) SetHouseNumber ¶
func (o *Search2Params) SetHouseNumber(houseNumber *string)
SetHouseNumber adds the houseNumber to the search 2 params
func (*Search2Params) SetLasttime ¶
func (o *Search2Params) SetLasttime(lasttime *string)
SetLasttime adds the lasttime to the search 2 params
func (*Search2Params) SetLastupdt ¶
func (o *Search2Params) SetLastupdt(lastupdt *string)
SetLastupdt adds the lastupdt to the search 2 params
func (*Search2Params) SetLatrange1 ¶
func (o *Search2Params) SetLatrange1(latrange1 *float64)
SetLatrange1 adds the latrange1 to the search 2 params
func (*Search2Params) SetLatrange2 ¶
func (o *Search2Params) SetLatrange2(latrange2 *float64)
SetLatrange2 adds the latrange2 to the search 2 params
func (*Search2Params) SetLongrange1 ¶
func (o *Search2Params) SetLongrange1(longrange1 *float64)
SetLongrange1 adds the longrange1 to the search 2 params
func (*Search2Params) SetLongrange2 ¶
func (o *Search2Params) SetLongrange2(longrange2 *float64)
SetLongrange2 adds the longrange2 to the search 2 params
func (*Search2Params) SetMinQoS ¶
func (o *Search2Params) SetMinQoS(minQoS *int32)
SetMinQoS adds the minQoS to the search 2 params
func (*Search2Params) SetNetid ¶
func (o *Search2Params) SetNetid(netid *string)
SetNetid adds the netid to the search 2 params
func (*Search2Params) SetNotmine ¶
func (o *Search2Params) SetNotmine(notmine *string)
SetNotmine adds the notmine to the search 2 params
func (*Search2Params) SetOnlymine ¶
func (o *Search2Params) SetOnlymine(onlymine *string)
SetOnlymine adds the onlymine to the search 2 params
func (*Search2Params) SetPaynet ¶
func (o *Search2Params) SetPaynet(paynet *bool)
SetPaynet adds the paynet to the search 2 params
func (*Search2Params) SetPostalCode ¶
func (o *Search2Params) SetPostalCode(postalCode *string)
SetPostalCode adds the postalCode to the search 2 params
func (*Search2Params) SetRegion ¶
func (o *Search2Params) SetRegion(region *string)
SetRegion adds the region to the search 2 params
func (*Search2Params) SetResultsPerPage ¶
func (o *Search2Params) SetResultsPerPage(resultsPerPage *int64)
SetResultsPerPage adds the resultsPerPage to the search 2 params
func (*Search2Params) SetRoad ¶
func (o *Search2Params) SetRoad(road *string)
SetRoad adds the road to the search 2 params
func (*Search2Params) SetSearchAfter ¶
func (o *Search2Params) SetSearchAfter(searchAfter *string)
SetSearchAfter adds the searchAfter to the search 2 params
func (*Search2Params) SetSsid ¶
func (o *Search2Params) SetSsid(ssid *string)
SetSsid adds the ssid to the search 2 params
func (*Search2Params) SetSsidlike ¶
func (o *Search2Params) SetSsidlike(ssidlike *string)
SetSsidlike adds the ssidlike to the search 2 params
func (*Search2Params) SetStartTransID ¶
func (o *Search2Params) SetStartTransID(startTransID *string)
SetStartTransID adds the startTransId to the search 2 params
func (*Search2Params) SetTimeout ¶
func (o *Search2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search 2 params
func (*Search2Params) SetVariance ¶
func (o *Search2Params) SetVariance(variance *float64)
SetVariance adds the variance to the search 2 params
func (*Search2Params) WithCity ¶
func (o *Search2Params) WithCity(city *string) *Search2Params
WithCity adds the city to the search 2 params
func (*Search2Params) WithClosestLat ¶
func (o *Search2Params) WithClosestLat(closestLat *float64) *Search2Params
WithClosestLat adds the closestLat to the search 2 params
func (*Search2Params) WithClosestLong ¶
func (o *Search2Params) WithClosestLong(closestLong *float64) *Search2Params
WithClosestLong adds the closestLong to the search 2 params
func (*Search2Params) WithContext ¶
func (o *Search2Params) WithContext(ctx context.Context) *Search2Params
WithContext adds the context to the search 2 params
func (*Search2Params) WithCountry ¶
func (o *Search2Params) WithCountry(country *string) *Search2Params
WithCountry adds the country to the search 2 params
func (*Search2Params) WithDefaults ¶
func (o *Search2Params) WithDefaults() *Search2Params
WithDefaults hydrates default values in the search 2 params (not the query body).
All values with no default are reset to their zero value.
func (*Search2Params) WithEncryption ¶
func (o *Search2Params) WithEncryption(encryption *string) *Search2Params
WithEncryption adds the encryption to the search 2 params
func (*Search2Params) WithEndTransID ¶
func (o *Search2Params) WithEndTransID(endTransID *string) *Search2Params
WithEndTransID adds the endTransID to the search 2 params
func (*Search2Params) WithFirsttime ¶
func (o *Search2Params) WithFirsttime(firsttime *string) *Search2Params
WithFirsttime adds the firsttime to the search 2 params
func (*Search2Params) WithFreenet ¶
func (o *Search2Params) WithFreenet(freenet *bool) *Search2Params
WithFreenet adds the freenet to the search 2 params
func (*Search2Params) WithHTTPClient ¶
func (o *Search2Params) WithHTTPClient(client *http.Client) *Search2Params
WithHTTPClient adds the HTTPClient to the search 2 params
func (*Search2Params) WithHouseNumber ¶
func (o *Search2Params) WithHouseNumber(houseNumber *string) *Search2Params
WithHouseNumber adds the houseNumber to the search 2 params
func (*Search2Params) WithLasttime ¶
func (o *Search2Params) WithLasttime(lasttime *string) *Search2Params
WithLasttime adds the lasttime to the search 2 params
func (*Search2Params) WithLastupdt ¶
func (o *Search2Params) WithLastupdt(lastupdt *string) *Search2Params
WithLastupdt adds the lastupdt to the search 2 params
func (*Search2Params) WithLatrange1 ¶
func (o *Search2Params) WithLatrange1(latrange1 *float64) *Search2Params
WithLatrange1 adds the latrange1 to the search 2 params
func (*Search2Params) WithLatrange2 ¶
func (o *Search2Params) WithLatrange2(latrange2 *float64) *Search2Params
WithLatrange2 adds the latrange2 to the search 2 params
func (*Search2Params) WithLongrange1 ¶
func (o *Search2Params) WithLongrange1(longrange1 *float64) *Search2Params
WithLongrange1 adds the longrange1 to the search 2 params
func (*Search2Params) WithLongrange2 ¶
func (o *Search2Params) WithLongrange2(longrange2 *float64) *Search2Params
WithLongrange2 adds the longrange2 to the search 2 params
func (*Search2Params) WithMinQoS ¶
func (o *Search2Params) WithMinQoS(minQoS *int32) *Search2Params
WithMinQoS adds the minQoS to the search 2 params
func (*Search2Params) WithNetid ¶
func (o *Search2Params) WithNetid(netid *string) *Search2Params
WithNetid adds the netid to the search 2 params
func (*Search2Params) WithNotmine ¶
func (o *Search2Params) WithNotmine(notmine *string) *Search2Params
WithNotmine adds the notmine to the search 2 params
func (*Search2Params) WithOnlymine ¶
func (o *Search2Params) WithOnlymine(onlymine *string) *Search2Params
WithOnlymine adds the onlymine to the search 2 params
func (*Search2Params) WithPaynet ¶
func (o *Search2Params) WithPaynet(paynet *bool) *Search2Params
WithPaynet adds the paynet to the search 2 params
func (*Search2Params) WithPostalCode ¶
func (o *Search2Params) WithPostalCode(postalCode *string) *Search2Params
WithPostalCode adds the postalCode to the search 2 params
func (*Search2Params) WithRegion ¶
func (o *Search2Params) WithRegion(region *string) *Search2Params
WithRegion adds the region to the search 2 params
func (*Search2Params) WithResultsPerPage ¶
func (o *Search2Params) WithResultsPerPage(resultsPerPage *int64) *Search2Params
WithResultsPerPage adds the resultsPerPage to the search 2 params
func (*Search2Params) WithRoad ¶
func (o *Search2Params) WithRoad(road *string) *Search2Params
WithRoad adds the road to the search 2 params
func (*Search2Params) WithSearchAfter ¶
func (o *Search2Params) WithSearchAfter(searchAfter *string) *Search2Params
WithSearchAfter adds the searchAfter to the search 2 params
func (*Search2Params) WithSsid ¶
func (o *Search2Params) WithSsid(ssid *string) *Search2Params
WithSsid adds the ssid to the search 2 params
func (*Search2Params) WithSsidlike ¶
func (o *Search2Params) WithSsidlike(ssidlike *string) *Search2Params
WithSsidlike adds the ssidlike to the search 2 params
func (*Search2Params) WithStartTransID ¶
func (o *Search2Params) WithStartTransID(startTransID *string) *Search2Params
WithStartTransID adds the startTransID to the search 2 params
func (*Search2Params) WithTimeout ¶
func (o *Search2Params) WithTimeout(timeout time.Duration) *Search2Params
WithTimeout adds the timeout to the search 2 params
func (*Search2Params) WithVariance ¶
func (o *Search2Params) WithVariance(variance *float64) *Search2Params
WithVariance adds the variance to the search 2 params
func (*Search2Params) WriteToRequest ¶
func (o *Search2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type Search2PaymentRequired ¶
type Search2PaymentRequired struct { }
Search2PaymentRequired describes a response with status code 402, with default header values.
Insufficient balance for commercial query
func NewSearch2PaymentRequired ¶
func NewSearch2PaymentRequired() *Search2PaymentRequired
NewSearch2PaymentRequired creates a Search2PaymentRequired with default headers values
func (*Search2PaymentRequired) Error ¶
func (o *Search2PaymentRequired) Error() string
func (*Search2PaymentRequired) IsClientError ¶
func (o *Search2PaymentRequired) IsClientError() bool
IsClientError returns true when this search2 payment required response has a 4xx status code
func (*Search2PaymentRequired) IsCode ¶
func (o *Search2PaymentRequired) IsCode(code int) bool
IsCode returns true when this search2 payment required response a status code equal to that given
func (*Search2PaymentRequired) IsRedirect ¶
func (o *Search2PaymentRequired) IsRedirect() bool
IsRedirect returns true when this search2 payment required response has a 3xx status code
func (*Search2PaymentRequired) IsServerError ¶
func (o *Search2PaymentRequired) IsServerError() bool
IsServerError returns true when this search2 payment required response has a 5xx status code
func (*Search2PaymentRequired) IsSuccess ¶
func (o *Search2PaymentRequired) IsSuccess() bool
IsSuccess returns true when this search2 payment required response has a 2xx status code
func (*Search2PaymentRequired) String ¶
func (o *Search2PaymentRequired) String() string
type Search2Reader ¶
type Search2Reader struct {
// contains filtered or unexported fields
}
Search2Reader is a Reader for the Search2 structure.
func (*Search2Reader) ReadResponse ¶
func (o *Search2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Search2TooManyRequests ¶
type Search2TooManyRequests struct { }
Search2TooManyRequests describes a response with status code 429, with default header values.
too many queries today.
func NewSearch2TooManyRequests ¶
func NewSearch2TooManyRequests() *Search2TooManyRequests
NewSearch2TooManyRequests creates a Search2TooManyRequests with default headers values
func (*Search2TooManyRequests) Error ¶
func (o *Search2TooManyRequests) Error() string
func (*Search2TooManyRequests) IsClientError ¶
func (o *Search2TooManyRequests) IsClientError() bool
IsClientError returns true when this search2 too many requests response has a 4xx status code
func (*Search2TooManyRequests) IsCode ¶
func (o *Search2TooManyRequests) IsCode(code int) bool
IsCode returns true when this search2 too many requests response a status code equal to that given
func (*Search2TooManyRequests) IsRedirect ¶
func (o *Search2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this search2 too many requests response has a 3xx status code
func (*Search2TooManyRequests) IsServerError ¶
func (o *Search2TooManyRequests) IsServerError() bool
IsServerError returns true when this search2 too many requests response has a 5xx status code
func (*Search2TooManyRequests) IsSuccess ¶
func (o *Search2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this search2 too many requests response has a 2xx status code
func (*Search2TooManyRequests) String ¶
func (o *Search2TooManyRequests) String() string