Struct DeploymentStatus
A struct that represents the deployment status description of an item, relative to its 'live' counterpart, and the latest deployment. This should NOT be used to represent the validity of the item itself, or other internal validations, use AssetState for that purpose.
Inherited Members
Namespace: Unity.Services.DeploymentApi.Editor
Assembly: Unity.Services.DeploymentApi.dll
Syntax
[Serializable]
public struct DeploymentStatus
Constructors
DeploymentStatus(string, string, SeverityLevel)
Creates a DeploymentStatus struct
Declaration
public DeploymentStatus(string message = null, string messageDetail = null, SeverityLevel messageSeverity = SeverityLevel.None)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The DeploymentStatus message if any |
| string | messageDetail | Details regarding the message |
| SeverityLevel | messageSeverity | The severity of the message |
Fields
Empty
An empty status.
Declaration
public static readonly DeploymentStatus Empty
Field Value
| Type | Description |
|---|---|
| DeploymentStatus |
FailedToDeploy
A status to represent an item that failed to deploy.
Declaration
public static readonly DeploymentStatus FailedToDeploy
Field Value
| Type | Description |
|---|---|
| DeploymentStatus |
ModifiedLocally
A status to represent an item that was modified locally.
Declaration
public static readonly DeploymentStatus ModifiedLocally
Field Value
| Type | Description |
|---|---|
| DeploymentStatus |
UpToDate
A status to represent an item that is up to date with the remote.
Declaration
public static readonly DeploymentStatus UpToDate
Field Value
| Type | Description |
|---|---|
| DeploymentStatus |
Properties
Message
Message associated with a deployment result
Declaration
public string Message { get; }
Property Value
| Type | Description |
|---|---|
| string |
MessageDetail
Details associated with a deployment result.
Declaration
public string MessageDetail { get; }
Property Value
| Type | Description |
|---|---|
| string |
MessageSeverity
Severity of the deployment message level.
Declaration
public SeverityLevel MessageSeverity { get; }
Property Value
| Type | Description |
|---|---|
| SeverityLevel |