Class: Telnyx::Models::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageBase64Source

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/telnyx/models/meeting_session_create_params.rb,
sig/telnyx/models/meeting_session_create_params.rbs

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

#initializeMeetingSessionCameraImageBase64Source

Returns a new instance of MeetingSessionCameraImageBase64Source.

Parameters:

  • base64_data: (String)
  • format_: (:jpeg)


200
# File 'sig/telnyx/models/meeting_session_create_params.rbs', line 200

def initialize: (base64_data: String, ?format_: :jpeg) -> void

Instance Attribute Details

#base64_dataString

Canonical plain RFC 4648 Base64 for a valid decoded JPEG. Data URIs, whitespace, and the URL-safe alphabet are rejected. The encoded value is limited to 1,835,008 characters and the decoded JPEG to 1,363,148 bytes. The JPEG is limited to 4,096 pixels per dimension, 4 megapixels, and 128 MB of decoder memory. The image bytes are not persisted, returned, or logged.

Parameters:

  • value (String)

Returns:

  • (String)


256
# File 'lib/telnyx/models/meeting_session_create_params.rb', line 256

required :base64_data, String

#format_Symbol, :jpeg

Only JPEG images are accepted.

Parameters:

  • value (:jpeg)

Returns:

  • (Symbol, :jpeg)


262
# File 'lib/telnyx/models/meeting_session_create_params.rb', line 262

required :format_, const: :jpeg, api_name: :format

Instance Method Details

#to_hash{ :base64_data => String, format_: :jpeg }

Returns:

  • ({ :base64_data => String, format_: :jpeg })


202
# File 'sig/telnyx/models/meeting_session_create_params.rbs', line 202

def to_hash: -> { :base64_data => String, format_: :jpeg }