class Azure::CostManagement::Mgmt::V2019_01_01::Models::QueryGrouping

The group by expression to be used in the query.

Attributes

name[RW]

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

type[RW]

@return [QueryColumnType] Has type of the column to group. Possible values include: 'Tag', 'Dimension'

Public Class Methods

mapper() click to toggle source

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

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