Documentation
¶
Index ¶
- type Client
- func (a *Client) GetCommunicationDeviceInformationBySerialNumber(params *GetCommunicationDeviceInformationBySerialNumberParams, ...) (*GetCommunicationDeviceInformationBySerialNumberOK, error)
- func (a *Client) GetYourCommunicationDevices(params *GetYourCommunicationDevicesParams, ...) (*GetYourCommunicationDevicesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCommunicationDeviceInformationBySerialNumberOK
- func (o *GetCommunicationDeviceInformationBySerialNumberOK) Code() int
- func (o *GetCommunicationDeviceInformationBySerialNumberOK) Error() string
- func (o *GetCommunicationDeviceInformationBySerialNumberOK) GetPayload() *GetCommunicationDeviceInformationBySerialNumberOKBody
- func (o *GetCommunicationDeviceInformationBySerialNumberOK) IsClientError() bool
- func (o *GetCommunicationDeviceInformationBySerialNumberOK) IsCode(code int) bool
- func (o *GetCommunicationDeviceInformationBySerialNumberOK) IsRedirect() bool
- func (o *GetCommunicationDeviceInformationBySerialNumberOK) IsServerError() bool
- func (o *GetCommunicationDeviceInformationBySerialNumberOK) IsSuccess() bool
- func (o *GetCommunicationDeviceInformationBySerialNumberOK) String() string
- type GetCommunicationDeviceInformationBySerialNumberOKBody
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBody) MarshalBinary() ([]byte, error)
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBody) UnmarshalBinary(b []byte) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBody) Validate(formats strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberOKBodyData
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyData) MarshalBinary() ([]byte, error)
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyData) UnmarshalBinary(b []byte) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyData) Validate(formats strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) MarshalBinary() ([]byte, error)
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) UnmarshalBinary(b []byte) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) Validate(formats strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) MarshalBinary() ([]byte, error)
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) UnmarshalBinary(b []byte) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) Validate(formats strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) MarshalBinary() ([]byte, error)
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) UnmarshalBinary(b []byte) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) Validate(formats strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) MarshalBinary() ([]byte, error)
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) UnmarshalBinary(b []byte) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) Validate(formats strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) MarshalBinary() ([]byte, error)
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) UnmarshalBinary(b []byte) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) Validate(formats strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) MarshalBinary() ([]byte, error)
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) UnmarshalBinary(b []byte) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) Validate(formats strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) MarshalBinary() ([]byte, error)
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) UnmarshalBinary(b []byte) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) Validate(formats strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) MarshalBinary() ([]byte, error)
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) UnmarshalBinary(b []byte) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) Validate(formats strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) MarshalBinary() ([]byte, error)
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) UnmarshalBinary(b []byte) error
- func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) Validate(formats strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberParams
- func NewGetCommunicationDeviceInformationBySerialNumberParams() *GetCommunicationDeviceInformationBySerialNumberParams
- func NewGetCommunicationDeviceInformationBySerialNumberParamsWithContext(ctx context.Context) *GetCommunicationDeviceInformationBySerialNumberParams
- func NewGetCommunicationDeviceInformationBySerialNumberParamsWithHTTPClient(client *http.Client) *GetCommunicationDeviceInformationBySerialNumberParams
- func NewGetCommunicationDeviceInformationBySerialNumberParamsWithTimeout(timeout time.Duration) *GetCommunicationDeviceInformationBySerialNumberParams
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) SetAuthorization(authorization *string)
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) SetCommunicationDeviceSerialNumber(communicationDeviceSerialNumber string)
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) SetContext(ctx context.Context)
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) SetDefaults()
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) SetHTTPClient(client *http.Client)
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) SetTimeout(timeout time.Duration)
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithAuthorization(authorization *string) *GetCommunicationDeviceInformationBySerialNumberParams
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithCommunicationDeviceSerialNumber(communicationDeviceSerialNumber string) *GetCommunicationDeviceInformationBySerialNumberParams
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithContext(ctx context.Context) *GetCommunicationDeviceInformationBySerialNumberParams
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithDefaults() *GetCommunicationDeviceInformationBySerialNumberParams
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithHTTPClient(client *http.Client) *GetCommunicationDeviceInformationBySerialNumberParams
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithTimeout(timeout time.Duration) *GetCommunicationDeviceInformationBySerialNumberParams
- func (o *GetCommunicationDeviceInformationBySerialNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCommunicationDeviceInformationBySerialNumberReader
- type GetYourCommunicationDevicesOK
- func (o *GetYourCommunicationDevicesOK) Code() int
- func (o *GetYourCommunicationDevicesOK) Error() string
- func (o *GetYourCommunicationDevicesOK) GetPayload() *GetYourCommunicationDevicesOKBody
- func (o *GetYourCommunicationDevicesOK) IsClientError() bool
- func (o *GetYourCommunicationDevicesOK) IsCode(code int) bool
- func (o *GetYourCommunicationDevicesOK) IsRedirect() bool
- func (o *GetYourCommunicationDevicesOK) IsServerError() bool
- func (o *GetYourCommunicationDevicesOK) IsSuccess() bool
- func (o *GetYourCommunicationDevicesOK) String() string
- type GetYourCommunicationDevicesOKBody
- func (o *GetYourCommunicationDevicesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetYourCommunicationDevicesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetYourCommunicationDevicesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetYourCommunicationDevicesOKBody) Validate(formats strfmt.Registry) error
- type GetYourCommunicationDevicesOKBodyDataItems0
- func (o *GetYourCommunicationDevicesOKBodyDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0) MarshalBinary() ([]byte, error)
- func (o *GetYourCommunicationDevicesOKBodyDataItems0) UnmarshalBinary(b []byte) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0) Validate(formats strfmt.Registry) error
- type GetYourCommunicationDevicesOKBodyDataItems0Inverter
- func (o *GetYourCommunicationDevicesOKBodyDataItems0Inverter) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0Inverter) MarshalBinary() ([]byte, error)
- func (o *GetYourCommunicationDevicesOKBodyDataItems0Inverter) UnmarshalBinary(b []byte) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0Inverter) Validate(formats strfmt.Registry) error
- type GetYourCommunicationDevicesOKBodyDataItems0InverterConnections
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) MarshalBinary() ([]byte, error)
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) UnmarshalBinary(b []byte) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) Validate(formats strfmt.Registry) error
- type GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) MarshalBinary() ([]byte, error)
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) UnmarshalBinary(b []byte) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) Validate(formats strfmt.Registry) error
- type GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) MarshalBinary() ([]byte, error)
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) UnmarshalBinary(b []byte) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) Validate(formats strfmt.Registry) error
- type GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) MarshalBinary() ([]byte, error)
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) UnmarshalBinary(b []byte) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) Validate(formats strfmt.Registry) error
- type GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) MarshalBinary() ([]byte, error)
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) UnmarshalBinary(b []byte) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) Validate(formats strfmt.Registry) error
- type GetYourCommunicationDevicesOKBodyDataItems0InverterInfo
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) MarshalBinary() ([]byte, error)
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) UnmarshalBinary(b []byte) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) Validate(formats strfmt.Registry) error
- type GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) MarshalBinary() ([]byte, error)
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) UnmarshalBinary(b []byte) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) Validate(formats strfmt.Registry) error
- type GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) MarshalBinary() ([]byte, error)
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) UnmarshalBinary(b []byte) error
- func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) Validate(formats strfmt.Registry) error
- type GetYourCommunicationDevicesParams
- func NewGetYourCommunicationDevicesParams() *GetYourCommunicationDevicesParams
- func NewGetYourCommunicationDevicesParamsWithContext(ctx context.Context) *GetYourCommunicationDevicesParams
- func NewGetYourCommunicationDevicesParamsWithHTTPClient(client *http.Client) *GetYourCommunicationDevicesParams
- func NewGetYourCommunicationDevicesParamsWithTimeout(timeout time.Duration) *GetYourCommunicationDevicesParams
- func (o *GetYourCommunicationDevicesParams) SetAuthorization(authorization *string)
- func (o *GetYourCommunicationDevicesParams) SetContext(ctx context.Context)
- func (o *GetYourCommunicationDevicesParams) SetDefaults()
- func (o *GetYourCommunicationDevicesParams) SetHTTPClient(client *http.Client)
- func (o *GetYourCommunicationDevicesParams) SetPage(page *int64)
- func (o *GetYourCommunicationDevicesParams) SetPageSize(pageSize *int64)
- func (o *GetYourCommunicationDevicesParams) SetTimeout(timeout time.Duration)
- func (o *GetYourCommunicationDevicesParams) WithAuthorization(authorization *string) *GetYourCommunicationDevicesParams
- func (o *GetYourCommunicationDevicesParams) WithContext(ctx context.Context) *GetYourCommunicationDevicesParams
- func (o *GetYourCommunicationDevicesParams) WithDefaults() *GetYourCommunicationDevicesParams
- func (o *GetYourCommunicationDevicesParams) WithHTTPClient(client *http.Client) *GetYourCommunicationDevicesParams
- func (o *GetYourCommunicationDevicesParams) WithPage(page *int64) *GetYourCommunicationDevicesParams
- func (o *GetYourCommunicationDevicesParams) WithPageSize(pageSize *int64) *GetYourCommunicationDevicesParams
- func (o *GetYourCommunicationDevicesParams) WithTimeout(timeout time.Duration) *GetYourCommunicationDevicesParams
- func (o *GetYourCommunicationDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetYourCommunicationDevicesReader
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 ¶
func (a *Client) GetCommunicationDeviceInformationBySerialNumber(params *GetCommunicationDeviceInformationBySerialNumberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCommunicationDeviceInformationBySerialNumberOK, error)
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOK) Code() int
Code gets the status code for the get communication device information by serial number o k response
func (*GetCommunicationDeviceInformationBySerialNumberOK) Error ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOK) Error() string
func (*GetCommunicationDeviceInformationBySerialNumberOK) GetPayload ¶
func (*GetCommunicationDeviceInformationBySerialNumberOK) IsClientError ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOK) IsClientError() bool
IsClientError returns true when this get communication device information by serial number o k response has a 4xx status code
func (*GetCommunicationDeviceInformationBySerialNumberOK) IsCode ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOK) IsCode(code int) bool
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOK) IsRedirect() bool
IsRedirect returns true when this get communication device information by serial number o k response has a 3xx status code
func (*GetCommunicationDeviceInformationBySerialNumberOK) IsServerError ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOK) IsServerError() bool
IsServerError returns true when this get communication device information by serial number o k response has a 5xx status code
func (*GetCommunicationDeviceInformationBySerialNumberOK) IsSuccess ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOK) IsSuccess() bool
IsSuccess returns true when this get communication device information by serial number o k response has a 2xx status code
func (*GetCommunicationDeviceInformationBySerialNumberOK) String ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOK) String() 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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get communication device information by serial number o k body based on the context it is used
func (*GetCommunicationDeviceInformationBySerialNumberOKBody) MarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBody) UnmarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get communication device information by serial number o k body data based on the context it is used
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyData) MarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyData) UnmarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) UnmarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) Validate ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverter) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) UnmarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) Validate ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnections) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) UnmarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) Validate ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) UnmarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) Validate ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsBatteriesItems0Capacity) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) UnmarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) Validate ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterConnectionsMetersItems0) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) UnmarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) Validate ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterFirmwareVersion) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) UnmarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) Validate ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfo) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) UnmarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) Validate ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterInfoBattery) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) UnmarshalBinary ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) Validate ¶
func (o *GetCommunicationDeviceInformationBySerialNumberOKBodyDataInverterWarranty) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberParams) SetContext(ctx context.Context)
SetContext adds the context to the get communication device information by serial number params
func (*GetCommunicationDeviceInformationBySerialNumberParams) SetDefaults ¶
func (o *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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get communication device information by serial number params
func (*GetCommunicationDeviceInformationBySerialNumberParams) SetTimeout ¶
func (o *GetCommunicationDeviceInformationBySerialNumberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get communication device information by serial number params
func (*GetCommunicationDeviceInformationBySerialNumberParams) WithAuthorization ¶
func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithAuthorization(authorization *string) *GetCommunicationDeviceInformationBySerialNumberParams
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithContext(ctx context.Context) *GetCommunicationDeviceInformationBySerialNumberParams
WithContext adds the context to the get communication device information by serial number params
func (*GetCommunicationDeviceInformationBySerialNumberParams) WithDefaults ¶
func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithDefaults() *GetCommunicationDeviceInformationBySerialNumberParams
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 ¶
func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithHTTPClient(client *http.Client) *GetCommunicationDeviceInformationBySerialNumberParams
WithHTTPClient adds the HTTPClient to the get communication device information by serial number params
func (*GetCommunicationDeviceInformationBySerialNumberParams) WithTimeout ¶
func (o *GetCommunicationDeviceInformationBySerialNumberParams) WithTimeout(timeout time.Duration) *GetCommunicationDeviceInformationBySerialNumberParams
WithTimeout adds the timeout to the get communication device information by serial number params
func (*GetCommunicationDeviceInformationBySerialNumberParams) WriteToRequest ¶
func (o *GetCommunicationDeviceInformationBySerialNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetYourCommunicationDevicesOK) Code() int
Code gets the status code for the get your communication devices o k response
func (*GetYourCommunicationDevicesOK) Error ¶
func (o *GetYourCommunicationDevicesOK) Error() string
func (*GetYourCommunicationDevicesOK) GetPayload ¶
func (o *GetYourCommunicationDevicesOK) GetPayload() *GetYourCommunicationDevicesOKBody
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 ¶
func (o *GetYourCommunicationDevicesOK) String() 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
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0Inverter) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get your communication devices o k body data items0 inverter based on the context it is used
func (*GetYourCommunicationDevicesOKBodyDataItems0Inverter) MarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0Inverter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0Inverter) UnmarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0Inverter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get your communication devices o k body data items0 inverter connections based on the context it is used
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) MarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) UnmarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnections) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) UnmarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) Validate ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) UnmarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) Validate ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsBatteriesItems0Capacity) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) UnmarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) Validate ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterConnectionsMetersItems0) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get your communication devices o k body data items0 inverter firmware version based on context it is used
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) MarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) UnmarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) Validate ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterFirmwareVersion) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get your communication devices o k body data items0 inverter info based on the context it is used
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) MarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) UnmarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get your communication devices o k body data items0 inverter info battery based on context it is used
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) MarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) UnmarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterInfoBattery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get your communication devices o k body data items0 inverter warranty based on context it is used
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) MarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) UnmarshalBinary ¶
func (o *GetYourCommunicationDevicesOKBodyDataItems0InverterWarranty) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetYourCommunicationDevicesParams) SetContext(ctx context.Context)
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 ¶
func (o *GetYourCommunicationDevicesParams) WithContext(ctx context.Context) *GetYourCommunicationDevicesParams
WithContext adds the context to the get your communication devices params
func (*GetYourCommunicationDevicesParams) WithDefaults ¶
func (o *GetYourCommunicationDevicesParams) WithDefaults() *GetYourCommunicationDevicesParams
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 ¶
func (o *GetYourCommunicationDevicesParams) WithHTTPClient(client *http.Client) *GetYourCommunicationDevicesParams
WithHTTPClient adds the HTTPClient to the get your communication devices params
func (*GetYourCommunicationDevicesParams) WithPage ¶
func (o *GetYourCommunicationDevicesParams) WithPage(page *int64) *GetYourCommunicationDevicesParams
WithPage adds the page to the get your communication devices params
func (*GetYourCommunicationDevicesParams) WithPageSize ¶
func (o *GetYourCommunicationDevicesParams) WithPageSize(pageSize *int64) *GetYourCommunicationDevicesParams
WithPageSize adds the pageSize to the get your communication devices params
func (*GetYourCommunicationDevicesParams) WithTimeout ¶
func (o *GetYourCommunicationDevicesParams) WithTimeout(timeout time.Duration) *GetYourCommunicationDevicesParams
WithTimeout adds the timeout to the get your communication devices params
func (*GetYourCommunicationDevicesParams) WriteToRequest ¶
func (o *GetYourCommunicationDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.