Class: OpenActive::Models::Dataset

Inherits:
Schema::Dataset show all
Defined in:
lib/openactive/models/dataset.rb

Overview

## **EARLY RELEASE NOTICE** In order to expedite the OpenActive tooling work, this class has been added to the model for the purposes of testing. IT IS SUBJECT TO CHANGE, as the [Dataset API Discovery specification](www.openactive.io/dataset-api-discovery/EditorsDraft/) evolves.

This type is derived from [Dataset](schema.org/Dataset), which means that any of this type’s properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.

Instance Attribute Summary collapse

Attributes inherited from Schema::Dataset

#catalog, #dataset_time_interval, #included_data_catalog, #included_in_data_catalog, #issn, #measurement_technique, #variable_measured

Attributes inherited from Schema::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, #editor, #educational_alignment, #educational_use, #encoding, #encoding_format, #encodings, #example_of_work, #expires, #file_format, #funder, #genre, #has_part, #headline, #interaction_statistic, #interactivity_type, #is_accessible_for_free, #is_based_on, #is_based_on_url, #is_family_friendly, #is_part_of, #learning_resource_type, #location_created, #main_entity, #material, #material_extent, #mentions, #offers, #position, #producer, #provider, #publication, #publishing_principles, #recorded_at, #released_event, #review, #reviews, #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 Schema::Thing

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

#access_serviceOpenActive::Models::WebAPI



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

def access_service
  @access_service
end

#background_imageOpenActive::Models::ImageObject



32
33
34
# File 'lib/openactive/models/dataset.rb', line 32

def background_image
  @background_image
end

#booking_serviceOpenActive::Models::BookingService



37
38
39
# File 'lib/openactive/models/dataset.rb', line 37

def booking_service
  @booking_service
end

#date_modifiedDateTime?

Returns:

  • (DateTime, nil)


42
43
44
# File 'lib/openactive/models/dataset.rb', line 42

def date_modified
  @date_modified
end

#date_publishedDate, ...

Returns:

  • (Date, DateTime, nil)


48
49
50
# File 'lib/openactive/models/dataset.rb', line 48

def date_published
  @date_published
end

#descriptionString

Returns:

  • (String)


22
23
24
# File 'lib/openactive/models/dataset.rb', line 22

def description
  @description
end

#discussion_urlURI

Returns:

  • (URI)


55
56
57
# File 'lib/openactive/models/dataset.rb', line 55

def discussion_url
  @discussion_url
end

#distributionArray<OpenActive::Models::DataDownload>



60
61
62
# File 'lib/openactive/models/dataset.rb', line 60

def distribution
  @distribution
end

#documentationURI

Returns:

  • (URI)


65
66
67
# File 'lib/openactive/models/dataset.rb', line 65

def documentation
  @documentation
end

#in_languageArray<String>

Returns:

  • (Array<String>)


70
71
72
# File 'lib/openactive/models/dataset.rb', line 70

def in_language
  @in_language
end

#keywordsArray<String>

Returns:

  • (Array<String>)


75
76
77
# File 'lib/openactive/models/dataset.rb', line 75

def keywords
  @keywords
end

#licenseURI

Returns:

  • (URI)


80
81
82
# File 'lib/openactive/models/dataset.rb', line 80

def license
  @license
end

#nameString

Returns:

  • (String)


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

def name
  @name
end

#publisherOpenActive::Models::Organization



85
86
87
# File 'lib/openactive/models/dataset.rb', line 85

def publisher
  @publisher
end

#schema_versionURI

Returns:

  • (URI)


90
91
92
# File 'lib/openactive/models/dataset.rb', line 90

def schema_version
  @schema_version
end

#typeString

Returns:

  • (String)


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

def type
  "Dataset"
end

#urlURI

Returns:

  • (URI)


95
96
97
# File 'lib/openactive/models/dataset.rb', line 95

def url
  @url
end