OutlookChannel Class

public final class OutlookChannel
extends Channel

Outlook channel definition.

Constructor Summary

Constructor Description
OutlookChannel()

Creates an instance of OutlookChannel class.

Method Summary

Modifier and Type Method and Description
String channelName()

Get the channelName property: The channel name.

static OutlookChannel fromJson(JsonReader jsonReader)

Reads an instance of OutlookChannel from the JsonReader.

String provisioningState()

Get the provisioningState property: Provisioning state of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OutlookChannel withEtag(String etag)

Set the etag property: Entity Tag of the resource.

OutlookChannel withLocation(String location)

Set the location property: Specifies the location of the resource.

Methods inherited from Channel

Methods inherited from java.lang.Object

Constructor Details

OutlookChannel

public OutlookChannel()

Creates an instance of OutlookChannel class.

Method Details

channelName

public String channelName()

Get the channelName property: The channel name.

Overrides:

OutlookChannel.channelName()

Returns:

the channelName value.

fromJson

public static OutlookChannel fromJson(JsonReader jsonReader)

Reads an instance of OutlookChannel from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public String provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Overrides:

OutlookChannel.provisioningState()

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

OutlookChannel.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

OutlookChannel.validate()

withEtag

public OutlookChannel withEtag(String etag)

Set the etag property: Entity Tag of the resource.

Overrides:

OutlookChannel.withEtag(String etag)

Parameters:

etag

withLocation

public OutlookChannel withLocation(String location)

Set the location property: Specifies the location of the resource.

Overrides:

OutlookChannel.withLocation(String location)

Parameters:

location

Applies to