Class: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber
- Inherits:
-
BaseModel
- Object
- BaseModel
- FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber
- Defined in:
- lib/finch-api/models/sandbox/directory_create_params.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(data: nil, type: nil) ⇒ PhoneNumber
constructor
A new instance of PhoneNumber.
Methods inherited from BaseModel
==, #==, #[], coerce, #deconstruct_keys, dump, fields, #inspect, known_fields, optional, required, #to_h
Methods included from Converter
#coerce, coerce, #dump, dump, type_info
Constructor Details
#initialize(data: nil, type: nil) ⇒ PhoneNumber
Returns a new instance of PhoneNumber.
4 |
# File 'lib/finch-api/models/sandbox/directory_create_params.rb', line 4 def initialize(data: nil, type: nil, **) = super |
Instance Attribute Details
#data ⇒ String?
501 |
# File 'lib/finch-api/models/sandbox/directory_create_params.rb', line 501 optional :data, String, nil?: true |
#type ⇒ Symbol, ...
506 507 508 |
# File 'lib/finch-api/models/sandbox/directory_create_params.rb', line 506 optional :type, enum: -> { FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::PhoneNumber::Type }, nil?: true |