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
}
func (*Client) GetMeters ¶
func (c *Client) GetMeters(ctx context.Context) (*GetMetersResponse, error)
func (*Client) GetSmartWaterMeterConsumptions ¶
func (c *Client) GetSmartWaterMeterConsumptions(ctx context.Context, req GetSmartWaterMeterConsumptionsRequest) (*GetSmartWaterMeterConsumptionsResponse, error)
type GetMetersResponse ¶
type GetMetersResponse struct { Yearly []Reading `json:"Yearly"` HalfYearly []Reading `json:"HalfYearly"` Monthly []Reading `json:"Monthly"` Daily []Reading `json:"Daily"` Meters []string `json:"Meters"` IsRecentCustomer bool `json:"IsRecentCustomer"` IsPremiseAddressSameAsMailingAddress bool `json:"IsPremiseAddressSameAsMailingAddress"` IsError bool `json:"IsError"` IsDataAvailable bool `json:"IsDataAvailable"` Lines interface{} `json:"Lines"` IsConsumptionAvailable bool `json:"IsConsumptionAvailable"` AlertsValues interface{} `json:"AlertsValues"` TargetUsage float64 `json:"TargetUsage"` AverageUsage float64 `json:"AverageUsage"` ActualUsage float64 `json:"ActualUsage"` MyUsage interface{} `json:"MyUsage"` AverageUsagePerPerson float64 `json:"AverageUsagePerPerson"` }
type GetSmartWaterMeterConsumptionsResponse ¶
type GetSmartWaterMeterConsumptionsResponse struct { IsError bool `json:"IsError"` IsDataAvailable bool `json:"IsDataAvailable"` Lines []SmartWaterMeterReading `json:"Lines"` IsConsumptionAvailable bool `json:"IsConsumptionAvailable"` AlertsValues interface{} `json:"AlertsValues"` TargetUsage float64 `json:"TargetUsage"` AverageUsage float64 `json:"AverageUsage"` ActualUsage float64 `json:"ActualUsage"` MyUsage string `json:"MyUsage"` AverageUsagePerPerson float64 `json:"AverageUsagePerPerson"` }
Click to show internal directories.
Click to hide internal directories.