Class: Com::Vmware::Vapi::Metadata::Cli::Command::OutputFieldInfo
- Inherits:
-
VAPI::Bindings::VapiStruct
- Object
- VAPI::Bindings::VapiStruct
- Com::Vmware::Vapi::Metadata::Cli::Command::OutputFieldInfo
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/cli.rb
Overview
The ``Com::Vmware::Vapi::Metadata::Cli::Command::OutputFieldInfo`` class describes the name used by the CLI to display a single field of a class element in the interface definition language.
Instance Attribute Summary (collapse)
-
- (String) display_name
Name used by the CLI to display the field .
-
- (String) field_name
Name of the field .
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)
-
- (OutputFieldInfo) initialize(ruby_values = nil, struct_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (OutputFieldInfo) initialize(ruby_values = nil, struct_value = nil)
Constructs a new instance.
155 156 157 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/cli.rb', line 155 def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end |
Instance Attribute Details
- (String) display_name
Name used by the CLI to display the field .
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/cli.rb', line 130 class OutputFieldInfo < 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.cli.command.output_field_info', { 'field_name' => VAPI::Bindings::StringType.instance, 'display_name' => VAPI::Bindings::StringType.instance, }, OutputFieldInfo, false, nil) end end attr_accessor :field_name, :display_name # 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) field_name
Name of the field .
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/cli.rb', line 130 class OutputFieldInfo < 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.cli.command.output_field_info', { 'field_name' => VAPI::Bindings::StringType.instance, 'display_name' => VAPI::Bindings::StringType.instance, }, OutputFieldInfo, false, nil) end end attr_accessor :field_name, :display_name # 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.
136 137 138 139 140 141 142 143 144 145 146 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/cli.rb', line 136 def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.vapi.metadata.cli.command.output_field_info', { 'field_name' => VAPI::Bindings::StringType.instance, 'display_name' => VAPI::Bindings::StringType.instance, }, OutputFieldInfo, false, nil) end |