Sha256: 6c185e370086439cb950111554c43915349d56385310b49d1937d3fd8e32356a
Contents?: true
Size: 1.56 KB
Versions: 2
Compression:
Stored size: 1.56 KB
Contents
module OpenActive module Models module Schema class Permit < ::OpenActive::Models::Schema::Intangible # @!attribute type # @return [String] def type "schema:Permit" end # @return [Date,DateTime,nil] define_property :valid_from, as: "validFrom", types: [ "Date", "DateTime", "null", ] # @return [OpenActive::Models::Schema::AdministrativeArea,URI] define_property :valid_in, as: "validIn", types: [ "OpenActive::Models::Schema::AdministrativeArea", "URI", ] # @return [OpenActive::Models::Schema::Service,URI] define_property :issued_through, as: "issuedThrough", types: [ "OpenActive::Models::Schema::Service", "URI", ] # @return [ActiveSupport::Duration,URI,nil] define_property :valid_for, as: "validFor", types: [ "DateInterval", "URI", "null", ] # @return [OpenActive::Models::Schema::Organization,URI] define_property :issued_by, as: "issuedBy", types: [ "OpenActive::Models::Schema::Organization", "URI", ] # @return [OpenActive::Models::Schema::Audience,URI] define_property :permit_audience, as: "permitAudience", types: [ "OpenActive::Models::Schema::Audience", "URI", ] # @return [Date,nil] define_property :valid_until, as: "validUntil", types: [ "Date", "null", ] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.5.0 | lib/openactive/models/schema/permit.rb |
openactive-0.4.0 | lib/openactive/models/schema/permit.rb |