Class: NewDemoApiClient::BenchmarkQuantile

Inherits:
Object
  • Object
show all
Defined in:
lib/test_sdk/types/benchmark_quantile.rb

Constant Summary collapse

OMIT =
Object.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(quantile:, revenue: OMIT, rolling3m_average_revenue: OMIT, annualized_revenue: OMIT, rolling3m_annualized_revenue: OMIT, revenue_share_of_top20percent: OMIT, revenue_share_of_top10count: OMIT, average_to_median: OMIT, gini_coefficient: OMIT, lifetime_quick_ratio: OMIT, lifetime_gross_retention: OMIT, lifetime_net_churn: OMIT, cmgr3: OMIT, cmgr6: OMIT, cmgr12: OMIT, yoy: OMIT, operating_margin: OMIT, quarterly_operating_margin: OMIT, gross_margin: OMIT, quarterly_gross_margin: OMIT, magic_number: OMIT, rule_of40: OMIT, burn_multiple: OMIT, acquisition_spend: OMIT, total_opex: OMIT, logo_retention6m: OMIT, logo_retention12m: OMIT, revenue_retention6m: OMIT, revenue_retention12m: OMIT, ltv6m: OMIT, ltv12m: OMIT, ltv6cac: OMIT, ltv12cac: OMIT, gmltv6cac: OMIT, gmltv12cac: OMIT, lifetime_ltv6cac: OMIT, lifetime_ltv12cac: OMIT, lifetime_gmltv6cac: OMIT, lifetime_gmltv12cac: OMIT, cac: OMIT, irr: OMIT, periods_to_payback: OMIT, employee_count: OMIT, cumulative_person_years: OMIT, employee_retention1yr: OMIT, employee_retention2yr: OMIT, average_years_of_experience: OMIT, lifetime_employee_retention: OMIT, percent_employees_sales_and_marketing: OMIT, fully_loaded_employee_cost: OMIT, annualized_revenue_per_employee: OMIT, additional_properties: nil) ⇒ NewDemoApiClient::BenchmarkQuantile

Parameters:

  • quantile (Float)

    Quantile

  • revenue (Float) (defaults to: OMIT)

    Revenue

  • rolling3m_average_revenue (Float) (defaults to: OMIT)

    Average Revenue (Rolling Q)

  • annualized_revenue (Float) (defaults to: OMIT)

    Annualized Revenue

  • rolling3m_annualized_revenue (Float) (defaults to: OMIT)

    Annualized Revenue (Rolling Q)

  • revenue_share_of_top20percent (Float) (defaults to: OMIT)

    Revenue Share of Top 20%

  • revenue_share_of_top10count (Float) (defaults to: OMIT)

    Revenue Share of Top 10 Users

  • average_to_median (Float) (defaults to: OMIT)

    Average to Median Revenue

  • gini_coefficient (Float) (defaults to: OMIT)

    Gini Coefficient

  • lifetime_quick_ratio (Float) (defaults to: OMIT)

    Average Quick Ratio

  • lifetime_gross_retention (Float) (defaults to: OMIT)

    Average Gross Retention

  • lifetime_net_churn (Float) (defaults to: OMIT)

    Average Net Churn

  • cmgr3 (Float) (defaults to: OMIT)

    CMGR3

  • cmgr6 (Float) (defaults to: OMIT)

    CMGR6

  • cmgr12 (Float) (defaults to: OMIT)

    CMGR12

  • yoy (Float) (defaults to: OMIT)

    YoY Growth

  • operating_margin (Float) (defaults to: OMIT)

    Operating Margin

  • quarterly_operating_margin (Float) (defaults to: OMIT)

    Operating Margin (Rolling Q)

  • gross_margin (Float) (defaults to: OMIT)

    Gross Margin

  • quarterly_gross_margin (Float) (defaults to: OMIT)

    Gross Margin (Rolling Q)

  • magic_number (Float) (defaults to: OMIT)

    Magic Number

  • rule_of40 (Float) (defaults to: OMIT)

    Rule of 40

  • burn_multiple (Float) (defaults to: OMIT)

    Burn Multiple

  • acquisition_spend (Float) (defaults to: OMIT)

    Acquisition Spend

  • total_opex (Float) (defaults to: OMIT)

    Total OPEX

  • logo_retention6m (Float) (defaults to: OMIT)

    Logo Retention (6M)

  • logo_retention12m (Float) (defaults to: OMIT)

    Logo Retention (12M)

  • revenue_retention6m (Float) (defaults to: OMIT)

    Revenue Retention (6M)

  • revenue_retention12m (Float) (defaults to: OMIT)

    Revenue Retention (12M)

  • ltv6m (Float) (defaults to: OMIT)

    LTV6

  • ltv12m (Float) (defaults to: OMIT)

    LTV12

  • ltv6cac (Float) (defaults to: OMIT)

    LTV6/CAC

  • ltv12cac (Float) (defaults to: OMIT)

    LTV12/CAC

  • gmltv6cac (Float) (defaults to: OMIT)

    gmLTV6/CAC

  • gmltv12cac (Float) (defaults to: OMIT)

    gmLTV12/CAC

  • lifetime_ltv6cac (Float) (defaults to: OMIT)

    Average LTV6/CAC

  • lifetime_ltv12cac (Float) (defaults to: OMIT)

    Average LTV12/CAC

  • lifetime_gmltv6cac (Float) (defaults to: OMIT)

    Average gmLTV6/CAC

  • lifetime_gmltv12cac (Float) (defaults to: OMIT)

    Average gmLTV12/CAC

  • cac (Float) (defaults to: OMIT)

    CAC

  • irr (Float) (defaults to: OMIT)

    IRR

  • periods_to_payback (Float) (defaults to: OMIT)

    Months to Payback

  • employee_count (Float) (defaults to: OMIT)

    Number of Employees

  • cumulative_person_years (Float) (defaults to: OMIT)

    Cumulative Years of Effort

  • employee_retention1yr (Float) (defaults to: OMIT)

    Employee Retention (1Y)

  • employee_retention2yr (Float) (defaults to: OMIT)

    Employee Retention (2Y)

  • average_years_of_experience (Float) (defaults to: OMIT)

    Average Employee Experience (Years)

  • lifetime_employee_retention (Float) (defaults to: OMIT)

    Lifetime Employee Retention

  • percent_employees_sales_and_marketing (Float) (defaults to: OMIT)

    Sales + Marketing (% Employees)

  • fully_loaded_employee_cost (Float) (defaults to: OMIT)

    Fully-Loaded Employee Cost

  • annualized_revenue_per_employee (Float) (defaults to: OMIT)

    Annualized Revenue per Employee

  • additional_properties (OpenStruct) (defaults to: nil)

    Additional properties unmapped to the current class definition



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 171

