Class: Dodopayments::Models::Blocklist::Customers::BlockedCustomerNote
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/dodopayments/models/blocklist/customers/blocked_customer_note.rb,
sig/dodopayments/models/blocklist/customers/blocked_customer_note.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, created_at:, note:, author_email: nil, updated_at: nil) ⇒ Object
|
# File 'lib/dodopayments/models/blocklist/customers/blocked_customer_note.rb', line 34
|
Instance Attribute Details
#author_email ⇒ String?
27
|
# File 'lib/dodopayments/models/blocklist/customers/blocked_customer_note.rb', line 27
optional :author_email, String, nil?: true
|
#created_at ⇒ Time
17
|
# File 'lib/dodopayments/models/blocklist/customers/blocked_customer_note.rb', line 17
required :created_at, Time
|
#id ⇒ String
12
|
# File 'lib/dodopayments/models/blocklist/customers/blocked_customer_note.rb', line 12
required :id, String
|
#note ⇒ String
22
|
# File 'lib/dodopayments/models/blocklist/customers/blocked_customer_note.rb', line 22
required :note, String
|
#updated_at ⇒ Time?
32
|
# File 'lib/dodopayments/models/blocklist/customers/blocked_customer_note.rb', line 32
optional :updated_at, Time, nil?: true
|
Instance Method Details
#to_hash ⇒ {
33
|
# File 'sig/dodopayments/models/blocklist/customers/blocked_customer_note.rbs', line 33
def to_hash: -> {
|