Class: OpenActive::Models::Schema::DeliveryEvent

Inherits:
Event show all
Defined in:
lib/openactive/models/schema/delivery_event.rb

Instance Attribute Summary collapse

Attributes inherited from Event

#about, #actor, #aggregate_rating, #attendee, #attendees, #audience, #composer, #contributor, #director, #door_time, #duration, #end_date, #event_status, #funder, #in_language, #is_accessible_for_free, #location, #maximum_attendee_capacity, #offers, #organizer, #performer, #performers, #previous_start_date, #recorded_in, #remaining_attendee_capacity, #review, #sponsor, #start_date, #sub_event, #sub_events, #super_event, #translator, #typical_age_range, #work_featured, #work_performed

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

#access_codeString

Returns:

  • (String)


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

def access_code
  @access_code
end

#available_fromDateTime?

Returns:

  • (DateTime, nil)


17
18
19
# File 'lib/openactive/models/schema/delivery_event.rb', line 17

def available_from
  @available_from
end

#available_throughDateTime?

Returns:

  • (DateTime, nil)


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

def available_through
  @available_through
end

#has_delivery_methodOpenActive::Enums::Schema::DeliveryMethod?



29
30
31
# File 'lib/openactive/models/schema/delivery_event.rb', line 29

def has_delivery_method
  @has_delivery_method
end

#typeString

Returns:

  • (String)


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

def type
  "schema:DeliveryEvent"
end