def initialize(quantile:, revenue: OMIT, rolling3m_average_revenue: OMIT, annualized_revenue: OMIT,
               rolling3m_annualized_revenue: OMIT, revenue_share_of_top20percent: OMIT, revenue_share_of_top10count: OMIT, average_to_median: OMIT, gini_coefficient: OMIT, lifetime_quick_ratio: OMIT, lifetime_gross_retention: OMIT, lifetime_net_churn: OMIT, cmgr3: OMIT, cmgr6: OMIT, cmgr12: OMIT, yoy: OMIT, operating_margin: OMIT, quarterly_operating_margin: OMIT, gross_margin: OMIT, quarterly_gross_margin: OMIT, magic_number: OMIT, rule_of40: OMIT, burn_multiple: OMIT, acquisition_spend: OMIT, total_opex: OMIT, logo_retention6m: OMIT, logo_retention12m: OMIT, revenue_retention6m: OMIT, revenue_retention12m: OMIT, ltv6m: OMIT, ltv12m: OMIT, ltv6cac: OMIT, ltv12cac: OMIT, gmltv6cac: OMIT, gmltv12cac: OMIT, lifetime_ltv6cac: OMIT, lifetime_ltv12cac: OMIT, lifetime_gmltv6cac: OMIT, lifetime_gmltv12cac: OMIT, cac: OMIT, irr: OMIT, periods_to_payback: OMIT, employee_count: OMIT, cumulative_person_years: OMIT, employee_retention1yr: OMIT, employee_retention2yr: OMIT, average_years_of_experience: OMIT, lifetime_employee_retention: OMIT, percent_employees_sales_and_marketing: OMIT, fully_loaded_employee_cost: OMIT, annualized_revenue_per_employee: OMIT, additional_properties: nil)
  @quantile = quantile
  @revenue = revenue if revenue != OMIT
  @rolling3m_average_revenue = rolling3m_average_revenue if rolling3m_average_revenue != OMIT
  @annualized_revenue = annualized_revenue if annualized_revenue != OMIT
  @rolling3m_annualized_revenue = rolling3m_annualized_revenue if rolling3m_annualized_revenue != OMIT
  @revenue_share_of_top20percent = revenue_share_of_top20percent if revenue_share_of_top20percent != OMIT
  @revenue_share_of_top10count = revenue_share_of_top10count if revenue_share_of_top10count != OMIT
  @average_to_median = average_to_median if average_to_median != OMIT
  @gini_coefficient = gini_coefficient if gini_coefficient != OMIT
  @lifetime_quick_ratio = lifetime_quick_ratio if lifetime_quick_ratio != OMIT
  @lifetime_gross_retention = lifetime_gross_retention if lifetime_gross_retention != OMIT
  @lifetime_net_churn = lifetime_net_churn if lifetime_net_churn != OMIT
  @cmgr3 = cmgr3 if cmgr3 != OMIT
  @cmgr6 = cmgr6 if cmgr6 != OMIT
  @cmgr12 = cmgr12 if cmgr12 != OMIT
  @yoy = yoy if yoy != OMIT
  @operating_margin = operating_margin if operating_margin != OMIT
  @quarterly_operating_margin = quarterly_operating_margin if quarterly_operating_margin != OMIT
  @gross_margin = gross_margin if gross_margin != OMIT
  @quarterly_gross_margin = quarterly_gross_margin if quarterly_gross_margin != OMIT
  @magic_number = magic_number if magic_number != OMIT
  @rule_of40 = rule_of40 if rule_of40 != OMIT
  @burn_multiple = burn_multiple if burn_multiple != OMIT
  @acquisition_spend = acquisition_spend if acquisition_spend != OMIT
  @total_opex = total_opex if total_opex != OMIT
  @logo_retention6m = logo_retention6m if logo_retention6m != OMIT
  @logo_retention12m = logo_retention12m if logo_retention12m != OMIT
  @revenue_retention6m = revenue_retention6m if revenue_retention6m != OMIT
  @revenue_retention12m = revenue_retention12m if revenue_retention12m != OMIT
  @ltv6m = ltv6m if ltv6m != OMIT
  @ltv12m = ltv12m if ltv12m != OMIT
  @ltv6cac = ltv6cac if ltv6cac != OMIT
  @ltv12cac = ltv12cac if ltv12cac != OMIT
  @gmltv6cac = gmltv6cac if gmltv6cac != OMIT
  @gmltv12cac = gmltv12cac if gmltv12cac != OMIT
  @lifetime_ltv6cac = lifetime_ltv6cac if lifetime_ltv6cac != OMIT
  @lifetime_ltv12cac = lifetime_ltv12cac if lifetime_ltv12cac != OMIT
  @lifetime_gmltv6cac = lifetime_gmltv6cac if lifetime_gmltv6cac != OMIT
  @lifetime_gmltv12cac = lifetime_gmltv12cac if lifetime_gmltv12cac != OMIT
  @cac = cac if cac != OMIT
  @irr = irr if irr != OMIT
  @periods_to_payback = periods_to_payback if periods_to_payback != OMIT
  @employee_count = employee_count if employee_count != OMIT
  @cumulative_person_years = cumulative_person_years if cumulative_person_years != OMIT
  @employee_retention1yr = employee_retention1yr if employee_retention1yr != OMIT
  @employee_retention2yr = employee_retention2yr if employee_retention2yr != OMIT
  @average_years_of_experience = average_years_of_experience if average_years_of_experience != OMIT
  @lifetime_employee_retention = lifetime_employee_retention if lifetime_employee_retention != OMIT
  if percent_employees_sales_and_marketing != OMIT
    @percent_employees_sales_and_marketing = percent_employees_sales_and_marketing
  end
  @fully_loaded_employee_cost = fully_loaded_employee_cost if fully_loaded_employee_cost != OMIT
  @annualized_revenue_per_employee = annualized_revenue_per_employee if annualized_revenue_per_employee != OMIT
  @additional_properties = additional_properties
  @_field_set = {
    "quantile": quantile,
    "revenue": revenue,
    "rolling_3m_average_revenue": rolling3m_average_revenue,
    "annualized_revenue": annualized_revenue,
    "rolling_3m_annualized_revenue": rolling3m_annualized_revenue,
    "revenue_share_of_top_20_percent": revenue_share_of_top20percent,
    "revenue_share_of_top_10_count": revenue_share_of_top10count,
    "average_to_median": average_to_median,
    "gini_coefficient": gini_coefficient,
    "lifetime_quick_ratio": lifetime_quick_ratio,
    "lifetime_gross_retention": lifetime_gross_retention,
    "lifetime_net_churn": lifetime_net_churn,
    "cmgr3": cmgr3,
    "cmgr6": cmgr6,
    "cmgr12": cmgr12,
    "yoy": yoy,
    "operating_margin": operating_margin,
    "quarterly_operating_margin": quarterly_operating_margin,
    "gross_margin": gross_margin,
    "quarterly_gross_margin": quarterly_gross_margin,
    "magic_number": magic_number,
    "rule_of_40": rule_of40,
    "burn_multiple": burn_multiple,
    "acquisition_spend": acquisition_spend,
    "total_opex": total_opex,
    "logo_retention_6m": logo_retention6m,
    "logo_retention_12m": logo_retention12m,
    "revenue_retention_6m": revenue_retention6m,
    "revenue_retention_12m": revenue_retention12m,
    "ltv_6m": ltv6m,
    "ltv_12m": ltv12m,
    "ltv6_cac": ltv6cac,
    "ltv12_cac": ltv12cac,
    "gmltv6_cac": gmltv6cac,
    "gmltv12_cac": gmltv12cac,
    "lifetime_ltv6_cac": lifetime_ltv6cac,
    "lifetime_ltv12_cac": lifetime_ltv12cac,
    "lifetime_gmltv6_cac": lifetime_gmltv6cac,
    "lifetime_gmltv12_cac": lifetime_gmltv12cac,
    "cac": cac,
    "irr": irr,
    "periods_to_payback": periods_to_payback,
    "employee_count": employee_count,
    "cumulative_person_years": cumulative_person_years,
    "employee_retention_1yr": employee_retention1yr,
    "employee_retention_2yr": employee_retention2yr,
    "average_years_of_experience": average_years_of_experience,
    "lifetime_employee_retention": lifetime_employee_retention,
    "percent_employees_sales_and_marketing": percent_employees_sales_and_marketing,
    "fully_loaded_employee_cost": fully_loaded_employee_cost,
    "annualized_revenue_per_employee": annualized_revenue_per_employee
  }.reject do |_k, v|
    v == OMIT
  end
