Class: OvirtSDK4::OpenstackVolumeAuthenticationKey
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::OpenstackVolumeAuthenticationKey
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (DateTime) creation_date
Returns the value of the
creation_date
attribute. -
- (Object) creation_date=(value)
Sets the value of the
creation_date
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (OpenstackVolumeAuthenticationKey) initialize(opts = {})
constructor
Creates a new instance of the OpenstackVolumeAuthenticationKey class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (OpenStackVolumeProvider) openstack_volume_provider
Returns the value of the
openstack_volume_provider
attribute. -
- (Object) openstack_volume_provider=(value)
Sets the value of the
openstack_volume_provider
attribute. -
- (OpenstackVolumeAuthenticationKeyUsageType) usage_type
Returns the value of the
usage_type
attribute. -
- (Object) usage_type=(value)
Sets the value of the
usage_type
attribute. -
- (String) uuid
Returns the value of the
uuid
attribute. -
- (Object) uuid=(value)
Sets the value of the
uuid
attribute. -
- (String) value
Returns the value of the
value
attribute. -
- (Object) value=(value)
Sets the value of the
value
attribute.
Methods included from Type
Constructor Details
- (OpenstackVolumeAuthenticationKey) initialize(opts = {})
Creates a new instance of the OvirtSDK4::OpenstackVolumeAuthenticationKey class.
9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 |
# File 'lib/ovirtsdk4/types.rb', line 9280 def initialize(opts = {}) super(opts) self.comment = opts[:comment] self.creation_date = opts[:creation_date] self.description = opts[:description] self.id = opts[:id] self.name = opts[:name] self.openstack_volume_provider = opts[:openstack_volume_provider] self.usage_type = opts[:usage_type] self.uuid = opts[:uuid] self.value = opts[:value] end |
Instance Method Details
- (String) comment
Returns the value of the comment
attribute.
9090 9091 9092 |
# File 'lib/ovirtsdk4/types.rb', line 9090 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
9099 9100 9101 |
# File 'lib/ovirtsdk4/types.rb', line 9099 def comment=(value) @comment = value end |
- (DateTime) creation_date
Returns the value of the creation_date
attribute.
9108 9109 9110 |
# File 'lib/ovirtsdk4/types.rb', line 9108 def creation_date return @creation_date end |
- (Object) creation_date=(value)
Sets the value of the creation_date
attribute.
9117 9118 9119 |
# File 'lib/ovirtsdk4/types.rb', line 9117 def creation_date=(value) @creation_date = value end |
- (String) description
Returns the value of the description
attribute.
9126 9127 9128 |
# File 'lib/ovirtsdk4/types.rb', line 9126 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
9135 9136 9137 |
# File 'lib/ovirtsdk4/types.rb', line 9135 def description=(value) @description = value end |
- (String) id
Returns the value of the id
attribute.
9144 9145 9146 |
# File 'lib/ovirtsdk4/types.rb', line 9144 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
9153 9154 9155 |
# File 'lib/ovirtsdk4/types.rb', line 9153 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
9162 9163 9164 |
# File 'lib/ovirtsdk4/types.rb', line 9162 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
9171 9172 9173 |
# File 'lib/ovirtsdk4/types.rb', line 9171 def name=(value) @name = value end |
- (OpenStackVolumeProvider) openstack_volume_provider
Returns the value of the openstack_volume_provider
attribute.
9180 9181 9182 |
# File 'lib/ovirtsdk4/types.rb', line 9180 def openstack_volume_provider return @openstack_volume_provider end |
- (Object) openstack_volume_provider=(value)
Sets the value of the openstack_volume_provider
attribute.
The value
parameter can be an instance of OvirtSDK4::OpenStackVolumeProvider 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.
9193 9194 9195 9196 9197 9198 |
# File 'lib/ovirtsdk4/types.rb', line 9193 def openstack_volume_provider=(value) if value.is_a?(Hash) value = OpenStackVolumeProvider.new(value) end @openstack_volume_provider = value end |
- (OpenstackVolumeAuthenticationKeyUsageType) usage_type
Returns the value of the usage_type
attribute.
9205 9206 9207 |
# File 'lib/ovirtsdk4/types.rb', line 9205 def usage_type return @usage_type end |
- (Object) usage_type=(value)
Sets the value of the usage_type
attribute.
9214 9215 9216 |
# File 'lib/ovirtsdk4/types.rb', line 9214 def usage_type=(value) @usage_type = value end |
- (String) uuid
Returns the value of the uuid
attribute.
9223 9224 9225 |
# File 'lib/ovirtsdk4/types.rb', line 9223 def uuid return @uuid end |
- (Object) uuid=(value)
Sets the value of the uuid
attribute.
9232 9233 9234 |
# File 'lib/ovirtsdk4/types.rb', line 9232 def uuid=(value) @uuid = value end |
- (String) value
Returns the value of the value
attribute.
9241 9242 9243 |
# File 'lib/ovirtsdk4/types.rb', line 9241 def value return @value end |
- (Object) value=(value)
Sets the value of the value
attribute.
9250 9251 9252 |
# File 'lib/ovirtsdk4/types.rb', line 9250 def value=(value) @value = value end |