Class: OpenActive::Models::Schema::Message

Inherits:
CreativeWork show all
Defined in:
lib/openactive/models/schema/message.rb

Direct Known Subclasses

EmailMessage

Instance Attribute Summary collapse

Attributes inherited from CreativeWork

#about, #abstract, #access_mode, #access_mode_sufficient, #accessibility_api, #accessibility_control, #accessibility_feature, #accessibility_hazard, #accessibility_summary, #accountable_person, #aggregate_rating, #alternative_headline, #associated_media, #audience, #audio, #author, #award, #awards, #character, #citation, #comment, #comment_count, #conditions_of_access, #content_location, #content_rating, #content_reference_time, #contributor, #copyright_holder, #copyright_year, #correction, #creative_work_status, #creator, #date_created, #date_modified, #date_published, #discussion_url, #editor, #educational_alignment, #educational_use, #encoding, #encoding_format, #encodings, #example_of_work, #expires, #file_format, #funder, #genre, #has_part, #headline, #in_language, #interaction_statistic, #interactivity_type, #is_accessible_for_free, #is_based_on, #is_based_on_url, #is_family_friendly, #is_part_of, #keywords, #learning_resource_type, #license, #location_created, #main_entity, #material, #material_extent, #mentions, #offers, #position, #producer, #provider, #publication, #publisher, #publishing_principles, #recorded_at, #released_event, #review, #reviews, #schema_version, #sd_date_published, #sd_license, #sd_publisher, #source_organization, #spatial, #spatial_coverage, #sponsor, #temporal, #temporal_coverage, #text, #thumbnail_url, #time_required, #translator, #typical_age_range, #version, #video, #work_example

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

#bcc_recipientOpenActive::Models::Schema::ContactPoint, ...



59
60
61
# File 'lib/openactive/models/schema/message.rb', line 59

def bcc_recipient
  @bcc_recipient
end

#cc_recipientOpenActive::Models::Schema::Person, ...



46
47
48
# File 'lib/openactive/models/schema/message.rb', line 46

def cc_recipient
  @cc_recipient
end

#date_readDateTime, ...

Returns:

  • (DateTime, Date, nil)


66
67
68
# File 'lib/openactive/models/schema/message.rb', line 66

def date_read
  @date_read
end

#date_receivedDateTime?

Returns:

  • (DateTime, nil)


27
28
29
# File 'lib/openactive/models/schema/message.rb', line 27

def date_received
  @date_received
end

#date_sentDateTime?

Returns:

  • (DateTime, nil)


53
54
55
# File 'lib/openactive/models/schema/message.rb', line 53

def date_sent
  @date_sent
end

#message_attachmentOpenActive::Models::Schema::CreativeWork



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

def message_attachment
  @message_attachment
end

#recipientOpenActive::Models::Schema::Person, ...



38
39
40
# File 'lib/openactive/models/schema/message.rb', line 38

def recipient
  @recipient
end

#senderOpenActive::Models::Schema::Audience, ...



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

def sender
  @sender
end

#to_recipientOpenActive::Models::Schema::ContactPoint, ...



19
20
21
# File 'lib/openactive/models/schema/message.rb', line 19

def to_recipient
  @to_recipient
end

#typeString

Returns:

  • (String)


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

def type
  "schema:Message"
end