lib/openactive/models/schema/digital_document_permission.rb in openactive-0.3.0 vs lib/openactive/models/schema/digital_document_permission.rb in openactive-0.4.0
- old
+ new
@@ -6,22 +6,22 @@
# @return [String]
def type
"schema:DigitalDocumentPermission"
end
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Organization,URI]
+ # @return [OpenActive::Enums::Schema::DigitalDocumentPermissionType,nil]
+ define_property :permission_type, as: "permissionType", types: [
+ "OpenActive::Enums::Schema::DigitalDocumentPermissionType",
+ "null",
+ ]
+
+ # @return [OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Organization,URI]
define_property :grantee, as: "grantee", types: [
- "OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::Audience",
+ "OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::ContactPoint",
"OpenActive::Models::Schema::Organization",
"URI",
- ]
-
- # @return [OpenActive::Enums::Schema::DigitalDocumentPermissionType,nil]
- define_property :permission_type, as: "permissionType", types: [
- "OpenActive::Enums::Schema::DigitalDocumentPermissionType",
- "null",
]
end
end
end
end