SearchSoftwareSourceModulesDetails¶
-
class
oci.os_management_hub.models.
SearchSoftwareSourceModulesDetails
(**kwargs)¶ Bases:
object
Provides the information used to search for a set of modules from a list software sources.
Attributes
SORT_BY_NAME
A constant which can be used with the sort_by property of a SearchSoftwareSourceModulesDetails. SORT_ORDER_ASC
A constant which can be used with the sort_order property of a SearchSoftwareSourceModulesDetails. SORT_ORDER_DESC
A constant which can be used with the sort_order property of a SearchSoftwareSourceModulesDetails. name
Gets the name of this SearchSoftwareSourceModulesDetails. name_contains
Gets the name_contains of this SearchSoftwareSourceModulesDetails. software_source_ids
[Required] Gets the software_source_ids of this SearchSoftwareSourceModulesDetails. sort_by
Gets the sort_by of this SearchSoftwareSourceModulesDetails. sort_order
Gets the sort_order of this SearchSoftwareSourceModulesDetails. Methods
__init__
(**kwargs)Initializes a new SearchSoftwareSourceModulesDetails object with values from keyword arguments. -
SORT_BY_NAME
= 'NAME'¶ A constant which can be used with the sort_by property of a SearchSoftwareSourceModulesDetails. This constant has a value of “NAME”
-
SORT_ORDER_ASC
= 'ASC'¶ A constant which can be used with the sort_order property of a SearchSoftwareSourceModulesDetails. This constant has a value of “ASC”
-
SORT_ORDER_DESC
= 'DESC'¶ A constant which can be used with the sort_order property of a SearchSoftwareSourceModulesDetails. This constant has a value of “DESC”
-
__init__
(**kwargs)¶ Initializes a new SearchSoftwareSourceModulesDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - software_source_ids (list[str]) – The value to assign to the software_source_ids property of this SearchSoftwareSourceModulesDetails.
- sort_order (str) – The value to assign to the sort_order property of this SearchSoftwareSourceModulesDetails. Allowed values for this property are: “ASC”, “DESC”
- name (str) – The value to assign to the name property of this SearchSoftwareSourceModulesDetails.
- name_contains (str) – The value to assign to the name_contains property of this SearchSoftwareSourceModulesDetails.
- sort_by (str) – The value to assign to the sort_by property of this SearchSoftwareSourceModulesDetails. Allowed values for this property are: “NAME”
-
name
¶ Gets the name of this SearchSoftwareSourceModulesDetails. The name of a module.
Returns: The name of this SearchSoftwareSourceModulesDetails. Return type: str
-
name_contains
¶ Gets the name_contains of this SearchSoftwareSourceModulesDetails. A filter to return modules with a name that contains the given string.
Returns: The name_contains of this SearchSoftwareSourceModulesDetails. Return type: str
-
software_source_ids
¶ [Required] Gets the software_source_ids of this SearchSoftwareSourceModulesDetails. List of sofware source OCIDs.
Returns: The software_source_ids of this SearchSoftwareSourceModulesDetails. Return type: list[str]
-
sort_by
¶ Gets the sort_by of this SearchSoftwareSourceModulesDetails. The field to sort by.
Allowed values for this property are: “NAME”
Returns: The sort_by of this SearchSoftwareSourceModulesDetails. Return type: str
-
sort_order
¶ Gets the sort_order of this SearchSoftwareSourceModulesDetails. The sort order.
Allowed values for this property are: “ASC”, “DESC”
Returns: The sort_order of this SearchSoftwareSourceModulesDetails. Return type: str
-