module OpenActive module Models module Schema class ContactPoint < ::OpenActive::Models::Schema::StructuredValue # @!attribute type # @return [String] def type "schema:ContactPoint" end # @return [OpenActive::Models::Schema::Language,String,URI] define_property :available_language, as: "availableLanguage", types: [ "OpenActive::Models::Schema::Language", "string", "URI", ] # @return [String,OpenActive::Models::Schema::Place,OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::GeoShape,URI] define_property :area_served, as: "areaServed", types: [ "string", "OpenActive::Models::Schema::Place", "OpenActive::Models::Schema::AdministrativeArea", "OpenActive::Models::Schema::GeoShape", "URI", ] # @return [OpenActive::Models::Schema::Product,String,URI] define_property :product_supported, as: "productSupported", types: [ "OpenActive::Models::Schema::Product", "string", "URI", ] # @return [String] define_property :email, as: "email", types: [ "string", ] # @return [String] define_property :telephone, as: "telephone", types: [ "string", ] # @return [String] define_property :contact_type, as: "contactType", types: [ "string", ] # @return [OpenActive::Models::Schema::OpeningHoursSpecification,URI] define_property :hours_available, as: "hoursAvailable", types: [ "OpenActive::Models::Schema::OpeningHoursSpecification", "URI", ] # @return [OpenActive::Models::Schema::Place,OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::GeoShape,URI] define_property :service_area, as: "serviceArea", types: [ "OpenActive::Models::Schema::Place", "OpenActive::Models::Schema::AdministrativeArea", "OpenActive::Models::Schema::GeoShape", "URI", ] # @return [String] define_property :fax_number, as: "faxNumber", types: [ "string", ] # @return [OpenActive::Enums::Schema::ContactPointOption,nil] define_property :contact_option, as: "contactOption", types: [ "OpenActive::Enums::Schema::ContactPointOption", "null", ] end end end end