Class: OpenActive::Models::Schema::ContactPoint

Inherits:
StructuredValue show all
Defined in:
lib/openactive/models/schema/contact_point.rb

Direct Known Subclasses

PostalAddress

Instance Attribute Summary collapse

Attributes inherited from Thing

#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url

Attributes inherited from JsonLdModel

#context, #id

Method Summary

Methods inherited from BaseModel

#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json

Methods included from Concerns::TypeChecker

#check_types, included

Methods included from Concerns::JsonLdSerializable

included, #to_h, #values

Constructor Details

This class inherits a constructor from OpenActive::BaseModel

Instance Attribute Details

#area_servedString, ...



12
13
14
# File 'lib/openactive/models/schema/contact_point.rb', line 12

def area_served
  @area_served
end

#available_languageOpenActive::Models::Schema::Language, String



46
47
48
# File 'lib/openactive/models/schema/contact_point.rb', line 46

def available_language
  @available_language
end

#contact_optionOpenActive::Enums::Schema::ContactPointOption?



52
53
54
# File 'lib/openactive/models/schema/contact_point.rb', line 52

def contact_option
  @contact_option
end

#contact_typeString

Returns:

  • (String)


31
32
33
# File 'lib/openactive/models/schema/contact_point.rb', line 31

def contact_type
  @contact_type
end

#emailString

Returns:

  • (String)


36
37
38
# File 'lib/openactive/models/schema/contact_point.rb', line 36

def email
  @email
end

#fax_numberString

Returns:

  • (String)


20
21
22
# File 'lib/openactive/models/schema/contact_point.rb', line 20

def fax_number
  @fax_number
end

#hours_availableOpenActive::Models::Schema::OpeningHoursSpecification



58
59
60
# File 'lib/openactive/models/schema/contact_point.rb', line 58

def hours_available
  @hours_available
end

#product_supportedString, OpenActive::Models::Schema::Product



25
26
27
# File 'lib/openactive/models/schema/contact_point.rb', line 25

def product_supported
  @product_supported
end

#service_areaOpenActive::Models::Schema::Place, ...



63
64
65
# File 'lib/openactive/models/schema/contact_point.rb', line 63

def service_area
  @service_area
end

#telephoneString

Returns:

  • (String)


41
42
43
# File 'lib/openactive/models/schema/contact_point.rb', line 41

def telephone
  @telephone
end

#typeString

Returns:

  • (String)


7
8
9
# File 'lib/openactive/models/schema/contact_point.rb', line 7

def type
  "schema:ContactPoint"
end