TextBasedEula

class oci.marketplace.models.TextBasedEula(**kwargs)

Bases: oci.marketplace.models.eula.Eula

An EULA that is provided as text

Attributes

EULA_TYPE_TEXT str(object=’’) -> str
eula_type [Required] Gets the eula_type of this Eula.
license_text 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'
__init__(**kwargs)

Initializes a new TextBasedEula object with values from keyword arguments. The default value of the eula_type attribute of this class is TEXT and 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.
eula_type

[Required] Gets the eula_type of this Eula. the specified eula’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.

license_text

Gets the license_text of this TextBasedEula. text of the eula

Returns:The license_text of this TextBasedEula.
Return type:str