CreateProjectDetails

class oci.devops.models.CreateProjectDetails(**kwargs)

Bases: object

The information about new project to be created.

Methods

__init__(**kwargs) Initializes a new CreateProjectDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateProjectDetails.
defined_tags Gets the defined_tags of this CreateProjectDetails.
description Gets the description of this CreateProjectDetails.
freeform_tags Gets the freeform_tags of this CreateProjectDetails.
name [Required] Gets the name of this CreateProjectDetails.
notification_config [Required] Gets the notification_config of this CreateProjectDetails.
__init__(**kwargs)

Initializes a new CreateProjectDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this CreateProjectDetails.
  • description (str) – The value to assign to the description property of this CreateProjectDetails.
  • notification_config (oci.devops.models.NotificationConfig) – The value to assign to the notification_config property of this CreateProjectDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateProjectDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateProjectDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateProjectDetails.
compartment_id

[Required] Gets the compartment_id of this CreateProjectDetails. The OCID of the compartment where the project is created.

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

Gets the defined_tags of this CreateProjectDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“foo-namespace”: {“bar-key”: “value”}}

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

Gets the description of this CreateProjectDetails. Project description.

Returns:The description of this CreateProjectDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateProjectDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateProjectDetails.
Return type:dict(str, str)
name

[Required] Gets the name of this CreateProjectDetails. Project name (case-sensitive).

Returns:The name of this CreateProjectDetails.
Return type:str
notification_config

[Required] Gets the notification_config of this CreateProjectDetails.

Returns:The notification_config of this CreateProjectDetails.
Return type:oci.devops.models.NotificationConfig