Class: Ecoportal::API::GraphQL::Interface::LocationStructure::Node

Inherits:
Logic::BaseModel show all
Defined in:
lib/ecoportal/api/graphql/interface/location_structure/node.rb

Direct Known Subclasses

Base::LocationNode

Constant Summary

Constants included from Common::GraphQL::Model::Diffable

Common::GraphQL::Model::Diffable::DIFF_CLASS

Instance Method Summary collapse

Methods included from Common::GraphQL::Model::AsInput

#as_input

Methods included from Common::GraphQL::Model::Diffable

#as_update, #dirty?

Instance Method Details

#parent_id_upcaseObject



32
33
34
# File 'lib/ecoportal/api/graphql/interface/location_structure/node.rb', line 32

def parent_id_upcase
  parent_id&.upcase
end

#parentIdObject Also known as: parent_id



27
28
29
# File 'lib/ecoportal/api/graphql/interface/location_structure/node.rb', line 27

def parentId
  parent&.id
end