Class: GrowsurfRuby::Models::EmailAnalytics

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/growsurf_ruby/models/email_analytics.rb,
sig/growsurf_ruby/models/email_analytics.rbs

Overview

Accepted-send and lifecycle metrics for program emails in a requested window.

Defined Under Namespace

Classes: ByType, Counts

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

#initializeObject



35
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 35

def initialize: (

Instance Attribute Details

#bounce_rateFloat

Returns the value of attribute bounce_rate.

Returns:

  • (Float)


30
31
32
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 30

def bounce_rate
  @bounce_rate
end

#bouncedInteger

Returns the value of attribute bounced.

Returns:

  • (Integer)


25
26
27
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 25

def bounced
  @bounced
end

#by_typeArray[GrowsurfRuby::Models::EmailAnalytics::ByType]

Returns the value of attribute by_type.



31
32
33
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 31

def by_type
  @by_type
end

#click_rateFloat

Returns the value of attribute click_rate.

Returns:

  • (Float)


29
30
31
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 29

def click_rate
  @click_rate
end

#clickedInteger

Returns the value of attribute clicked.

Returns:

  • (Integer)


24
25
26
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 24

def clicked
  @clicked
end

#coverage_start_dateInteger?

Returns the value of attribute coverage_start_date.

Returns:

  • (Integer, nil)


32
33
34
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 32

def coverage_start_date
  @coverage_start_date
end

#deliveredInteger

Returns the value of attribute delivered.

Returns:

  • (Integer)


22
23
24
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 22

def delivered
  @delivered
end

#delivery_rateFloat

Returns the value of attribute delivery_rate.

Returns:

  • (Float)


27
28
29
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 27

def delivery_rate
  @delivery_rate
end

#is_partialBoolean

Returns the value of attribute is_partial.

Returns:

  • (Boolean)


33
34
35
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 33

def is_partial
  @is_partial
end

#open_rateFloat

Returns the value of attribute open_rate.

Returns:

  • (Float)


28
29
30
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 28

def open_rate
  @open_rate
end

#openedInteger

Returns the value of attribute opened.

Returns:

  • (Integer)


23
24
25
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 23

def opened
  @opened
end

#sentInteger

Returns the value of attribute sent.

Returns:

  • (Integer)


21
22
23
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 21

def sent
  @sent
end

#spam_complaintsInteger

Returns the value of attribute spam_complaints.

Returns:

  • (Integer)


26
27
28
# File 'sig/growsurf_ruby/models/email_analytics.rbs', line 26

def spam_complaints
  @spam_complaints
end