communication_device

package
v0.0.0-...-b500c14 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 12 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 communication device API

func (*Client) GetCommunicationDeviceInformationBySerialNumber

GetCommunicationDeviceInformationBySerialNumber gets communication device information by serial number

Get a communication device's information by serial number

func (*Client) GetYourCommunicationDevices

func (a *Client) GetYourCommunicationDevices(params *GetYourCommunicationDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetYourCommunicationDevicesOK, error)

GetYourCommunicationDevices gets your communication devices

View a collection of communication devices you have access to

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 may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	GetCommunicationDeviceInformationBySerialNumber(params *GetCommunicationDeviceInformationBySerialNumberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommunicationDeviceInformationBySerialNumberOK, error)

	GetYourCommunicationDevices(params *GetYourCommunicationDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetYourCommunicationDevicesOK, 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 communication device API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new communication device API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new communication device API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type GetCommunicationDeviceInformationBySerialNumberOK

type GetCommunicationDeviceInformationBySerialNumberOK struct {
	Payload *GetCommunicationDeviceInformationBySerialNumberOKBody
}

GetCommunicationDeviceInformationBySerialNumberOK describes a response with status code 200, with default header values.

GetCommunicationDeviceInformationBySerialNumberOK get communication device information by serial number o k

func NewGetCommunicationDeviceInformationBySerialNumberOK

func NewGetCommunicationDeviceInformationBySerialNumberOK() *GetCommunicationDeviceInformationBySerialNumberOK

NewGetCommunicationDeviceInformationBySerialNumberOK creates a GetCommunicationDeviceInformationBySerialNumberOK with default headers values

func (*GetCommunicationDeviceInformationBySerialNumberOK) Code

Code gets the status code for the get communication device information by serial number o k response

func (*GetCommunicationDeviceInformationBySerialNumberOK) Error

func (*GetCommunicationDeviceInformationBySerialNumberOK) GetPayload

func (*GetCommunicationDeviceInformationBySerialNumberOK) IsClientError

IsClientError returns true when this get communication device information by serial number o k response has a 4xx status code

func (*GetCommunicationDeviceInformationBySerialNumberOK) IsCode

IsCode returns true when this get communication device information by serial number o k response a status code equal to that given

func (*GetCommunicationDeviceInformationBySerialNumberOK) IsRedirect

IsRedirect returns true when this get communication device information by serial number o k response has a 3xx status code

func (*GetCommunicationDeviceInformationBySerialNumberOK) IsServerError

IsServerError returns true when this get communication device information by serial number o k response has a 5xx status code

func (*GetCommunicationDeviceInformationBySerialNumberOK) IsSuccess

IsSuccess returns true when this get communication device information by serial number o k response has a 2xx status code

func (*GetCommunicationDeviceInformationBySerialNumberOK) String

type GetCommunicationDeviceInformationBySerialNumberOKBody

type GetCommunicationDeviceInformationBySerialNumberOKBody struct {

	// data
	Data *GetCommunicationDeviceInformationBySerialNumberOKBodyData `json:"data,omitempty"`
}

GetCommunicationDeviceInformationBySerialNumberOKBody get communication device information by serial number o k body // Example: {"data":{"commission_date":"2021-01-01T00:00:00Z","inverter":{"commission_date":"2021-01-01T00:00:00Z","connections":{"batteries":[{"capacity":{"design":110,"full":110},"cell_count":16,"firmware_version":"1035","has_usb":true,"module_number":1,"nominal_voltage":51.2,"serial":"BB2345G123"}],"meters":[{"address":1,"baud_rate":9600,"hardware_version":1000,"manufacturer_code":"0000","serial_number":212345678,"software_version":1000,"type_code":1500}]},"firmware_version":{"ARM":420,"DSP":426},"flags":[],"info":{"battery":{"nominal_capacity":110,"nominal_voltage":51.2},"battery_type":"LITHIUM","max_charge_rate":2560,"model":"GIV-AC-3.0"},"last_online":"2023-01-01T00:00:00Z","last_updated":"2023-01-01T00:00:00Z","serial":"CE2345G123","status":"WAITING","warranty":{"expiry_date":"2033-01-01T00:00:00Z","type":"Standard"}},"serial_number":"WF2345G123","type":"WIFI"}} swagger:model GetCommunicationDeviceInformationBySerialNumberOKBody

func (*GetCommunicationDeviceInformationBySerialNumberOKBody) ContextValidate

ContextValidate validate this get communication device information by serial number o k body based on the context it is used

func (*GetCommunicationDeviceInformationBySerialNumberOKBody) MarshalBinary

MarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBody) Validate

