Class: Onlyoffice::DocsIntegrationSdk::DocumentServer::Client::ConversionService::Request::SpreadsheetLayout::Margins

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(bottom: nil, left: nil, right: nil, top: nil) ⇒ void

Parameters:

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

    @since 0.1.0

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

    @since 0.1.0

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

    @since 0.1.0

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

    @since 0.1.0



# File ''

prop :bottom, T.nilable(String), name: "bottom"
prop :left, T.nilable(String), name: "left"
prop :right, T.nilable(String), name: "right"
prop :top, T.nilable(String), name: "top"

Instance Attribute Details

#bottom ⇒ String?

Returns:

  • (String, nil)

Since:

  • 0.1.0



# File ''

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

#left ⇒ String?

Returns:

  • (String, nil)

Since:

  • 0.1.0



# File ''

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

#right ⇒ String?

Returns:

  • (String, nil)

Since:

  • 0.1.0



# File ''

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

#top ⇒ String?

Returns:

  • (String, nil)

Since:

  • 0.1.0



# File ''

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

Class Method Details

.from_hash(hash, strict = nil) ⇒ Margins

Parameters:

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

Returns:

Since:

  • 0.1.0



240
241
242
# File 'lib/onlyoffice/docs_integration_sdk/document_server/client/conversion.rb', line 240

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