Class: OpenActive::Models::Schema::ServiceChannel

Inherits:
Intangible show all
Defined in:
lib/openactive/models/schema/service_channel.rb

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

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



33
34
35
# File 'lib/openactive/models/schema/service_channel.rb', line 33

def available_language
  @available_language
end

#processing_timeActiveSupport::Duration?

Returns:

  • (ActiveSupport::Duration, nil)


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

def processing_time
  @processing_time
end

#provides_serviceOpenActive::Models::Schema::Service



49
50
51
# File 'lib/openactive/models/schema/service_channel.rb', line 49

def provides_service
  @provides_service
end

#service_locationOpenActive::Models::Schema::Place



44
45
46
# File 'lib/openactive/models/schema/service_channel.rb', line 44

def service_location
  @service_location
end

#service_phoneOpenActive::Models::Schema::ContactPoint



23
24
25
# File 'lib/openactive/models/schema/service_channel.rb', line 23

def service_phone
  @service_phone
end

#service_postal_addressOpenActive::Models::Schema::PostalAddress



39
40
41
# File 'lib/openactive/models/schema/service_channel.rb', line 39

def service_postal_address
  @service_postal_address
end

#service_sms_numberOpenActive::Models::Schema::ContactPoint



18
19
20
# File 'lib/openactive/models/schema/service_channel.rb', line 18

def service_sms_number
  @service_sms_number
end

#service_urlURI

Returns:

  • (URI)


28
29
30
# File 'lib/openactive/models/schema/service_channel.rb', line 28

def service_url
  @service_url
end

#typeString

Returns:

  • (String)


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

def type
  "schema:ServiceChannel"
end