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.
31044 31045 31046 31047 31048 31049 |
# File 'lib/ovirtsdk4/types.rb', line 31044 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.
31054 31055 31056 31057 31058 31059 |
# File 'lib/ovirtsdk4/types.rb', line 31054 def ==(other) super && @content == other.content && @organization == other.organization && @subject == other.subject end |
#comment ⇒ String
Returns the value of the comment
attribute.
30901 30902 30903 |
# File 'lib/ovirtsdk4/types.rb', line 30901 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment
attribute.
30910 30911 30912 |
# File 'lib/ovirtsdk4/types.rb', line 30910 def comment=(value) @comment = value end |
#content ⇒ String
Returns the value of the content
attribute.
30919 30920 30921 |
# File 'lib/ovirtsdk4/types.rb', line 30919 def content @content end |
#content=(value) ⇒ Object
Sets the value of the content
attribute.
30928 30929 30930 |
# File 'lib/ovirtsdk4/types.rb', line 30928 def content=(value) @content = value end |
#description ⇒ String
Returns the value of the description
attribute.
30937 30938 30939 |
# File 'lib/ovirtsdk4/types.rb', line 30937 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description
attribute.
30946 30947 30948 |
# File 'lib/ovirtsdk4/types.rb', line 30946 def description=(value) @description = value end |
#hash ⇒ Object
Generates a hash value for this object.
31064 31065 31066 31067 31068 31069 |
# File 'lib/ovirtsdk4/types.rb', line 31064 def hash super + @content.hash + @organization.hash + @subject.hash end |
#id ⇒ String
Returns the value of the id
attribute.
30955 30956 30957 |
# File 'lib/ovirtsdk4/types.rb', line 30955 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id
attribute.
30964 30965 30966 |
# File 'lib/ovirtsdk4/types.rb', line 30964 def id=(value) @id = value end |
#name ⇒ String
Returns the value of the name
attribute.
30973 30974 30975 |
# File 'lib/ovirtsdk4/types.rb', line 30973 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name
attribute.
30982 30983 30984 |
# File 'lib/ovirtsdk4/types.rb', line 30982 def name=(value) @name = value end |
#organization ⇒ String
Returns the value of the organization
attribute.
30991 30992 30993 |
# File 'lib/ovirtsdk4/types.rb', line 30991 def organization @organization end |
#organization=(value) ⇒ Object
Sets the value of the organization
attribute.
31000 31001 31002 |
# File 'lib/ovirtsdk4/types.rb', line 31000 def organization=(value) @organization = value end |
#subject ⇒ String
Returns the value of the subject
attribute.
31009 31010 31011 |
# File 'lib/ovirtsdk4/types.rb', line 31009 def subject @subject end |
#subject=(value) ⇒ Object
Sets the value of the subject
attribute.
31018 31019 31020 |
# File 'lib/ovirtsdk4/types.rb', line 31018 def subject=(value) @subject = value end |