Show / Hide Table of Contents

Class Compartment

Inheritance
object
Compartment
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.IdentitydataplaneService.Models
Assembly: OCI.DotNetSDK.Identitydataplane.dll
Syntax
public class Compartment

Properties

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The display name of the compartment.

Remarks

Required

FullName

Declaration
[Required(ErrorMessage = "FullName is required.")]
[JsonProperty(PropertyName = "fullName")]
public string FullName { get; set; }
Property Value
Type Description
string

The full name of the compartment.

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The id of the compartment.

Remarks

Required

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

The name of the compartment.

Remarks

Required

ParentCompartmentId

Declaration
[Required(ErrorMessage = "ParentCompartmentId is required.")]
[JsonProperty(PropertyName = "parentCompartmentId")]
public string ParentCompartmentId { get; set; }
Property Value
Type Description
string

The id of the parent compartment.

Remarks

Required

PropertyMap

Declaration
[Required(ErrorMessage = "PropertyMap is required.")]
[JsonProperty(PropertyName = "propertyMap")]
public Dictionary<string, string> PropertyMap { get; set; }
Property Value
Type Description
Dictionary<string, string>

The extended properties.

Remarks

Required

Status

Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
public EntityStatus Status { get; set; }
Property Value
Type Description
EntityStatus

The status of the compartment.

Remarks

Required

In this article
Back to top