Class: Ecoportal::API::GraphQL::Base::ActivityLog
- Inherits:
-
Logic::BaseModel
- Object
- Common::Content::DoubleModel
- Common::GraphQL::Model
- Logic::BaseModel
- Ecoportal::API::GraphQL::Base::ActivityLog
- Defined in:
- lib/ecoportal/api/graphql/base/activity_log.rb
Overview
A single "System Access Log" entry, returned by
currentOrganization.activityLogs (ActivityLogUnionConnection). Read-only.
ActivityLogUnion is a UNION over 9 members:
DashboardAccess, DashboardCreate, DashboardDelete, DashboardUpdate,
DeniedDashboardAccess, DeniedPageAccess, FileDownload, PageAccess,
ScimIntegrationAccess.
This models the field set COMMON to ALL members and passes the concrete
__typename through. The Dashboard* members additionally expose
parentResource* + resource (see Model::ActivityLog); page/file/scim
members do not, so those live on the Model subclass as nullable embeds.
Enum-valued fields are exposed as plain strings:
- resourceType: ResourceTypesEnum
Direct Known Subclasses
Constant Summary
Constants included from Common::GraphQL::Model::Diffable
Common::GraphQL::Model::Diffable::DIFF_CLASS
Method Summary
Methods included from Concerns::SnakeCamelAccess
#method_missing, #respond_to_missing?
Methods included from Common::GraphQL::Model::AsInput
Methods included from Common::GraphQL::Model::Diffable
Methods included from Common::GraphQL::ClassHelpers
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ecoportal::API::GraphQL::Concerns::SnakeCamelAccess