Sha256: b396b13bb80894301c7354eaae0b8aa44349a30590102c5074edc87c285cec04

Contents?: true

Size: 949 Bytes

Versions: 26

Compression:

Stored size: 949 Bytes

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2015 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 './client'

require_relative '../mixins/data_property_reader'
require_relative '../mixins/links'

require_relative '../rest/resource'

module GoodData
  class ClientSynchronizationResultDetails < Rest::Resource
    include Mixin::Links

    attr_accessor :synchronization_result

    # Initializes object instance from raw wire JSON
    #
    # @param json Json used for initialization
    def initialize(json, opts = { :synchronization_result => nil })
      super(opts)
      @json = json
      @synchronization_result = opts[:synchronization_result]
    end

    def items
      data['items']
    end

    def next
      paging && paging['next']
    end

    def paging
      data['paging']
    end
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
gooddata-edge-0.6.27.edge lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.49 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.48 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.47 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.46 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.45 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.44 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.43 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.42 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.41 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.40 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.39 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.38 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.37 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.36 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.35 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.34 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.33 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.32 lib/gooddata/models/client_synchronization_result_details.rb
gooddata-0.6.31 lib/gooddata/models/client_synchronization_result_details.rb