Validate validates this get communication device information by serial number o k body

type GetCommunicationDeviceInformationBySerialNumberOKBodyData

type GetCommunicationDeviceInformationBySerialNumberOKBodyData struct {

	// commission date
	// Example: 2021-01-01T00:00:00Z
	CommissionDate string `json:"commission_date,omitempty"`

	// inverter
	Inverter *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter `json:"inverter,omitempty"`

	// serial number
	// Example: WF2345G123
	SerialNumber string `json:"serial_number,omitempty"`

	// type
	// Example: WIFI
	Type string `json:"type,omitempty"`
}

GetCommunicationDeviceInformationBySerialNumberOKBodyData get communication device information by serial number o k body data swagger:model GetCommunicationDeviceInformationBySerialNumberOKBodyData

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyData) ContextValidate

ContextValidate validate this get communication device information by serial number o k body data based on the context it is used

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyData) MarshalBinary

MarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyData) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyData) Validate

Validate validates this get communication device information by serial number o k body data

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter struct {

	// commission date
	// Example: 2021-01-01T00:00:00Z
	CommissionDate string `json:"commission_date,omitempty"`

	// connections
	Connections *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections `json:"connections,omitempty"`

	// firmware version
	FirmwareVersion *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion `json:"firmware_version,omitempty"`

	// flags
	// Example: []
	Flags []interface{} `json:"flags"`

	// info
	Info *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo `json:"info,omitempty"`

	// last online
	// Example: 2023-01-01T00:00:00Z
	LastOnline string `json:"last_online,omitempty"`

	// last updated
	// Example: 2023-01-01T00:00:00Z
	LastUpdated string `json:"last_updated,omitempty"`

	// serial
	// Example: CE2345G123
	Serial string `json:"serial,omitempty"`

	// status
	// Example: WAITING
	Status string `json:"status,omitempty"`

	// warranty
	Warranty *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty `json:"warranty,omitempty"`
}

GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter get communication device information by serial number o k body data inverter swagger:model GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) ContextValidate

ContextValidate validate this get communication device information by serial number o k body data inverter based on the context it is used

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) MarshalBinary

MarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) Validate

Validate validates this get communication device information by serial number o k body data inverter

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections struct {

	// batteries
	// Example: [{"capacity":{"design":110,"full":110},"cell_count":16,"firmware_version":"1035","has_usb":true,"module_number":1,"nominal_voltage":51.2,"serial":"BB2345G123"}]
	Batteries []*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0 `json:"batteries"`

	// meters
	// Example: [{"address":1,"baud_rate":9600,"hardware_version":1000,"manufacturer_code":"0000","serial_number":212345678,"software_version":1000,"type_code":1500}]
	Meters []*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0 `json:"meters"`
}

GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections get communication device information by serial number o k body data inverter connections swagger:model GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) ContextValidate

ContextValidate validate this get communication device information by serial number o k body data inverter connections based on the context it is used

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) MarshalBinary

MarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) Validate

Validate validates this get communication device information by serial number o k body data inverter connections

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0 struct {

	// capacity
	Capacity *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity `json:"capacity,omitempty"`

	// cell count
	// Example: 16
	CellCount int64 `json:"cell_count,omitempty"`

	// firmware version
	// Example: 1035
	FirmwareVersion string `json:"firmware_version,omitempty"`

	// has usb
	// Example: true
	HasUsb bool `json:"has_usb,omitempty"`

	// module number
	// Example: 1
	ModuleNumber int64 `json:"module_number,omitempty"`

	// nominal voltage
	// Example: 51.2
	NominalVoltage float64 `json:"nominal_voltage,omitempty"`

	// serial
	// Example: BB2345G123
	Serial string `json:"serial,omitempty"`
}

GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0 get communication device information by serial number o k body data inverter connections batteries items0 swagger:model GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) ContextValidate

ContextValidate validate this get communication device information by serial number o k body data inverter connections batteries items0 based on the context it is used

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) Validate

Validate validates this get communication device information by serial number o k body data inverter connections batteries items0

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity struct {

	// design
	// Example: 110
	Design int64 `json:"design,omitempty"`

	// full
	// Example: 110
	Full int64 `json:"full,omitempty"`
}

GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity get communication device information by serial number o k body data inverter connections batteries items0 capacity swagger:model GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) ContextValidate

ContextValidate validates this get communication device information by serial number o k body data inverter connections batteries items0 capacity based on context it is used

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) MarshalBinary

MarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) Validate

Validate validates this get communication device information by serial number o k body data inverter connections batteries items0 capacity

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0 struct {

	// address
	// Example: 1
	Address int64 `json:"address,omitempty"`

	// baud rate
	// Example: 9600
	BaudRate int64 `json:"baud_rate,omitempty"`

	// hardware version
	// Example: 1000
	HardwareVersion int64 `json:"hardware_version,omitempty"`

	// manufacturer code
	// Example: 0000
	ManufacturerCode string `json:"manufacturer_code,omitempty"`

	// serial number
	// Example: 212345678
	SerialNumber int64 `json:"serial_number,omitempty"`

	// software version
	// Example: 1000
	SoftwareVersion int64 `json:"software_version,omitempty"`

	// type code
	// Example: 1500
	TypeCode int64 `json:"type_code,omitempty"`
}

GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0 get communication device information by serial number o k body data inverter connections meters items0 swagger:model GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) ContextValidate

ContextValidate validates this get communication device information by serial number o k body data inverter connections meters items0 based on context it is used

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) Validate

Validate validates this get communication device information by serial number o k body data inverter connections meters items0

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion struct {

	// a r m
	// Example: 420
	ARM int64 `json:"ARM,omitempty"`

	// d s p
	// Example: 426
	DSP int64 `json:"DSP,omitempty"`
}

GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion get communication device information by serial number o k body data inverter firmware version swagger:model GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) ContextValidate

ContextValidate validates this get communication device information by serial number o k body data inverter firmware version based on context it is used

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) MarshalBinary

MarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) Validate

Validate validates this get communication device information by serial number o k body data inverter firmware version

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo struct {

	// battery
	Battery *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery `json:"battery,omitempty"`

	// battery type
	// Example: LITHIUM
	BatteryType string `json:"battery_type,omitempty"`

	// max charge rate
	// Example: 2560
	MaxChargeRate int64 `json:"max_charge_rate,omitempty"`

	// model
	// Example: GIV-AC-3.0
	Model string `json:"model,omitempty"`
}

GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo get communication device information by serial number o k body data inverter info swagger:model GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) ContextValidate

ContextValidate validate this get communication device information by serial number o k body data inverter info based on the context it is used

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) MarshalBinary

MarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) Validate

Validate validates this get communication device information by serial number o k body data inverter info

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery struct {

	// nominal capacity
	// Example: 110
	NominalCapacity int64 `json:"nominal_capacity,omitempty"`

	// nominal voltage
	// Example: 51.2
	NominalVoltage float64 `json:"nominal_voltage,omitempty"`
}

GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery get communication device information by serial number o k body data inverter info battery swagger:model GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) ContextValidate

ContextValidate validates this get communication device information by serial number o k body data inverter info battery based on context it is used

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) MarshalBinary

MarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) Validate

Validate validates this get communication device information by serial number o k body data inverter info battery

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty

type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty struct {

	// expiry date
	// Example: 2033-01-01T00:00:00Z
	ExpiryDate string `json:"expiry_date,omitempty"`

	// type
	// Example: Standard
	Type string `json:"type,omitempty"`
}

GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty get communication device information by serial number o k body data inverter warranty swagger:model GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) ContextValidate

ContextValidate validates this get communication device information by serial number o k body data inverter warranty based on context it is used

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) MarshalBinary

MarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) Validate

Validate validates this get communication device information by serial number o k body data inverter warranty

type GetCommunicationDeviceInformationBySerialNumberParams