end

Instance Attribute Details

#acquisition_spendFloat (readonly)

Returns Acquisition Spend.

Returns:

  • (Float)

    Acquisition Spend



55
56
57
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 55

def acquisition_spend
  @acquisition_spend
end

#additional_propertiesOpenStruct (readonly)

Returns Additional properties unmapped to the current class definition.

Returns:

  • (OpenStruct)

    Additional properties unmapped to the current class definition



111
112
113
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 111

def additional_properties
  @additional_properties
end

#annualized_revenueFloat (readonly)

Returns Annualized Revenue.

Returns:

  • (Float)

    Annualized Revenue



15
16
17
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 15

def annualized_revenue
  @annualized_revenue
end

#annualized_revenue_per_employeeFloat (readonly)

Returns Annualized Revenue per Employee.

Returns:

  • (Float)

    Annualized Revenue per Employee



109
110
111
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 109

def annualized_revenue_per_employee
  @annualized_revenue_per_employee
end

#average_to_medianFloat (readonly)

Returns Average to Median Revenue.

Returns:

  • (Float)

    Average to Median Revenue



23
24
25
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 23

def average_to_median
  @average_to_median
end

#average_years_of_experienceFloat (readonly)

Returns Average Employee Experience (Years).

Returns:

  • (Float)

    Average Employee Experience (Years)



