ModelProperty

class oci.announcements_service.models.ModelProperty(**kwargs)

Bases: object

A generic property that might be associated with the affected resource.

Methods

__init__(**kwargs) Initializes a new ModelProperty object with values from keyword arguments.

Attributes

name [Required] Gets the name of this ModelProperty.
value [Required] Gets the value of this ModelProperty.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this ModelProperty.
  • value (str) – The value to assign to the value property of this ModelProperty.
name

[Required] Gets the name of this ModelProperty. The name of the property.

Returns:The name of this ModelProperty.
Return type:str
value

[Required] Gets the value of this ModelProperty. The value of the property.

Returns:The value of this ModelProperty.
Return type:str