Class: Sentdm::Models::MeRetrieveResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/me_retrieve_response.rb

Overview

See Also:

Defined Under Namespace

Classes: Profile

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Sentdm::Internal::Type::BaseModel

Instance Attribute Details

#created_atTime?

When the account was created

Returns:

  • (Time, nil)


54
# File 'lib/sentdm/models/me_retrieve_response.rb', line 54

optional :created_at, Time

#descriptionString?

Account description

Returns:

  • (String, nil)


60
# File 'lib/sentdm/models/me_retrieve_response.rb', line 60

optional :description, String, nil?: true

#iconString?

Account icon URL

Returns:

  • (String, nil)


66
# File 'lib/sentdm/models/me_retrieve_response.rb', line 66

optional :icon, String, nil?: true

#idString?

Customer ID (organization or profile)

Returns:

  • (String, nil)


48
# File 'lib/sentdm/models/me_retrieve_response.rb', line 48

optional :id, String

#nameString?

Account name

Returns:

  • (String, nil)


72
# File 'lib/sentdm/models/me_retrieve_response.rb', line 72

optional :name, String

#profilesArray<Sentdm::Models::MeRetrieveResponse::Data::Profile>?

List of profiles (only for organization type)



78
79
80
# File 'lib/sentdm/models/me_retrieve_response.rb', line 78

optional :profiles,
-> { Sentdm::Internal::Type::ArrayOf[Sentdm::Models::MeRetrieveResponse::Data::Profile] },
nil?: true

#settingsSentdm::Models::ProfileSettings?

Profile settings (only for profile type)



86
# File 'lib/sentdm/models/me_retrieve_response.rb', line 86

optional :settings, -> { Sentdm::ProfileSettings }, nil?: true

#statusString?

Profile status (only for profile type): incomplete, pending_review, approved, etc.

Returns:

  • (String, nil)


93
# File 'lib/sentdm/models/me_retrieve_response.rb', line 93

optional :status, String, nil?: true