PreBuiltFunctionSourceDetails

class oci.functions.models.PreBuiltFunctionSourceDetails(**kwargs)

Bases: oci.functions.models.function_source_details.FunctionSourceDetails

The source of the Function which is based on a Pre-Built Function Listing (PbfListing).

Attributes

SOURCE_TYPE_PRE_BUILT_FUNCTIONS str(object=’’) -> str
pbf_listing_id [Required] Gets the pbf_listing_id of this PreBuiltFunctionSourceDetails.
source_type [Required] Gets the source_type of this FunctionSourceDetails.

Methods

__init__(**kwargs) Initializes a new PreBuiltFunctionSourceDetails 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.
SOURCE_TYPE_PRE_BUILT_FUNCTIONS = 'PRE_BUILT_FUNCTIONS'
__init__(**kwargs)

Initializes a new PreBuiltFunctionSourceDetails object with values from keyword arguments. The default value of the source_type attribute of this class is PRE_BUILT_FUNCTIONS and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • source_type (str) – The value to assign to the source_type property of this PreBuiltFunctionSourceDetails. Allowed values for this property are: “PRE_BUILT_FUNCTIONS”
  • pbf_listing_id (str) – The value to assign to the pbf_listing_id property of this PreBuiltFunctionSourceDetails.
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.

pbf_listing_id

[Required] Gets the pbf_listing_id of this PreBuiltFunctionSourceDetails. The OCID of the PbfListing this function is sourced from.

Returns:The pbf_listing_id of this PreBuiltFunctionSourceDetails.
Return type:str
source_type

[Required] Gets the source_type of this FunctionSourceDetails. Type of the Function Source. Possible values: PBF.

Allowed values for this property are: “PRE_BUILT_FUNCTIONS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The source_type of this FunctionSourceDetails.
Return type:str