Show / Hide Table of Contents

Class PrincipalDetails

The principal details

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

Properties

PrincipalId

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

the OCID of the principal

Remarks

Required

PrincipalName

Declaration
[JsonProperty(PropertyName = "principalName")]
public string PrincipalName { get; set; }
Property Value
Type Description
string

the name of the principal

PrincipalState

Declaration
[JsonProperty(PropertyName = "principalState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PrincipalDetails.PrincipalStateEnum? PrincipalState { get; set; }
Property Value
Type Description
PrincipalDetails.PrincipalStateEnum?

The state of the principal, it can be active or inactive or suppressed for emails

PrincipalType

Declaration
[JsonProperty(PropertyName = "principalType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PrincipalDetails.PrincipalTypeEnum? PrincipalType { get; set; }
Property Value
Type Description
PrincipalDetails.PrincipalTypeEnum?

the type of principal

In this article
Back to top