Class: OvirtSDK4::Certificate
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Certificate
- 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. -
#content ⇒ String
Returns the value of the
content
attribute. -
#content=(value) ⇒ Object
Sets the value of the
content
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 = {}) ⇒ Certificate
constructor
Creates a new instance of the Certificate class.
-
#name ⇒ String
Returns the value of the
name
attribute. -
#name=(value) ⇒ Object
Sets the value of the
name
attribute. -
#organization ⇒ String
Returns the value of the
organization
attribute. -
#organization=(value) ⇒ Object
Sets the value of the
organization
attribute. -
#subject ⇒ String
Returns the value of the
subject
attribute. -
#subject=(value) ⇒ Object
Sets the value of the
subject
attribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ Certificate
Creates a new instance of the OvirtSDK4::Certificate class.
32434 32435 32436 32437 32438 32439 |
# File 'lib/ovirtsdk4/types.rb', line 32434 def initialize(opts = {}) super(opts) self.content = opts[:content] self.organization = opts[:organization] self.subject = opts[:subject] end |
Instance Method Details
#==(other) ⇒ Object
Returns true
if self
and other
have the same attributes and values.
32444 32445 32446 32447 32448 32449 |
# File 'lib/ovirtsdk4/types.rb', line 32444 def ==(other) super && @content == other.content && @organization == other.organization && @subject == other.subject end |
#comment ⇒ String
Returns the value of the comment
attribute.
32291 32292 32293 |
# File 'lib/ovirtsdk4/types.rb', line 32291 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment
attribute.
32300 32301 32302 |
# File 'lib/ovirtsdk4/types.rb', line 32300 def comment=(value) @comment = value end |
#content ⇒ String
Returns the value of the content
attribute.
32309 32310 32311 |
# File 'lib/ovirtsdk4/types.rb', line 32309 def content @content end |
#content=(value) ⇒ Object
Sets the value of the content
attribute.
32318 32319 32320 |
# File 'lib/ovirtsdk4/types.rb', line 32318 def content=(value) @content = value end |
#description ⇒ String
Returns the value of the description
attribute.
32327 32328 32329 |
# File 'lib/ovirtsdk4/types.rb', line 32327 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description
attribute.
32336 32337 32338 |
# File 'lib/ovirtsdk4/types.rb', line 32336 def description=(value) @description = value end |
#hash ⇒ Object
Generates a hash value for this object.
32454 32455 32456 32457 32458 32459 |
# File 'lib/ovirtsdk4/types.rb', line 32454 def hash super + @content.hash + @organization.hash + @subject.hash end |
#id ⇒ String
Returns the value of the id
attribute.
32345 32346 32347 |
# File 'lib/ovirtsdk4/types.rb', line 32345 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id
attribute.
32354 32355 32356 |
# File 'lib/ovirtsdk4/types.rb', line 32354 def id=(value) @id = value end |
#name ⇒ String
Returns the value of the name
attribute.
32363 32364 32365 |
# File 'lib/ovirtsdk4/types.rb', line 32363 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name
attribute.
32372 32373 32374 |
# File 'lib/ovirtsdk4/types.rb', line 32372 def name=(value) @name = value end |
#organization ⇒ String
Returns the value of the organization
attribute.
32381 32382 32383 |
# File 'lib/ovirtsdk4/types.rb', line 32381 def organization @organization end |
#organization=(value) ⇒ Object
Sets the value of the organization
attribute.
32390 32391 32392 |
# File 'lib/ovirtsdk4/types.rb', line 32390 def organization=(value) @organization = value end |
#subject ⇒ String
Returns the value of the subject
attribute.
32399 32400 32401 |
# File 'lib/ovirtsdk4/types.rb', line 32399 def subject @subject end |
#subject=(value) ⇒ Object
Sets the value of the subject
attribute.
32408 32409 32410 |
# File 'lib/ovirtsdk4/types.rb', line 32408 def subject=(value) @subject = value end |