次の方法で共有


PartnerNamespacesListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.PartnerNamespacesListResult

Implements

public final class PartnerNamespacesListResult
implements JsonSerializable<PartnerNamespacesListResult>

Result of the List Partner Namespaces operation.

Constructor Summary

Constructor Description
PartnerNamespacesListResult()

Creates an instance of PartnerNamespacesListResult class.

Method Summary

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

Reads an instance of PartnerNamespacesListResult from the JsonReader.

String nextLink()

Get the nextLink property: A link for the next page of partner namespaces.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<PartnerNamespaceInner> value()

Get the value property: A collection of partner namespaces.

PartnerNamespacesListResult withNextLink(String nextLink)

Set the nextLink property: A link for the next page of partner namespaces.

PartnerNamespacesListResult withValue(List<PartnerNamespaceInner> value)

Set the value property: A collection of partner namespaces.

Methods inherited from java.lang.Object

Constructor Details

PartnerNamespacesListResult

public PartnerNamespacesListResult()

Creates an instance of PartnerNamespacesListResult class.

Method Details

fromJson

public static PartnerNamespacesListResult fromJson(JsonReader jsonReader)

Reads an instance of PartnerNamespacesListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: A link for the next page of partner namespaces.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<PartnerNamespaceInner> value()

Get the value property: A collection of partner namespaces.

Returns:

the value value.

withNextLink

public PartnerNamespacesListResult withNextLink(String nextLink)

Set the nextLink property: A link for the next page of partner namespaces.

Parameters:

nextLink - the nextLink value to set.

Returns:

the PartnerNamespacesListResult object itself.

withValue

public PartnerNamespacesListResult withValue(List<PartnerNamespaceInner> value)

Set the value property: A collection of partner namespaces.

Parameters:

value - the value value to set.

Returns:

the PartnerNamespacesListResult object itself.

Applies to