Class: GrowsurfRuby::Models::Campaign::ParticipantAnalyticsResponse::Analytics

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

Overview

See Also:

  • GrowsurfRuby::Models::Campaign::ParticipantAnalyticsResponse#analytics

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



128
# File 'sig/growsurf_ruby/models/campaign/participant_analytics_response.rbs', line 128

def initialize: (

Instance Attribute Details

#currency_isoString?

Parameters:

  • (String)

Returns:

  • (String, nil)


72
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 72

optional :currency_iso, String, api_name: :currencyISO

#expired_referralsInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


77
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 77

optional :expired_referrals, Integer, api_name: :expiredReferrals

#impressionsInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


82
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 82

optional :impressions, Integer

#invites_sentInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


87
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 87

optional :invites_sent, Integer, api_name: :invitesSent

#leadsInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


92
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 92

optional :leads, Integer

#monthly_referralsInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


97
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 97

optional :monthly_referrals, Integer, api_name: :monthlyReferrals

#pending_rewardsInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


102
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 102

optional :pending_rewards, Integer, api_name: :pendingRewards

#referral_revenueInteger?

Affiliate only. Revenue attributed to this participant's referrals, in minor currency units.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


109
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 109

optional :referral_revenue, Integer, api_name: :referralRevenue

#referralsInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


114
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 114

optional :referrals, Integer

#rewards_earnedInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


119
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 119

optional :rewards_earned, Integer, api_name: :rewardsEarned

#total_commissionsInteger?

Affiliate only. Total commissions earned, in minor currency units.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


125
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 125

optional :total_commissions, Integer, api_name: :totalCommissions

#total_paid_outInteger?

Affiliate only. Total paid out, in minor currency units.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


131
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 131

optional :total_paid_out, Integer, api_name: :totalPaidOut

#unique_impressionsInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


136
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 136

optional :unique_impressions, Integer, api_name: :uniqueImpressions

#upcoming_payoutInteger?

Affiliate only. Approved commissions ready to pay, in minor currency units.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


142
# File 'lib/growsurf_ruby/models/campaign/participant_analytics_response.rb', line 142

optional :upcoming_payout, Integer, api_name: :upcomingPayout

Instance Method Details

#to_hash{

Returns:

  • ({)


145
# File 'sig/growsurf_ruby/models/campaign/participant_analytics_response.rbs', line 145

def to_hash: -> {