Class: Onlyoffice::DocsIntegrationSdk::DocumentServer::Client::ConversionService::Result

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/onlyoffice/docs_integration_sdk/document_server/client/conversion.rb

Overview

Since:

  • 0.1.0

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(end_convert: nil, file_type: nil, file_url: nil, percent: nil) ⇒ void

Parameters:

  • end_convert (Boolean, nil) (defaults to: nil) —

    @since 0.1.0

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

    @since 0.1.0

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

    @since 0.1.0

  • percent (Integer, nil) (defaults to: nil) —

    @since 0.1.0



# File ''

prop :end_convert, T.nilable(T::Boolean), name: "endConvert"
prop :file_type, T.nilable(String), name: "fileType"
prop :file_url, T.nilable(String), name: "fileUrl"
prop :percent, T.nilable(Integer), name: "percent"

Instance Attribute Details

#end_convert ⇒ Boolean?

Returns:

  • (Boolean, nil)

Since:

  • 0.1.0



# File ''

prop :end_convert, T.nilable(T::Boolean), name: "endConvert"

#file_type ⇒ String?

Returns:

  • (String, nil)

Since:

  • 0.1.0



# File ''

prop :file_type, T.nilable(String), name: "fileType"

#file_url ⇒ String?

Returns:

  • (String, nil)

Since:

  • 0.1.0



# File ''

prop :file_url, T.nilable(String), name: "fileUrl"

#percent ⇒ Integer?

Returns:

  • (Integer, nil)

Since:

  • 0.1.0



# File ''

prop :percent, T.nilable(Integer), name: "percent"

Class Method Details

.from_hash(hash, strict = nil) ⇒ Result

Parameters:

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

Returns:

Since:

  • 0.1.0



430
431
432
# File 'lib/onlyoffice/docs_integration_sdk/document_server/client/conversion.rb', line 430

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