SearchListingsDetails¶
-
class
oci.marketplace.models.
SearchListingsDetails
(**kwargs)¶ Bases:
object
A base request type that contains common criteria for Marketplace Search Listings details.
Attributes
MATCHING_CONTEXT_TYPE_HIGHLIGHTS
A constant which can be used with the matching_context_type property of a SearchListingsDetails. MATCHING_CONTEXT_TYPE_NONE
A constant which can be used with the matching_context_type property of a SearchListingsDetails. TYPE_FREE_TEXT
A constant which can be used with the type property of a SearchListingsDetails. TYPE_STRUCTURED
A constant which can be used with the type property of a SearchListingsDetails. matching_context_type
Gets the matching_context_type of this SearchListingsDetails. type
[Required] Gets the type of this SearchListingsDetails. Methods
__init__
(**kwargs)Initializes a new SearchListingsDetails 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. -
MATCHING_CONTEXT_TYPE_HIGHLIGHTS
= 'HIGHLIGHTS'¶ A constant which can be used with the matching_context_type property of a SearchListingsDetails. This constant has a value of “HIGHLIGHTS”
-
MATCHING_CONTEXT_TYPE_NONE
= 'NONE'¶ A constant which can be used with the matching_context_type property of a SearchListingsDetails. This constant has a value of “NONE”
-
TYPE_FREE_TEXT
= 'FreeText'¶ A constant which can be used with the type property of a SearchListingsDetails. This constant has a value of “FreeText”
-
TYPE_STRUCTURED
= 'Structured'¶ A constant which can be used with the type property of a SearchListingsDetails. This constant has a value of “Structured”
-
__init__
(**kwargs)¶ Initializes a new SearchListingsDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - type (str) – The value to assign to the type property of this SearchListingsDetails. Allowed values for this property are: “FreeText”, “Structured”
- matching_context_type (str) – The value to assign to the matching_context_type property of this SearchListingsDetails. Allowed values for this property are: “NONE”, “HIGHLIGHTS”
-
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.
-
matching_context_type
¶ Gets the matching_context_type of this SearchListingsDetails. The type of matching context returned in the response. If you specify HIGHLIGHTS, then the service will highlight fragments in its response. The default value is NONE.
Allowed values for this property are: “NONE”, “HIGHLIGHTS”
Returns: The matching_context_type of this SearchListingsDetails. Return type: str
-
type
¶ [Required] Gets the type of this SearchListingsDetails. The type of SearchDetails, whether FreeText or Structured.
Allowed values for this property are: “FreeText”, “Structured”
Returns: The type of this SearchListingsDetails. Return type: str
-