101
102
103
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 101

def average_years_of_experience
  @average_years_of_experience
end

#burn_multipleFloat (readonly)

Returns Burn Multiple.

Returns:

  • (Float)

    Burn Multiple



53
54
55
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 53

def burn_multiple
  @burn_multiple
end

#cacFloat (readonly)

Returns CAC.

Returns:

  • (Float)

    CAC



87
88
89
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 87

def cac
  @cac
end

#cmgr12Float (readonly)

Returns CMGR12.

Returns:

  • (Float)

    CMGR12



37
38
39
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 37

def cmgr12
  @cmgr12
end

#cmgr3Float (readonly)

Returns CMGR3.

Returns:

  • (Float)

    CMGR3



33
34
35
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 33

def cmgr3
  @cmgr3
end

#cmgr6Float (readonly)

Returns CMGR6.

Returns:

  • (Float)

    CMGR6



35
36
37
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 35

def cmgr6
  @cmgr6
end

#cumulative_person_yearsFloat (readonly)

Returns Cumulative Years of Effort.

Returns:

  • (Float)

    Cumulative Years of Effort



95
96
97
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 95

def cumulative_person_years
  @cumulative_person_years
end

#employee_countFloat (readonly)

Returns Number of Employees.

Returns:

  • (Float)

    Number of Employees



93
94
95
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 93

def employee_count
  @employee_count
end

#employee_retention1yrFloat (readonly)

Returns Employee Retention (1Y).

Returns:

  • (Float)

    Employee Retention (1Y)



97
98
99
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 97

def employee_retention1yr
  @employee_retention1yr
end

#employee_retention2yrFloat (readonly)

Returns Employee Retention (2Y).

Returns:

  • (Float)

    Employee Retention (2Y)



99
100
101
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 99

def employee_retention2yr
  @employee_retention2yr
end

#fully_loaded_employee_costFloat (readonly)

Returns Fully-Loaded Employee Cost.

Returns:

  • (Float)

    Fully-Loaded Employee Cost



107
108
109
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 107

def fully_loaded_employee_cost
  @fully_loaded_employee_cost
end

#gini_coefficientFloat (readonly)

Returns Gini Coefficient.

Returns:

  • (Float)

    Gini Coefficient



25
26
27
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 25

def gini_coefficient
  @gini_coefficient
end

#gmltv12cacFloat (readonly)

Returns gmLTV12/CAC.

Returns:

  • (Float)

    gmLTV12/CAC



77
78
79
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 77

def gmltv12cac
  @gmltv12cac
end

#gmltv6cacFloat (readonly)

Returns gmLTV6/CAC.

Returns:

  • (Float)

    gmLTV6/CAC



75
76
77
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 75

def gmltv6cac
  @gmltv6cac
end

#gross_marginFloat (readonly)

Returns Gross Margin.

Returns:

  • (Float)

    Gross Margin



45
46
47
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 45

def gross_margin
  @gross_margin
end

#irrFloat (readonly)

Returns IRR.

Returns:

  • (Float)

    IRR



89
90
91
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 89

def irr
  @irr
end

#lifetime_employee_retentionFloat (readonly)

Returns Lifetime Employee Retention.

Returns:

  • (Float)

    Lifetime Employee Retention



103
104
105
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 103

def lifetime_employee_retention
  @lifetime_employee_retention
end

#lifetime_gmltv12cacFloat (readonly)

Returns Average gmLTV12/CAC.

Returns:

  • (Float)

    Average gmLTV12/CAC



85
86
87
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 85

def lifetime_gmltv12cac
  @lifetime_gmltv12cac
end

#lifetime_gmltv6cacFloat (readonly)

Returns Average gmLTV6/CAC.

Returns:

  • (Float)

    Average gmLTV6/CAC



