Class: Telnyx::Models::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageBase64Source
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::MeetingSessionCreateParams::CameraImage::MeetingSessionCameraImageBase64Source
- Defined in:
- lib/telnyx/models/meeting_session_create_params.rb,
sig/telnyx/models/meeting_session_create_params.rbs
Instance Attribute Summary collapse
-
#base64_data ⇒ String
Canonical plain RFC 4648 Base64 for a valid decoded JPEG.
-
#format_ ⇒ Symbol, :jpeg
Only JPEG images are accepted.
Instance Method Summary collapse
-
#initialize ⇒ MeetingSessionCameraImageBase64Source
constructor
A new instance of MeetingSessionCameraImageBase64Source.
- #to_hash ⇒ { :base64_data => String, format_: :jpeg }
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 ⇒ MeetingSessionCameraImageBase64Source
Returns a new instance of MeetingSessionCameraImageBase64Source.
200 |
# File 'sig/telnyx/models/meeting_session_create_params.rbs', line 200
def initialize: (base64_data: String, ?format_: :jpeg) -> void
|
Instance Attribute Details
#base64_data ⇒ String
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.
256 |
# File 'lib/telnyx/models/meeting_session_create_params.rb', line 256 required :base64_data, String |
#format_ ⇒ Symbol, :jpeg
Only JPEG images are accepted.
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 }
202 |
# File 'sig/telnyx/models/meeting_session_create_params.rbs', line 202
def to_hash: -> { :base64_data => String, format_: :jpeg }
|