Class: OvirtSDK4::GlusterServerHook
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::GlusterServerHook
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) checksum
Returns the value of the
checksum
attribute. -
- (Object) checksum=(value)
Sets the value of the
checksum
attribute. -
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (HookContentType) content_type
Returns the value of the
content_type
attribute. -
- (Object) content_type=(value)
Sets the value of the
content_type
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (Host) host
Returns the value of the
host
attribute. -
- (Object) host=(value)
Sets the value of the
host
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (GlusterServerHook) initialize(opts = {})
constructor
Creates a new instance of the GlusterServerHook class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (GlusterHookStatus) status
Returns the value of the
status
attribute. -
- (Object) status=(value)
Sets the value of the
status
attribute.
Methods included from Type
Constructor Details
- (GlusterServerHook) initialize(opts = {})
Creates a new instance of the OvirtSDK4::GlusterServerHook class.
31182 31183 31184 31185 31186 31187 31188 31189 31190 31191 31192 |
# File 'lib/ovirtsdk4/types.rb', line 31182 def initialize(opts = {}) super(opts) self.checksum = opts[:checksum] self.comment = opts[:comment] self.content_type = opts[:content_type] self.description = opts[:description] self.host = opts[:host] self.id = opts[:id] self.name = opts[:name] self.status = opts[:status] end |
Instance Method Details
- (String) checksum
Returns the value of the checksum
attribute.
31012 31013 31014 |
# File 'lib/ovirtsdk4/types.rb', line 31012 def checksum return @checksum end |
- (Object) checksum=(value)
Sets the value of the checksum
attribute.
31021 31022 31023 |
# File 'lib/ovirtsdk4/types.rb', line 31021 def checksum=(value) @checksum = value end |
- (String) comment
Returns the value of the comment
attribute.
31030 31031 31032 |
# File 'lib/ovirtsdk4/types.rb', line 31030 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
31039 31040 31041 |
# File 'lib/ovirtsdk4/types.rb', line 31039 def comment=(value) @comment = value end |
- (HookContentType) content_type
Returns the value of the content_type
attribute.
31048 31049 31050 |
# File 'lib/ovirtsdk4/types.rb', line 31048 def content_type return @content_type end |
- (Object) content_type=(value)
Sets the value of the content_type
attribute.
31057 31058 31059 |
# File 'lib/ovirtsdk4/types.rb', line 31057 def content_type=(value) @content_type = value end |
- (String) description
Returns the value of the description
attribute.
31066 31067 31068 |
# File 'lib/ovirtsdk4/types.rb', line 31066 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
31075 31076 31077 |
# File 'lib/ovirtsdk4/types.rb', line 31075 def description=(value) @description = value end |
- (Host) host
Returns the value of the host
attribute.
31084 31085 31086 |
# File 'lib/ovirtsdk4/types.rb', line 31084 def host return @host end |
- (Object) host=(value)
Sets the value of the host
attribute.
The value
parameter can be an instance of Host or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
31097 31098 31099 31100 31101 31102 |
# File 'lib/ovirtsdk4/types.rb', line 31097 def host=(value) if value.is_a?(Hash) value = Host.new(value) end @host = value end |
- (String) id
Returns the value of the id
attribute.
31109 31110 31111 |
# File 'lib/ovirtsdk4/types.rb', line 31109 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
31118 31119 31120 |
# File 'lib/ovirtsdk4/types.rb', line 31118 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
31127 31128 31129 |
# File 'lib/ovirtsdk4/types.rb', line 31127 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
31136 31137 31138 |
# File 'lib/ovirtsdk4/types.rb', line 31136 def name=(value) @name = value end |
- (GlusterHookStatus) status
Returns the value of the status
attribute.
31145 31146 31147 |
# File 'lib/ovirtsdk4/types.rb', line 31145 def status return @status end |
- (Object) status=(value)
Sets the value of the status
attribute.
31154 31155 31156 |
# File 'lib/ovirtsdk4/types.rb', line 31154 def status=(value) @status = value end |