83
84
85
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 83

def lifetime_gmltv6cac
  @lifetime_gmltv6cac
end

#lifetime_gross_retentionFloat (readonly)

Returns Average Gross Retention.

Returns:

  • (Float)

    Average Gross Retention



29
30
31
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 29

def lifetime_gross_retention
  @lifetime_gross_retention
end

#lifetime_ltv12cacFloat (readonly)

Returns Average LTV12/CAC.

Returns:

  • (Float)

    Average LTV12/CAC



81
82
83
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 81

def lifetime_ltv12cac
  @lifetime_ltv12cac
end

#lifetime_ltv6cacFloat (readonly)

Returns Average LTV6/CAC.

Returns:

  • (Float)

    Average LTV6/CAC



79
80
81
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 79

def lifetime_ltv6cac
  @lifetime_ltv6cac
end

#lifetime_net_churnFloat (readonly)

Returns Average Net Churn.

Returns:

  • (Float)

    Average Net Churn



31
32
33
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 31

def lifetime_net_churn
  @lifetime_net_churn
end

#lifetime_quick_ratioFloat (readonly)

Returns Average Quick Ratio.

Returns:

  • (Float)

    Average Quick Ratio



27
28
29
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 27

def lifetime_quick_ratio
  @lifetime_quick_ratio
end

#logo_retention12mFloat (readonly)

Returns Logo Retention (12M).

Returns:

  • (Float)

    Logo Retention (12M)



61
62
63
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 61

def logo_retention12m
  @logo_retention12m
end

#logo_retention6mFloat (readonly)

Returns Logo Retention (6M).

Returns:

  • (Float)

    Logo Retention (6M)



59
60
61
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 59

def logo_retention6m
  @logo_retention6m
end

#ltv12cacFloat (readonly)

Returns LTV12/CAC.

Returns:

  • (Float)

    LTV12/CAC



73
74
75
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 73

def ltv12cac
  @ltv12cac
end

#ltv12mFloat (readonly)

Returns LTV12.

Returns:

  • (Float)

    LTV12



69
70
71
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 69

def ltv12m
  @ltv12m
end

#ltv6cacFloat (readonly)

Returns LTV6/CAC.

Returns:

  • (Float)

    LTV6/CAC



71
72
73
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 71

def ltv6cac
  @ltv6cac
end

#ltv6mFloat (readonly)

Returns LTV6.

Returns:

  • (Float)

    LTV6



67
68
69
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 67

def ltv6m
  @ltv6m
end

#magic_numberFloat (readonly)

Returns Magic Number.

Returns:

  • (Float)

    Magic Number



49
50
51
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 49

def magic_number
  @magic_number
end

#operating_marginFloat (readonly)

Returns Operating Margin.

Returns:

  • (Float)

    Operating Margin



41
42
43
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 41

def operating_margin
  @operating_margin
end

#percent_employees_sales_and_marketingFloat (readonly)

Returns Sales + Marketing (% Employees).

Returns:

  • (Float)

    Sales + Marketing (% Employees)



105
106
107
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 105

def percent_employees_sales_and_marketing
  @percent_employees_sales_and_marketing
end

#periods_to_paybackFloat (readonly)

Returns Months to Payback.

Returns:

  • (Float)

    Months to Payback



91
92
93
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 91

def periods_to_payback
  @periods_to_payback
end

#quantileFloat (readonly)

Returns Quantile.

Returns:

  • (Float)

    Quantile



9
10
11
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 9

def quantile
  @quantile
end

#quarterly_gross_marginFloat (readonly)

Returns Gross Margin (Rolling Q).

Returns:

  • (Float)

    Gross Margin (Rolling Q)



47
48
49
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 47

def quarterly_gross_margin
  @quarterly_gross_margin
end

#quarterly_operating_marginFloat (readonly)

Returns Operating Margin (Rolling Q).

Returns:

  • (Float)

    Operating Margin (Rolling Q)



43
44
45
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 43

def quarterly_operating_margin
  @quarterly_operating_margin
end

#revenueFloat (readonly)

Returns Revenue.

Returns:

  • (Float)

    Revenue



11
12
13
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 11

def revenue
  @revenue
end

#revenue_retention12mFloat (readonly)

Returns Revenue Retention (12M).

Returns:

  • (Float)

    Revenue Retention (12M)



65
66
67
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 65

def revenue_retention12m
  @revenue_retention12m
end

#revenue_retention6mFloat (readonly)

Returns Revenue Retention (6M).

Returns:

  • (Float)

    Revenue Retention (6M)



63
64
65
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 63

def revenue_retention6m
  @revenue_retention6m
end

#revenue_share_of_top10countFloat (readonly)

Returns Revenue Share of Top 10 Users.

Returns:

  • (Float)

    Revenue Share of Top 10 Users



21
22
23
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 21

def revenue_share_of_top10count
  @revenue_share_of_top10count
end

#revenue_share_of_top20percentFloat (readonly)

Returns Revenue Share of Top 20%.

Returns:

  • (Float)

    Revenue Share of Top 20%



19
20
21
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 19

def revenue_share_of_top20percent
  @revenue_share_of_top20percent
