class Comet::SourceConfig

def to_hash

Returns:
  • (Hash) - The complete object as a Ruby hash
def to_hash
  ret = {}
  ret['Engine'] = @engine
  ret['Description'] = @description
  ret['OwnerDevice'] = @owner_device
  ret['CreateTime'] = @create_time
  ret['ModifyTime'] = @modify_time
  ret['PreExec'] = @pre_exec
  ret['ThawExec'] = @thaw_exec
  ret['PostExec'] = @post_exec
  ret['EngineProps'] = @engine_props
  ret['PolicySourceID'] = @policy_source_id
  ret['ExistingUserUpdate'] = @existing_user_update
  unless @override_destination_retention.nil?
    ret['OverrideDestinationRetention'] = @override_destination_retention
  end
  unless @statistics.nil?
    ret['Statistics'] = @statistics
  end
  @unknown_json_fields.each do |k, v|
    ret[k] = v
  end
  ret
end