type GetCommunicationDeviceInformationBySerialNumberParams struct {

	// Authorization.
	Authorization *string

	/* CommunicationDeviceSerialNumber.

	   The serial number of the communicationDevice.
	*/
	CommunicationDeviceSerialNumber string

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

GetCommunicationDeviceInformationBySerialNumberParams contains all the parameters to send to the API endpoint

for the get communication device information by serial number operation.

Typically these are written to a http.Request.

func NewGetCommunicationDeviceInformationBySerialNumberParams

func NewGetCommunicationDeviceInformationBySerialNumberParams() *GetCommunicationDeviceInformationBySerialNumberParams

NewGetCommunicationDeviceInformationBySerialNumberParams creates a new GetCommunicationDeviceInformationBySerialNumberParams 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 NewGetCommunicationDeviceInformationBySerialNumberParamsWithContext

func NewGetCommunicationDeviceInformationBySerialNumberParamsWithContext(ctx context.Context) *GetCommunicationDeviceInformationBySerialNumberParams

NewGetCommunicationDeviceInformationBySerialNumberParamsWithContext creates a new GetCommunicationDeviceInformationBySerialNumberParams object with the ability to set a context for a request.

func NewGetCommunicationDeviceInformationBySerialNumberParamsWithHTTPClient

func NewGetCommunicationDeviceInformationBySerialNumberParamsWithHTTPClient(client *http.Client) *GetCommunicationDeviceInformationBySerialNumberParams

NewGetCommunicationDeviceInformationBySerialNumberParamsWithHTTPClient creates a new GetCommunicationDeviceInformationBySerialNumberParams object with the ability to set a custom HTTPClient for a request.

func NewGetCommunicationDeviceInformationBySerialNumberParamsWithTimeout

func NewGetCommunicationDeviceInformationBySerialNumberParamsWithTimeout(timeout time.Duration) *GetCommunicationDeviceInformationBySerialNumberParams

NewGetCommunicationDeviceInformationBySerialNumberParamsWithTimeout creates a new GetCommunicationDeviceInformationBySerialNumberParams object with the ability to set a timeout on a request.

func (*GetCommunicationDeviceInformationBySerialNumberParams) SetAuthorization

func (o *GetCommunicationDeviceInformationBySerialNumberParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get communication device information by serial number params

func (*GetCommunicationDeviceInformationBySerialNumberParams) SetCommunicationDeviceSerialNumber

func (o *GetCommunicationDeviceInformationBySerialNumberParams) SetCommunicationDeviceSerialNumber(communicationDeviceSerialNumber string)

SetCommunicationDeviceSerialNumber adds the communicationDeviceSerialNumber to the get communication device information by serial number params

func (*GetCommunicationDeviceInformationBySerialNumberParams) SetContext

SetContext adds the context to the get communication device information by serial number params

func (*GetCommunicationDeviceInformationBySerialNumberParams) SetDefaults

SetDefaults hydrates default values in the get communication device information by serial number params (not the query body).

All values with no default are reset to their zero value.

func (*GetCommunicationDeviceInformationBySerialNumberParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get communication device information by serial number params

func (*GetCommunicationDeviceInformationBySerialNumberParams) SetTimeout

SetTimeout adds the timeout to the get communication device information by serial number params

func (*GetCommunicationDeviceInformationBySerialNumberParams) WithAuthorization

WithAuthorization adds the authorization to the get communication device information by serial number params

func (*GetCommunicationDeviceInformationBySerialNumberParams) WithCommunicationDeviceSerialNumber

func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithCommunicationDeviceSerialNumber(communicationDeviceSerialNumber string) *GetCommunicationDeviceInformationBySerialNumberParams

WithCommunicationDeviceSerialNumber adds the communicationDeviceSerialNumber to the get communication device information by serial number params

func (*GetCommunicationDeviceInformationBySerialNumberParams) WithContext

WithContext adds the context to the get communication device information by serial number params

func (*GetCommunicationDeviceInformationBySerialNumberParams) WithDefaults

WithDefaults hydrates default values in the get communication device information by serial number params (not the query body).

All values with no default are reset to their zero value.

func (*GetCommunicationDeviceInformationBySerialNumberParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get communication device information by serial number params

func (*GetCommunicationDeviceInformationBySerialNumberParams) WithTimeout

WithTimeout adds the timeout to the get communication device information by serial number params

func (*GetCommunicationDeviceInformationBySerialNumberParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCommunicationDeviceInformationBySerialNumberReader

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

GetCommunicationDeviceInformationBySerialNumberReader is a Reader for the GetCommunicationDeviceInformationBySerialNumber structure.

func (*GetCommunicationDeviceInformationBySerialNumberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetYourCommunicationDevicesOK

type GetYourCommunicationDevicesOK struct {
	Payload *GetYourCommunicationDevicesOKBody
}

GetYourCommunicationDevicesOK describes a response with status code 200, with default header values.

GetYourCommunicationDevicesOK get your communication devices o k

func NewGetYourCommunicationDevicesOK

func NewGetYourCommunicationDevicesOK() *GetYourCommunicationDevicesOK

NewGetYourCommunicationDevicesOK creates a GetYourCommunicationDevicesOK with default headers values

func (*GetYourCommunicationDevicesOK) Code

Code gets the status code for the get your communication devices o k response

func (*GetYourCommunicationDevicesOK) Error

func (*GetYourCommunicationDevicesOK) GetPayload

func (*GetYourCommunicationDevicesOK) IsClientError

func (o *GetYourCommunicationDevicesOK) IsClientError() bool

IsClientError returns true when this get your communication devices o k response has a 4xx status code

func (*GetYourCommunicationDevicesOK) IsCode

func (o *GetYourCommunicationDevicesOK) IsCode(code int) bool

IsCode returns true when this get your communication devices o k response a status code equal to that given

func (*GetYourCommunicationDevicesOK) IsRedirect

func (o *GetYourCommunicationDevicesOK) IsRedirect() bool

IsRedirect returns true when this get your communication devices o k response has a 3xx status code

func (*GetYourCommunicationDevicesOK) IsServerError

func (o *GetYourCommunicationDevicesOK) IsServerError() bool

IsServerError returns true when this get your communication devices o k response has a 5xx status code

func (*GetYourCommunicationDevicesOK) IsSuccess

func (o *GetYourCommunicationDevicesOK) IsSuccess() bool

IsSuccess returns true when this get your communication devices o k response has a 2xx status code

func (*GetYourCommunicationDevicesOK) String

type GetYourCommunicationDevicesOKBody

type GetYourCommunicationDevicesOKBody struct {

	// data
	// Example: [{"commission_date":"2021-01-01T00:00:00Z","inverter":{"commission_date":"2021-01-01T00:00:00Z","connections":{"batteries":[{"capacity":{"design":110,"full":110},"cell_count":16,"firmware_version":"1035","has_usb":true,"module_number":1,"nominal_voltage":51.2,"serial":"BB2345G123"}],"meters":[{"address":1,"baud_rate":9600,"hardware_version":1000,"manufacturer_code":"0000","serial_number":212345678,"software_version":1000,"type_code":1500}]},"firmware_version":{"ARM":420,"DSP":426},"flags":[],"info":{"battery":{"nominal_capacity":110,"nominal_voltage":51.2},"battery_type":"LITHIUM","max_charge_rate":2560,"model":"GIV-AC-3.0"},"last_online":"2023-01-01T00:00:00Z","last_updated":"2023-01-01T00:00:00Z","serial":"CE2345G123","status":"WAITING","warranty":{"expiry_date":"2033-01-01T00:00:00Z","type":"Standard"}},"serial_number":"WF2345G123","type":"WIFI"}]
	Data []*GetYourCommunicationDevicesOKBodyDataItems0 `json:"data"`
}

GetYourCommunicationDevicesOKBody get your communication devices o k body // Example: {"data":[{"commission_date":"2021-01-01T00:00:00Z","inverter":{"commission_date":"2021-01-01T00:00:00Z","connections":{"batteries":[{"capacity":{"design":110,"full":110},"cell_count":16,"firmware_version":"1035","has_usb":true,"module_number":1,"nominal_voltage":51.2,"serial":"BB2345G123"}],"meters":[{"address":1,"baud_rate":9600,"hardware_version":1000,"manufacturer_code":"0000","serial_number":212345678,"software_version":1000,"type_code":1500}]},"firmware_version":{"ARM":420,"DSP":426},"flags":[],"info":{"battery":{"nominal_capacity":110,"nominal_voltage":51.2},"battery_type":"LITHIUM","max_charge_rate":2560,"model":"GIV-AC-3.0"},"last_online":"2023-01-01T00:00:00Z","last_updated":"2023-01-01T00:00:00Z","serial":"CE2345G123","status":"WAITING","warranty":{"expiry_date":"2033-01-01T00:00:00Z","type":"Standard"}},"serial_number":"WF2345G123","type":"WIFI"}]} swagger:model GetYourCommunicationDevicesOKBody

func (*GetYourCommunicationDevicesOKBody) ContextValidate

func (o *GetYourCommunicationDevicesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get your communication devices o k body based on the context it is used

func (*GetYourCommunicationDevicesOKBody) MarshalBinary

func (o *GetYourCommunicationDevicesOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBody) UnmarshalBinary

func (o *GetYourCommunicationDevicesOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBody) Validate

Validate validates this get your communication devices o k body

type GetYourCommunicationDevicesOKBodyDataItems0

type GetYourCommunicationDevicesOKBodyDataItems0 struct {

	// commission date
	// Example: 2021-01-01T00:00:00Z
	CommissionDate string `json:"commission_date,omitempty"`

	// inverter
	Inverter *GetYourCommunicationDevicesOKBodyDataItems0Inverter `json:"inverter,omitempty"`

	// serial number
	// Example: WF2345G123
	SerialNumber string `json:"serial_number,omitempty"`

	// type
	// Example: WIFI
	Type string `json:"type,omitempty"`
}

GetYourCommunicationDevicesOKBodyDataItems0 get your communication devices o k body data items0 swagger:model GetYourCommunicationDevicesOKBodyDataItems0

func (*GetYourCommunicationDevicesOKBodyDataItems0) ContextValidate

ContextValidate validate this get your communication devices o k body data items0 based on the context it is used

func (*GetYourCommunicationDevicesOKBodyDataItems0) MarshalBinary

func (o *GetYourCommunicationDevicesOKBodyDataItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0) UnmarshalBinary

func (o *GetYourCommunicationDevicesOKBodyDataItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0) Validate

Validate validates this get your communication devices o k body data items0

type GetYourCommunicationDevicesOKBodyDataItems0Inverter

type GetYourCommunicationDevicesOKBodyDataItems0Inverter struct {

	// commission date
	// Example: 2021-01-01T00:00:00Z
	CommissionDate string `json:"commission_date,omitempty"`

	// connections
	Connections *GetYourCommunicationDevicesOKBodyDataItems0InverterConnections `json:"connections,omitempty"`

	// firmware version
	FirmwareVersion *GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion `json:"firmware_version,omitempty"`

	// flags
	// Example: []
	Flags []interface{} `json:"flags"`

	// info
	Info *GetYourCommunicationDevicesOKBodyDataItems0InverterInfo `json:"info,omitempty"`

	// last online
	// Example: 2023-01-01T00:00:00Z
	LastOnline string `json:"last_online,omitempty"`

	// last updated
	// Example: 2023-01-01T00:00:00Z
	LastUpdated string `json:"last_updated,omitempty"`

	// serial
	// Example: CE2345G123
	Serial string `json:"serial,omitempty"`

	// status
	// Example: WAITING
	Status string `json:"status,omitempty"`

	// warranty
	Warranty *GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty `json:"warranty,omitempty"`
}

GetYourCommunicationDevicesOKBodyDataItems0Inverter get your communication devices o k body data items0 inverter swagger:model GetYourCommunicationDevicesOKBodyDataItems0Inverter

func (*GetYourCommunicationDevicesOKBodyDataItems0Inverter) ContextValidate

ContextValidate validate this get your communication devices o k body data items0 inverter based on the context it is used

func (*GetYourCommunicationDevicesOKBodyDataItems0Inverter) MarshalBinary

MarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0Inverter) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0Inverter) Validate

Validate validates this get your communication devices o k body data items0 inverter

type GetYourCommunicationDevicesOKBodyDataItems0InverterConnections

type GetYourCommunicationDevicesOKBodyDataItems0InverterConnections struct {

	// batteries
	// Example: [{"capacity":{"design":110,"full":110},"cell_count":16,"firmware_version":"1035","has_usb":true,"module_number":1,"nominal_voltage":51.2,"serial":"BB2345G123"}]
	Batteries []*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0 `json:"batteries"`

	// meters
	// Example: [{"address":1,"baud_rate":9600,"hardware_version":1000,"manufacturer_code":"0000","serial_number":212345678,"software_version":1000,"type_code":1500}]
	Meters []*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0 `json:"meters"`
}

GetYourCommunicationDevicesOKBodyDataItems0InverterConnections get your communication devices o k body data items0 inverter connections swagger:model GetYourCommunicationDevicesOKBodyDataItems0InverterConnections

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) ContextValidate

ContextValidate validate this get your communication devices o k body data items0 inverter connections based on the context it is used

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) MarshalBinary

MarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) Validate

Validate validates this get your communication devices o k body data items0 inverter connections

type GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0

type GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0 struct {

	// capacity
	Capacity *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity `json:"capacity,omitempty"`

	// cell count
	// Example: 16
	CellCount int64 `json:"cell_count,omitempty"`

	// firmware version
	// Example: 1035
	FirmwareVersion string `json:"firmware_version,omitempty"`

	// has usb
	// Example: true
	HasUsb bool `json:"has_usb,omitempty"`

	// module number
	// Example: 1
	ModuleNumber int64 `json:"module_number,omitempty"`

	// nominal voltage
	// Example: 51.2
	NominalVoltage float64 `json:"nominal_voltage,omitempty"`

	// serial
	// Example: BB2345G123
	Serial string `json:"serial,omitempty"`
}

GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0 get your communication devices o k body data items0 inverter connections batteries items0 swagger:model GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) ContextValidate

ContextValidate validate this get your communication devices o k body data items0 inverter connections batteries items0 based on the context it is used

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) Validate

