Class: OpenActive::Rpde::RpdeItem

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/openactive/rpde/rpde_item.rb

Instance Attribute Summary collapse

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

#dataObject

Returns the value of attribute data



8
9
10
# File 'lib/openactive/rpde/rpde_item.rb', line 8

def data
  @data
end

#idObject

Returns the value of attribute id



6
7
8
# File 'lib/openactive/rpde/rpde_item.rb', line 6

def id
  @id
end

#kindObject

Returns the value of attribute kind



5
6
7
# File 'lib/openactive/rpde/rpde_item.rb', line 5

def kind
  @kind
end

#modifiedObject

Returns the value of attribute modified



7
8
9
# File 'lib/openactive/rpde/rpde_item.rb', line 7

def modified
  @modified
end

#stateObject

Returns the value of attribute state



4
5
6
# File 'lib/openactive/rpde/rpde_item.rb', line 4

def state
  @state
end