AnnouncementSummary

class oci.fleet_apps_management.models.AnnouncementSummary(**kwargs)

Bases: object

A summary of announcements for Fleet Application Management.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a AnnouncementSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a AnnouncementSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a AnnouncementSummary.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a AnnouncementSummary.
announcement_end [Required] Gets the announcement_end of this AnnouncementSummary.
announcement_start [Required] Gets the announcement_start of this AnnouncementSummary.
compartment_id [Required] Gets the compartment_id of this AnnouncementSummary.
defined_tags Gets the defined_tags of this AnnouncementSummary.
description Gets the description of this AnnouncementSummary.
details Gets the details of this AnnouncementSummary.
display_name Gets the display_name of this AnnouncementSummary.
freeform_tags Gets the freeform_tags of this AnnouncementSummary.
id [Required] Gets the id of this AnnouncementSummary.
lifecycle_state Gets the lifecycle_state of this AnnouncementSummary.
resource_region Gets the resource_region of this AnnouncementSummary.
summary [Required] Gets the summary of this AnnouncementSummary.
system_tags Gets the system_tags of this AnnouncementSummary.
time_created Gets the time_created of this AnnouncementSummary.
time_updated Gets the time_updated of this AnnouncementSummary.
type [Required] Gets the type of this AnnouncementSummary.
url Gets the url of this AnnouncementSummary.

Methods

__init__(**kwargs) Initializes a new AnnouncementSummary object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a AnnouncementSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a AnnouncementSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a AnnouncementSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a AnnouncementSummary. This constant has a value of “INACTIVE”

__init__(**kwargs)

Initializes a new AnnouncementSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this AnnouncementSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this AnnouncementSummary.
  • resource_region (str) – The value to assign to the resource_region property of this AnnouncementSummary.
  • display_name (str) – The value to assign to the display_name property of this AnnouncementSummary.
  • description (str) – The value to assign to the description property of this AnnouncementSummary.
  • time_created (datetime) – The value to assign to the time_created property of this AnnouncementSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this AnnouncementSummary.
  • type (str) – The value to assign to the type property of this AnnouncementSummary.
  • summary (str) – The value to assign to the summary property of this AnnouncementSummary.
  • details (str) – The value to assign to the details property of this AnnouncementSummary.
  • url (str) – The value to assign to the url property of this AnnouncementSummary.
  • announcement_start (datetime) – The value to assign to the announcement_start property of this AnnouncementSummary.
  • announcement_end (datetime) – The value to assign to the announcement_end property of this AnnouncementSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AnnouncementSummary. Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AnnouncementSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AnnouncementSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AnnouncementSummary.
announcement_end

[Required] Gets the announcement_end of this AnnouncementSummary. Announcement end date

Returns:The announcement_end of this AnnouncementSummary.
Return type:datetime
announcement_start

[Required] Gets the announcement_start of this AnnouncementSummary. Announcement start date.

Returns:The announcement_start of this AnnouncementSummary.
Return type:datetime
compartment_id

[Required] Gets the compartment_id of this AnnouncementSummary. Tenancy OCID

Returns:The compartment_id of this AnnouncementSummary.
Return type:str
defined_tags

Gets the defined_tags of this AnnouncementSummary. 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 AnnouncementSummary.
Return type:dict(str, dict(str, object))
description

Gets the description of this AnnouncementSummary. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.

Returns:The description of this AnnouncementSummary.
Return type:str
details

Gets the details of this AnnouncementSummary. Announcement Details.

Returns:The details of this AnnouncementSummary.
Return type:str
display_name

Gets the display_name of this AnnouncementSummary. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Example: My new resource

Returns:The display_name of this AnnouncementSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this AnnouncementSummary. 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 AnnouncementSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this AnnouncementSummary. The OCID of the resource.

Returns:The id of this AnnouncementSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this AnnouncementSummary. The lifecycle state of the announcement.

Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this AnnouncementSummary.
Return type:str
resource_region

Gets the resource_region of this AnnouncementSummary. Associated region

Returns:The resource_region of this AnnouncementSummary.
Return type:str
summary

[Required] Gets the summary of this AnnouncementSummary. Summary of the announcement.

Returns:The summary of this AnnouncementSummary.
Return type:str
system_tags

Gets the system_tags of this AnnouncementSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this AnnouncementSummary.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this AnnouncementSummary. The time this resource was created. An RFC3339 formatted datetime string.

Returns:The time_created of this AnnouncementSummary.
Return type:datetime
time_updated

Gets the time_updated of this AnnouncementSummary. The time this resource was last updated. An RFC3339 formatted datetime string.

Returns:The time_updated of this AnnouncementSummary.
Return type:datetime
type

[Required] Gets the type of this AnnouncementSummary. Type of announcement.

Returns:The type of this AnnouncementSummary.
Return type:str
url

Gets the url of this AnnouncementSummary. URL to the announcement.

Returns:The url of this AnnouncementSummary.
Return type:str