Class: Telnyx::Models::RcsContentInfo

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/rcs_content_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(file_url:, force_refresh: nil, thumbnail_url: nil) ⇒ Object

Parameters:

  • file_url (String)

    Publicly reachable URL of the file.

  • force_refresh (Boolean) (defaults to: nil)

    If set the URL content will not be cached.

  • thumbnail_url (String) (defaults to: nil)

    Publicly reachable URL of the thumbnail. Maximum size of 100 kB.



# File 'lib/telnyx/models/rcs_content_info.rb', line 24

Instance Attribute Details

#file_urlString

Publicly reachable URL of the file.

Returns:

  • (String)


10
# File 'lib/telnyx/models/rcs_content_info.rb', line 10

required :file_url, String

#force_refreshBoolean?

If set the URL content will not be cached.

Returns:

  • (Boolean, nil)


16
# File 'lib/telnyx/models/rcs_content_info.rb', line 16

optional :force_refresh, Telnyx::Internal::Type::Boolean

#thumbnail_urlString?

Publicly reachable URL of the thumbnail. Maximum size of 100 kB.

Returns:

  • (String, nil)


22
# File 'lib/telnyx/models/rcs_content_info.rb', line 22

optional :thumbnail_url, String