class Comet::StorageRoleOptions
def to_hash
-
(Hash)
- The complete object as a Ruby hash
def to_hash ret = {} ret['RoleEnabled'] = @role_enabled ret['Storage'] = @storage unless @local_storage__legacy.nil? ret['LocalStorage'] = @local_storage__legacy end ret['ReplicateTo'] = @replicate_to @unknown_json_fields.each do |k, v| ret[k] = v end ret end