Documentation ¶
Index ¶
- type Client
- func (a *Client) GetNetworkBluetoothClient(params *GetNetworkBluetoothClientParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkBluetoothClientOK, error)
- func (a *Client) GetNetworkBluetoothClients(params *GetNetworkBluetoothClientsParams, ...) (*GetNetworkBluetoothClientsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetNetworkBluetoothClientOK
- type GetNetworkBluetoothClientParams
- func NewGetNetworkBluetoothClientParams() *GetNetworkBluetoothClientParams
- func NewGetNetworkBluetoothClientParamsWithContext(ctx context.Context) *GetNetworkBluetoothClientParams
- func NewGetNetworkBluetoothClientParamsWithHTTPClient(client *http.Client) *GetNetworkBluetoothClientParams
- func NewGetNetworkBluetoothClientParamsWithTimeout(timeout time.Duration) *GetNetworkBluetoothClientParams
- func (o *GetNetworkBluetoothClientParams) SetBluetoothClientID(bluetoothClientID string)
- func (o *GetNetworkBluetoothClientParams) SetConnectivityHistoryTimespan(connectivityHistoryTimespan *int32)
- func (o *GetNetworkBluetoothClientParams) SetContext(ctx context.Context)
- func (o *GetNetworkBluetoothClientParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkBluetoothClientParams) SetIncludeConnectivityHistory(includeConnectivityHistory *bool)
- func (o *GetNetworkBluetoothClientParams) SetNetworkID(networkID string)
- func (o *GetNetworkBluetoothClientParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkBluetoothClientParams) WithBluetoothClientID(bluetoothClientID string) *GetNetworkBluetoothClientParams
- func (o *GetNetworkBluetoothClientParams) WithConnectivityHistoryTimespan(connectivityHistoryTimespan *int32) *GetNetworkBluetoothClientParams
- func (o *GetNetworkBluetoothClientParams) WithContext(ctx context.Context) *GetNetworkBluetoothClientParams
- func (o *GetNetworkBluetoothClientParams) WithHTTPClient(client *http.Client) *GetNetworkBluetoothClientParams
- func (o *GetNetworkBluetoothClientParams) WithIncludeConnectivityHistory(includeConnectivityHistory *bool) *GetNetworkBluetoothClientParams
- func (o *GetNetworkBluetoothClientParams) WithNetworkID(networkID string) *GetNetworkBluetoothClientParams
- func (o *GetNetworkBluetoothClientParams) WithTimeout(timeout time.Duration) *GetNetworkBluetoothClientParams
- func (o *GetNetworkBluetoothClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkBluetoothClientReader
- type GetNetworkBluetoothClientsOK
- type GetNetworkBluetoothClientsParams
- func NewGetNetworkBluetoothClientsParams() *GetNetworkBluetoothClientsParams
- func NewGetNetworkBluetoothClientsParamsWithContext(ctx context.Context) *GetNetworkBluetoothClientsParams
- func NewGetNetworkBluetoothClientsParamsWithHTTPClient(client *http.Client) *GetNetworkBluetoothClientsParams
- func NewGetNetworkBluetoothClientsParamsWithTimeout(timeout time.Duration) *GetNetworkBluetoothClientsParams
- func (o *GetNetworkBluetoothClientsParams) SetContext(ctx context.Context)
- func (o *GetNetworkBluetoothClientsParams) SetEndingBefore(endingBefore *string)
- func (o *GetNetworkBluetoothClientsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkBluetoothClientsParams) SetIncludeConnectivityHistory(includeConnectivityHistory *bool)
- func (o *GetNetworkBluetoothClientsParams) SetNetworkID(networkID string)
- func (o *GetNetworkBluetoothClientsParams) SetPerPage(perPage *int32)
- func (o *GetNetworkBluetoothClientsParams) SetStartingAfter(startingAfter *string)
- func (o *GetNetworkBluetoothClientsParams) SetT0(t0 *string)
- func (o *GetNetworkBluetoothClientsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkBluetoothClientsParams) SetTimespan(timespan *float64)
- func (o *GetNetworkBluetoothClientsParams) WithContext(ctx context.Context) *GetNetworkBluetoothClientsParams
- func (o *GetNetworkBluetoothClientsParams) WithEndingBefore(endingBefore *string) *GetNetworkBluetoothClientsParams
- func (o *GetNetworkBluetoothClientsParams) WithHTTPClient(client *http.Client) *GetNetworkBluetoothClientsParams
- func (o *GetNetworkBluetoothClientsParams) WithIncludeConnectivityHistory(includeConnectivityHistory *bool) *GetNetworkBluetoothClientsParams
- func (o *GetNetworkBluetoothClientsParams) WithNetworkID(networkID string) *GetNetworkBluetoothClientsParams
- func (o *GetNetworkBluetoothClientsParams) WithPerPage(perPage *int32) *GetNetworkBluetoothClientsParams
- func (o *GetNetworkBluetoothClientsParams) WithStartingAfter(startingAfter *string) *GetNetworkBluetoothClientsParams
- func (o *GetNetworkBluetoothClientsParams) WithT0(t0 *string) *GetNetworkBluetoothClientsParams
- func (o *GetNetworkBluetoothClientsParams) WithTimeout(timeout time.Duration) *GetNetworkBluetoothClientsParams
- func (o *GetNetworkBluetoothClientsParams) WithTimespan(timespan *float64) *GetNetworkBluetoothClientsParams
- func (o *GetNetworkBluetoothClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkBluetoothClientsReader
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 bluetooth clients API
func (*Client) GetNetworkBluetoothClient ¶
func (a *Client) GetNetworkBluetoothClient(params *GetNetworkBluetoothClientParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkBluetoothClientOK, error)
GetNetworkBluetoothClient gets network bluetooth client
Return a Bluetooth client. Bluetooth clients can be identified by their ID or their MAC.
func (*Client) GetNetworkBluetoothClients ¶
func (a *Client) GetNetworkBluetoothClients(params *GetNetworkBluetoothClientsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkBluetoothClientsOK, error)
GetNetworkBluetoothClients gets network bluetooth clients
List the Bluetooth clients seen by APs in this network
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetNetworkBluetoothClient(params *GetNetworkBluetoothClientParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkBluetoothClientOK, error) GetNetworkBluetoothClients(params *GetNetworkBluetoothClientsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkBluetoothClientsOK, 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 bluetooth clients API client.
type GetNetworkBluetoothClientOK ¶
type GetNetworkBluetoothClientOK struct {
Payload interface{}
}
GetNetworkBluetoothClientOK handles this case with default header values.
Successful operation
func NewGetNetworkBluetoothClientOK ¶
func NewGetNetworkBluetoothClientOK() *GetNetworkBluetoothClientOK
NewGetNetworkBluetoothClientOK creates a GetNetworkBluetoothClientOK with default headers values
func (*GetNetworkBluetoothClientOK) Error ¶
func (o *GetNetworkBluetoothClientOK) Error() string
func (*GetNetworkBluetoothClientOK) GetPayload ¶
func (o *GetNetworkBluetoothClientOK) GetPayload() interface{}
type GetNetworkBluetoothClientParams ¶
type GetNetworkBluetoothClientParams struct { /*BluetoothClientID*/ BluetoothClientID string /*ConnectivityHistoryTimespan The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used. */ ConnectivityHistoryTimespan *int32 /*IncludeConnectivityHistory Include the connectivity history for this client */ IncludeConnectivityHistory *bool /*NetworkID*/ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkBluetoothClientParams contains all the parameters to send to the API endpoint for the get network bluetooth client operation typically these are written to a http.Request
func NewGetNetworkBluetoothClientParams ¶
func NewGetNetworkBluetoothClientParams() *GetNetworkBluetoothClientParams
NewGetNetworkBluetoothClientParams creates a new GetNetworkBluetoothClientParams object with the default values initialized.
func NewGetNetworkBluetoothClientParamsWithContext ¶
func NewGetNetworkBluetoothClientParamsWithContext(ctx context.Context) *GetNetworkBluetoothClientParams
NewGetNetworkBluetoothClientParamsWithContext creates a new GetNetworkBluetoothClientParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkBluetoothClientParamsWithHTTPClient ¶
func NewGetNetworkBluetoothClientParamsWithHTTPClient(client *http.Client) *GetNetworkBluetoothClientParams
NewGetNetworkBluetoothClientParamsWithHTTPClient creates a new GetNetworkBluetoothClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkBluetoothClientParamsWithTimeout ¶
func NewGetNetworkBluetoothClientParamsWithTimeout(timeout time.Duration) *GetNetworkBluetoothClientParams
NewGetNetworkBluetoothClientParamsWithTimeout creates a new GetNetworkBluetoothClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkBluetoothClientParams) SetBluetoothClientID ¶
func (o *GetNetworkBluetoothClientParams) SetBluetoothClientID(bluetoothClientID string)
SetBluetoothClientID adds the bluetoothClientId to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) SetConnectivityHistoryTimespan ¶
func (o *GetNetworkBluetoothClientParams) SetConnectivityHistoryTimespan(connectivityHistoryTimespan *int32)
SetConnectivityHistoryTimespan adds the connectivityHistoryTimespan to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) SetContext ¶
func (o *GetNetworkBluetoothClientParams) SetContext(ctx context.Context)
SetContext adds the context to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) SetHTTPClient ¶
func (o *GetNetworkBluetoothClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) SetIncludeConnectivityHistory ¶
func (o *GetNetworkBluetoothClientParams) SetIncludeConnectivityHistory(includeConnectivityHistory *bool)
SetIncludeConnectivityHistory adds the includeConnectivityHistory to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) SetNetworkID ¶
func (o *GetNetworkBluetoothClientParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) SetTimeout ¶
func (o *GetNetworkBluetoothClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) WithBluetoothClientID ¶
func (o *GetNetworkBluetoothClientParams) WithBluetoothClientID(bluetoothClientID string) *GetNetworkBluetoothClientParams
WithBluetoothClientID adds the bluetoothClientID to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) WithConnectivityHistoryTimespan ¶
func (o *GetNetworkBluetoothClientParams) WithConnectivityHistoryTimespan(connectivityHistoryTimespan *int32) *GetNetworkBluetoothClientParams
WithConnectivityHistoryTimespan adds the connectivityHistoryTimespan to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) WithContext ¶
func (o *GetNetworkBluetoothClientParams) WithContext(ctx context.Context) *GetNetworkBluetoothClientParams
WithContext adds the context to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) WithHTTPClient ¶
func (o *GetNetworkBluetoothClientParams) WithHTTPClient(client *http.Client) *GetNetworkBluetoothClientParams
WithHTTPClient adds the HTTPClient to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) WithIncludeConnectivityHistory ¶
func (o *GetNetworkBluetoothClientParams) WithIncludeConnectivityHistory(includeConnectivityHistory *bool) *GetNetworkBluetoothClientParams
WithIncludeConnectivityHistory adds the includeConnectivityHistory to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) WithNetworkID ¶
func (o *GetNetworkBluetoothClientParams) WithNetworkID(networkID string) *GetNetworkBluetoothClientParams
WithNetworkID adds the networkID to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) WithTimeout ¶
func (o *GetNetworkBluetoothClientParams) WithTimeout(timeout time.Duration) *GetNetworkBluetoothClientParams
WithTimeout adds the timeout to the get network bluetooth client params
func (*GetNetworkBluetoothClientParams) WriteToRequest ¶
func (o *GetNetworkBluetoothClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkBluetoothClientReader ¶
type GetNetworkBluetoothClientReader struct {
// contains filtered or unexported fields
}
GetNetworkBluetoothClientReader is a Reader for the GetNetworkBluetoothClient structure.
func (*GetNetworkBluetoothClientReader) ReadResponse ¶
func (o *GetNetworkBluetoothClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkBluetoothClientsOK ¶
type GetNetworkBluetoothClientsOK struct {
Payload interface{}
}
GetNetworkBluetoothClientsOK handles this case with default header values.
Successful operation
func NewGetNetworkBluetoothClientsOK ¶
func NewGetNetworkBluetoothClientsOK() *GetNetworkBluetoothClientsOK
NewGetNetworkBluetoothClientsOK creates a GetNetworkBluetoothClientsOK with default headers values
func (*GetNetworkBluetoothClientsOK) Error ¶
func (o *GetNetworkBluetoothClientsOK) Error() string
func (*GetNetworkBluetoothClientsOK) GetPayload ¶
func (o *GetNetworkBluetoothClientsOK) GetPayload() interface{}
type GetNetworkBluetoothClientsParams ¶
type GetNetworkBluetoothClientsParams struct { /*EndingBefore A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /*IncludeConnectivityHistory Include the connectivity history for this client */ IncludeConnectivityHistory *bool /*NetworkID*/ NetworkID string /*PerPage The number of entries per page returned. Acceptable range is 5 - 1000. Default is 10. */ PerPage *int32 /*StartingAfter A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string /*T0 The beginning of the timespan for the data. The maximum lookback period is 7 days from today. */ T0 *string /*Timespan The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 7 days. The default is 1 day. */ Timespan *float64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkBluetoothClientsParams contains all the parameters to send to the API endpoint for the get network bluetooth clients operation typically these are written to a http.Request
func NewGetNetworkBluetoothClientsParams ¶
func NewGetNetworkBluetoothClientsParams() *GetNetworkBluetoothClientsParams
NewGetNetworkBluetoothClientsParams creates a new GetNetworkBluetoothClientsParams object with the default values initialized.
func NewGetNetworkBluetoothClientsParamsWithContext ¶
func NewGetNetworkBluetoothClientsParamsWithContext(ctx context.Context) *GetNetworkBluetoothClientsParams
NewGetNetworkBluetoothClientsParamsWithContext creates a new GetNetworkBluetoothClientsParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkBluetoothClientsParamsWithHTTPClient ¶
func NewGetNetworkBluetoothClientsParamsWithHTTPClient(client *http.Client) *GetNetworkBluetoothClientsParams
NewGetNetworkBluetoothClientsParamsWithHTTPClient creates a new GetNetworkBluetoothClientsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkBluetoothClientsParamsWithTimeout ¶
func NewGetNetworkBluetoothClientsParamsWithTimeout(timeout time.Duration) *GetNetworkBluetoothClientsParams
NewGetNetworkBluetoothClientsParamsWithTimeout creates a new GetNetworkBluetoothClientsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkBluetoothClientsParams) SetContext ¶
func (o *GetNetworkBluetoothClientsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) SetEndingBefore ¶
func (o *GetNetworkBluetoothClientsParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) SetHTTPClient ¶
func (o *GetNetworkBluetoothClientsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) SetIncludeConnectivityHistory ¶
func (o *GetNetworkBluetoothClientsParams) SetIncludeConnectivityHistory(includeConnectivityHistory *bool)
SetIncludeConnectivityHistory adds the includeConnectivityHistory to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) SetNetworkID ¶
func (o *GetNetworkBluetoothClientsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) SetPerPage ¶
func (o *GetNetworkBluetoothClientsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) SetStartingAfter ¶
func (o *GetNetworkBluetoothClientsParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) SetT0 ¶
func (o *GetNetworkBluetoothClientsParams) SetT0(t0 *string)
SetT0 adds the t0 to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) SetTimeout ¶
func (o *GetNetworkBluetoothClientsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) SetTimespan ¶
func (o *GetNetworkBluetoothClientsParams) SetTimespan(timespan *float64)
SetTimespan adds the timespan to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) WithContext ¶
func (o *GetNetworkBluetoothClientsParams) WithContext(ctx context.Context) *GetNetworkBluetoothClientsParams
WithContext adds the context to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) WithEndingBefore ¶
func (o *GetNetworkBluetoothClientsParams) WithEndingBefore(endingBefore *string) *GetNetworkBluetoothClientsParams
WithEndingBefore adds the endingBefore to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) WithHTTPClient ¶
func (o *GetNetworkBluetoothClientsParams) WithHTTPClient(client *http.Client) *GetNetworkBluetoothClientsParams
WithHTTPClient adds the HTTPClient to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) WithIncludeConnectivityHistory ¶
func (o *GetNetworkBluetoothClientsParams) WithIncludeConnectivityHistory(includeConnectivityHistory *bool) *GetNetworkBluetoothClientsParams
WithIncludeConnectivityHistory adds the includeConnectivityHistory to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) WithNetworkID ¶
func (o *GetNetworkBluetoothClientsParams) WithNetworkID(networkID string) *GetNetworkBluetoothClientsParams
WithNetworkID adds the networkID to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) WithPerPage ¶
func (o *GetNetworkBluetoothClientsParams) WithPerPage(perPage *int32) *GetNetworkBluetoothClientsParams
WithPerPage adds the perPage to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) WithStartingAfter ¶
func (o *GetNetworkBluetoothClientsParams) WithStartingAfter(startingAfter *string) *GetNetworkBluetoothClientsParams
WithStartingAfter adds the startingAfter to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) WithT0 ¶
func (o *GetNetworkBluetoothClientsParams) WithT0(t0 *string) *GetNetworkBluetoothClientsParams
WithT0 adds the t0 to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) WithTimeout ¶
func (o *GetNetworkBluetoothClientsParams) WithTimeout(timeout time.Duration) *GetNetworkBluetoothClientsParams
WithTimeout adds the timeout to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) WithTimespan ¶
func (o *GetNetworkBluetoothClientsParams) WithTimespan(timespan *float64) *GetNetworkBluetoothClientsParams
WithTimespan adds the timespan to the get network bluetooth clients params
func (*GetNetworkBluetoothClientsParams) WriteToRequest ¶
func (o *GetNetworkBluetoothClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkBluetoothClientsReader ¶
type GetNetworkBluetoothClientsReader struct {
// contains filtered or unexported fields
}
GetNetworkBluetoothClientsReader is a Reader for the GetNetworkBluetoothClients structure.
func (*GetNetworkBluetoothClientsReader) ReadResponse ¶
func (o *GetNetworkBluetoothClientsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.