Class: Courier::Models::SendToMsTeamsUserID
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::SendToMsTeamsUserID
- Defined in:
- lib/courier/models/send_to_ms_teams_user_id.rb,
sig/courier/models/send_to_ms_teams_user_id.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(user_id:, service_url: nil, tenant_id: nil) ⇒ Object
constructor
Provide at least one of
tenant_idorservice_url. - #to_hash ⇒ {
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(user_id:, service_url: nil, tenant_id: nil) ⇒ Object
Provide at least one of tenant_id or service_url. If you provide both, they
must agree.
|
|
# File 'lib/courier/models/send_to_ms_teams_user_id.rb', line 21
|
Instance Attribute Details
#service_url ⇒ String?
14 |
# File 'lib/courier/models/send_to_ms_teams_user_id.rb', line 14 optional :service_url, String |
#tenant_id ⇒ String?
19 |
# File 'lib/courier/models/send_to_ms_teams_user_id.rb', line 19 optional :tenant_id, String |
#user_id ⇒ String
9 |
# File 'lib/courier/models/send_to_ms_teams_user_id.rb', line 9 required :user_id, String |
Instance Method Details
#to_hash ⇒ {
23 |
# File 'sig/courier/models/send_to_ms_teams_user_id.rbs', line 23
def to_hash: -> {
|