Class: Onlyoffice::DocsIntegrationSdk::DocumentStorage::Callback::Request::Action

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

Defined Under Namespace

Classes: Type

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type: nil, user_id: nil) ⇒ void

Parameters:

  • type (Type, nil) (defaults to: nil) —

    @since 0.1.0

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

    @since 0.1.0



# File ''

prop :type, T.nilable(Type), name: "type"
prop :user_id, T.nilable(String), name: "userid"

Instance Attribute Details

#type ⇒ Type?

Returns:

Since:

  • 0.1.0



# File ''

prop :type, T.nilable(Type), name: "type"

#user_id ⇒ String?

Returns:

  • (String, nil)

Since:

  • 0.1.0



# File ''

prop :user_id, T.nilable(String), name: "userid"

Class Method Details

.from_hash(hash, strict = nil) ⇒ Action

Parameters:

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

Returns:

Since:

  • 0.1.0



78
79
80
# File 'lib/onlyoffice/docs_integration_sdk/document_storage/callback.rb', line 78

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