Sha256: 905e3db272c87e82bb2bfe84d27ef1bc7a81d359578dd7de77c004c18bd83832
Contents?: true
Size: 864 Bytes
Versions: 2
Compression:
Stored size: 864 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 '../scalar/bool' require_relative 'complex' module GoodData module LCM2 module Type class UpdatePreferenceType < ComplexType CATEGORY = :complex PARAMS = define_type(self) do description 'Cascade Drop' param :cascade_drops, instance_of(Type::BooleanType), required: false, default: nil description 'Preserve Data' param :preserve_data, instance_of(Type::BooleanType), required: false, default: nil end def check(value) BaseType.check_params(PARAMS, value) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gooddata-0.6.53 | lib/gooddata/lcm/types/complex/update_preference.rb |
gooddata-0.6.52 | lib/gooddata/lcm/types/complex/update_preference.rb |