GenericRestCallAttribute¶
- class oci.data_integration.models.GenericRestCallAttribute(**kwargs)¶
Bases:
AbstractCallAttributeProperties to configure reading from a REST data asset / connection.
Attributes:
A constant which can be used with the model_type property of a AbstractCallAttribute.
A constant which can be used with the model_type property of a AbstractCallAttribute.
Gets the fetch_size of this AbstractCallAttribute.
[Required] Gets the model_type of this AbstractCallAttribute.
Methods:
__init__(**kwargs)Initializes a new GenericRestCallAttribute 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.
- MODEL_TYPE_BIP_CALL_ATTRIBUTE = 'BIP_CALL_ATTRIBUTE'¶
A constant which can be used with the model_type property of a AbstractCallAttribute. This constant has a value of “BIP_CALL_ATTRIBUTE”
- MODEL_TYPE_GENERIC_REST_CALL_ATTRIBUTE = 'GENERIC_REST_CALL_ATTRIBUTE'¶
A constant which can be used with the model_type property of a AbstractCallAttribute. This constant has a value of “GENERIC_REST_CALL_ATTRIBUTE”
- __init__(**kwargs)¶
Initializes a new GenericRestCallAttribute object with values from keyword arguments. The default value of the
model_typeattribute of this class isGENERIC_REST_CALL_ATTRIBUTEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
model_type (str) – The value to assign to the model_type property of this GenericRestCallAttribute. Allowed values for this property are: “BIP_CALL_ATTRIBUTE”, “GENERIC_REST_CALL_ATTRIBUTE”
fetch_size (int) – The value to assign to the fetch_size property of this GenericRestCallAttribute.
- property fetch_size¶
Gets the fetch_size of this AbstractCallAttribute. The fetch size for reading.
- Returns
The fetch_size of this AbstractCallAttribute.
- Return type
int
- 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 model_type¶
[Required] Gets the model_type of this AbstractCallAttribute. The type of the abstract call attribute.
Allowed values for this property are: “BIP_CALL_ATTRIBUTE”, “GENERIC_REST_CALL_ATTRIBUTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The model_type of this AbstractCallAttribute.
- Return type
str