Class: Com::Vmware::Content::LibraryService::FindSpec
- Inherits:
-
VAPI::Bindings::VapiStruct
- Object
- VAPI::Bindings::VapiStruct
- Com::Vmware::Content::LibraryService::FindSpec
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb
Overview
Specifies the properties that can be used as a filter to find libraries. When multiple fields are specified, all properties of the library must match the specification.
Instance Attribute Summary (collapse)
-
- (String?) name
Name of the library to search.
-
- (Com::Vmware::Content::LibraryModel::LibraryType?) type
Library type to search.
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)
-
- (FindSpec) initialize(ruby_values = nil, struct_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (FindSpec) initialize(ruby_values = nil, struct_value = nil)
Constructs a new instance.
265 266 267 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 265 def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end |
Instance Attribute Details
- (String?) name
Name of the library to search. The name is case-insensitive. See :attr:`Com::Vmware::Content::LibraryModel.name` . If not specified any name will be searched.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 240 class FindSpec < 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.content.library.find_spec', { 'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance), 'type' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Content::LibraryModel::LibraryType')), }, FindSpec, false, nil) end end attr_accessor :name, :type # 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 |
- (Com::Vmware::Content::LibraryModel::LibraryType?) type
Library type to search. See :attr:`Com::Vmware::Content::LibraryModel.type` . If not specified any library type will be searched.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 240 class FindSpec < 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.content.library.find_spec', { 'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance), 'type' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Content::LibraryModel::LibraryType')), }, FindSpec, false, nil) end end attr_accessor :name, :type # 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.
246 247 248 249 250 251 252 253 254 255 256 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/content.rb', line 246 def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.content.library.find_spec', { 'name' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance), 'type' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Content::LibraryModel::LibraryType')), }, FindSpec, false, nil) end |