SearchSoftwareSourceModulesDetails¶
- class oci.os_management_hub.models.SearchSoftwareSourceModulesDetails(**kwargs)¶
Bases:
objectProvides the information used to search for a set of modules from a list software sources.
Attributes:
A constant which can be used with the sort_by property of a SearchSoftwareSourceModulesDetails.
A constant which can be used with the sort_order property of a SearchSoftwareSourceModulesDetails.
A constant which can be used with the sort_order property of a SearchSoftwareSourceModulesDetails.
Gets the name of this SearchSoftwareSourceModulesDetails.
Gets the name_contains of this SearchSoftwareSourceModulesDetails.
[Required] Gets the software_source_ids of this SearchSoftwareSourceModulesDetails.
Gets the sort_by of this SearchSoftwareSourceModulesDetails.
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”
- property name¶
Gets the name of this SearchSoftwareSourceModulesDetails. The name of a module.
- Returns
The name of this SearchSoftwareSourceModulesDetails.
- Return type
str
- property 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
- property 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]
- property 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
- property 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