Sha256: 5beaf01a0771fe7b89c946450eefcb247509b1cb8ec382b79f441af232388258

Contents?: true

Size: 858 Bytes

Versions: 6

Compression:

Stored size: 858 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://schema.org/DigitalDocument, which means that any of this type's properties within schema.org may also be used.
    class Terms < ::OpenActive::Models::Schema::DigitalDocument
      # @!attribute type
      # @return [String]
      def type
        "Terms"
      end

      # @return [String]
      define_property :name, as: "name", types: [
        "string",
      ]

      # @return [DateTime,nil]
      define_property :date_modified, as: "dateModified", types: [
        "DateTime",
        "null",
      ]

      # @return [Boolean,nil]
      define_property :requires_explicit_consent, as: "requiresExplicitConsent", types: [
        "bool",
        "null",
      ]

      # @return [URI]
      define_property :url, as: "url", types: [
        "URI",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/terms.rb
openactive-0.4.0 lib/openactive/models/terms.rb
openactive-0.3.0 lib/openactive/models/terms.rb
openactive-0.2.2 lib/openactive/models/terms.rb
openactive-0.2.1 lib/openactive/models/terms.rb
openactive-0.2.0 lib/openactive/models/terms.rb