module OpenActive module Models # This type is derived from https://schema.org/Person, which means that any of this type's properties within schema.org may also be used. class Person < ::OpenActive::Models::Schema::Person # @!attribute type # @return [String] def type "Person" end # @return [int,String,OpenActive::Models::PropertyValue,Array,nil] define_property :identifier, as: "identifier", types: [ "int", "string", "OpenActive::Models::PropertyValue", "OpenActive::Models::PropertyValue[]", "null", ] # @return [String] define_property :name, as: "name", types: [ "string", ] # @return [String] define_property :description, as: "description", types: [ "string", ] # @return [OpenActive::Models::PostalAddress] define_property :address, as: "address", types: [ "OpenActive::Models::PostalAddress", ] # @return [String] define_property :email, as: "email", types: [ "string", ] # @return [OpenActive::Models::Person] define_property :emergency_contact, as: "emergencyContact", types: [ "OpenActive::Models::Person", ] # @return [String] define_property :family_name, as: "familyName", types: [ "string", ] # @return [String,OpenActive::Enums::Schema::GenderType,nil] define_property :gender, as: "gender", types: [ "string", "OpenActive::Enums::Schema::GenderType", "null", ] # @return [String] define_property :given_name, as: "givenName", types: [ "string", ] # @return [OpenActive::Models::CustomerAccount,URI] define_property :has_account, as: "hasAccount", types: [ "OpenActive::Models::CustomerAccount", "URI", ] # @return [Boolean,nil] define_property :is_open_booking_allowed, as: "isOpenBookingAllowed", types: [ "bool", "null", ] # @return [String] define_property :job_title, as: "jobTitle", types: [ "string", ] # @return [String] define_property :legal_name, as: "legalName", types: [ "string", ] # @return [OpenActive::Models::ImageObject] define_property :logo, as: "logo", types: [ "OpenActive::Models::ImageObject", ] # @return [Array] define_property :same_as, as: "sameAs", types: [ "URI[]", ] # @return [OpenActive::Enums::TaxMode,nil] define_property :tax_mode, as: "taxMode", types: [ "OpenActive::Enums::TaxMode", "null", ] # @return [String] define_property :telephone, as: "telephone", types: [ "string", ] # @return [Array] define_property :terms_of_service, as: "termsOfService", types: [ "OpenActive::Models::Terms[]", ] # @return [URI] define_property :url, as: "url", types: [ "URI", ] # @return [String] define_property :vat_id, as: "vatID", types: [ "string", ] # @return [String] define_property :formatted_description, as: "beta:formattedDescription", types: [ "string", ] # @return [Array] define_property :formal_criteria_met, as: "beta:formalCriteriaMet", types: [ "URI[]", ] end end end