end

#rolling3m_annualized_revenueFloat (readonly)

Returns Annualized Revenue (Rolling Q).

Returns:

  • (Float)

    Annualized Revenue (Rolling Q)



17
18
19
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 17

def rolling3m_annualized_revenue
  @rolling3m_annualized_revenue
end

#rolling3m_average_revenueFloat (readonly)

Returns Average Revenue (Rolling Q).

Returns:

  • (Float)

    Average Revenue (Rolling Q)



13
14
15
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 13

def rolling3m_average_revenue
  @rolling3m_average_revenue
end

#rule_of40Float (readonly)

Returns Rule of 40.

Returns:

  • (Float)

    Rule of 40



51
52
53
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 51

def rule_of40
  @rule_of40
end

#total_opexFloat (readonly)

Returns Total OPEX.

Returns:

  • (Float)

    Total OPEX



57
58
59
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 57

def total_opex
  @total_opex
end

#yoyFloat (readonly)

Returns YoY Growth.

Returns:

  • (Float)

    YoY Growth



39
40
41
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 39

def yoy
  @yoy
end

Class Method Details

.from_json(json_object:) ⇒ NewDemoApiClient::BenchmarkQuantile

Deserialize a JSON object to an instance of BenchmarkQuantile

Parameters:

  • json_object (String)

Returns:



288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 288

def self.from_json(json_object:)
  struct = JSON.parse(json_object, object_class: OpenStruct)
  parsed_json = JSON.parse(json_object)
  quantile = parsed_json["quantile"]
  revenue = parsed_json["revenue"]
  rolling3m_average_revenue = parsed_json["rolling_3m_average_revenue"]
  annualized_revenue = parsed_json["annualized_revenue"]
  rolling3m_annualized_revenue = parsed_json["rolling_3m_annualized_revenue"]
  revenue_share_of_top20percent = parsed_json["revenue_share_of_top_20_percent"]
  revenue_share_of_top10count = parsed_json["revenue_share_of_top_10_count"]
  average_to_median = parsed_json["average_to_median"]
  gini_coefficient = parsed_json["gini_coefficient"]
  lifetime_quick_ratio = parsed_json["lifetime_quick_ratio"]
  lifetime_gross_retention = parsed_json["lifetime_gross_retention"]
  lifetime_net_churn = parsed_json["lifetime_net_churn"]
  cmgr3 = parsed_json["cmgr3"]
  cmgr6 = parsed_json["cmgr6"]
  cmgr12 = parsed_json["cmgr12"]
  yoy = parsed_json["yoy"]
  operating_margin = parsed_json["operating_margin"]
  quarterly_operating_margin = parsed_json["quarterly_operating_margin"]
  gross_margin = parsed_json["gross_margin"]
  quarterly_gross_margin = parsed_json["quarterly_gross_margin"]
  magic_number = parsed_json["magic_number"]
  rule_of40 = parsed_json["rule_of_40"]
  burn_multiple = parsed_json["burn_multiple"]
  acquisition_spend = parsed_json["acquisition_spend"]
  total_opex = parsed_json["total_opex"]
  logo_retention6m = parsed_json["logo_retention_6m"]
  logo_retention12m = parsed_json["logo_retention_12m"]
  revenue_retention6m = parsed_json["revenue_retention_6m"]
  revenue_retention12m = parsed_json["revenue_retention_12m"]
  ltv6m = parsed_json["ltv_6m"]
  ltv12m = parsed_json["ltv_12m"]
  ltv6cac = parsed_json["ltv6_cac"]
  ltv12cac = parsed_json["ltv12_cac"]
  gmltv6cac = parsed_json["gmltv6_cac"]
  gmltv12cac = parsed_json["gmltv12_cac"]
  lifetime_ltv6cac = parsed_json["lifetime_ltv6_cac"]
  lifetime_ltv12cac = parsed_json["lifetime_ltv12_cac"]
  lifetime_gmltv6cac = parsed_json["lifetime_gmltv6_cac"]
  lifetime_gmltv12cac = parsed_json["lifetime_gmltv12_cac"]
  cac = parsed_json["cac"]
  irr = parsed_json["irr"]
  periods_to_payback = parsed_json["periods_to_payback"]
  employee_count = parsed_json["employee_count"]
  cumulative_person_years = parsed_json["cumulative_person_years"]
  employee_retention1yr = parsed_json["employee_retention_1yr"]
  employee_retention2yr = parsed_json["employee_retention_2yr"]
  average_years_of_experience = parsed_json["average_years_of_experience"]
  lifetime_employee_retention = parsed_json["lifetime_employee_retention"]
  percent_employees_sales_and_marketing = parsed_json["percent_employees_sales_and_marketing"]
  fully_loaded_employee_cost = parsed_json["fully_loaded_employee_cost"]
  annualized_revenue_per_employee = parsed_json["annualized_revenue_per_employee"]
  new(
    quantile: quantile,
    revenue: revenue,
    rolling3m_average_revenue: rolling3m_average_revenue,
    annualized_revenue: annualized_revenue,
    rolling3m_annualized_revenue: rolling3m_annualized_revenue,
    revenue_share_of_top20percent: revenue_share_of_top20percent,
    revenue_share_of_top10count: revenue_share_of_top10count,
    average_to_median: average_to_median,
    gini_coefficient: gini_coefficient,
    lifetime_quick_ratio: lifetime_quick_ratio,
    lifetime_gross_retention: lifetime_gross_retention,
    lifetime_net_churn: lifetime_net_churn,
    cmgr3: cmgr3,
    cmgr6: cmgr6,
    cmgr12: cmgr12,
    yoy: yoy,
    operating_margin: operating_margin,
    quarterly_operating_margin: quarterly_operating_margin,
    gross_margin: gross_margin,
    quarterly_gross_margin: quarterly_gross_margin,
    magic_number: magic_number,
    rule_of40: rule_of40,
    burn_multiple: burn_multiple,
    acquisition_spend: acquisition_spend,
    total_opex: total_opex,
    logo_retention6m: logo_retention6m,
    logo_retention12m: logo_retention12m,
    revenue_retention6m: revenue_retention6m,
    revenue_retention12m: revenue_retention12m,
    ltv6m: ltv6m,
    ltv12m: ltv12m,
    ltv6cac: ltv6cac,
    ltv12cac: ltv12cac,
    gmltv6cac: gmltv6cac,
    gmltv12cac: gmltv12cac,
    lifetime_ltv6cac: lifetime_ltv6cac,
    lifetime_ltv12cac: lifetime_ltv12cac,
    lifetime_gmltv6cac: lifetime_gmltv6cac,
    lifetime_gmltv12cac: lifetime_gmltv12cac,
    cac: cac,
    irr: irr,
    periods_to_payback: periods_to_payback,
    employee_count: employee_count,
    cumulative_person_years: cumulative_person_years,
    employee_retention1yr: employee_retention1yr,
    employee_retention2yr: employee_retention2yr,
    average_years_of_experience: average_years_of_experience,
    lifetime_employee_retention: lifetime_employee_retention,
    percent_employees_sales_and_marketing: percent_employees_sales_and_marketing,
    fully_loaded_employee_cost: fully_loaded_employee_cost,
    annualized_revenue_per_employee: annualized_revenue_per_employee,
    additional_properties: struct
  )
