bluetooth_settings

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 settings API

func (*Client) GetDeviceWirelessBluetoothSettings

GetDeviceWirelessBluetoothSettings gets device wireless bluetooth settings

Return the bluetooth settings for a wireless device

func (*Client) GetNetworkBluetoothSettings

func (a *Client) GetNetworkBluetoothSettings(params *GetNetworkBluetoothSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkBluetoothSettingsOK, error)

GetNetworkBluetoothSettings gets network bluetooth settings

Return the Bluetooth settings for a network. <a href="https://documentation.meraki.com/MR/Bluetooth/Bluetooth_Low_Energy_(BLE)">Bluetooth settings</a> must be enabled on the network.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDeviceWirelessBluetoothSettings

UpdateDeviceWirelessBluetoothSettings updates device wireless bluetooth settings

Update the bluetooth settings for a wireless device

func (*Client) UpdateNetworkBluetoothSettings

func (a *Client) UpdateNetworkBluetoothSettings(params *UpdateNetworkBluetoothSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkBluetoothSettingsOK, error)

UpdateNetworkBluetoothSettings updates network bluetooth settings

Update the Bluetooth settings for a network. See the docs page for <a href="https://documentation.meraki.com/MR/Bluetooth/Bluetooth_Low_Energy_(BLE)">Bluetooth settings</a>.

type ClientService

