class Azure::CostManagement::Mgmt::V2018_05_31::Models::ReportConfigRecurrencePeriod

The start and end date for recurrence schedule.

Attributes

from[RW]

@return [DateTime] The start date of recurrence.

to[RW]

@return [DateTime] The end date of recurrence. If not provided, we default this to 10 years from the start date.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_recurrence_period.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReportConfigRecurrencePeriod',
    type: {
      name: 'Composite',
      class_name: 'ReportConfigRecurrencePeriod',
      model_properties: {
        from: {
          client_side_validation: true,
          required: true,
          serialized_name: 'from',
          type: {
            name: 'DateTime'
          }
        },
        to: {
          client_side_validation: true,
          required: false,
          serialized_name: 'to',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end