DeploymentInner Class

public final class DeploymentInner
extends ProxyOnlyResource

User credentials used for publishing activity.

Constructor Summary

Constructor Description
DeploymentInner()

Creates an instance of DeploymentInner class.

Method Summary

Modifier and Type Method and Description
Boolean active()

Get the active property: True if deployment is currently active, false if completed and null if not started.

String author()

Get the author property: Who authored the deployment.

String authorEmail()

Get the authorEmail property: Author email.

String deployer()

Get the deployer property: Who performed the deployment.

String details()

Get the details property: Details on deployment.

OffsetDateTime endTime()

Get the endTime property: End time.

static DeploymentInner fromJson(JsonReader jsonReader)

Reads an instance of DeploymentInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String message()

Get the message property: Details about deployment status.

String name()

Get the name property: The name of the resource.

OffsetDateTime startTime()

Get the startTime property: Start time.

Integer status()

Get the status property: Deployment status.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DeploymentInner withActive(Boolean active)

Set the active property: True if deployment is currently active, false if completed and null if not started.

DeploymentInner withAuthor(String author)

Set the author property: Who authored the deployment.

DeploymentInner withAuthorEmail(String authorEmail)

Set the authorEmail property: Author email.

DeploymentInner withDeployer(String deployer)

Set the deployer property: Who performed the deployment.

DeploymentInner withDetails(String details)

Set the details property: Details on deployment.

DeploymentInner withEndTime(OffsetDateTime endTime)

Set the endTime property: End time.

DeploymentInner withKind(String kind)

Set the kind property: Kind of resource.

DeploymentInner withMessage(String message)

Set the message property: Details about deployment status.

DeploymentInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Start time.

DeploymentInner withStatus(Integer status)

Set the status property: Deployment status.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

DeploymentInner

public DeploymentInner()

Creates an instance of DeploymentInner class.

Method Details

active

public Boolean active()

Get the active property: True if deployment is currently active, false if completed and null if not started.

Returns:

the active value.

author

public String author()

Get the author property: Who authored the deployment.

Returns:

the author value.

authorEmail

public String authorEmail()

Get the authorEmail property: Author email.

Returns:

the authorEmail value.

deployer

public String deployer()

Get the deployer property: Who performed the deployment.

Returns:

the deployer value.

details

public String details()

Get the details property: Details on deployment.

Returns:

the details value.

endTime

public OffsetDateTime endTime()

Get the endTime property: End time.

Returns:

the endTime value.

fromJson

public static DeploymentInner fromJson(JsonReader jsonReader)

Reads an instance of DeploymentInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DeploymentInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DeploymentInner.id()

Returns:

the id value.

message

public String message()

Get the message property: Details about deployment status.

Returns:

the message value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DeploymentInner.name()

Returns:

the name value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Start time.

Returns:

the startTime value.

status

public Integer status()

Get the status property: Deployment status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DeploymentInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DeploymentInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

DeploymentInner.validate()

withActive

public DeploymentInner withActive(Boolean active)

Set the active property: True if deployment is currently active, false if completed and null if not started.

Parameters:

active - the active value to set.

Returns:

the DeploymentInner object itself.

withAuthor

public DeploymentInner withAuthor(String author)

Set the author property: Who authored the deployment.

Parameters:

author - the author value to set.

Returns:

the DeploymentInner object itself.

withAuthorEmail

public DeploymentInner withAuthorEmail(String authorEmail)

Set the authorEmail property: Author email.

Parameters:

authorEmail - the authorEmail value to set.

Returns:

the DeploymentInner object itself.

withDeployer

public DeploymentInner withDeployer(String deployer)

Set the deployer property: Who performed the deployment.

Parameters:

deployer - the deployer value to set.

Returns:

the DeploymentInner object itself.

withDetails

public DeploymentInner withDetails(String details)

Set the details property: Details on deployment.

Parameters:

details - the details value to set.

Returns:

the DeploymentInner object itself.

withEndTime

public DeploymentInner withEndTime(OffsetDateTime endTime)

Set the endTime property: End time.

Parameters:

endTime - the endTime value to set.

Returns:

the DeploymentInner object itself.

withKind

public DeploymentInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

DeploymentInner.withKind(String kind)

Parameters:

kind

withMessage

public DeploymentInner withMessage(String message)

Set the message property: Details about deployment status.

Parameters:

message - the message value to set.

Returns:

the DeploymentInner object itself.

withStartTime

public DeploymentInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Start time.

Parameters:

startTime - the startTime value to set.

Returns:

the DeploymentInner object itself.

withStatus

public DeploymentInner withStatus(Integer status)

Set the status property: Deployment status.

Parameters:

status - the status value to set.

Returns:

the DeploymentInner object itself.

Applies to