Class: Com::Vmware::Appliance::Techpreview::Timesync::TimeSyncConfig
- Inherits:
-
VAPI::Bindings::VapiStruct
- Object
- VAPI::Bindings::VapiStruct
- Com::Vmware::Appliance::Techpreview::Timesync::TimeSyncConfig
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview.rb
Overview
``Com::Vmware::Appliance::Techpreview::Timesync::TimeSyncConfig`` class Structure defining time synchronization configuration.
Instance Attribute Summary (collapse)
-
- (Com::Vmware::Appliance::Techpreview::Timesync::TimeSyncMode) mode
Time synchronization mode.
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)
-
- (TimeSyncConfig) initialize(ruby_values = nil, struct_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (TimeSyncConfig) initialize(ruby_values = nil, struct_value = nil)
Constructs a new instance.
964 965 966 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview.rb', line 964 def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end |
Instance Attribute Details
- (Com::Vmware::Appliance::Techpreview::Timesync::TimeSyncMode) mode
Time synchronization mode. Mode can have one of the TimeSyncMode enumeration values.
941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview.rb', line 941 class TimeSyncConfig < 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.appliance.techpreview.timesync.time_sync_config', { 'mode' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Timesync::TimeSyncMode'), }, TimeSyncConfig, false, nil) end end attr_accessor :mode # 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.
947 948 949 950 951 952 953 954 955 956 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview.rb', line 947 def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.appliance.techpreview.timesync.time_sync_config', { 'mode' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Appliance::Techpreview::Timesync::TimeSyncMode'), }, TimeSyncConfig, false, nil) end |