Class: Onlyoffice::DocsIntegrationSdk::DocumentStorage::Callback::Request::History

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/onlyoffice/docs_integration_sdk/document_storage/callback.rb

Overview

Since:

  • 0.1.0

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(changes: nil, server_version: nil) ⇒ void

Parameters:

  • changes (Hash{T.untyped => T.untyped}, nil) (defaults to: nil) —

    @since 0.1.0

  • server_version (String, nil) (defaults to: nil) —

    @since 0.1.0



# File ''

prop :changes, T.nilable(T::Hash[T.untyped, T.untyped]), name: "changes"
prop :server_version, T.nilable(String), name: "serverVersion"

Instance Attribute Details

#changes ⇒ Hash{T.untyped => T.untyped}?

Returns:

  • (Hash{T.untyped => T.untyped}, nil)

Since:

  • 0.1.0



# File ''

prop :changes, T.nilable(T::Hash[T.untyped, T.untyped]), name: "changes"

#server_version ⇒ String?

Returns:

  • (String, nil)

Since:

  • 0.1.0



# File ''

prop :server_version, T.nilable(String), name: "serverVersion"

Class Method Details

.from_hash(hash, strict = nil) ⇒ History

Parameters:

  • hash (T.untyped)
  • strict (T.untyped) (defaults to: nil)

Returns:

Since:

  • 0.1.0



161
162
163
# File 'lib/onlyoffice/docs_integration_sdk/document_storage/callback.rb', line 161

def self.from_hash(hash, strict = nil)
  super(hash, strict)
end