Validate validates this get your communication devices o k body data items0 inverter connections batteries items0

type GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity

type GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity struct {

	// design
	// Example: 110
	Design int64 `json:"design,omitempty"`

	// full
	// Example: 110
	Full int64 `json:"full,omitempty"`
}

GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity get your communication devices o k body data items0 inverter connections batteries items0 capacity swagger:model GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) ContextValidate

ContextValidate validates this get your communication devices o k body data items0 inverter connections batteries items0 capacity based on context it is used

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) MarshalBinary

MarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) Validate

Validate validates this get your communication devices o k body data items0 inverter connections batteries items0 capacity

type GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0

type GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0 struct {

	// address
	// Example: 1
	Address int64 `json:"address,omitempty"`

	// baud rate
	// Example: 9600
	BaudRate int64 `json:"baud_rate,omitempty"`

	// hardware version
	// Example: 1000
	HardwareVersion int64 `json:"hardware_version,omitempty"`

	// manufacturer code
	// Example: 0000
	ManufacturerCode string `json:"manufacturer_code,omitempty"`

	// serial number
	// Example: 212345678
	SerialNumber int64 `json:"serial_number,omitempty"`

	// software version
	// Example: 1000
	SoftwareVersion int64 `json:"software_version,omitempty"`

	// type code
	// Example: 1500
	TypeCode int64 `json:"type_code,omitempty"`
}

GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0 get your communication devices o k body data items0 inverter connections meters items0 swagger:model GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) ContextValidate

ContextValidate validates this get your communication devices o k body data items0 inverter connections meters items0 based on context it is used

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) Validate

Validate validates this get your communication devices o k body data items0 inverter connections meters items0

type GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion

type GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion struct {

	// a r m
	// Example: 420
	ARM int64 `json:"ARM,omitempty"`

	// d s p
	// Example: 426
	DSP int64 `json:"DSP,omitempty"`
}

GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion get your communication devices o k body data items0 inverter firmware version swagger:model GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) ContextValidate

ContextValidate validates this get your communication devices o k body data items0 inverter firmware version based on context it is used

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) MarshalBinary

MarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) Validate

Validate validates this get your communication devices o k body data items0 inverter firmware version

type GetYourCommunicationDevicesOKBodyDataItems0InverterInfo

type GetYourCommunicationDevicesOKBodyDataItems0InverterInfo struct {

	// battery
	Battery *GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery `json:"battery,omitempty"`

	// battery type
	// Example: LITHIUM
	BatteryType string `json:"battery_type,omitempty"`

	// max charge rate
	// Example: 2560
	MaxChargeRate int64 `json:"max_charge_rate,omitempty"`

	// model
	// Example: GIV-AC-3.0
	Model string `json:"model,omitempty"`
}

