Class: OvirtSDK4::ProxyTicket

Inherits:
Struct
  • Object
show all
Defined in:
lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb

Instance Method Summary collapse

Methods included from Type

#dig, #href, #href=

Constructor Details

#initialize(opts = {}) ⇒ ProxyTicket

Creates a new instance of the OvirtSDK4::ProxyTicket class.

Options Hash (opts):

  • :value (String)

    The value of attribute value.



15824
15825
15826
15827
# File 'lib/ovirtsdk4/types.rb', line 15824

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.



15832
15833
15834
15835
# File 'lib/ovirtsdk4/types.rb', line 15832

def ==(other)
  super &&
  @value == other.value
end

#hashObject

Generates a hash value for this object.



15840
15841
15842
15843
# File 'lib/ovirtsdk4/types.rb', line 15840

def hash
  super +
  @value.hash
end

#valueString

Returns the value of the value attribute.



15801
15802
15803
# File 'lib/ovirtsdk4/types.rb', line 15801

def value
  @value
end

#value=(value) ⇒ Object

Sets the value of the value attribute.



15810
15811
15812
# File 'lib/ovirtsdk4/types.rb', line 15810

def value=(value)
  @value = value
end