Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1EvChargeOptionsConnectorAggregation
- Inherits:
-
Object
- Object
- Google::Apis::PlacesV1::GoogleMapsPlacesV1EvChargeOptionsConnectorAggregation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/places_v1/classes.rb,
lib/google/apis/places_v1/representations.rb,
lib/google/apis/places_v1/representations.rb
Overview
EV charging information grouped by [type, max_charge_rate_kw]. Shows EV charge aggregation of connectors that have the same type and max charge rate in kw.
Instance Attribute Summary collapse
-
#availability_last_update_time ⇒ String
The timestamp when the connector availability information in this aggregation was last updated.
-
#available_count ⇒ Fixnum
Number of connectors in this aggregation that are currently available.
-
#count ⇒ Fixnum
Number of connectors in this aggregation.
-
#max_charge_rate_kw ⇒ Float
The static max charging rate in kw of each connector in the aggregation.
-
#out_of_service_count ⇒ Fixnum
Number of connectors in this aggregation that are currently out of service.
-
#type ⇒ String
The connector type of this aggregation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlacesV1EvChargeOptionsConnectorAggregation
constructor
A new instance of GoogleMapsPlacesV1EvChargeOptionsConnectorAggregation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlacesV1EvChargeOptionsConnectorAggregation
Returns a new instance of GoogleMapsPlacesV1EvChargeOptionsConnectorAggregation.
198 199 200 |
# File 'lib/google/apis/places_v1/classes.rb', line 198 def initialize(**args) update!(**args) end |
Instance Attribute Details
#availability_last_update_time ⇒ String
The timestamp when the connector availability information in this aggregation
was last updated.
Corresponds to the JSON property availabilityLastUpdateTime
171 172 173 |
# File 'lib/google/apis/places_v1/classes.rb', line 171 def availability_last_update_time @availability_last_update_time end |
#available_count ⇒ Fixnum
Number of connectors in this aggregation that are currently available.
Corresponds to the JSON property availableCount
176 177 178 |
# File 'lib/google/apis/places_v1/classes.rb', line 176 def available_count @available_count end |
#count ⇒ Fixnum
Number of connectors in this aggregation.
Corresponds to the JSON property count
181 182 183 |
# File 'lib/google/apis/places_v1/classes.rb', line 181 def count @count end |
#max_charge_rate_kw ⇒ Float
The static max charging rate in kw of each connector in the aggregation.
Corresponds to the JSON property maxChargeRateKw
186 187 188 |
# File 'lib/google/apis/places_v1/classes.rb', line 186 def max_charge_rate_kw @max_charge_rate_kw end |
#out_of_service_count ⇒ Fixnum
Number of connectors in this aggregation that are currently out of service.
Corresponds to the JSON property outOfServiceCount
191 192 193 |
# File 'lib/google/apis/places_v1/classes.rb', line 191 def out_of_service_count @out_of_service_count end |
#type ⇒ String
The connector type of this aggregation.
Corresponds to the JSON property type
196 197 198 |
# File 'lib/google/apis/places_v1/classes.rb', line 196 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
203 204 205 206 207 208 209 210 |
# File 'lib/google/apis/places_v1/classes.rb', line 203 def update!(**args) @availability_last_update_time = args[:availability_last_update_time] if args.key?(:availability_last_update_time) @available_count = args[:available_count] if args.key?(:available_count) @count = args[:count] if args.key?(:count) @max_charge_rate_kw = args[:max_charge_rate_kw] if args.key?(:max_charge_rate_kw) @out_of_service_count = args[:out_of_service_count] if args.key?(:out_of_service_count) @type = args[:type] if args.key?(:type) end |