end

.validate_raw(obj:) ⇒ Void

Leveraged for Union-type generation, validate_raw attempts to parse the given

hash and check each fields type against the current object's property
definitions.

Parameters:

  • obj (Object)

Returns:

  • (Void)


411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 411

def self.validate_raw(obj:)
  obj.quantile.is_a?(Float) != false || raise("Passed value for field obj.quantile is not the expected type, validation failed.")
  obj.revenue&.is_a?(Float) != false || raise("Passed value for field obj.revenue is not the expected type, validation failed.")
  obj.rolling3m_average_revenue&.is_a?(Float) != false || raise("Passed value for field obj.rolling3m_average_revenue is not the expected type, validation failed.")
  obj.annualized_revenue&.is_a?(Float) != false || raise("Passed value for field obj.annualized_revenue is not the expected type, validation failed.")
  obj.rolling3m_annualized_revenue&.is_a?(Float) != false || raise("Passed value for field obj.rolling3m_annualized_revenue is not the expected type, validation failed.")
  obj.revenue_share_of_top20percent&.is_a?(Float) != false || raise("Passed value for field obj.revenue_share_of_top20percent is not the expected type, validation failed.")
  obj.revenue_share_of_top10count&.is_a?(Float) != false || raise("Passed value for field obj.revenue_share_of_top10count is not the expected type, validation failed.")
  obj.average_to_median&.is_a?(Float) != false || raise("Passed value for field obj.average_to_median is not the expected type, validation failed.")
  obj.gini_coefficient&.is_a?(Float) != false || raise("Passed value for field obj.gini_coefficient is not the expected type, validation failed.")
  obj.lifetime_quick_ratio&.is_a?(Float) != false || raise("Passed value for field obj.lifetime_quick_ratio is not the expected type, validation failed.")
  obj.lifetime_gross_retention&.is_a?(Float) != false || raise("Passed value for field obj.lifetime_gross_retention is not the expected type, validation failed.")
  obj.lifetime_net_churn&.is_a?(Float) != false || raise("Passed value for field obj.lifetime_net_churn is not the expected type, validation failed.")
  obj.cmgr3&.is_a?(Float) != false || raise("Passed value for field obj.cmgr3 is not the expected type, validation failed.")
  obj.cmgr6&.is_a?(Float) != false || raise("Passed value for field obj.cmgr6 is not the expected type, validation failed.")
  obj.cmgr12&.is_a?(Float) != false || raise("Passed value for field obj.cmgr12 is not the expected type, validation failed.")
  obj.yoy&.is_a?(Float) != false || raise("Passed value for field obj.yoy is not the expected type, validation failed.")
  obj.operating_margin&.is_a?(Float) != false || raise("Passed value for field obj.operating_margin is not the expected type, validation failed.")
  obj.quarterly_operating_margin&.is_a?(Float) != false || raise("Passed value for field obj.quarterly_operating_margin is not the expected type, validation failed.")
  obj.gross_margin&.is_a?(Float) != false || raise("Passed value for field obj.gross_margin is not the expected type, validation failed.")
  obj.quarterly_gross_margin&.is_a?(Float) != false || raise("Passed value for field obj.quarterly_gross_margin is not the expected type, validation failed.")
  obj.magic_number&.is_a?(Float) != false || raise("Passed value for field obj.magic_number is not the expected type, validation failed.")
  obj.rule_of40&.is_a?(Float) != false || raise("Passed value for field obj.rule_of40 is not the expected type, validation failed.")
  obj.burn_multiple&.is_a?(Float) != false || raise("Passed value for field obj.burn_multiple is not the expected type, validation failed.")
  obj.acquisition_spend&.is_a?(Float) != false || raise("Passed value for field obj.acquisition_spend is not the expected type, validation failed.")
  obj.total_opex&.is_a?(Float) != false || raise("Passed value for field obj.total_opex is not the expected type, validation failed.")
  obj.logo_retention6m&.is_a?(Float) != false || raise("Passed value for field obj.logo_retention6m is not the expected type, validation failed.")
  obj.logo_retention12m&.is_a?(Float) != false || raise("Passed value for field obj.logo_retention12m is not the expected type, validation failed.")
  obj.revenue_retention6m&.is_a?(Float) != false || raise("Passed value for field obj.revenue_retention6m is not the expected type, validation failed.")
  obj.revenue_retention12m&.is_a?(Float) != false || raise("Passed value for field obj.revenue_retention12m is not the expected type, validation failed.")
  obj.ltv6m&.is_a?(Float) != false || raise("Passed value for field obj.ltv6m is not the expected type, validation failed.")
  obj.ltv12m&.is_a?(Float) != false || raise("Passed value for field obj.ltv12m is not the expected type, validation failed.")
  obj.ltv6cac&.is_a?(Float) != false || raise("Passed value for field obj.ltv6cac is not the expected type, validation failed.")
  obj.ltv12cac&.is_a?(Float) != false || raise("Passed value for field obj.ltv12cac is not the expected type, validation failed.")
  obj.gmltv6cac&.is_a?(Float) != false || raise("Passed value for field obj.gmltv6cac is not the expected type, validation failed.")
  obj.gmltv12cac&.is_a?(Float) != false || raise("Passed value for field obj.gmltv12cac is not the expected type, validation failed.")
  obj.lifetime_ltv6cac&.is_a?(Float) != false || raise("Passed value for field obj.lifetime_ltv6cac is not the expected type, validation failed.")
  obj.lifetime_ltv12cac&.is_a?(Float) != false || raise("Passed value for field obj.lifetime_ltv12cac is not the expected type, validation failed.")
  obj.lifetime_gmltv6cac&.is_a?(Float) != false || raise("Passed value for field obj.lifetime_gmltv6cac is not the expected type, validation failed.")
  obj.lifetime_gmltv12cac&.is_a?(Float) != false || raise("Passed value for field obj.lifetime_gmltv12cac is not the expected type, validation failed.")
  obj.cac&.is_a?(Float) != false || raise("Passed value for field obj.cac is not the expected type, validation failed.")
  obj.irr&.is_a?(Float) != false || raise("Passed value for field obj.irr is not the expected type, validation failed.")
  obj.periods_to_payback&.is_a?(Float) != false || raise("Passed value for field obj.periods_to_payback is not the expected type, validation failed.")
  obj.employee_count&.is_a?(Float) != false || raise("Passed value for field obj.employee_count is not the expected type, validation failed.")
  obj.cumulative_person_years&.is_a?(Float) != false || raise("Passed value for field obj.cumulative_person_years is not the expected type, validation failed.")
  obj.employee_retention1yr&.is_a?(Float) != false || raise("Passed value for field obj.employee_retention1yr is not the expected type, validation failed.")
  obj.employee_retention2yr&.is_a?(Float) != false || raise("Passed value for field obj.employee_retention2yr is not the expected type, validation failed.")
  obj.average_years_of_experience&.is_a?(Float) != false || raise("Passed value for field obj.average_years_of_experience is not the expected type, validation failed.")
  obj.lifetime_employee_retention&.is_a?(Float) != false || raise("Passed value for field obj.lifetime_employee_retention is not the expected type, validation failed.")
  obj.percent_employees_sales_and_marketing&.is_a?(Float) != false || raise("Passed value for field obj.percent_employees_sales_and_marketing is not the expected type, validation failed.")
  obj.fully_loaded_employee_cost&.is_a?(Float) != false || raise("Passed value for field obj.fully_loaded_employee_cost is not the expected type, validation failed.")
  obj.annualized_revenue_per_employee&.is_a?(Float) != false || raise("Passed value for field obj.annualized_revenue_per_employee is not the expected type, validation failed.")
end

Instance Method Details

#to_json(*_args) ⇒ String

Serialize an instance of BenchmarkQuantile to a JSON object

Returns:

  • (String)


401
402
403
# File 'lib/test_sdk/types/benchmark_quantile.rb', line 401

def to_json(*_args)
  @_field_set&.to_json
end