SearchSoftwareSourcePackageGroupsDetails¶
-
class
oci.os_management_hub.models.
SearchSoftwareSourcePackageGroupsDetails
(**kwargs)¶ Bases:
object
Provides the software sources and search parameters to get a list of associated package groups.
Attributes
SORT_BY_NAME
A constant which can be used with the sort_by property of a SearchSoftwareSourcePackageGroupsDetails. SORT_ORDER_ASC
A constant which can be used with the sort_order property of a SearchSoftwareSourcePackageGroupsDetails. SORT_ORDER_DESC
A constant which can be used with the sort_order property of a SearchSoftwareSourcePackageGroupsDetails. group_type
Gets the group_type of this SearchSoftwareSourcePackageGroupsDetails. name_contains
Gets the name_contains of this SearchSoftwareSourcePackageGroupsDetails. software_source_ids
[Required] Gets the software_source_ids of this SearchSoftwareSourcePackageGroupsDetails. sort_by
Gets the sort_by of this SearchSoftwareSourcePackageGroupsDetails. sort_order
Gets the sort_order of this SearchSoftwareSourcePackageGroupsDetails. Methods
__init__
(**kwargs)Initializes a new SearchSoftwareSourcePackageGroupsDetails object with values from keyword arguments. -
SORT_BY_NAME
= 'NAME'¶ A constant which can be used with the sort_by property of a SearchSoftwareSourcePackageGroupsDetails. This constant has a value of “NAME”
-
SORT_ORDER_ASC
= 'ASC'¶ A constant which can be used with the sort_order property of a SearchSoftwareSourcePackageGroupsDetails. This constant has a value of “ASC”
-
SORT_ORDER_DESC
= 'DESC'¶ A constant which can be used with the sort_order property of a SearchSoftwareSourcePackageGroupsDetails. This constant has a value of “DESC”
-
__init__
(**kwargs)¶ Initializes a new SearchSoftwareSourcePackageGroupsDetails 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 SearchSoftwareSourcePackageGroupsDetails.
- sort_order (str) – The value to assign to the sort_order property of this SearchSoftwareSourcePackageGroupsDetails. Allowed values for this property are: “ASC”, “DESC”
- sort_by (str) – The value to assign to the sort_by property of this SearchSoftwareSourcePackageGroupsDetails. Allowed values for this property are: “NAME”
- name_contains (str) – The value to assign to the name_contains property of this SearchSoftwareSourcePackageGroupsDetails.
- group_type (str) – The value to assign to the group_type property of this SearchSoftwareSourcePackageGroupsDetails.
-
group_type
¶ Gets the group_type of this SearchSoftwareSourcePackageGroupsDetails. Indicates if this is a group, category or environment.
Returns: The group_type of this SearchSoftwareSourcePackageGroupsDetails. Return type: str
-
name_contains
¶ Gets the name_contains of this SearchSoftwareSourcePackageGroupsDetails. A filter that returns package groups with a name that contains the given string.
Returns: The name_contains of this SearchSoftwareSourcePackageGroupsDetails. Return type: str
-
software_source_ids
¶ [Required] Gets the software_source_ids of this SearchSoftwareSourcePackageGroupsDetails. List of software source OCIDs.
Returns: The software_source_ids of this SearchSoftwareSourcePackageGroupsDetails. Return type: list[str]
-
sort_by
¶ Gets the sort_by of this SearchSoftwareSourcePackageGroupsDetails. The field to sort by.
Allowed values for this property are: “NAME”
Returns: The sort_by of this SearchSoftwareSourcePackageGroupsDetails. Return type: str
-
sort_order
¶ Gets the sort_order of this SearchSoftwareSourcePackageGroupsDetails. The sort order.
Allowed values for this property are: “ASC”, “DESC”
Returns: The sort_order of this SearchSoftwareSourcePackageGroupsDetails. Return type: str
-