Class: HubSpotSDK::Models::Crm::PublicDatePoint
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- HubSpotSDK::Models::Crm::PublicDatePoint
- Defined in:
- lib/hubspot_sdk/models/crm/public_date_point.rb
Defined Under Namespace
Modules: TimeType
Instance Attribute Summary collapse
-
#day ⇒ Integer
The day component of the date.
-
#hour ⇒ Integer?
The hour component of the time.
-
#millisecond ⇒ Integer?
The millisecond component of the time.
-
#minute ⇒ Integer?
The minute component of the time.
-
#month ⇒ Integer
The month component of the date.
-
#second ⇒ Integer?
The second component of the time.
-
#time_type ⇒ Symbol, HubSpotSDK::Models::Crm::PublicDatePoint::TimeType
Specifies the type of time (DATE).
-
#timezone_source ⇒ String?
The source of the time zone information.
-
#year ⇒ Integer
The year component of the date.
-
#zone_id ⇒ String
The identifier for the time zone.
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(day:, month:, time_type:, year:, zone_id:, hour: nil, millisecond: nil, minute: nil, second: nil, timezone_source: nil) ⇒ Object
|
|
# File 'lib/hubspot_sdk/models/crm/public_date_point.rb', line 67
|
Instance Attribute Details
#day ⇒ Integer
The day component of the date.
11 |
# File 'lib/hubspot_sdk/models/crm/public_date_point.rb', line 11 required :day, Integer |
#hour ⇒ Integer?
The hour component of the time.
41 |
# File 'lib/hubspot_sdk/models/crm/public_date_point.rb', line 41 optional :hour, Integer |
#millisecond ⇒ Integer?
The millisecond component of the time.
47 |
# File 'lib/hubspot_sdk/models/crm/public_date_point.rb', line 47 optional :millisecond, Integer |
#minute ⇒ Integer?
The minute component of the time.
53 |
# File 'lib/hubspot_sdk/models/crm/public_date_point.rb', line 53 optional :minute, Integer |
#month ⇒ Integer
The month component of the date.
17 |
# File 'lib/hubspot_sdk/models/crm/public_date_point.rb', line 17 required :month, Integer |
#second ⇒ Integer?
The second component of the time.
59 |
# File 'lib/hubspot_sdk/models/crm/public_date_point.rb', line 59 optional :second, Integer |
#time_type ⇒ Symbol, HubSpotSDK::Models::Crm::PublicDatePoint::TimeType
Specifies the type of time (DATE).
23 |
# File 'lib/hubspot_sdk/models/crm/public_date_point.rb', line 23 required :time_type, enum: -> { HubSpotSDK::Crm::PublicDatePoint::TimeType }, api_name: :timeType |
#timezone_source ⇒ String?
The source of the time zone information.
65 |
# File 'lib/hubspot_sdk/models/crm/public_date_point.rb', line 65 optional :timezone_source, String, api_name: :timezoneSource |
#year ⇒ Integer
The year component of the date.
29 |
# File 'lib/hubspot_sdk/models/crm/public_date_point.rb', line 29 required :year, Integer |
#zone_id ⇒ String
The identifier for the time zone.
35 |
# File 'lib/hubspot_sdk/models/crm/public_date_point.rb', line 35 required :zone_id, String, api_name: :zoneId |