Class: Com::Vmware::Vapi::Metadata::Metamodel::ErrorInfo
- Inherits:
-
VAPI::Bindings::VapiStruct
- Object
- VAPI::Bindings::VapiStruct
- Com::Vmware::Vapi::Metadata::Metamodel::ErrorInfo
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb
Overview
The ``Com::Vmware::Vapi::Metadata::Metamodel::ErrorInfo`` class contains the metadata information about the error elements contained in an operation element.
Instance Attribute Summary (collapse)
-
- (String) documentation
The English language documentation for the service element.
-
- (String) structure_id
Identifier for the structure element corresponding to the error that is being reported by the operation.
Class Method Summary (collapse)
-
+ (VAPI::Bindings::StructType) binding_type
Holds (gets or creates) the binding type metadata for this structure type.
Instance Method Summary (collapse)
-
- (ErrorInfo) initialize(ruby_values = nil, struct_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (ErrorInfo) initialize(ruby_values = nil, struct_value = nil)
Constructs a new instance.
1385 1386 1387 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 1385 def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end |
Instance Attribute Details
- (String) documentation
The English language documentation for the service element. It can contain HTML markup and Javadoc tags.
1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 1360 class ErrorInfo < VAPI::Bindings::VapiStruct class << self # Holds (gets or creates) the binding type metadata for this structure type. # @scope class # @return [VAPI::Bindings::StructType] the binding type def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.vapi.metadata.metamodel.error_info', { 'structure_id' => VAPI::Bindings::IdType.new(resource_types='com.vmware.vapi.structure'), 'documentation' => VAPI::Bindings::StringType.instance, }, ErrorInfo, false, nil) end end attr_accessor :structure_id, :documentation # Constructs a new instance. # @param ruby_values [Hash] a map of initial property values (optional) # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional) def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end end |
- (String) structure_id
Identifier for the structure element corresponding to the error that is being reported by the operation.
1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 1360 class ErrorInfo < VAPI::Bindings::VapiStruct class << self # Holds (gets or creates) the binding type metadata for this structure type. # @scope class # @return [VAPI::Bindings::StructType] the binding type def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.vapi.metadata.metamodel.error_info', { 'structure_id' => VAPI::Bindings::IdType.new(resource_types='com.vmware.vapi.structure'), 'documentation' => VAPI::Bindings::StringType.instance, }, ErrorInfo, false, nil) end end attr_accessor :structure_id, :documentation # Constructs a new instance. # @param ruby_values [Hash] a map of initial property values (optional) # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional) def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end end |
Class Method Details
+ (VAPI::Bindings::StructType) binding_type
Holds (gets or creates) the binding type metadata for this structure type.
1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 1366 def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.vapi.metadata.metamodel.error_info', { 'structure_id' => VAPI::Bindings::IdType.new(resource_types='com.vmware.vapi.structure'), 'documentation' => VAPI::Bindings::StringType.instance, }, ErrorInfo, false, nil) end |