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.
30975 30976 30977 30978 30979 30980 |
# File 'lib/ovirtsdk4/types.rb', line 30975 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.
30985 30986 30987 30988 30989 30990 |
# File 'lib/ovirtsdk4/types.rb', line 30985 def ==(other) super && @content == other.content && @organization == other.organization && @subject == other.subject end |
#comment ⇒ String
Returns the value of the comment attribute.
30832 30833 30834 |
# File 'lib/ovirtsdk4/types.rb', line 30832 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment attribute.
30841 30842 30843 |
# File 'lib/ovirtsdk4/types.rb', line 30841 def comment=(value) @comment = value end |
#content ⇒ String
Returns the value of the content attribute.
30850 30851 30852 |
# File 'lib/ovirtsdk4/types.rb', line 30850 def content @content end |
#content=(value) ⇒ Object
Sets the value of the content attribute.
30859 30860 30861 |
# File 'lib/ovirtsdk4/types.rb', line 30859 def content=(value) @content = value end |
#description ⇒ String
Returns the value of the description attribute.
30868 30869 30870 |
# File 'lib/ovirtsdk4/types.rb', line 30868 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description attribute.
30877 30878 30879 |
# File 'lib/ovirtsdk4/types.rb', line 30877 def description=(value) @description = value end |
#hash ⇒ Object
Generates a hash value for this object.
30995 30996 30997 30998 30999 31000 |
# File 'lib/ovirtsdk4/types.rb', line 30995 def hash super + @content.hash + @organization.hash + @subject.hash end |
#id ⇒ String
Returns the value of the id attribute.
30886 30887 30888 |
# File 'lib/ovirtsdk4/types.rb', line 30886 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id attribute.
30895 30896 30897 |
# File 'lib/ovirtsdk4/types.rb', line 30895 def id=(value) @id = value end |
#name ⇒ String
Returns the value of the name attribute.
30904 30905 30906 |
# File 'lib/ovirtsdk4/types.rb', line 30904 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name attribute.
30913 30914 30915 |
# File 'lib/ovirtsdk4/types.rb', line 30913 def name=(value) @name = value end |
#organization ⇒ String
Returns the value of the organization attribute.
30922 30923 30924 |
# File 'lib/ovirtsdk4/types.rb', line 30922 def organization @organization end |
#organization=(value) ⇒ Object
Sets the value of the organization attribute.
30931 30932 30933 |
# File 'lib/ovirtsdk4/types.rb', line 30931 def organization=(value) @organization = value end |
#subject ⇒ String
Returns the value of the subject attribute.
30940 30941 30942 |
# File 'lib/ovirtsdk4/types.rb', line 30940 def subject @subject end |
#subject=(value) ⇒ Object
Sets the value of the subject attribute.
30949 30950 30951 |
# File 'lib/ovirtsdk4/types.rb', line 30949 def subject=(value) @subject = value end |