Class: Onlyoffice::DocsIntegrationSdk::DocumentStorage::Callback::Request::FormData

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(key: nil, tag: nil, value: nil, type: nil) ⇒ void

Parameters:

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

    @since 0.1.0

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

    @since 0.1.0

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

    @since 0.1.0

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

    @since 0.1.0



# File ''

prop :key, T.nilable(String), name: "key"
prop :tag, T.nilable(String), name: "tag"
prop :value, T.nilable(String), name: "value"
prop :type, T.nilable(Type), name: "type"

Instance Attribute Details

#key ⇒ String?

Returns:

  • (String, nil)

Since:

  • 0.1.0



# File ''

prop :key, T.nilable(String), name: "key"

#tag ⇒ String?

Returns:

  • (String, nil)

Since:

  • 0.1.0



# File ''

prop :tag, T.nilable(String), name: "tag"

#type ⇒ Type?

Returns:

Since:

  • 0.1.0



# File ''

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

#value ⇒ String?

Returns:

  • (String, nil)

Since:

  • 0.1.0



# File ''

prop :value, T.nilable(String), name: "value"

Class Method Details

.from_hash(hash, strict = nil) ⇒ FormData

Parameters:

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

Returns:

Since:

  • 0.1.0



144
145
146
# File 'lib/onlyoffice/docs_integration_sdk/document_storage/callback.rb', line 144

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