Class: Lithic::Models::AuthRules::V2RetrieveReportResponse::DailyStatistic

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/auth_rules/v2_retrieve_report_response.rb

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

#initialize(current_version_statistics:, date:, draft_version_statistics:) ⇒ Object

Parameters:



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
# File 'lib/lithic/models/auth_rules/v2_retrieve_report_response.rb', line 42

class DailyStatistic < Lithic::Internal::Type::BaseModel
  # @!attribute current_version_statistics
  #   Detailed statistics for the current version of the rule.
  #
  #   @return [Lithic::Models::AuthRules::RuleStats, nil]
  required :current_version_statistics, -> { Lithic::AuthRules::RuleStats }, nil?: true

  # @!attribute date
  #   The date (UTC) for which the statistics are reported.
  #
  #   @return [Date]
  required :date, Date

  # @!attribute draft_version_statistics
  #   Detailed statistics for the draft version of the rule.
  #
  #   @return [Lithic::Models::AuthRules::RuleStats, nil]
  required :draft_version_statistics, -> { Lithic::AuthRules::RuleStats }, nil?: true

  # @!method initialize(current_version_statistics:, date:, draft_version_statistics:)
  #   @param current_version_statistics [Lithic::Models::AuthRules::RuleStats, nil] Detailed statistics for the current version of the rule.
  #
  #   @param date [Date] The date (UTC) for which the statistics are reported.
  #
  #   @param draft_version_statistics [Lithic::Models::AuthRules::RuleStats, nil] Detailed statistics for the draft version of the rule.
end

Instance Attribute Details

#current_version_statisticsLithic::Models::AuthRules::RuleStats?

Detailed statistics for the current version of the rule.



47
# File 'lib/lithic/models/auth_rules/v2_retrieve_report_response.rb', line 47

required :current_version_statistics, -> { Lithic::AuthRules::RuleStats }, nil?: true

#dateDate

The date (UTC) for which the statistics are reported.

Returns:

  • (Date)


53
# File 'lib/lithic/models/auth_rules/v2_retrieve_report_response.rb', line 53

required :date, Date

#draft_version_statisticsLithic::Models::AuthRules::RuleStats?

Detailed statistics for the draft version of the rule.



59
# File 'lib/lithic/models/auth_rules/v2_retrieve_report_response.rb', line 59

required :draft_version_statistics, -> { Lithic::AuthRules::RuleStats }, nil?: true