Class: Inttegro::FileLink::Creation

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/file_link/creation.rb

Overview

Typed representation of the creation object in the Inttegro API.

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

Public file link metadata. Token hashes and provider URLs are not exposed.

Required in the API payload. Wire name: file_link.

Returns:



30
31
32
33
# File 'lib/inttegro/file_link/creation.rb', line 30

class Creation < T::Struct
  const :file_link, Inttegro::FileLink
  const :url, String
end

#url ⇒ String (readonly)

Public capability URL. Treat as bearer-secret material.

Required in the API payload. Wire name: url.

Returns:

  • (String)


30
31
32
33
# File 'lib/inttegro/file_link/creation.rb', line 30

class Creation < T::Struct
  const :file_link, Inttegro::FileLink
  const :url, String
end