Channel Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. Channel
- com.
Implements
public class Channel
implements JsonSerializable<Channel>
Channel definition.
Constructor Summary
| Constructor | Description |
|---|---|
| Channel() |
Creates an instance of Channel class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
channelName()
Get the channel |
| String |
etag()
Get the etag property: Entity Tag of the resource. |
| static Channel |
fromJson(JsonReader jsonReader)
Reads an instance of Channel from the Json |
| String |
location()
Get the location property: Specifies the location of the resource. |
| String |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Channel |
withEtag(String etag)
Set the etag property: Entity Tag of the resource. |
| Channel |
withLocation(String location)
Set the location property: Specifies the location of the resource. |
Methods inherited from java.lang.Object
Constructor Details
Channel
public Channel()
Creates an instance of Channel class.
Method Details
channelName
public String channelName()
Get the channelName property: The channel name.
Returns:
etag
public String etag()
Get the etag property: Entity Tag of the resource.
Returns:
fromJson
public static Channel fromJson(JsonReader jsonReader)
Reads an instance of Channel from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: Specifies the location of the resource.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEtag
public Channel withEtag(String etag)
Set the etag property: Entity Tag of the resource.
Parameters:
Returns:
withLocation
public Channel withLocation(String location)
Set the location property: Specifies the location of the resource.
Parameters:
Returns: