class Comet::Office365CustomSetting

def to_hash

Returns:
  • (Hash) - The complete object as a Ruby hash
def to_hash
  ret = {}
  ret['MailboxStrategy'] = @mailbox_strategy
  ret['SiteStrategy'] = @site_strategy
  ret['MailboxUserIDs'] = @mailbox_user_ids
  ret['MailboxGroupIDs'] = @mailbox_group_ids
  ret['SiteIDs'] = @site_ids
  @unknown_json_fields.each do |k, v|
    ret[k] = v
  end
  ret
end