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
trueifselfandotherhave the same attributes and values. -
#comment ⇒ String
Returns the value of the
commentattribute. -
#comment=(value) ⇒ Object
Sets the value of the
commentattribute. -
#content ⇒ String
Returns the value of the
contentattribute. -
#content=(value) ⇒ Object
Sets the value of the
contentattribute. -
#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 = {}) ⇒ Certificate
constructor
Creates a new instance of the Certificate class.
-
#name ⇒ String
Returns the value of the
nameattribute. -
#name=(value) ⇒ Object
Sets the value of the
nameattribute. -
#organization ⇒ String
Returns the value of the
organizationattribute. -
#organization=(value) ⇒ Object
Sets the value of the
organizationattribute. -
#subject ⇒ String
Returns the value of the
subjectattribute. -
#subject=(value) ⇒ Object
Sets the value of the
subjectattribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ Certificate
Creates a new instance of the OvirtSDK4::Certificate class.
33490 33491 33492 33493 33494 33495 |
# File 'lib/ovirtsdk4/types.rb', line 33490 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.
33500 33501 33502 33503 33504 33505 |
# File 'lib/ovirtsdk4/types.rb', line 33500 def ==(other) super && @content == other.content && @organization == other.organization && @subject == other.subject end |
#comment ⇒ String
Returns the value of the comment attribute.
33347 33348 33349 |
# File 'lib/ovirtsdk4/types.rb', line 33347 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment attribute.
33356 33357 33358 |
# File 'lib/ovirtsdk4/types.rb', line 33356 def comment=(value) @comment = value end |
#content ⇒ String
Returns the value of the content attribute.
33365 33366 33367 |
# File 'lib/ovirtsdk4/types.rb', line 33365 def content @content end |
#content=(value) ⇒ Object
Sets the value of the content attribute.
33374 33375 33376 |
# File 'lib/ovirtsdk4/types.rb', line 33374 def content=(value) @content = value end |
#description ⇒ String
Returns the value of the description attribute.
33383 33384 33385 |
# File 'lib/ovirtsdk4/types.rb', line 33383 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description attribute.
33392 33393 33394 |
# File 'lib/ovirtsdk4/types.rb', line 33392 def description=(value) @description = value end |
#hash ⇒ Object
Generates a hash value for this object.
33510 33511 33512 33513 33514 33515 |
# File 'lib/ovirtsdk4/types.rb', line 33510 def hash super + @content.hash + @organization.hash + @subject.hash end |
#id ⇒ String
Returns the value of the id attribute.
33401 33402 33403 |
# File 'lib/ovirtsdk4/types.rb', line 33401 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id attribute.
33410 33411 33412 |
# File 'lib/ovirtsdk4/types.rb', line 33410 def id=(value) @id = value end |
#name ⇒ String
Returns the value of the name attribute.
33419 33420 33421 |
# File 'lib/ovirtsdk4/types.rb', line 33419 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name attribute.
33428 33429 33430 |
# File 'lib/ovirtsdk4/types.rb', line 33428 def name=(value) @name = value end |
#organization ⇒ String
Returns the value of the organization attribute.
33437 33438 33439 |
# File 'lib/ovirtsdk4/types.rb', line 33437 def organization @organization end |
#organization=(value) ⇒ Object
Sets the value of the organization attribute.
33446 33447 33448 |
# File 'lib/ovirtsdk4/types.rb', line 33446 def organization=(value) @organization = value end |
#subject ⇒ String
Returns the value of the subject attribute.
33455 33456 33457 |
# File 'lib/ovirtsdk4/types.rb', line 33455 def subject @subject end |
#subject=(value) ⇒ Object
Sets the value of the subject attribute.
33464 33465 33466 |
# File 'lib/ovirtsdk4/types.rb', line 33464 def subject=(value) @subject = value end |