/** * Announcements Service API * Manage Oracle Cloud Infrastructure console announcements. * OpenAPI spec version: 0.0.1 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ /** * The model for the parameters of announcement email preferences configured for the tenancy (root compartment). */ export interface BaseCreateAnnouncementsPreferencesDetails { /** * A Boolean value to indicate whether the specified compartment chooses to not to receive informational announcements by email. * (Manage preferences for receiving announcements by email by specifying the {@code preferenceType} attribute instead.) * */ "isUnsubscribed"?: boolean; /** * The OCID of the compartment for which you want to manage announcement email preferences. (Specify the tenancy by providing the * root compartment OCID.) * */ "compartmentId"?: string; /** * The string representing the user's preference, whether to opt in to only required announcements, to opt in to all announcements, including informational announcements, or to opt out of all announcements. */ "preferenceType": BaseCreateAnnouncementsPreferencesDetails.PreferenceType; /** * The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles */ "preferredTimeZone"?: string; "type": string; } export declare namespace BaseCreateAnnouncementsPreferencesDetails { enum PreferenceType { OptInTenantAnnouncements = "OPT_IN_TENANT_ANNOUNCEMENTS", OptInTenantAndInformationalAnnouncements = "OPT_IN_TENANT_AND_INFORMATIONAL_ANNOUNCEMENTS", OptOutAllAnnouncements = "OPT_OUT_ALL_ANNOUNCEMENTS", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: BaseCreateAnnouncementsPreferencesDetails): object; function getDeserializedJsonObj(obj: BaseCreateAnnouncementsPreferencesDetails): object; }