Sha256: 46685e0e22a40166fd419f587df20a4924ff72c5a31b0c326dbbbc002e72e44d

Contents?: true

Size: 1.87 KB

Versions: 4

Compression:

Stored size: 1.87 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::OperationalInsights::Mgmt::V2015_03_20
  module Models
    #
    # The saved search operation response.
    #
    class SavedSearchesListResult

      include MsRestAzure

      # @return [SearchMetadata] The metadata from search results.
      attr_accessor :metadata

      # @return [Array<SavedSearch>] The array of result values.
      attr_accessor :value


      #
      # Mapper for SavedSearchesListResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SavedSearchesListResult',
          type: {
            name: 'Composite',
            class_name: 'SavedSearchesListResult',
            model_properties: {
              metadata: {
                client_side_validation: true,
                required: false,
                serialized_name: 'metaData',
                type: {
                  name: 'Composite',
                  class_name: 'SearchMetadata'
                }
              },
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'SavedSearchElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'SavedSearch'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_operational_insights-0.17.2 lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb
azure_mgmt_operational_insights-0.17.1 lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb
azure_mgmt_operational_insights-0.17.0 lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb
azure_mgmt_operational_insights-0.16.0 lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb