Class: SolrCloud::Connection::AliasAdmin::AliasCollectionPair

Inherits:
Struct
  • Object
show all
Defined in:
lib/solr_cloud/connection/alias_admin.rb

Overview

A simple data-class to pair an alias with its collection

Instance Attribute Summary collapse

Instance Attribute Details

#aliasObject

Returns the value of attribute alias

Returns:

  • (Object)

    the current value of alias



9
10
11
# File 'lib/solr_cloud/connection/alias_admin.rb', line 9

def alias
  @alias
end

#collectionObject

Returns the value of attribute collection

Returns:

  • (Object)

    the current value of collection



9
10
11
# File 'lib/solr_cloud/connection/alias_admin.rb', line 9

def collection
  @collection
end