Sha256: dd11098725a2568f598837904f6ec36e8d5809a467ab39b3021e0dd405b87723

Contents?: true

Size: 1.16 KB

Versions: 56

Compression:

Stored size: 1.16 KB

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

          description 'Uri of the source output stage. It must be in the same domain as the target project.'
          param :ads_output_stage_uri, instance_of(Type::StringType), required: false

          description 'Custom prefix for the target output stage.'
          param :ads_output_stage_prefix, instance_of(Type::StringType), required: false
        end

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

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
gooddata-2.1.10-java lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.10 lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.9-java lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.9 lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.8-java lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.8 lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.7-java lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.7 lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.6-java lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.6 lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.5-java lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.5 lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.4-java lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.4 lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.3-java lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.3 lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.2-java lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.2 lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.1-java lib/gooddata/lcm/types/complex/synchronization_info.rb
gooddata-2.1.1 lib/gooddata/lcm/types/complex/synchronization_info.rb