CreateProjectDetails

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

Bases: object

The information needed to create a new project.

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.

display_name

Gets the display_name of this CreateProjectDetails.

freeform_tags

Gets the freeform_tags 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
  • display_name (str) – The value to assign to the display_name property of this CreateProjectDetails.

  • description (str) – The value to assign to the description 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.

property compartment_id

[Required] Gets the compartment_id of this CreateProjectDetails. The compartment identifier.

Returns

The compartment_id of this CreateProjectDetails.

Return type

str

property defined_tags

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

Returns

The defined_tags of this CreateProjectDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CreateProjectDetails. An optional description of the project.

Returns

The description of this CreateProjectDetails.

Return type

str

property display_name

Gets the display_name of this CreateProjectDetails. A human-friendly name for the project, that can be changed.

Returns

The display_name of this CreateProjectDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateProjectDetails. A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {“bar-key”: “value”}

Returns

The freeform_tags of this CreateProjectDetails.

Return type

dict(str, str)