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

#href, #href=

Constructor Details

- (ProxyTicket) initialize(opts = {})

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

Parameters:

  • opts (Hash) (defaults to: {})

    A hash containing the attributes of the object. The keys of the hash should be symbols corresponding to the names of the attributes. The values of the hash should be the values of the attributes.

Options Hash (opts):

  • :value (String)

    The value of attribute value.



11145
11146
11147
11148
# File 'lib/ovirtsdk4/types.rb', line 11145

def initialize(opts = {})
  super(opts)
  self.value = opts[:value]
end

Instance Method Details

- (String) value

Returns the value of the value attribute.

Returns:

  • (String)


11122
11123
11124
# File 'lib/ovirtsdk4/types.rb', line 11122

def value
  return @value
end

- (Object) value=(value)

Sets the value of the value attribute.

Parameters:

  • value (String)


11131
11132
11133
# File 'lib/ovirtsdk4/types.rb', line 11131

def value=(value)
  @value = value
end