Condividi tramite


StaticSitesWorkflowPreviewInner Class

public final class StaticSitesWorkflowPreviewInner
extends ProxyOnlyResource

Preview for the Static Site Workflow to be generated.

Method Summary

Modifier and Type Method and Description
String contents()

Get the contents property: The contents for the workflow file to be generated.

static StaticSitesWorkflowPreviewInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSitesWorkflowPreviewInner from the JsonReader.

String id()

Get the id property: Resource Id.

String name()

Get the name property: Resource Name.

String path()

Get the path property: The path for the workflow file to be generated.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Method Details

contents

public String contents()

Get the contents property: The contents for the workflow file to be generated.

Returns:

the contents value.

fromJson

public static StaticSitesWorkflowPreviewInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSitesWorkflowPreviewInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the StaticSitesWorkflowPreviewInner.

id

public String id()

Get the id property: Resource Id.

Overrides:

StaticSitesWorkflowPreviewInner.id()

Returns:

the id value.

name

public String name()

Get the name property: Resource Name.

Overrides:

StaticSitesWorkflowPreviewInner.name()

Returns:

the name value.

path

public String path()

Get the path property: The path for the workflow file to be generated.

Returns:

the path value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StaticSitesWorkflowPreviewInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

StaticSitesWorkflowPreviewInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

StaticSitesWorkflowPreviewInner.validate()

Applies to