Class: OvirtSDK4::Certificate

Inherits:
Identified show all
Defined in:
lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb

Instance Method Summary (collapse)

Methods included from Type

#href, #href=

Constructor Details

- (Certificate) initialize(opts = {})

Creates a new instance of the OvirtSDK4::Certificate class.

Parameters:

  • opts (Hash) (defaults to: {})

    A hash containing the attributes of the object. The keys of the hash should be symbols corresponding to the names of the attributes. The values of the hash should be the values of the attributes.

Options Hash (opts):

  • :comment (String)

    The value of attribute comment.

  • :content (String)

    The value of attribute content.

  • :description (String)

    The value of attribute description.

  • :id (String)

    The value of attribute id.

  • :name (String)

    The value of attribute name.

  • :organization (String)

    The value of attribute organization.

  • :subject (String)

    The value of attribute subject.



23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
# File 'lib/ovirtsdk4/types.rb', line 23844

def initialize(opts = {})
  super(opts)
  self.comment = opts[:comment]
  self.content = opts[:content]
  self.description = opts[:description]
  self.id = opts[:id]
  self.name = opts[:name]
  self.organization = opts[:organization]
  self.subject = opts[:subject]
end

Instance Method Details

- (String) comment

Returns the value of the comment attribute.

Returns:

  • (String)


23701
23702
23703
# File 'lib/ovirtsdk4/types.rb', line 23701

def comment
  return @comment
end

- (Object) comment=(value)

Sets the value of the comment attribute.

Parameters:

  • value (String)


23710
23711
23712
# File 'lib/ovirtsdk4/types.rb', line 23710

def comment=(value)
  @comment = value
end

- (String) content

Returns the value of the content attribute.

Returns:

  • (String)


23719
23720
23721
# File 'lib/ovirtsdk4/types.rb', line 23719

def content
  return @content
end

- (Object) content=(value)

Sets the value of the content attribute.

Parameters:

  • value (String)


23728
23729
23730
# File 'lib/ovirtsdk4/types.rb', line 23728

def content=(value)
  @content = value
end

- (String) description

Returns the value of the description attribute.

Returns:

  • (String)


23737
23738
23739
# File 'lib/ovirtsdk4/types.rb', line 23737

def description
  return @description
end

- (Object) description=(value)

Sets the value of the description attribute.

Parameters:

  • value (String)


23746
23747
23748
# File 'lib/ovirtsdk4/types.rb', line 23746

def description=(value)
  @description = value
end

- (String) id

Returns the value of the id attribute.

Returns:

  • (String)


23755
23756
23757
# File 'lib/ovirtsdk4/types.rb', line 23755

def id
  return @id
end

- (Object) id=(value)

Sets the value of the id attribute.

Parameters:

  • value (String)


23764
23765
23766
# File 'lib/ovirtsdk4/types.rb', line 23764

def id=(value)
  @id = value
end

- (String) name

Returns the value of the name attribute.

Returns:

  • (String)


23773
23774
23775
# File 'lib/ovirtsdk4/types.rb', line 23773

def name
  return @name
end

- (Object) name=(value)

Sets the value of the name attribute.

Parameters:

  • value (String)


23782
23783
23784
# File 'lib/ovirtsdk4/types.rb', line 23782

def name=(value)
  @name = value
end

- (String) organization

Returns the value of the organization attribute.

Returns:

  • (String)


23791
23792
23793
# File 'lib/ovirtsdk4/types.rb', line 23791

def organization
  return @organization
end

- (Object) organization=(value)

Sets the value of the organization attribute.

Parameters:

  • value (String)


23800
23801
23802
# File 'lib/ovirtsdk4/types.rb', line 23800

def organization=(value)
  @organization = value
end

- (String) subject

Returns the value of the subject attribute.

Returns:

  • (String)


23809
23810
23811
# File 'lib/ovirtsdk4/types.rb', line 23809

def subject
  return @subject
end

- (Object) subject=(value)

Sets the value of the subject attribute.

Parameters:

  • value (String)


23818
23819
23820
# File 'lib/ovirtsdk4/types.rb', line 23818

def subject=(value)
  @subject = value
end