UpdateSoftwareSourceDetails

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

Bases: object

Provides the information used to update a software source.

Attributes

SOFTWARE_SOURCE_TYPE_CUSTOM A constant which can be used with the software_source_type property of a UpdateSoftwareSourceDetails.
SOFTWARE_SOURCE_TYPE_VENDOR A constant which can be used with the software_source_type property of a UpdateSoftwareSourceDetails.
SOFTWARE_SOURCE_TYPE_VERSIONED A constant which can be used with the software_source_type property of a UpdateSoftwareSourceDetails.
compartment_id Gets the compartment_id of this UpdateSoftwareSourceDetails.
defined_tags Gets the defined_tags of this UpdateSoftwareSourceDetails.
description Gets the description of this UpdateSoftwareSourceDetails.
display_name Gets the display_name of this UpdateSoftwareSourceDetails.
freeform_tags Gets the freeform_tags of this UpdateSoftwareSourceDetails.
software_source_type Gets the software_source_type of this UpdateSoftwareSourceDetails.

Methods

__init__(**kwargs) Initializes a new UpdateSoftwareSourceDetails 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.
SOFTWARE_SOURCE_TYPE_CUSTOM = 'CUSTOM'

A constant which can be used with the software_source_type property of a UpdateSoftwareSourceDetails. This constant has a value of “CUSTOM”

SOFTWARE_SOURCE_TYPE_VENDOR = 'VENDOR'

A constant which can be used with the software_source_type property of a UpdateSoftwareSourceDetails. This constant has a value of “VENDOR”

SOFTWARE_SOURCE_TYPE_VERSIONED = 'VERSIONED'

A constant which can be used with the software_source_type property of a UpdateSoftwareSourceDetails. This constant has a value of “VERSIONED”

__init__(**kwargs)

Initializes a new UpdateSoftwareSourceDetails 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:
  • compartment_id (str) – The value to assign to the compartment_id property of this UpdateSoftwareSourceDetails.
  • display_name (str) – The value to assign to the display_name property of this UpdateSoftwareSourceDetails.
  • description (str) – The value to assign to the description property of this UpdateSoftwareSourceDetails.
  • software_source_type (str) – The value to assign to the software_source_type property of this UpdateSoftwareSourceDetails. Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateSoftwareSourceDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateSoftwareSourceDetails.
compartment_id

Gets the compartment_id of this UpdateSoftwareSourceDetails. The OCID of the compartment that contains the software source.

Returns:The compartment_id of this UpdateSoftwareSourceDetails.
Return type:str
defined_tags

Gets the defined_tags of this UpdateSoftwareSourceDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this UpdateSoftwareSourceDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateSoftwareSourceDetails. User-specified description of the software source.

Returns:The description of this UpdateSoftwareSourceDetails.
Return type:str
display_name

Gets the display_name of this UpdateSoftwareSourceDetails. User-friendly name for the software source.

Returns:The display_name of this UpdateSoftwareSourceDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateSoftwareSourceDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this UpdateSoftwareSourceDetails.
Return type:dict(str, str)
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.

software_source_type

Gets the software_source_type of this UpdateSoftwareSourceDetails. Type of the software source.

Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”

Returns:The software_source_type of this UpdateSoftwareSourceDetails.
Return type:str