class Comet::SourceBasicInfo
def to_hash
-
(Hash)
- The complete object as a Ruby hash
def to_hash ret = {} ret['Engine'] = @engine ret['Description'] = @description ret['O365AccountCount'] = @o365account_count ret['TotalVmCount'] = @total_vm_count ret['Size'] = @size unless @override_destination_retention.nil? ret['OverrideDestinationRetention'] = @override_destination_retention end @unknown_json_fields.each do |k, v| ret[k] = v end ret end