Class: Aws::SocialMessaging::Types::WhatsAppCallHours

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb

Overview

The operating hours during which a business phone number accepts WhatsApp calls, including the time zone, weekly schedule, and any holiday overrides.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Specifies whether call hours are enforced. When disabled, the business accepts calls at any time.

Returns:

  • (Boolean)


2470
2471
2472
2473
2474
2475
2476
2477
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2470

class WhatsAppCallHours < Struct.new(
  :enabled,
  :timezone,
  :weekly_operating_hours,
  :holiday_schedule)
  SENSITIVE = []
  include Aws::Structure
end

#holiday_scheduleArray<Types::WhatsAppHolidayScheduleEntry>

Date-specific overrides to the weekly operating hours, such as holidays.



2470
2471
2472
2473
2474
2475
2476
2477
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2470

class WhatsAppCallHours < Struct.new(
  :enabled,
  :timezone,
  :weekly_operating_hours,
  :holiday_schedule)
  SENSITIVE = []
  include Aws::Structure
end

#timezoneString

The IANA time zone in which the operating hours are interpreted, such as America/New_York.

Returns:

  • (String)


2470
2471
2472
2473
2474
2475
2476
2477
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2470

class WhatsAppCallHours < Struct.new(
  :enabled,
  :timezone,
  :weekly_operating_hours,
  :holiday_schedule)
  SENSITIVE = []
  include Aws::Structure
end

#weekly_operating_hoursArray<Types::WhatsAppWeeklyOperatingHoursEntry>

The weekly schedule of hours during which the business accepts calls.



2470
2471
2472
2473
2474
2475
2476
2477
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 2470

class WhatsAppCallHours < Struct.new(
  :enabled,
  :timezone,
  :weekly_operating_hours,
  :holiday_schedule)
  SENSITIVE = []
  include Aws::Structure
end