class Azure::ServiceFabric::V6_5_0_36::Models::TimeOfDay
Defines an hour and minute of the day specified in 24 hour time.
Attributes
hour[RW]
@return [Integer] Represents the hour of the day. Value must be between 0 and 23 inclusive.
minute[RW]
@return [Integer] Represents the minute of the hour. Value must be between 0 to 59 inclusive.
Public Class Methods
mapper()
click to toggle source
Mapper for TimeOfDay
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.5.0.36/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