class Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ReportConfigTimePeriod

The start and end date for pulling data for the report.

Attributes

from[RW]

@return [DateTime] The start date to pull data from.

to[RW]

@return [DateTime] The end date to pull data to.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/report_config_time_period.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReportConfigTimePeriod',
    type: {
      name: 'Composite',
      class_name: 'ReportConfigTimePeriod',
      model_properties: {
        from: {
          client_side_validation: true,
          required: true,
          serialized_name: 'from',
          type: {
            name: 'DateTime'
          }
        },
        to: {
          client_side_validation: true,
          required: true,
          serialized_name: 'to',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end