Class: OpenActive::Models::Schema::PublicationEvent

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

Direct Known Subclasses

BroadcastEvent, OnDemandEvent

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, #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

#freeBoolean?

Returns:

  • (Boolean, nil)


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

def free
  @free
end

#is_accessible_for_freeBoolean?

Returns:

  • (Boolean, nil)


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

def is_accessible_for_free
  @is_accessible_for_free
end

#published_onOpenActive::Models::Schema::BroadcastService



24
25
26
# File 'lib/openactive/models/schema/publication_event.rb', line 24

def published_on
  @published_on
end

#typeString

Returns:

  • (String)


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

def type
  "schema:PublicationEvent"
end