TextBasedEula¶
- class oci.marketplace.models.TextBasedEula(**kwargs)¶
Bases:
EulaAn end user license agreement that is provided as text.
Attributes:
A constant which can be used with the eula_type property of a Eula.
[Required] Gets the eula_type of this Eula.
Gets the license_text of this TextBasedEula.
Methods:
__init__(**kwargs)Initializes a new TextBasedEula object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- EULA_TYPE_TEXT = 'TEXT'¶
A constant which can be used with the eula_type property of a Eula. This constant has a value of “TEXT”
- __init__(**kwargs)¶
Initializes a new TextBasedEula object with values from keyword arguments. The default value of the
eula_typeattribute of this class isTEXTand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
eula_type (str) – The value to assign to the eula_type property of this TextBasedEula. Allowed values for this property are: “TEXT”
license_text (str) – The value to assign to the license_text property of this TextBasedEula.
- property eula_type¶
[Required] Gets the eula_type of this Eula. The end user license agreement’s type.
Allowed values for this property are: “TEXT”
- Returns
The eula_type of this Eula.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property license_text¶
Gets the license_text of this TextBasedEula. The text of the end user license agreement.
- Returns
The license_text of this TextBasedEula.
- Return type
str