Class PrincipalDetails
The principal details
Inherited Members
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 |