Class: OvirtSDK4::TimeZone
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::TimeZone
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (TimeZone) initialize(opts = {})
constructor
Creates a new instance of the TimeZone class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (String) utc_offset
Returns the value of the
utc_offset
attribute. -
- (Object) utc_offset=(value)
Sets the value of the
utc_offset
attribute.
Methods included from Type
Constructor Details
- (TimeZone) initialize(opts = {})
Creates a new instance of the OvirtSDK4::TimeZone class.
17058 17059 17060 17061 17062 |
# File 'lib/ovirtsdk4/types.rb', line 17058 def initialize(opts = {}) super(opts) self.name = opts[:name] self.utc_offset = opts[:utc_offset] end |
Instance Method Details
- (String) name
Returns the value of the name
attribute.
17015 17016 17017 |
# File 'lib/ovirtsdk4/types.rb', line 17015 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
17024 17025 17026 |
# File 'lib/ovirtsdk4/types.rb', line 17024 def name=(value) @name = value end |
- (String) utc_offset
Returns the value of the utc_offset
attribute.
17033 17034 17035 |
# File 'lib/ovirtsdk4/types.rb', line 17033 def utc_offset return @utc_offset end |
- (Object) utc_offset=(value)
Sets the value of the utc_offset
attribute.
17042 17043 17044 |
# File 'lib/ovirtsdk4/types.rb', line 17042 def utc_offset=(value) @utc_offset = value end |