CodeVersionInner Class

public final class CodeVersionInner
extends ProxyResource

Azure Resource Manager resource envelope.

Constructor Summary

Constructor Description
CodeVersionInner()

Creates an instance of CodeVersionInner class.

Method Summary

Modifier and Type Method and Description
static CodeVersionInner fromJson(JsonReader jsonReader)

Reads an instance of CodeVersionInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

CodeVersionProperties properties()

Get the properties property: [Required] Additional attributes of the entity.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

CodeVersionInner withProperties(CodeVersionProperties properties)

Set the properties property: [Required] Additional attributes of the entity.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

CodeVersionInner

public CodeVersionInner()

Creates an instance of CodeVersionInner class.

Method Details

fromJson

public static CodeVersionInner fromJson(JsonReader jsonReader)

Reads an instance of CodeVersionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CodeVersionInner 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:

CodeVersionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CodeVersionInner.name()

Returns:

the name value.

properties

public CodeVersionProperties properties()

Get the properties property: [Required] Additional attributes of the entity.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CodeVersionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CodeVersionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public CodeVersionInner withProperties(CodeVersionProperties properties)

Set the properties property: [Required] Additional attributes of the entity.

Parameters:

properties - the properties value to set.

Returns:

the CodeVersionInner object itself.

Applies to