Sha256: 813d78e9bfb3d461a7ecd7efc07aa86e2a7560cae33c65276cc697e096045de0

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

module OpenActive
  module Models
    class Terms < ::OpenActive::Models::Schema::DigitalDocument
      # @!attribute type
      # @return [String]
      def type
        "Terms"
      end

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

      # @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

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/terms.rb
openactive-0.1.1 lib/openactive/models/terms.rb
openactive-0.1.0 lib/openactive/models/terms.rb
openactive-0.1.0.rc1 lib/openactive/models/terms.rb