DocumentDownloadResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.fluent.models.DocumentDownloadResultInner

Implements

public final class DocumentDownloadResultInner
implements JsonSerializable<DocumentDownloadResultInner>

A secure URL that can be used to download a an entity until the URL expires.

Constructor Summary

Constructor Description
DocumentDownloadResultInner()

Creates an instance of DocumentDownloadResultInner class.

Method Summary

Modifier and Type Method and Description
String expiryTime()

Get the expiryTime property: The time in UTC when the download URL will expire.

static DocumentDownloadResultInner fromJson(JsonReader jsonReader)

Reads an instance of DocumentDownloadResultInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String url()

Get the url property: The URL to the PDF or .zip file.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DocumentDownloadResultInner

public DocumentDownloadResultInner()

Creates an instance of DocumentDownloadResultInner class.

Method Details

expiryTime

public String expiryTime()

Get the expiryTime property: The time in UTC when the download URL will expire.

Returns:

the expiryTime value.

fromJson

public static DocumentDownloadResultInner fromJson(JsonReader jsonReader)

Reads an instance of DocumentDownloadResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DocumentDownloadResultInner 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 DocumentDownloadResultInner.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

url

public String url()

Get the url property: The URL to the PDF or .zip file.

Returns:

the url value.

validate

public void validate()

Validates the instance.

Applies to