UpdateNewsReportDetails¶
-
class
oci.opsi.models.UpdateNewsReportDetails(**kwargs)¶ Bases:
objectThe information about the news report to be updated.
Attributes
DAY_OF_WEEK_FRIDAYA constant which can be used with the day_of_week property of a UpdateNewsReportDetails. DAY_OF_WEEK_MONDAYA constant which can be used with the day_of_week property of a UpdateNewsReportDetails. DAY_OF_WEEK_SATURDAYA constant which can be used with the day_of_week property of a UpdateNewsReportDetails. DAY_OF_WEEK_SUNDAYA constant which can be used with the day_of_week property of a UpdateNewsReportDetails. DAY_OF_WEEK_THURSDAYA constant which can be used with the day_of_week property of a UpdateNewsReportDetails. DAY_OF_WEEK_TUESDAYA constant which can be used with the day_of_week property of a UpdateNewsReportDetails. DAY_OF_WEEK_WEDNESDAYA constant which can be used with the day_of_week property of a UpdateNewsReportDetails. LOCALE_ENA constant which can be used with the locale property of a UpdateNewsReportDetails. MATCH_RULE_MATCH_ALLA constant which can be used with the match_rule property of a UpdateNewsReportDetails. MATCH_RULE_MATCH_ANYA constant which can be used with the match_rule property of a UpdateNewsReportDetails. MATCH_RULE_MATCH_NONEA constant which can be used with the match_rule property of a UpdateNewsReportDetails. NEWS_FREQUENCY_DAILYA constant which can be used with the news_frequency property of a UpdateNewsReportDetails. NEWS_FREQUENCY_HOURLYA constant which can be used with the news_frequency property of a UpdateNewsReportDetails. NEWS_FREQUENCY_WEEKLYA constant which can be used with the news_frequency property of a UpdateNewsReportDetails. STATUS_DISABLEDA constant which can be used with the status property of a UpdateNewsReportDetails. STATUS_ENABLEDA constant which can be used with the status property of a UpdateNewsReportDetails. STATUS_TERMINATEDA constant which can be used with the status property of a UpdateNewsReportDetails. are_child_compartments_includedGets the are_child_compartments_included of this UpdateNewsReportDetails. content_typesGets the content_types of this UpdateNewsReportDetails. day_of_weekGets the day_of_week of this UpdateNewsReportDetails. defined_tagsGets the defined_tags of this UpdateNewsReportDetails. descriptionGets the description of this UpdateNewsReportDetails. freeform_tagsGets the freeform_tags of this UpdateNewsReportDetails. localeGets the locale of this UpdateNewsReportDetails. match_ruleGets the match_rule of this UpdateNewsReportDetails. nameGets the name of this UpdateNewsReportDetails. news_frequencyGets the news_frequency of this UpdateNewsReportDetails. ons_topic_idGets the ons_topic_id of this UpdateNewsReportDetails. statusGets the status of this UpdateNewsReportDetails. tag_filtersGets the tag_filters of this UpdateNewsReportDetails. Methods
__init__(**kwargs)Initializes a new UpdateNewsReportDetails object with values from keyword arguments. -
DAY_OF_WEEK_FRIDAY= 'FRIDAY'¶ A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “FRIDAY”
-
DAY_OF_WEEK_MONDAY= 'MONDAY'¶ A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “MONDAY”
-
DAY_OF_WEEK_SATURDAY= 'SATURDAY'¶ A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “SATURDAY”
-
DAY_OF_WEEK_SUNDAY= 'SUNDAY'¶ A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “SUNDAY”
-
DAY_OF_WEEK_THURSDAY= 'THURSDAY'¶ A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “THURSDAY”
-
DAY_OF_WEEK_TUESDAY= 'TUESDAY'¶ A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “TUESDAY”
-
DAY_OF_WEEK_WEDNESDAY= 'WEDNESDAY'¶ A constant which can be used with the day_of_week property of a UpdateNewsReportDetails. This constant has a value of “WEDNESDAY”
-
LOCALE_EN= 'EN'¶ A constant which can be used with the locale property of a UpdateNewsReportDetails. This constant has a value of “EN”
-
MATCH_RULE_MATCH_ALL= 'MATCH_ALL'¶ A constant which can be used with the match_rule property of a UpdateNewsReportDetails. This constant has a value of “MATCH_ALL”
-
MATCH_RULE_MATCH_ANY= 'MATCH_ANY'¶ A constant which can be used with the match_rule property of a UpdateNewsReportDetails. This constant has a value of “MATCH_ANY”
-
MATCH_RULE_MATCH_NONE= 'MATCH_NONE'¶ A constant which can be used with the match_rule property of a UpdateNewsReportDetails. This constant has a value of “MATCH_NONE”
-
NEWS_FREQUENCY_DAILY= 'DAILY'¶ A constant which can be used with the news_frequency property of a UpdateNewsReportDetails. This constant has a value of “DAILY”
-
NEWS_FREQUENCY_HOURLY= 'HOURLY'¶ A constant which can be used with the news_frequency property of a UpdateNewsReportDetails. This constant has a value of “HOURLY”
-
NEWS_FREQUENCY_WEEKLY= 'WEEKLY'¶ A constant which can be used with the news_frequency property of a UpdateNewsReportDetails. This constant has a value of “WEEKLY”
-
STATUS_DISABLED= 'DISABLED'¶ A constant which can be used with the status property of a UpdateNewsReportDetails. This constant has a value of “DISABLED”
-
STATUS_ENABLED= 'ENABLED'¶ A constant which can be used with the status property of a UpdateNewsReportDetails. This constant has a value of “ENABLED”
-
STATUS_TERMINATED= 'TERMINATED'¶ A constant which can be used with the status property of a UpdateNewsReportDetails. This constant has a value of “TERMINATED”
-
__init__(**kwargs)¶ Initializes a new UpdateNewsReportDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - status (str) – The value to assign to the status property of this UpdateNewsReportDetails. Allowed values for this property are: “DISABLED”, “ENABLED”, “TERMINATED”
- news_frequency (str) – The value to assign to the news_frequency property of this UpdateNewsReportDetails. Allowed values for this property are: “WEEKLY”, “DAILY”, “HOURLY”
- locale (str) – The value to assign to the locale property of this UpdateNewsReportDetails. Allowed values for this property are: “EN”
- content_types (oci.opsi.models.NewsContentTypes) – The value to assign to the content_types property of this UpdateNewsReportDetails.
- ons_topic_id (str) – The value to assign to the ons_topic_id property of this UpdateNewsReportDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateNewsReportDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateNewsReportDetails.
- name (str) – The value to assign to the name property of this UpdateNewsReportDetails.
- description (str) – The value to assign to the description property of this UpdateNewsReportDetails.
- day_of_week (str) – The value to assign to the day_of_week property of this UpdateNewsReportDetails. Allowed values for this property are: “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, “SUNDAY”
- are_child_compartments_included (bool) – The value to assign to the are_child_compartments_included property of this UpdateNewsReportDetails.
- tag_filters (list[str]) – The value to assign to the tag_filters property of this UpdateNewsReportDetails.
- match_rule (str) – The value to assign to the match_rule property of this UpdateNewsReportDetails. Allowed values for this property are: “MATCH_ANY”, “MATCH_ALL”, “MATCH_NONE”
-
are_child_compartments_included¶ Gets the are_child_compartments_included of this UpdateNewsReportDetails. A flag to consider the resources within a given compartment and all sub-compartments.
Returns: The are_child_compartments_included of this UpdateNewsReportDetails. Return type: bool
-
content_types¶ Gets the content_types of this UpdateNewsReportDetails.
Returns: The content_types of this UpdateNewsReportDetails. Return type: oci.opsi.models.NewsContentTypes
-
day_of_week¶ Gets the day_of_week of this UpdateNewsReportDetails. Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
Allowed values for this property are: “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, “SUNDAY”
Returns: The day_of_week of this UpdateNewsReportDetails. Return type: str
Gets the defined_tags of this UpdateNewsReportDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this UpdateNewsReportDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this UpdateNewsReportDetails. The description of the news report.
Returns: The description of this UpdateNewsReportDetails. Return type: str
Gets the freeform_tags of this UpdateNewsReportDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this UpdateNewsReportDetails. Return type: dict(str, str)
-
locale¶ Gets the locale of this UpdateNewsReportDetails. Language of the news report.
Allowed values for this property are: “EN”
Returns: The locale of this UpdateNewsReportDetails. Return type: str
-
match_rule¶ Gets the match_rule of this UpdateNewsReportDetails. Match rule used for tag filters.
Allowed values for this property are: “MATCH_ANY”, “MATCH_ALL”, “MATCH_NONE”
Returns: The match_rule of this UpdateNewsReportDetails. Return type: str
-
name¶ Gets the name of this UpdateNewsReportDetails. The news report name.
Returns: The name of this UpdateNewsReportDetails. Return type: str
-
news_frequency¶ Gets the news_frequency of this UpdateNewsReportDetails. News report frequency.
Allowed values for this property are: “WEEKLY”, “DAILY”, “HOURLY”
Returns: The news_frequency of this UpdateNewsReportDetails. Return type: str
-
ons_topic_id¶ Gets the ons_topic_id of this UpdateNewsReportDetails. The OCID of the ONS topic.
Returns: The ons_topic_id of this UpdateNewsReportDetails. Return type: str
-
status¶ Gets the status of this UpdateNewsReportDetails. Defines if the news report will be enabled or disabled.
Allowed values for this property are: “DISABLED”, “ENABLED”, “TERMINATED”
Returns: The status of this UpdateNewsReportDetails. Return type: str
-
tag_filters¶ Gets the tag_filters of this UpdateNewsReportDetails. List of tag filters; each filter composed by a namespace, key, and value. Example for defined tags - ‘<TagNamespace>.<TagKey>=<TagValue>’ Example for freeform tags - ‘<TagKey>=<TagValue>’
Returns: The tag_filters of this UpdateNewsReportDetails. Return type: list[str]
-