Class: SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploaded::Content::EventImageContent::Source
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploaded::Content::EventImageContent::Source
- Defined in:
- lib/safety_kit/models/beta/event_create_params.rb
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#type ⇒ Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploaded::Content::EventImageContent::Source::Type
URL image source.
-
#url ⇒ String
URL of the image SafetyKit should compare or analyze.
Instance Method Summary collapse
-
#initialize(type:, url:) ⇒ Object
constructor
Image source information.
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(type:, url:) ⇒ Object
Image source information.
|
|
# File 'lib/safety_kit/models/beta/event_create_params.rb', line 495
|
Instance Attribute Details
#type ⇒ Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploaded::Content::EventImageContent::Source::Type
URL image source.
486 487 |
# File 'lib/safety_kit/models/beta/event_create_params.rb', line 486 required :type, enum: -> { SafetyKit::Beta::EventCreateParams::Body::ContentUploaded::Content::EventImageContent::Source::Type } |
#url ⇒ String
URL of the image SafetyKit should compare or analyze.
493 |
# File 'lib/safety_kit/models/beta/event_create_params.rb', line 493 required :url, String |