Condividi tramite


HybridConnectionKeyInner Class

public final class HybridConnectionKeyInner
extends ProxyOnlyResource

Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.

Method Summary

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

Reads an instance of HybridConnectionKeyInner from the JsonReader.

String id()

Get the id property: Resource Id.

String name()

Get the name property: Resource Name.

String sendKeyName()

Get the sendKeyName property: The name of the send key.

String sendKeyValue()

Get the sendKeyValue property: The value of the send key.

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

fromJson

public static HybridConnectionKeyInner fromJson(JsonReader jsonReader)

Reads an instance of HybridConnectionKeyInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Resource Id.

Overrides:

HybridConnectionKeyInner.id()

Returns:

the id value.

name

public String name()

Get the name property: Resource Name.

Overrides:

HybridConnectionKeyInner.name()

Returns:

the name value.

sendKeyName

public String sendKeyName()

Get the sendKeyName property: The name of the send key.

Returns:

the sendKeyName value.

sendKeyValue

public String sendKeyValue()

Get the sendKeyValue property: The value of the send key.

Returns:

the sendKeyValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

HybridConnectionKeyInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

HybridConnectionKeyInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

HybridConnectionKeyInner.validate()

Applies to