Class: Orb::Models::SubscriptionLicenseAllocationResetWebhookEvent::Properties

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

Overview

See Also:

  • Orb::Models::SubscriptionLicenseAllocationResetWebhookEvent#properties

Defined Under Namespace

Classes: ResetAllocation

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 ⇒ Object



53
# File 'sig/orb/models/subscription_license_allocation_reset_webhook_event.rbs', line 53

def initialize: (

Instance Attribute Details

#reset_allocations ⇒ Array<Orb::Models::SubscriptionLicenseAllocationResetWebhookEvent::Properties::ResetAllocation>

Parameters:

  • value (::Array[Orb::SubscriptionLicenseAllocationResetWebhookEvent::Properties::ResetAllocation])

Returns:



61
62
# File 'lib/orb/models/subscription_license_allocation_reset_webhook_event.rb', line 61

required :reset_allocations,
-> { Orb::Internal::Type::ArrayOf[Orb::SubscriptionLicenseAllocationResetWebhookEvent::Properties::ResetAllocation] }

#timeframe_end ⇒ Time

Parameters:

  • value (Time)

Returns:

  • (Time)


67
# File 'lib/orb/models/subscription_license_allocation_reset_webhook_event.rb', line 67

required :timeframe_end, Time

#timeframe_start ⇒ Time

Parameters:

  • value (Time)

Returns:

  • (Time)


72
# File 'lib/orb/models/subscription_license_allocation_reset_webhook_event.rb', line 72

required :timeframe_start, Time

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


59
# File 'sig/orb/models/subscription_license_allocation_reset_webhook_event.rbs', line 59

def to_hash: -> {