UpdateServiceCatalogDetails

class oci.service_catalog.models.UpdateServiceCatalogDetails(**kwargs)

Bases: object

The model for the parameters needed to update a service catalog.

Attributes:

STATUS_ACTIVE

A constant which can be used with the status property of a UpdateServiceCatalogDetails.

STATUS_INACTIVE

A constant which can be used with the status property of a UpdateServiceCatalogDetails.

defined_tags

Gets the defined_tags of this UpdateServiceCatalogDetails.

display_name

[Required] Gets the display_name of this UpdateServiceCatalogDetails.

freeform_tags

Gets the freeform_tags of this UpdateServiceCatalogDetails.

status

[Required] Gets the status of this UpdateServiceCatalogDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateServiceCatalogDetails object with values from keyword arguments.

STATUS_ACTIVE = 'ACTIVE'

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

STATUS_INACTIVE = 'INACTIVE'

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

__init__(**kwargs)

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

Parameters
  • display_name (str) – The value to assign to the display_name property of this UpdateServiceCatalogDetails.

  • status (str) – The value to assign to the status property of this UpdateServiceCatalogDetails. Allowed values for this property are: “ACTIVE”, “INACTIVE”

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateServiceCatalogDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateServiceCatalogDetails.

property defined_tags

Gets the defined_tags of this UpdateServiceCatalogDetails. 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 UpdateServiceCatalogDetails.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this UpdateServiceCatalogDetails. A display name of the service catalog.

Returns

The display_name of this UpdateServiceCatalogDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateServiceCatalogDetails. 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 UpdateServiceCatalogDetails.

Return type

dict(str, str)

property status

[Required] Gets the status of this UpdateServiceCatalogDetails. The status of a service catalog.

Allowed values for this property are: “ACTIVE”, “INACTIVE”

Returns

The status of this UpdateServiceCatalogDetails.

Return type

str