Class: OvirtSDK4::Ticket
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Ticket
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Integer) expiry
Returns the value of the
expiry
attribute. -
- (Object) expiry=(value)
Sets the value of the
expiry
attribute. -
- (Ticket) initialize(opts = {})
constructor
Creates a new instance of the Ticket class.
-
- (String) value
Returns the value of the
value
attribute. -
- (Object) value=(value)
Sets the value of the
value
attribute.
Methods included from Type
Constructor Details
- (Ticket) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Ticket class.
17000 17001 17002 17003 17004 |
# File 'lib/ovirtsdk4/types.rb', line 17000 def initialize(opts = {}) super(opts) self.expiry = opts[:expiry] self.value = opts[:value] end |
Instance Method Details
- (Integer) expiry
Returns the value of the expiry
attribute.
16957 16958 16959 |
# File 'lib/ovirtsdk4/types.rb', line 16957 def expiry return @expiry end |
- (Object) expiry=(value)
Sets the value of the expiry
attribute.
16966 16967 16968 |
# File 'lib/ovirtsdk4/types.rb', line 16966 def expiry=(value) @expiry = value end |
- (String) value
Returns the value of the value
attribute.
16975 16976 16977 |
# File 'lib/ovirtsdk4/types.rb', line 16975 def value return @value end |
- (Object) value=(value)
Sets the value of the value
attribute.
16984 16985 16986 |
# File 'lib/ovirtsdk4/types.rb', line 16984 def value=(value) @value = value end |