Class: OpenActive::Models::Schema::UserComments

Inherits:
UserInteraction show all
Defined in:
lib/openactive/models/schema/user_comments.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

#comment_textString

Returns:

  • (String)


35
36
37
# File 'lib/openactive/models/schema/user_comments.rb', line 35

def comment_text
  @comment_text
end

#comment_timeDateTime, ...

Returns:

  • (DateTime, Date, nil)


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

def comment_time
  @comment_time
end

#creatorOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



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

def creator
  @creator
end

#discussesOpenActive::Models::Schema::CreativeWork



30
31
32
# File 'lib/openactive/models/schema/user_comments.rb', line 30

def discusses
  @discusses
end

#reply_to_urlURI

Returns:

  • (URI)


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

def reply_to_url
  @reply_to_url
end

#typeString

Returns:

  • (String)


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

def type
  "schema:UserComments"
end