Sha256: 48737cbd118a3d603ced7571b10aaf108dae252990451b40e74853ce4dbd961c

Contents?: true

Size: 835 Bytes

Versions: 3

Compression:

Stored size: 835 Bytes

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

require_relative '../base_type'

require_relative '../special/array'
require_relative 'complex'

module GoodData
  module LCM2
    module Type
      class SynchronizationInfoType < ComplexType
        CATEGORY = :complex

        PARAMS = define_type(self) do
          description 'From which project'
          param :from, instance_of(Type::StringType), required: true

          description 'To which projects'
          param :to, array_of(instance_of(Type::HashType)), required: true
        end

        def check(value)
          BaseType.check_params(PARAMS, value)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gooddata-0.6.52 lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-0.6.51 lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-0.6.50 lib/gooddata/lcm/types/complex/synchronization_info.rb