bluetooth_clients

package
v0.0.0-...-b7c797c Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*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

WithContext adds the context to the get network bluetooth client params

func (*GetNetworkBluetoothClientParams) WithHTTPClient

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

WithNetworkID adds the networkID to the get network bluetooth client params

func (*GetNetworkBluetoothClientParams) WithTimeout

WithTimeout adds the timeout to the get network bluetooth client params

func (*GetNetworkBluetoothClientParams) WriteToRequest

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 (*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

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

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

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

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

WithNetworkID adds the networkID to the get network bluetooth clients params

func (*GetNetworkBluetoothClientsParams) WithPerPage

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

WithT0 adds the t0 to the get network bluetooth clients params

func (*GetNetworkBluetoothClientsParams) WithTimeout

WithTimeout adds the timeout to the get network bluetooth clients params

func (*GetNetworkBluetoothClientsParams) WithTimespan

WithTimespan adds the timespan to the get network bluetooth clients params

func (*GetNetworkBluetoothClientsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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