Zernio::ValidateMedia200Response
Name
Type
Description
Notes
valid
Boolean
[optional]
url
String
[optional]
error
String
Error message if valid is false
[optional]
content_type
String
[optional]
size
Integer
File size in bytes
[optional]
size_formatted
String
[optional]
type
String
[optional]
platform_limits
Hash<String, ValidateMedia200ResponsePlatformLimitsValue>
Per-platform size limit comparison (only present when size and type are known)
[optional]
require 'zernio-sdk'
instance = Zernio ::ValidateMedia200Response . new (
valid : null ,
url : null ,
error : null ,
content_type : image /jpeg ,
size : null ,
size_formatted : 245 KB ,
type : null ,
platform_limits : { " ; instagram " ; :{ " ; limit " ; :8388608 , " ; limitFormatted " ; :" ; 8.0 MB " ; , " ; withinLimit " ; :true } , " ; twitter " ; :{ " ; limit " ; :5242880 , " ; limitFormatted " ; :" ; 5.0 MB " ; , " ; withinLimit " ; :true } , " ; bluesky " ; :{ " ; limit " ; :1000000 , " ; limitFormatted " ; :" ; 977 KB " ; , " ; withinLimit " ; :true } }
)