Sha256: fdfb79207d0c9d2728c5feefb1c254b68bb20388a70fb2db42fbd46de668022f
Contents?: true
Size: 868 Bytes
Versions: 21
Compression:
Stored size: 868 Bytes
Contents
module Ecoportal module API class GraphQL module Payload module LocationStructure class ApplyCommands < Ecoportal::API::GraphQL::Base::Model passthrough :clientMutationId embeds_one :structure, klass: Ecoportal::API::GraphQL::Model::LocationStructure embeds_one :errors, klass: Ecoportal::API::GraphQL::Error::ValidationErrors, nullable: true embeds_one :error, klass: Ecoportal::API::GraphQL::Error::LocationsError, nullable: true embeds_many :results, read_only: true, klass: Ecoportal::API::GraphQL::Payload::LocationStructure::CommandExecutionResult def success? !errors? end def errors? errors && !errors.empty? end end end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
ecoportal-api-graphql-0.2.1 | lib/ecoportal/api/graphql/payload/location_structure/apply_commands.rb |