Class: ManageIQ::API::Client::CollectionOptions
- Inherits:
-
Object
- Object
- ManageIQ::API::Client::CollectionOptions
- Defined in:
- lib/manageiq/api/client/collection_options.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#relationships ⇒ Object
readonly
Returns the value of attribute relationships.
-
#virtual_attributes ⇒ Object
readonly
Returns the value of attribute virtual_attributes.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ CollectionOptions
constructor
A new instance of CollectionOptions.
Constructor Details
#initialize(options = {}) ⇒ CollectionOptions
Returns a new instance of CollectionOptions.
10 11 12 13 |
# File 'lib/manageiq/api/client/collection_options.rb', line 10 def initialize( = {}) @attributes, @virtual_attributes, @relationships, @data = .values_at("attributes", "virtual_attributes", "relationships", "data") end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/manageiq/api/client/collection_options.rb', line 5 def attributes @attributes end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
8 9 10 |
# File 'lib/manageiq/api/client/collection_options.rb', line 8 def data @data end |
#relationships ⇒ Object (readonly)
Returns the value of attribute relationships.
7 8 9 |
# File 'lib/manageiq/api/client/collection_options.rb', line 7 def relationships @relationships end |
#virtual_attributes ⇒ Object (readonly)
Returns the value of attribute virtual_attributes.
6 7 8 |
# File 'lib/manageiq/api/client/collection_options.rb', line 6 def virtual_attributes @virtual_attributes end |