Class: Azure::ServiceFabric::V6_3_0_9::Models::TimeOfDay
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::TimeOfDay
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/time_of_day.rb
Overview
Defines an hour and minute of the day specified in 24 hour time.
Instance Attribute Summary collapse
-
#hour ⇒ Integer
0 and 23 inclusive.
-
#minute ⇒ Integer
between 0 to 59 inclusive.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TimeOfDay class as Ruby Hash.
Instance Attribute Details
#hour ⇒ Integer
0 and 23 inclusive.
17 18 19 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/time_of_day.rb', line 17 def hour @hour end |
#minute ⇒ Integer
between 0 to 59 inclusive.
21 22 23 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/time_of_day.rb', line 21 def minute @minute end |
Class Method Details
.mapper ⇒ Object
Mapper for TimeOfDay class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/time_of_day.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TimeOfDay', type: { name: 'Composite', class_name: 'TimeOfDay', model_properties: { hour: { client_side_validation: true, required: false, serialized_name: 'Hour', constraints: { InclusiveMaximum: 23, InclusiveMinimum: 0 }, type: { name: 'Number' } }, minute: { client_side_validation: true, required: false, serialized_name: 'Minute', constraints: { InclusiveMaximum: 59, InclusiveMinimum: 0 }, type: { name: 'Number' } } } } } end |