Class: OvirtSDK4::Bookmark
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Bookmark
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary collapse
-
#==(other) ⇒ Object
Returns
trueifselfandotherhave the same attributes and values. -
#comment ⇒ String
Returns the value of the
commentattribute. -
#comment=(value) ⇒ Object
Sets the value of the
commentattribute. -
#description ⇒ String
Returns the value of the
descriptionattribute. -
#description=(value) ⇒ Object
Sets the value of the
descriptionattribute. -
#hash ⇒ Object
Generates a hash value for this object.
-
#id ⇒ String
Returns the value of the
idattribute. -
#id=(value) ⇒ Object
Sets the value of the
idattribute. -
#initialize(opts = {}) ⇒ Bookmark
constructor
Creates a new instance of the Bookmark class.
-
#name ⇒ String
Returns the value of the
nameattribute. -
#name=(value) ⇒ Object
Sets the value of the
nameattribute. -
#value ⇒ String
Returns the value of the
valueattribute. -
#value=(value) ⇒ Object
Sets the value of the
valueattribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ Bookmark
Creates a new instance of the OvirtSDK4::Bookmark class.
33229 33230 33231 33232 |
# File 'lib/ovirtsdk4/types.rb', line 33229 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.
33237 33238 33239 33240 |
# File 'lib/ovirtsdk4/types.rb', line 33237 def ==(other) super && @value == other.value end |
#comment ⇒ String
Returns the value of the comment attribute.
33126 33127 33128 |
# File 'lib/ovirtsdk4/types.rb', line 33126 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment attribute.
33135 33136 33137 |
# File 'lib/ovirtsdk4/types.rb', line 33135 def comment=(value) @comment = value end |
#description ⇒ String
Returns the value of the description attribute.
33144 33145 33146 |
# File 'lib/ovirtsdk4/types.rb', line 33144 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description attribute.
33153 33154 33155 |
# File 'lib/ovirtsdk4/types.rb', line 33153 def description=(value) @description = value end |
#hash ⇒ Object
Generates a hash value for this object.
33245 33246 33247 33248 |
# File 'lib/ovirtsdk4/types.rb', line 33245 def hash super + @value.hash end |
#id ⇒ String
Returns the value of the id attribute.
33162 33163 33164 |
# File 'lib/ovirtsdk4/types.rb', line 33162 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id attribute.
33171 33172 33173 |
# File 'lib/ovirtsdk4/types.rb', line 33171 def id=(value) @id = value end |
#name ⇒ String
Returns the value of the name attribute.
33180 33181 33182 |
# File 'lib/ovirtsdk4/types.rb', line 33180 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name attribute.
33189 33190 33191 |
# File 'lib/ovirtsdk4/types.rb', line 33189 def name=(value) @name = value end |
#value ⇒ String
Returns the value of the value attribute.
33198 33199 33200 |
# File 'lib/ovirtsdk4/types.rb', line 33198 def value @value end |
#value=(value) ⇒ Object
Sets the value of the value attribute.
33207 33208 33209 |
# File 'lib/ovirtsdk4/types.rb', line 33207 def value=(value) @value = value end |