Class: HubSpotSDK::Models::Account::PortalInformationResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/account/portal_information_response.rb

Overview

Defined Under Namespace

Modules: AccountType

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(account_type:, additional_currencies:, company_currency:, data_hosting_location:, portal_id:, time_zone:, ui_domain:, utc_offset:, utc_offset_milliseconds:) ⇒ Object

Some parameter documentations has been truncated, see HubSpotSDK::Models::Account::PortalInformationResponse for more details.

Parameters:

  • account_type (Symbol, HubSpotSDK::Models::Account::PortalInformationResponse::AccountType)

    The type of account, such as APP_DEVELOPER, DEVELOPER_TEST, SANDBOX, or STANDARD

  • additional_currencies (Array<String>)
  • company_currency (String)

    The primary currency used by the company.

  • data_hosting_location (String)

    The location where the account’s data is hosted.

  • portal_id (Integer)

    The unique identifier for the HubSpot account.

  • time_zone (String)

    The time zone in which the account operates.

  • ui_domain (String)

    The domain used for accessing the HubSpot user interface.

  • utc_offset (String)

    The time zone offset from UTC in hours and minutes.

  • utc_offset_milliseconds (Integer)

    The time zone offset from UTC in milliseconds.



# File 'lib/hubspot_sdk/models/account/portal_information_response.rb', line 66

Instance Attribute Details

#account_typeSymbol, HubSpotSDK::Models::Account::PortalInformationResponse::AccountType

The type of account, such as APP_DEVELOPER, DEVELOPER_TEST, SANDBOX, or STANDARD.



13
14
15
# File 'lib/hubspot_sdk/models/account/portal_information_response.rb', line 13

required :account_type,
enum: -> { HubSpotSDK::Account::PortalInformationResponse::AccountType },
api_name: :accountType

#additional_currenciesArray<String>

Returns:

  • (Array<String>)


20
21
22
# File 'lib/hubspot_sdk/models/account/portal_information_response.rb', line 20

required :additional_currencies,
HubSpotSDK::Internal::Type::ArrayOf[String],
api_name: :additionalCurrencies

#company_currencyString

The primary currency used by the company.

Returns:

  • (String)


28
# File 'lib/hubspot_sdk/models/account/portal_information_response.rb', line 28

required :company_currency, String, api_name: :companyCurrency

#data_hosting_locationString

The location where the account’s data is hosted.

Returns:

  • (String)


34
# File 'lib/hubspot_sdk/models/account/portal_information_response.rb', line 34

required :data_hosting_location, String, api_name: :dataHostingLocation

#portal_idInteger

The unique identifier for the HubSpot account.

Returns:

  • (Integer)


40
# File 'lib/hubspot_sdk/models/account/portal_information_response.rb', line 40

required :portal_id, Integer, api_name: :portalId

#time_zoneString

The time zone in which the account operates.

Returns:

  • (String)


46
# File 'lib/hubspot_sdk/models/account/portal_information_response.rb', line 46

required :time_zone, String, api_name: :timeZone

#ui_domainString

The domain used for accessing the HubSpot user interface.

Returns:

  • (String)


52
# File 'lib/hubspot_sdk/models/account/portal_information_response.rb', line 52

required :ui_domain, String, api_name: :uiDomain

#utc_offsetString

The time zone offset from UTC in hours and minutes.

Returns:

  • (String)


58
# File 'lib/hubspot_sdk/models/account/portal_information_response.rb', line 58

required :utc_offset, String, api_name: :utcOffset

#utc_offset_millisecondsInteger

The time zone offset from UTC in milliseconds.

Returns:

  • (Integer)


64
# File 'lib/hubspot_sdk/models/account/portal_information_response.rb', line 64

required :utc_offset_milliseconds, Integer, api_name: :utcOffsetMilliseconds