Class: OvirtSDK4::PmProxy
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary collapse
-
#==(other) ⇒ Object
Returns
true
ifself
andother
have the same attributes and values. -
#hash ⇒ Object
Generates a hash value for this object.
-
#initialize(opts = {}) ⇒ PmProxy
constructor
Creates a new instance of the PmProxy class.
-
#type ⇒ PmProxyType
Returns the value of the
type
attribute. -
#type=(value) ⇒ Object
Sets the value of the
type
attribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ PmProxy
Creates a new instance of the OvirtSDK4::PmProxy class.
13899 13900 13901 13902 |
# File 'lib/ovirtsdk4/types.rb', line 13899 def initialize(opts = {}) super(opts) self.type = opts[:type] end |
Instance Method Details
#==(other) ⇒ Object
Returns true
if self
and other
have the same attributes and values.
13907 13908 13909 13910 |
# File 'lib/ovirtsdk4/types.rb', line 13907 def ==(other) super && @type == other.type end |
#hash ⇒ Object
Generates a hash value for this object.
13915 13916 13917 13918 |
# File 'lib/ovirtsdk4/types.rb', line 13915 def hash super + @type.hash end |
#type ⇒ PmProxyType
Returns the value of the type
attribute.
13876 13877 13878 |
# File 'lib/ovirtsdk4/types.rb', line 13876 def type @type end |
#type=(value) ⇒ Object
Sets the value of the type
attribute.
13885 13886 13887 |
# File 'lib/ovirtsdk4/types.rb', line 13885 def type=(value) @type = value end |