class Azure::ServiceFabric::V7_0_0_42::Models::TimeRange

Defines a time range in a 24 hour day specified by a start and end time.

Attributes

end_time[RW]

@return [TimeOfDay] Defines an hour and minute of the day specified in 24 hour time.

start_time[RW]

@return [TimeOfDay] Defines an hour and minute of the day specified in 24 hour time.

Private Class Methods

mapper() click to toggle source

Mapper for TimeRange class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.0.0.42/generated/azure_service_fabric/models/time_range.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TimeRange',
    type: {
      name: 'Composite',
      class_name: 'TimeRange',
      model_properties: {
        start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'StartTime',
          type: {
            name: 'Composite',
            class_name: 'TimeOfDay'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'EndTime',
          type: {
            name: 'Composite',
            class_name: 'TimeOfDay'
          }
        }
      }
    }
  }
end