Class: OvirtSDK4::Version
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Version
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Integer) build
Returns the value of the
build
attribute. -
- (Object) build=(value)
Sets the value of the
build
attribute. -
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (String) full_version
Returns the value of the
full_version
attribute. -
- (Object) full_version=(value)
Sets the value of the
full_version
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (Version) initialize(opts = {})
constructor
Creates a new instance of the Version class.
-
- (Integer) major
Returns the value of the
major
attribute. -
- (Object) major=(value)
Sets the value of the
major
attribute. -
- (Integer) minor
Returns the value of the
minor
attribute. -
- (Object) minor=(value)
Sets the value of the
minor
attribute. -
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (Integer) revision
Returns the value of the
revision
attribute. -
- (Object) revision=(value)
Sets the value of the
revision
attribute.
Methods included from Type
Constructor Details
- (Version) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Version class.
18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 |
# File 'lib/ovirtsdk4/types.rb', line 18180 def initialize(opts = {}) super(opts) self.build = opts[:build] self.comment = opts[:comment] self.description = opts[:description] self.full_version = opts[:full_version] self.id = opts[:id] self.major = opts[:major] self.minor = opts[:minor] self.name = opts[:name] self.revision = opts[:revision] end |
Instance Method Details
- (Integer) build
Returns the value of the build
attribute.
17997 17998 17999 |
# File 'lib/ovirtsdk4/types.rb', line 17997 def build return @build end |
- (Object) build=(value)
Sets the value of the build
attribute.
18006 18007 18008 |
# File 'lib/ovirtsdk4/types.rb', line 18006 def build=(value) @build = value end |
- (String) comment
Returns the value of the comment
attribute.
18015 18016 18017 |
# File 'lib/ovirtsdk4/types.rb', line 18015 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
18024 18025 18026 |
# File 'lib/ovirtsdk4/types.rb', line 18024 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
18033 18034 18035 |
# File 'lib/ovirtsdk4/types.rb', line 18033 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
18042 18043 18044 |
# File 'lib/ovirtsdk4/types.rb', line 18042 def description=(value) @description = value end |
- (String) full_version
Returns the value of the full_version
attribute.
18051 18052 18053 |
# File 'lib/ovirtsdk4/types.rb', line 18051 def full_version return @full_version end |
- (Object) full_version=(value)
Sets the value of the full_version
attribute.
18060 18061 18062 |
# File 'lib/ovirtsdk4/types.rb', line 18060 def full_version=(value) @full_version = value end |
- (String) id
Returns the value of the id
attribute.
18069 18070 18071 |
# File 'lib/ovirtsdk4/types.rb', line 18069 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
18078 18079 18080 |
# File 'lib/ovirtsdk4/types.rb', line 18078 def id=(value) @id = value end |
- (Integer) major
Returns the value of the major
attribute.
18087 18088 18089 |
# File 'lib/ovirtsdk4/types.rb', line 18087 def major return @major end |
- (Object) major=(value)
Sets the value of the major
attribute.
18096 18097 18098 |
# File 'lib/ovirtsdk4/types.rb', line 18096 def major=(value) @major = value end |
- (Integer) minor
Returns the value of the minor
attribute.
18105 18106 18107 |
# File 'lib/ovirtsdk4/types.rb', line 18105 def minor return @minor end |
- (Object) minor=(value)
Sets the value of the minor
attribute.
18114 18115 18116 |
# File 'lib/ovirtsdk4/types.rb', line 18114 def minor=(value) @minor = value end |
- (String) name
Returns the value of the name
attribute.
18123 18124 18125 |
# File 'lib/ovirtsdk4/types.rb', line 18123 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
18132 18133 18134 |
# File 'lib/ovirtsdk4/types.rb', line 18132 def name=(value) @name = value end |
- (Integer) revision
Returns the value of the revision
attribute.
18141 18142 18143 |
# File 'lib/ovirtsdk4/types.rb', line 18141 def revision return @revision end |
- (Object) revision=(value)
Sets the value of the revision
attribute.
18150 18151 18152 |
# File 'lib/ovirtsdk4/types.rb', line 18150 def revision=(value) @revision = value end |