Class: Knockapi::Models::Providers::MsTeamCheckAuthResponse::Connection

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/knockapi/models/providers/ms_team_check_auth_response.rb

Overview

See Also:

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(ok:, reason: nil) ⇒ Object

A Microsoft Teams connection object.

Parameters:

  • ok (Boolean)

    Whether the Microsoft Teams connection is valid.

  • reason (String, nil) (defaults to: nil)

    The reason for the Microsoft Teams connection if it is not valid.



# File 'lib/knockapi/models/providers/ms_team_check_auth_response.rb', line 33

Instance Attribute Details

#okBoolean

Whether the Microsoft Teams connection is valid.

Returns:

  • (Boolean)


25
# File 'lib/knockapi/models/providers/ms_team_check_auth_response.rb', line 25

required :ok, Knockapi::Internal::Type::Boolean

#reasonString?

The reason for the Microsoft Teams connection if it is not valid.

Returns:

  • (String, nil)


31
# File 'lib/knockapi/models/providers/ms_team_check_auth_response.rb', line 31

optional :reason, String, nil?: true