lib/openactive/models/schema/digital_document_permission.rb in openactive-0.1.2 vs lib/openactive/models/schema/digital_document_permission.rb in openactive-0.2.0

- old
+ new

@@ -6,21 +6,22 @@ # @return [String] def type "schema:DigitalDocumentPermission" end + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::ContactPoint,URI] + define_property :grantee, as: "grantee", types: [ + "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::Person", + "OpenActive::Models::Schema::Audience", + "OpenActive::Models::Schema::ContactPoint", + "URI", + ] + # @return [OpenActive::Enums::Schema::DigitalDocumentPermissionType,nil] define_property :permission_type, as: "permissionType", types: [ "OpenActive::Enums::Schema::DigitalDocumentPermissionType", "null", - ] - - # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Audience,OpenActive::Models::Schema::Organization] - define_property :grantee, as: "grantee", types: [ - "OpenActive::Models::Schema::Person", - "OpenActive::Models::Schema::ContactPoint", - "OpenActive::Models::Schema::Audience", - "OpenActive::Models::Schema::Organization", ] end end end end