Class: OpenActive::Models::Schema::Legislation

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

Direct Known Subclasses

LegislationObject

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

#legislation_appliesOpenActive::Models::Schema::Legislation



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

def legislation_applies
  @legislation_applies
end

#legislation_changesOpenActive::Models::Schema::Legislation



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

def legislation_changes
  @legislation_changes
end

#legislation_consolidatesOpenActive::Models::Schema::Legislation



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

def legislation_consolidates
  @legislation_consolidates
end

#legislation_dateDate?

Returns:

  • (Date, nil)


47
48
49
# File 'lib/openactive/models/schema/legislation.rb', line 47

def legislation_date
  @legislation_date
end

#legislation_date_versionDate?

Returns:

  • (Date, nil)


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

def legislation_date_version
  @legislation_date_version
end

#legislation_identifierURI, String

Returns:

  • (URI, String)


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

def legislation_identifier
  @legislation_identifier
end

#legislation_jurisdictionString, OpenActive::Models::Schema::AdministrativeArea



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

def legislation_jurisdiction
  @legislation_jurisdiction
end


36
37
38
# File 'lib/openactive/models/schema/legislation.rb', line 36

def legislation_legal_force
  @legislation_legal_force
end

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



69
70
71
# File 'lib/openactive/models/schema/legislation.rb', line 69

def legislation_passed_by
  @legislation_passed_by
end

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



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

def legislation_responsible
  @legislation_responsible
end

#legislation_transposesOpenActive::Models::Schema::Legislation



64
65
66
# File 'lib/openactive/models/schema/legislation.rb', line 64

def legislation_transposes
  @legislation_transposes
end

#legislation_typeString, OpenActive::Models::Schema::CategoryCode



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

def legislation_type
  @legislation_type
end

#typeString

Returns:

  • (String)


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

def type
  "schema:Legislation"
end