class Azure::ResourceGraph::Mgmt::V2019_04_01::Models::QueryRequestOptions

The options for query evaluation

Attributes

result_format[RW]

@return [ResultFormat] Defines in which format query result returned. Possible values include: 'table', 'objectArray'

skip[RW]

@return [Integer] The number of rows to skip from the beginning of the results. Overrides the next page offset when “`$skipToken“` property is present.

skip_token[RW]

@return [String] Continuation token for pagination, capturing the next page size and offset, as well as the context of the query.

top[RW]

@return [Integer] The maximum number of rows that the query should return. Overrides the page size when “`$skipToken“` property is present.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-04-01/generated/azure_mgmt_resourcegraph/models/query_request_options.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'QueryRequestOptions',
    type: {
      name: 'Composite',
      class_name: 'QueryRequestOptions',
      model_properties: {
        skip_token: {
          client_side_validation: true,
          required: false,
          serialized_name: '$skipToken',
          type: {
            name: 'String'
          }
        },
        top: {
          client_side_validation: true,
          required: false,
          serialized_name: '$top',
          constraints: {
            InclusiveMaximum: 1000,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        },
        skip: {
          client_side_validation: true,
          required: false,
          serialized_name: '$skip',
          constraints: {
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        result_format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resultFormat',
          type: {
            name: 'Enum',
            module: 'ResultFormat'
          }
        }
      }
    }
  }
end