GetYourCommunicationDevicesOKBodyDataItems0InverterInfo get your communication devices o k body data items0 inverter info swagger:model GetYourCommunicationDevicesOKBodyDataItems0InverterInfo

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) ContextValidate

ContextValidate validate this get your communication devices o k body data items0 inverter info based on the context it is used

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) MarshalBinary

MarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) Validate

Validate validates this get your communication devices o k body data items0 inverter info

type GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery

type GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery struct {

	// nominal capacity
	// Example: 110
	NominalCapacity int64 `json:"nominal_capacity,omitempty"`

	// nominal voltage
	// Example: 51.2
	NominalVoltage float64 `json:"nominal_voltage,omitempty"`
}

GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery get your communication devices o k body data items0 inverter info battery swagger:model GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) ContextValidate

ContextValidate validates this get your communication devices o k body data items0 inverter info battery based on context it is used

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) MarshalBinary

MarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) Validate

Validate validates this get your communication devices o k body data items0 inverter info battery

type GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty

type GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty struct {

	// expiry date
	// Example: 2033-01-01T00:00:00Z
	ExpiryDate string `json:"expiry_date,omitempty"`

	// type
	// Example: Standard
	Type string `json:"type,omitempty"`
}

GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty get your communication devices o k body data items0 inverter warranty swagger:model GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) ContextValidate

