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
true
ifself
andother
have the same attributes and values. -
#comment ⇒ String
Returns the value of the
comment
attribute. -
#comment=(value) ⇒ Object
Sets the value of the
comment
attribute. -
#description ⇒ String
Returns the value of the
description
attribute. -
#description=(value) ⇒ Object
Sets the value of the
description
attribute. -
#hash ⇒ Object
Generates a hash value for this object.
-
#id ⇒ String
Returns the value of the
id
attribute. -
#id=(value) ⇒ Object
Sets the value of the
id
attribute. -
#initialize(opts = {}) ⇒ Bookmark
constructor
Creates a new instance of the Bookmark class.
-
#name ⇒ String
Returns the value of the
name
attribute. -
#name=(value) ⇒ Object
Sets the value of the
name
attribute. -
#value ⇒ String
Returns the value of the
value
attribute. -
#value=(value) ⇒ Object
Sets the value of the
value
attribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ Bookmark
Creates a new instance of the OvirtSDK4::Bookmark class.
32936 32937 32938 32939 |
# File 'lib/ovirtsdk4/types.rb', line 32936 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.
32944 32945 32946 32947 |
# File 'lib/ovirtsdk4/types.rb', line 32944 def ==(other) super && @value == other.value end |
#comment ⇒ String
Returns the value of the comment
attribute.
32833 32834 32835 |
# File 'lib/ovirtsdk4/types.rb', line 32833 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment
attribute.
32842 32843 32844 |
# File 'lib/ovirtsdk4/types.rb', line 32842 def comment=(value) @comment = value end |
#description ⇒ String
Returns the value of the description
attribute.
32851 32852 32853 |
# File 'lib/ovirtsdk4/types.rb', line 32851 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description
attribute.
32860 32861 32862 |
# File 'lib/ovirtsdk4/types.rb', line 32860 def description=(value) @description = value end |
#hash ⇒ Object
Generates a hash value for this object.
32952 32953 32954 32955 |
# File 'lib/ovirtsdk4/types.rb', line 32952 def hash super + @value.hash end |
#id ⇒ String
Returns the value of the id
attribute.
32869 32870 32871 |
# File 'lib/ovirtsdk4/types.rb', line 32869 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id
attribute.
32878 32879 32880 |
# File 'lib/ovirtsdk4/types.rb', line 32878 def id=(value) @id = value end |
#name ⇒ String
Returns the value of the name
attribute.
32887 32888 32889 |
# File 'lib/ovirtsdk4/types.rb', line 32887 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name
attribute.
32896 32897 32898 |
# File 'lib/ovirtsdk4/types.rb', line 32896 def name=(value) @name = value end |
#value ⇒ String
Returns the value of the value
attribute.
32905 32906 32907 |
# File 'lib/ovirtsdk4/types.rb', line 32905 def value @value end |
#value=(value) ⇒ Object
Sets the value of the value
attribute.
32914 32915 32916 |
# File 'lib/ovirtsdk4/types.rb', line 32914 def value=(value) @value = value end |