Class: Ecoportal::API::GraphQL::Input::LocationStructure::UpdateCommand

Inherits:
Ecoportal::API::GraphQL::Interface::LocationStructure::Command show all
Defined in:
lib/ecoportal/api/graphql/input/location_structure/update_command.rb

Constant Summary

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

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

Instance Method Summary collapse

Methods inherited from Ecoportal::API::GraphQL::Interface::LocationStructure::Command

#keys, #set_values, #target_ids

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

#as_input

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

#as_update, #dirty?

Instance Method Details

#classificationIdsObject



17
18
19
20
21
# File 'lib/ecoportal/api/graphql/input/location_structure/update_command.rb', line 17

def classificationIds
  super if newClassificationIds.empty?

  newClassificationIds
end

#nameObject



11
12
13
14
15
# File 'lib/ecoportal/api/graphql/input/location_structure/update_command.rb', line 11

def name
  super if newName.nil?

  newName
end