class Comet::Office365MixedVirtualAccount

def to_hash

Returns:
  • (Hash) - The complete object as a Ruby hash
def to_hash
  ret = {}
  ret['id'] = @id
  unless @type.nil?
    ret['Type'] = @type
  end
  unless @display_name.nil?
    ret['DisplayName'] = @display_name
  end
  unless @mail.nil?
    ret['Mail'] = @mail
  end
  unless @job_title.nil?
    ret['JobTitle'] = @job_title
  end
  unless @site_id.nil?
    ret['SiteID'] = @site_id
  end
  unless @web_id.nil?
    ret['WebID'] = @web_id
  end
  unless @web_url.nil?
    ret['WebURL'] = @web_url
  end
  unless @user_principal_name.nil?
    ret['UserPrincipalName'] = @user_principal_name
  end
  unless @enabled_service_option.nil?
    ret['EnabledServiceOption'] = @enabled_service_option
  end
  unless @members.nil?
    ret['Members'] = @members
  end
  unless @service_options.nil?
    ret['ServiceOptions'] = @service_options
  end
  unless @member_service_options.nil?
    ret['MemberServiceOptions'] = @member_service_options
  end
  unless @has_license.nil?
    ret['hasLicense'] = @has_license
  end
  @unknown_json_fields.each do |k, v|
    ret[k] = v
  end
  ret
end