type ClientService interface {
	GetDeviceWirelessBluetoothSettings(params *GetDeviceWirelessBluetoothSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceWirelessBluetoothSettingsOK, error)

	GetNetworkBluetoothSettings(params *GetNetworkBluetoothSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkBluetoothSettingsOK, error)

	UpdateDeviceWirelessBluetoothSettings(params *UpdateDeviceWirelessBluetoothSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeviceWirelessBluetoothSettingsOK, error)

	UpdateNetworkBluetoothSettings(params *UpdateNetworkBluetoothSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkBluetoothSettingsOK, 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 settings API client.

type GetDeviceWirelessBluetoothSettingsOK

type GetDeviceWirelessBluetoothSettingsOK struct {
	Payload interface{}
}

GetDeviceWirelessBluetoothSettingsOK handles this case with default header values.

Successful operation

func NewGetDeviceWirelessBluetoothSettingsOK

func NewGetDeviceWirelessBluetoothSettingsOK() *GetDeviceWirelessBluetoothSettingsOK

NewGetDeviceWirelessBluetoothSettingsOK creates a GetDeviceWirelessBluetoothSettingsOK with default headers values

func (*GetDeviceWirelessBluetoothSettingsOK) Error

func (*GetDeviceWirelessBluetoothSettingsOK) GetPayload

func (o *GetDeviceWirelessBluetoothSettingsOK) GetPayload() interface{}

type GetDeviceWirelessBluetoothSettingsParams

type GetDeviceWirelessBluetoothSettingsParams struct {

	/*Serial*/
	Serial string

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

GetDeviceWirelessBluetoothSettingsParams contains all the parameters to send to the API endpoint for the get device wireless bluetooth settings operation typically these are written to a http.Request

func NewGetDeviceWirelessBluetoothSettingsParams

func NewGetDeviceWirelessBluetoothSettingsParams() *GetDeviceWirelessBluetoothSettingsParams

NewGetDeviceWirelessBluetoothSettingsParams creates a new GetDeviceWirelessBluetoothSettingsParams object with the default values initialized.

func NewGetDeviceWirelessBluetoothSettingsParamsWithContext

func NewGetDeviceWirelessBluetoothSettingsParamsWithContext(ctx context.Context) *GetDeviceWirelessBluetoothSettingsParams

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

func NewGetDeviceWirelessBluetoothSettingsParamsWithHTTPClient

func NewGetDeviceWirelessBluetoothSettingsParamsWithHTTPClient(client *http.Client) *GetDeviceWirelessBluetoothSettingsParams

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

func NewGetDeviceWirelessBluetoothSettingsParamsWithTimeout

func NewGetDeviceWirelessBluetoothSettingsParamsWithTimeout(timeout time.Duration) *GetDeviceWirelessBluetoothSettingsParams

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

func (*GetDeviceWirelessBluetoothSettingsParams) SetContext

SetContext adds the context to the get device wireless bluetooth settings params

func (*GetDeviceWirelessBluetoothSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get device wireless bluetooth settings params

func (*GetDeviceWirelessBluetoothSettingsParams) SetSerial

func (o *GetDeviceWirelessBluetoothSettingsParams) SetSerial(serial string)

SetSerial adds the serial to the get device wireless bluetooth settings params

func (*GetDeviceWirelessBluetoothSettingsParams) SetTimeout

SetTimeout adds the timeout to the get device wireless bluetooth settings params

func (*GetDeviceWirelessBluetoothSettingsParams) WithContext

WithContext adds the context to the get device wireless bluetooth settings params

func (*GetDeviceWirelessBluetoothSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device wireless bluetooth settings params

func (*GetDeviceWirelessBluetoothSettingsParams) WithSerial

WithSerial adds the serial to the get device wireless bluetooth settings params

func (*GetDeviceWirelessBluetoothSettingsParams) WithTimeout

WithTimeout adds the timeout to the get device wireless bluetooth settings params

func (*GetDeviceWirelessBluetoothSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceWirelessBluetoothSettingsReader

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

GetDeviceWirelessBluetoothSettingsReader is a Reader for the GetDeviceWirelessBluetoothSettings structure.

func (*GetDeviceWirelessBluetoothSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkBluetoothSettingsOK

type GetNetworkBluetoothSettingsOK struct {
	Payload interface{}
}

GetNetworkBluetoothSettingsOK handles this case with default header values.

Successful operation

func NewGetNetworkBluetoothSettingsOK

func NewGetNetworkBluetoothSettingsOK() *GetNetworkBluetoothSettingsOK

NewGetNetworkBluetoothSettingsOK creates a GetNetworkBluetoothSettingsOK with default headers values

func (*GetNetworkBluetoothSettingsOK) Error

func (*GetNetworkBluetoothSettingsOK) GetPayload

func (o *GetNetworkBluetoothSettingsOK) GetPayload() interface{}

type GetNetworkBluetoothSettingsParams

type GetNetworkBluetoothSettingsParams struct {

	/*NetworkID*/
	NetworkID string

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

GetNetworkBluetoothSettingsParams contains all the parameters to send to the API endpoint for the get network bluetooth settings operation typically these are written to a http.Request

func NewGetNetworkBluetoothSettingsParams

func NewGetNetworkBluetoothSettingsParams() *GetNetworkBluetoothSettingsParams

NewGetNetworkBluetoothSettingsParams creates a new GetNetworkBluetoothSettingsParams object with the default values initialized.

func NewGetNetworkBluetoothSettingsParamsWithContext

func NewGetNetworkBluetoothSettingsParamsWithContext(ctx context.Context) *GetNetworkBluetoothSettingsParams

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

func NewGetNetworkBluetoothSettingsParamsWithHTTPClient

func NewGetNetworkBluetoothSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkBluetoothSettingsParams

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

func NewGetNetworkBluetoothSettingsParamsWithTimeout

func NewGetNetworkBluetoothSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkBluetoothSettingsParams

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

func (*GetNetworkBluetoothSettingsParams) SetContext

SetContext adds the context to the get network bluetooth settings params

func (*GetNetworkBluetoothSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network bluetooth settings params

func (*GetNetworkBluetoothSettingsParams) SetNetworkID

func (o *GetNetworkBluetoothSettingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network bluetooth settings params

func (*GetNetworkBluetoothSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get network bluetooth settings params

func (*GetNetworkBluetoothSettingsParams) WithContext

WithContext adds the context to the get network bluetooth settings params

func (*GetNetworkBluetoothSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network bluetooth settings params

func (*GetNetworkBluetoothSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the get network bluetooth settings params

func (*GetNetworkBluetoothSettingsParams) WithTimeout

WithTimeout adds the timeout to the get network bluetooth settings params

func (*GetNetworkBluetoothSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkBluetoothSettingsReader

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

GetNetworkBluetoothSettingsReader is a Reader for the GetNetworkBluetoothSettings structure.

func (*GetNetworkBluetoothSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDeviceWirelessBluetoothSettingsOK

type UpdateDeviceWirelessBluetoothSettingsOK struct {
	Payload interface{}
}

UpdateDeviceWirelessBluetoothSettingsOK handles this case with default header values.

Successful operation

func NewUpdateDeviceWirelessBluetoothSettingsOK

func NewUpdateDeviceWirelessBluetoothSettingsOK() *UpdateDeviceWirelessBluetoothSettingsOK

NewUpdateDeviceWirelessBluetoothSettingsOK creates a UpdateDeviceWirelessBluetoothSettingsOK with default headers values

func (*UpdateDeviceWirelessBluetoothSettingsOK) Error

func (*UpdateDeviceWirelessBluetoothSettingsOK) GetPayload

func (o *UpdateDeviceWirelessBluetoothSettingsOK) GetPayload() interface{}

type UpdateDeviceWirelessBluetoothSettingsParams

type UpdateDeviceWirelessBluetoothSettingsParams struct {

	/*Serial*/
	Serial string
	/*UpdateDeviceWirelessBluetoothSettings*/
	UpdateDeviceWirelessBluetoothSettings *models.UpdateDeviceWirelessBluetoothSettings

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

UpdateDeviceWirelessBluetoothSettingsParams contains all the parameters to send to the API endpoint for the update device wireless bluetooth settings operation typically these are written to a http.Request

func NewUpdateDeviceWirelessBluetoothSettingsParams

func NewUpdateDeviceWirelessBluetoothSettingsParams() *UpdateDeviceWirelessBluetoothSettingsParams

NewUpdateDeviceWirelessBluetoothSettingsParams creates a new UpdateDeviceWirelessBluetoothSettingsParams object with the default values initialized.

func NewUpdateDeviceWirelessBluetoothSettingsParamsWithContext

func NewUpdateDeviceWirelessBluetoothSettingsParamsWithContext(ctx context.Context) *UpdateDeviceWirelessBluetoothSettingsParams

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

func NewUpdateDeviceWirelessBluetoothSettingsParamsWithHTTPClient

func NewUpdateDeviceWirelessBluetoothSettingsParamsWithHTTPClient(client *http.Client) *UpdateDeviceWirelessBluetoothSettingsParams

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

func NewUpdateDeviceWirelessBluetoothSettingsParamsWithTimeout

func NewUpdateDeviceWirelessBluetoothSettingsParamsWithTimeout(timeout time.Duration) *UpdateDeviceWirelessBluetoothSettingsParams

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

func (*UpdateDeviceWirelessBluetoothSettingsParams) SetContext

SetContext adds the context to the update device wireless bluetooth settings params

func (*UpdateDeviceWirelessBluetoothSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update device wireless bluetooth settings params

func (*UpdateDeviceWirelessBluetoothSettingsParams) SetSerial

SetSerial adds the serial to the update device wireless bluetooth settings params

func (*UpdateDeviceWirelessBluetoothSettingsParams) SetTimeout

SetTimeout adds the timeout to the update device wireless bluetooth settings params

func (*UpdateDeviceWirelessBluetoothSettingsParams) SetUpdateDeviceWirelessBluetoothSettings

func (o *UpdateDeviceWirelessBluetoothSettingsParams) SetUpdateDeviceWirelessBluetoothSettings(updateDeviceWirelessBluetoothSettings *models.UpdateDeviceWirelessBluetoothSettings)

SetUpdateDeviceWirelessBluetoothSettings adds the updateDeviceWirelessBluetoothSettings to the update device wireless bluetooth settings params

func (*UpdateDeviceWirelessBluetoothSettingsParams) WithContext

WithContext adds the context to the update device wireless bluetooth settings params

func (*UpdateDeviceWirelessBluetoothSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update device wireless bluetooth settings params

func (*UpdateDeviceWirelessBluetoothSettingsParams) WithSerial

WithSerial adds the serial to the update device wireless bluetooth settings params

func (*UpdateDeviceWirelessBluetoothSettingsParams) WithTimeout

WithTimeout adds the timeout to the update device wireless bluetooth settings params

func (*UpdateDeviceWirelessBluetoothSettingsParams) WithUpdateDeviceWirelessBluetoothSettings

func (o *UpdateDeviceWirelessBluetoothSettingsParams) WithUpdateDeviceWirelessBluetoothSettings(updateDeviceWirelessBluetoothSettings *models.UpdateDeviceWirelessBluetoothSettings) *UpdateDeviceWirelessBluetoothSettingsParams

WithUpdateDeviceWirelessBluetoothSettings adds the updateDeviceWirelessBluetoothSettings to the update device wireless bluetooth settings params

func (*UpdateDeviceWirelessBluetoothSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceWirelessBluetoothSettingsReader

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

UpdateDeviceWirelessBluetoothSettingsReader is a Reader for the UpdateDeviceWirelessBluetoothSettings structure.

func (*UpdateDeviceWirelessBluetoothSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkBluetoothSettingsOK

type UpdateNetworkBluetoothSettingsOK struct {
	Payload interface{}
}

UpdateNetworkBluetoothSettingsOK handles this case with default header values.

Successful operation

func NewUpdateNetworkBluetoothSettingsOK

func NewUpdateNetworkBluetoothSettingsOK() *UpdateNetworkBluetoothSettingsOK

NewUpdateNetworkBluetoothSettingsOK creates a UpdateNetworkBluetoothSettingsOK with default headers values

func (*UpdateNetworkBluetoothSettingsOK) Error

func (*UpdateNetworkBluetoothSettingsOK) GetPayload

func (o *UpdateNetworkBluetoothSettingsOK) GetPayload() interface{}

type UpdateNetworkBluetoothSettingsParams

type UpdateNetworkBluetoothSettingsParams struct {

	/*NetworkID*/
	NetworkID string
	/*UpdateNetworkBluetoothSettings*/
	UpdateNetworkBluetoothSettings *models.UpdateNetworkBluetoothSettings

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

UpdateNetworkBluetoothSettingsParams contains all the parameters to send to the API endpoint for the update network bluetooth settings operation typically these are written to a http.Request

func NewUpdateNetworkBluetoothSettingsParams

func NewUpdateNetworkBluetoothSettingsParams() *UpdateNetworkBluetoothSettingsParams

NewUpdateNetworkBluetoothSettingsParams creates a new UpdateNetworkBluetoothSettingsParams object with the default values initialized.

func NewUpdateNetworkBluetoothSettingsParamsWithContext

func NewUpdateNetworkBluetoothSettingsParamsWithContext(ctx context.Context) *UpdateNetworkBluetoothSettingsParams

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

func NewUpdateNetworkBluetoothSettingsParamsWithHTTPClient

func NewUpdateNetworkBluetoothSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkBluetoothSettingsParams

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

func NewUpdateNetworkBluetoothSettingsParamsWithTimeout

func NewUpdateNetworkBluetoothSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkBluetoothSettingsParams

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

func (*UpdateNetworkBluetoothSettingsParams) SetContext

SetContext adds the context to the update network bluetooth settings params

func (*UpdateNetworkBluetoothSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network bluetooth settings params

func (*UpdateNetworkBluetoothSettingsParams) SetNetworkID

func (o *UpdateNetworkBluetoothSettingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network bluetooth settings params

func (*UpdateNetworkBluetoothSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the update network bluetooth settings params

func (*UpdateNetworkBluetoothSettingsParams) SetUpdateNetworkBluetoothSettings

func (o *UpdateNetworkBluetoothSettingsParams) SetUpdateNetworkBluetoothSettings(updateNetworkBluetoothSettings *models.UpdateNetworkBluetoothSettings)

SetUpdateNetworkBluetoothSettings adds the updateNetworkBluetoothSettings to the update network bluetooth settings params

func (*UpdateNetworkBluetoothSettingsParams) WithContext

WithContext adds the context to the update network bluetooth settings params

func (*UpdateNetworkBluetoothSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network bluetooth settings params

func (*UpdateNetworkBluetoothSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the update network bluetooth settings params

func (*UpdateNetworkBluetoothSettingsParams) WithTimeout

WithTimeout adds the timeout to the update network bluetooth settings params

func (*UpdateNetworkBluetoothSettingsParams) WithUpdateNetworkBluetoothSettings

func (o *UpdateNetworkBluetoothSettingsParams) WithUpdateNetworkBluetoothSettings(updateNetworkBluetoothSettings *models.UpdateNetworkBluetoothSettings) *UpdateNetworkBluetoothSettingsParams

WithUpdateNetworkBluetoothSettings adds the updateNetworkBluetoothSettings to the update network bluetooth settings params

func (*UpdateNetworkBluetoothSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkBluetoothSettingsReader

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

UpdateNetworkBluetoothSettingsReader is a Reader for the UpdateNetworkBluetoothSettings structure.

func (*UpdateNetworkBluetoothSettingsReader) ReadResponse

func (o *UpdateNetworkBluetoothSettingsReader) 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