Class: GrowsurfRuby::Models::ReferralFlowScreenshotsResponse::ReferralFlowScreenshot
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- GrowsurfRuby::Models::ReferralFlowScreenshotsResponse::ReferralFlowScreenshot
- Defined in:
- lib/growsurf_ruby/models/referral_flow_screenshots_response.rb,
sig/growsurf_ruby/models/referral_flow_screenshots_response.rbs
Instance Attribute Summary collapse
-
#height ⇒ Integer
Screenshot viewport height in CSS pixels.
-
#url ⇒ String
Image URL for the generated screenshot.
-
#view ⇒ String
The referral-flow view captured in this screenshot.
-
#width ⇒ Integer
Screenshot viewport width in CSS pixels.
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(view:, url:, width:, height:) ⇒ Object
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/growsurf_ruby/models/referral_flow_screenshots_response.rb', line 35 class ReferralFlowScreenshot < GrowsurfRuby::Internal::Type::BaseModel # @!attribute view # The referral-flow view captured in this screenshot. # # @return [String] required :view, String # @!attribute url # Image URL for the generated screenshot. # # @return [String] required :url, String # @!attribute width # Screenshot viewport width in CSS pixels. # # @return [Integer] required :width, Integer # @!attribute height # Screenshot viewport height in CSS pixels. # # @return [Integer] required :height, Integer # @!method initialize(view:, url:, width:, height:) # # @param view [String] The referral-flow view captured in this screenshot. # # @param url [String] Image URL for the generated screenshot. # # @param width [Integer] Screenshot viewport width in CSS pixels. # # @param height [Integer] Screenshot viewport height in CSS pixels. end |
Instance Attribute Details
#height ⇒ Integer
Screenshot viewport height in CSS pixels.
58 |
# File 'lib/growsurf_ruby/models/referral_flow_screenshots_response.rb', line 58 required :height, Integer |
#url ⇒ String
Image URL for the generated screenshot.
46 |
# File 'lib/growsurf_ruby/models/referral_flow_screenshots_response.rb', line 46 required :url, String |
#view ⇒ String
The referral-flow view captured in this screenshot.
40 |
# File 'lib/growsurf_ruby/models/referral_flow_screenshots_response.rb', line 40 required :view, String |
#width ⇒ Integer
Screenshot viewport width in CSS pixels.
52 |
# File 'lib/growsurf_ruby/models/referral_flow_screenshots_response.rb', line 52 required :width, Integer |
Instance Method Details
#to_hash ⇒ {
45 |
# File 'sig/growsurf_ruby/models/referral_flow_screenshots_response.rbs', line 45
def to_hash: -> {
|