Class: Onlyoffice::DocsIntegrationSdk::DocumentServer::Client::ConversionService::Request::Thumbnail

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

Defined Under Namespace

Classes: Aspect

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aspect: nil, first: nil, height: nil, width: nil) ⇒ void

Parameters:

  • aspect (Aspect, nil) (defaults to: nil) —

    @since 0.1.0

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

    @since 0.1.0

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

    @since 0.1.0

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

    @since 0.1.0



# File ''

prop :aspect, T.nilable(Aspect), name: "aspect"
prop :first, T.nilable(T::Boolean), name: "first"
prop :height, T.nilable(Integer), name: "height"
prop :width, T.nilable(Integer), name: "width"

Instance Attribute Details

#aspect ⇒ Aspect?

Returns:

Since:

  • 0.1.0



# File ''

prop :aspect, T.nilable(Aspect), name: "aspect"

#first ⇒ Boolean?

Returns:

  • (Boolean, nil)

Since:

  • 0.1.0



# File ''

prop :first, T.nilable(T::Boolean), name: "first"

#height ⇒ Integer?

Returns:

  • (Integer, nil)

Since:

  • 0.1.0



# File ''

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

#width ⇒ Integer?

Returns:

  • (Integer, nil)

Since:

  • 0.1.0



# File ''

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

Class Method Details

.from_hash(hash, strict = nil) ⇒ Thumbnail

Parameters:

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

Returns:

Since:

  • 0.1.0



339
340
341
# File 'lib/onlyoffice/docs_integration_sdk/document_server/client/conversion.rb', line 339

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