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.
31531 31532 31533 31534 31535 31536 |
# File 'lib/ovirtsdk4/types.rb', line 31531 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.
31541 31542 31543 31544 31545 31546 |
# File 'lib/ovirtsdk4/types.rb', line 31541 def ==(other) super && @content == other.content && @organization == other.organization && @subject == other.subject end |
#comment ⇒ String
Returns the value of the comment
attribute.
31388 31389 31390 |
# File 'lib/ovirtsdk4/types.rb', line 31388 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment
attribute.
31397 31398 31399 |
# File 'lib/ovirtsdk4/types.rb', line 31397 def comment=(value) @comment = value end |
#content ⇒ String
Returns the value of the content
attribute.
31406 31407 31408 |
# File 'lib/ovirtsdk4/types.rb', line 31406 def content @content end |
#content=(value) ⇒ Object
Sets the value of the content
attribute.
31415 31416 31417 |
# File 'lib/ovirtsdk4/types.rb', line 31415 def content=(value) @content = value end |
#description ⇒ String
Returns the value of the description
attribute.
31424 31425 31426 |
# File 'lib/ovirtsdk4/types.rb', line 31424 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description
attribute.
31433 31434 31435 |
# File 'lib/ovirtsdk4/types.rb', line 31433 def description=(value) @description = value end |
#hash ⇒ Object
Generates a hash value for this object.
31551 31552 31553 31554 31555 31556 |
# File 'lib/ovirtsdk4/types.rb', line 31551 def hash super + @content.hash + @organization.hash + @subject.hash end |
#id ⇒ String
Returns the value of the id
attribute.
31442 31443 31444 |
# File 'lib/ovirtsdk4/types.rb', line 31442 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id
attribute.
31451 31452 31453 |
# File 'lib/ovirtsdk4/types.rb', line 31451 def id=(value) @id = value end |
#name ⇒ String
Returns the value of the name
attribute.
31460 31461 31462 |
# File 'lib/ovirtsdk4/types.rb', line 31460 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name
attribute.
31469 31470 31471 |
# File 'lib/ovirtsdk4/types.rb', line 31469 def name=(value) @name = value end |
#organization ⇒ String
Returns the value of the organization
attribute.
31478 31479 31480 |
# File 'lib/ovirtsdk4/types.rb', line 31478 def organization @organization end |
#organization=(value) ⇒ Object
Sets the value of the organization
attribute.
31487 31488 31489 |
# File 'lib/ovirtsdk4/types.rb', line 31487 def organization=(value) @organization = value end |
#subject ⇒ String
Returns the value of the subject
attribute.
31496 31497 31498 |
# File 'lib/ovirtsdk4/types.rb', line 31496 def subject @subject end |
#subject=(value) ⇒ Object
Sets the value of the subject
attribute.
31505 31506 31507 |
# File 'lib/ovirtsdk4/types.rb', line 31505 def subject=(value) @subject = value end |