ModelProperty¶
- class oci.announcements_service.models.ModelProperty(**kwargs)¶
Bases:
objectA generic property that might be associated with the affected resource.
Methods:
__init__(**kwargs)Initializes a new ModelProperty object with values from keyword arguments.
Attributes:
[Required] Gets the name of this ModelProperty.
[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.
- property name¶
[Required] Gets the name of this ModelProperty. The name of the property.
- Returns
The name of this ModelProperty.
- Return type
str
- property value¶
[Required] Gets the value of this ModelProperty. The value of the property.
- Returns
The value of this ModelProperty.
- Return type
str