VMware vCloud Suite SDK for .NET 6.0.0
|
Defines the type descriptors for the top-level types in com.vmware.vapi.metadata
package.
More...
Static Public Attributes | |
static global::System.Lazy < vmware.vapi.bindings.type.StructType > | sourceCreateSpec |
static global::System.Lazy < vmware.vapi.bindings.type.StructType > | sourceInfo |
Defines the type descriptors for the top-level types in com.vmware.vapi.metadata
package.
WARNING: Internal API, subject to change in future versions.
global::System.Lazy<vmware.vapi.bindings.type.StructType> vmware::vapi::metadata::StructDefinitions::sourceCreateSpec [static] |
new global::System.Lazy<vmware.vapi.bindings.type.StructType>(() => { global::System.Collections.Generic.Dictionary<string, vmware.vapi.bindings.type.IType> fields = new global::System.Collections.Generic.Dictionary<string, vmware.vapi.bindings.type.IType>(); fields.Add("description", new vmware.vapi.bindings.type.StringType()); fields.Add("type", new vmware.vapi.bindings.type.EnumType(typeof(vmware.vapi.metadata.SourceType))); fields.Add("filepath", new vmware.vapi.bindings.type.OptionalType(new vmware.vapi.bindings.type.StringType())); fields.Add("address", new vmware.vapi.bindings.type.OptionalType(new vmware.vapi.bindings.type.UriType())); global::System.Collections.Generic.List<vmware.vapi.data.ConstraintValidator> validators = null; validators = new global::System.Collections.Generic.List<vmware.vapi.data.ConstraintValidator>(1); global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.List<string>> caseFields = new global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.List<string>>(); caseFields.Add("FILE", new global::System.Collections.Generic.List<string>(){"filepath"}); caseFields.Add("REMOTE", new global::System.Collections.Generic.List<string>(){"address"}); validators.Add(new vmware.vapi.data.UnionValidator("type", caseFields)); return new vmware.vapi.bindings.type.StructType("com.vmware.vapi.metadata.source_create_spec", fields, typeof(vmware.vapi.metadata.SourceCreateSpec), validators, false, null); })
global::System.Lazy<vmware.vapi.bindings.type.StructType> vmware::vapi::metadata::StructDefinitions::sourceInfo [static] |
new global::System.Lazy<vmware.vapi.bindings.type.StructType>(() => { global::System.Collections.Generic.Dictionary<string, vmware.vapi.bindings.type.IType> fields = new global::System.Collections.Generic.Dictionary<string, vmware.vapi.bindings.type.IType>(); fields.Add("type", new vmware.vapi.bindings.type.EnumType(typeof(vmware.vapi.metadata.SourceType))); fields.Add("file_name", new vmware.vapi.bindings.type.OptionalType(new vmware.vapi.bindings.type.StringType())); fields.Add("remote_addr", new vmware.vapi.bindings.type.OptionalType(new vmware.vapi.bindings.type.StringType())); fields.Add("msg_protocol", new vmware.vapi.bindings.type.OptionalType(new vmware.vapi.bindings.type.StringType())); global::System.Collections.Generic.List<vmware.vapi.data.ConstraintValidator> validators = null; validators = new global::System.Collections.Generic.List<vmware.vapi.data.ConstraintValidator>(1); global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.List<string>> caseFields = new global::System.Collections.Generic.Dictionary<string, global::System.Collections.Generic.List<string>>(); caseFields.Add("FILE", new global::System.Collections.Generic.List<string>(){"file_name"}); caseFields.Add("REMOTE", new global::System.Collections.Generic.List<string>(){"remote_addr", "msg_protocol"}); validators.Add(new vmware.vapi.data.UnionValidator("type", caseFields)); return new vmware.vapi.bindings.type.StructType("com.vmware.vapi.metadata.source_info", fields, typeof(vmware.vapi.metadata.SourceInfo), validators, false, null); })