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.
985 986 987 |
# File 'lib/google/apis/places_v1/classes.rb', line 985 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
958 959 960 |
# File 'lib/google/apis/places_v1/classes.rb', line 958 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
963 964 965 |
# File 'lib/google/apis/places_v1/classes.rb', line 963 def available_count @available_count end |
#count ⇒ Fixnum
Number of connectors in this aggregation.
Corresponds to the JSON property count
968 969 970 |
# File 'lib/google/apis/places_v1/classes.rb', line 968 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
973 974 975 |
# File 'lib/google/apis/places_v1/classes.rb', line 973 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
978 979 980 |
# File 'lib/google/apis/places_v1/classes.rb', line 978 def out_of_service_count @out_of_service_count end |
#type ⇒ String
The connector type of this aggregation.
Corresponds to the JSON property type
983 984 985 |
# File 'lib/google/apis/places_v1/classes.rb', line 983 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
990 991 992 993 994 995 996 997 |
# File 'lib/google/apis/places_v1/classes.rb', line 990 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 |