Class: OpenActive::Models::BookingService

Inherits:
Schema::Service show all
Defined in:
lib/openactive/models/booking_service.rb

Instance Attribute Summary collapse

Attributes inherited from Schema::Service

#aggregate_rating, #area_served, #audience, #available_channel, #award, #brand, #broker, #category, #has_offer_catalog, #hours_available, #is_related_to, #is_similar_to, #logo, #offers, #produces, #provider, #provider_mobility, #review, #service_area, #service_audience, #service_output, #service_type, #slogan

Attributes inherited from Schema::Thing

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

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

#nameString

Returns:

  • (String)


11
12
13
# File 'lib/openactive/models/booking_service.rb', line 11

def name
  @name
end

#software_versionString

Returns:

  • (String)


16
17
18
# File 'lib/openactive/models/booking_service.rb', line 16

def software_version
  @software_version
end

#terms_of_serviceArray<OpenActive::Models::Terms>

Returns:



21
22
23
# File 'lib/openactive/models/booking_service.rb', line 21

def terms_of_service
  @terms_of_service
end

#typeString

Returns:

  • (String)


6
7
8
# File 'lib/openactive/models/booking_service.rb', line 6

def type
  "BookingService"
end

#urlURI

Returns:

  • (URI)


26
27
28
# File 'lib/openactive/models/booking_service.rb', line 26

def url
  @url
end