ContextValidate validates this get your communication devices o k body data items0 inverter warranty based on context it is used

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) MarshalBinary

MarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) Validate

Validate validates this get your communication devices o k body data items0 inverter warranty

type GetYourCommunicationDevicesParams

type GetYourCommunicationDevicesParams struct {

	// Authorization.
	Authorization *string

	/* Page.

	   Page number to return
	*/
	Page *int64

	/* PageSize.

	   Number of items to return in a page. Defaults to 15
	*/
	PageSize *int64

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

GetYourCommunicationDevicesParams contains all the parameters to send to the API endpoint

for the get your communication devices operation.

Typically these are written to a http.Request.

func NewGetYourCommunicationDevicesParams

func NewGetYourCommunicationDevicesParams() *GetYourCommunicationDevicesParams

NewGetYourCommunicationDevicesParams creates a new GetYourCommunicationDevicesParams 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 NewGetYourCommunicationDevicesParamsWithContext

func NewGetYourCommunicationDevicesParamsWithContext(ctx context.Context) *GetYourCommunicationDevicesParams

NewGetYourCommunicationDevicesParamsWithContext creates a new GetYourCommunicationDevicesParams object with the ability to set a context for a request.

func NewGetYourCommunicationDevicesParamsWithHTTPClient

func NewGetYourCommunicationDevicesParamsWithHTTPClient(client *http.Client) *GetYourCommunicationDevicesParams

NewGetYourCommunicationDevicesParamsWithHTTPClient creates a new GetYourCommunicationDevicesParams object with the ability to set a custom HTTPClient for a request.

func NewGetYourCommunicationDevicesParamsWithTimeout

func NewGetYourCommunicationDevicesParamsWithTimeout(timeout time.Duration) *GetYourCommunicationDevicesParams

NewGetYourCommunicationDevicesParamsWithTimeout creates a new GetYourCommunicationDevicesParams object with the ability to set a timeout on a request.

func (*GetYourCommunicationDevicesParams) SetAuthorization

func (o *GetYourCommunicationDevicesParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get your communication devices params

func (*GetYourCommunicationDevicesParams) SetContext

SetContext adds the context to the get your communication devices params

func (*GetYourCommunicationDevicesParams) SetDefaults

func (o *GetYourCommunicationDevicesParams) SetDefaults()

SetDefaults hydrates default values in the get your communication devices params (not the query body).

All values with no default are reset to their zero value.

func (*GetYourCommunicationDevicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get your communication devices params

func (*GetYourCommunicationDevicesParams) SetPage

func (o *GetYourCommunicationDevicesParams) SetPage(page *int64)

SetPage adds the page to the get your communication devices params

func (*GetYourCommunicationDevicesParams) SetPageSize

func (o *GetYourCommunicationDevicesParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get your communication devices params

func (*GetYourCommunicationDevicesParams) SetTimeout

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

SetTimeout adds the timeout to the get your communication devices params

func (*GetYourCommunicationDevicesParams) WithAuthorization

func (o *GetYourCommunicationDevicesParams) WithAuthorization(authorization *string) *GetYourCommunicationDevicesParams

WithAuthorization adds the authorization to the get your communication devices params

func (*GetYourCommunicationDevicesParams) WithContext

WithContext adds the context to the get your communication devices params

func (*GetYourCommunicationDevicesParams) WithDefaults

WithDefaults hydrates default values in the get your communication devices params (not the query body).

All values with no default are reset to their zero value.

func (*GetYourCommunicationDevicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get your communication devices params

func (*GetYourCommunicationDevicesParams) WithPage

WithPage adds the page to the get your communication devices params

func (*GetYourCommunicationDevicesParams) WithPageSize

WithPageSize adds the pageSize to the get your communication devices params

func (*GetYourCommunicationDevicesParams) WithTimeout

WithTimeout adds the timeout to the get your communication devices params

func (*GetYourCommunicationDevicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetYourCommunicationDevicesReader

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

GetYourCommunicationDevicesReader is a Reader for the GetYourCommunicationDevices structure.

func (*GetYourCommunicationDevicesReader) ReadResponse

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