Class: OvirtSDK4::ProxyTicket
- 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 = {}) ⇒ ProxyTicket
constructor
Creates a new instance of the ProxyTicket class.
-
#value ⇒ String
Returns the value of the
value
attribute. -
#value=(value) ⇒ Object
Sets the value of the
value
attribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ ProxyTicket
Creates a new instance of the OvirtSDK4::ProxyTicket class.
14722 14723 14724 14725 |
# File 'lib/ovirtsdk4/types.rb', line 14722 def initialize(opts = {}) super(opts) self.value = opts[:value] end |
Instance Method Details
#==(other) ⇒ Object
Returns true
if self
and other
have the same attributes and values.
14730 14731 14732 14733 |
# File 'lib/ovirtsdk4/types.rb', line 14730 def ==(other) super && @value == other.value end |
#hash ⇒ Object
Generates a hash value for this object.
14738 14739 14740 14741 |
# File 'lib/ovirtsdk4/types.rb', line 14738 def hash super + @value.hash end |
#value ⇒ String
Returns the value of the value
attribute.
14699 14700 14701 |
# File 'lib/ovirtsdk4/types.rb', line 14699 def value @value end |
#value=(value) ⇒ Object
Sets the value of the value
attribute.
14708 14709 14710 |
# File 'lib/ovirtsdk4/types.rb', line 14708 def value=(value) @value = value end |