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.
33197 33198 33199 33200 33201 33202 |
# File 'lib/ovirtsdk4/types.rb', line 33197 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.
33207 33208 33209 33210 33211 33212 |
# File 'lib/ovirtsdk4/types.rb', line 33207 def ==(other) super && @content == other.content && @organization == other.organization && @subject == other.subject end |
#comment ⇒ String
Returns the value of the comment
attribute.
33054 33055 33056 |
# File 'lib/ovirtsdk4/types.rb', line 33054 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment
attribute.
33063 33064 33065 |
# File 'lib/ovirtsdk4/types.rb', line 33063 def comment=(value) @comment = value end |
#content ⇒ String
Returns the value of the content
attribute.
33072 33073 33074 |
# File 'lib/ovirtsdk4/types.rb', line 33072 def content @content end |
#content=(value) ⇒ Object
Sets the value of the content
attribute.
33081 33082 33083 |
# File 'lib/ovirtsdk4/types.rb', line 33081 def content=(value) @content = value end |
#description ⇒ String
Returns the value of the description
attribute.
33090 33091 33092 |
# File 'lib/ovirtsdk4/types.rb', line 33090 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description
attribute.
33099 33100 33101 |
# File 'lib/ovirtsdk4/types.rb', line 33099 def description=(value) @description = value end |
#hash ⇒ Object
Generates a hash value for this object.
33217 33218 33219 33220 33221 33222 |
# File 'lib/ovirtsdk4/types.rb', line 33217 def hash super + @content.hash + @organization.hash + @subject.hash end |
#id ⇒ String
Returns the value of the id
attribute.
33108 33109 33110 |
# File 'lib/ovirtsdk4/types.rb', line 33108 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id
attribute.
33117 33118 33119 |
# File 'lib/ovirtsdk4/types.rb', line 33117 def id=(value) @id = value end |
#name ⇒ String
Returns the value of the name
attribute.
33126 33127 33128 |
# File 'lib/ovirtsdk4/types.rb', line 33126 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name
attribute.
33135 33136 33137 |
# File 'lib/ovirtsdk4/types.rb', line 33135 def name=(value) @name = value end |
#organization ⇒ String
Returns the value of the organization
attribute.
33144 33145 33146 |
# File 'lib/ovirtsdk4/types.rb', line 33144 def organization @organization end |
#organization=(value) ⇒ Object
Sets the value of the organization
attribute.
33153 33154 33155 |
# File 'lib/ovirtsdk4/types.rb', line 33153 def organization=(value) @organization = value end |
#subject ⇒ String
Returns the value of the subject
attribute.
33162 33163 33164 |
# File 'lib/ovirtsdk4/types.rb', line 33162 def subject @subject end |
#subject=(value) ⇒ Object
Sets the value of the subject
attribute.
33171 33172 33173 |
# File 'lib/ovirtsdk4/types.rb', line 33171 def subject=(value) @subject = value end |