class Azure::CostManagement::Mgmt::V2019_03_01_preview::Models::ReportConfigSorting

The order by expression to be used in the report.

Attributes

direction[RW]

@return [Enum] Direction of sort. Possible values include: 'Ascending', 'Descending'

name[RW]

@return [String] The name of the column to sort.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/report_config_sorting.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReportConfigSorting',
    type: {
      name: 'Composite',
      class_name: 'ReportConfigSorting',
      model_properties: {
        direction: {
          client_side_validation: true,
          required: false,
          serialized_name: 'direction',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end