SearchSoftwareSourceModuleStreamsDetails

class oci.os_management_hub.models.SearchSoftwareSourceModuleStreamsDetails(**kwargs)

Bases: object

Provides the information used to search for a set of module streams from a list software sources.

Attributes:

SORT_BY_MODULENAME

A constant which can be used with the sort_by property of a SearchSoftwareSourceModuleStreamsDetails.

SORT_ORDER_ASC

A constant which can be used with the sort_order property of a SearchSoftwareSourceModuleStreamsDetails.

SORT_ORDER_DESC

A constant which can be used with the sort_order property of a SearchSoftwareSourceModuleStreamsDetails.

module_name

Gets the module_name of this SearchSoftwareSourceModuleStreamsDetails.

software_source_ids

[Required] Gets the software_source_ids of this SearchSoftwareSourceModuleStreamsDetails.

sort_by

Gets the sort_by of this SearchSoftwareSourceModuleStreamsDetails.

sort_order

Gets the sort_order of this SearchSoftwareSourceModuleStreamsDetails.

Methods:

__init__(**kwargs)

Initializes a new SearchSoftwareSourceModuleStreamsDetails object with values from keyword arguments.

SORT_BY_MODULENAME = 'MODULENAME'

A constant which can be used with the sort_by property of a SearchSoftwareSourceModuleStreamsDetails. This constant has a value of “MODULENAME”

SORT_ORDER_ASC = 'ASC'

A constant which can be used with the sort_order property of a SearchSoftwareSourceModuleStreamsDetails. This constant has a value of “ASC”

SORT_ORDER_DESC = 'DESC'

A constant which can be used with the sort_order property of a SearchSoftwareSourceModuleStreamsDetails. This constant has a value of “DESC”

__init__(**kwargs)

Initializes a new SearchSoftwareSourceModuleStreamsDetails 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 SearchSoftwareSourceModuleStreamsDetails.

  • sort_order (str) – The value to assign to the sort_order property of this SearchSoftwareSourceModuleStreamsDetails. Allowed values for this property are: “ASC”, “DESC”

  • module_name (str) – The value to assign to the module_name property of this SearchSoftwareSourceModuleStreamsDetails.

  • sort_by (str) – The value to assign to the sort_by property of this SearchSoftwareSourceModuleStreamsDetails. Allowed values for this property are: “MODULENAME”

property module_name

Gets the module_name of this SearchSoftwareSourceModuleStreamsDetails. The name of a module.

Returns

The module_name of this SearchSoftwareSourceModuleStreamsDetails.

Return type

str

property software_source_ids

[Required] Gets the software_source_ids of this SearchSoftwareSourceModuleStreamsDetails. List of software source OCIDs.

Returns

The software_source_ids of this SearchSoftwareSourceModuleStreamsDetails.

Return type

list[str]

property sort_by

Gets the sort_by of this SearchSoftwareSourceModuleStreamsDetails. The field to sort by.

Allowed values for this property are: “MODULENAME”

Returns

The sort_by of this SearchSoftwareSourceModuleStreamsDetails.

Return type

str

property sort_order

Gets the sort_order of this SearchSoftwareSourceModuleStreamsDetails. The sort order.

Allowed values for this property are: “ASC”, “DESC”

Returns

The sort_order of this SearchSoftwareSourceModuleStreamsDetails.

Return type

str