com.azure.resourcemanager.mediaservices.models.LiveEventStreamEventData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-mediaservices Show documentation
Show all versions of azure-resourcemanager-mediaservices Show documentation
This package contains Microsoft Azure SDK for MediaServices Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. This Swagger was generated by the API Framework. Package tag package-account-2023-01.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.mediaservices.models;
import com.azure.core.annotation.Fluent;
import com.azure.json.JsonReader;
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import java.io.IOException;
/**
* The live event stream event data.
*/
@Fluent
public final class LiveEventStreamEventData implements JsonSerializable {
/*
* Name of the track.
*/
private String trackName;
/*
* Stream ID in the format "trackName_bitrate"
*/
private String streamId;
/*
* Track index.
*/
private Integer trackId;
/*
* Type of the track.
*/
private LiveEventStreamEventMediaType mediaType;
/*
* Bitrate of the track.
*/
private Long bitrate;
/*
* Fragment timestamp in timescale.
*/
private String mediaTimestamp;
/*
* Timescale in which timestamps are expressed.
*/
private String timescale;
/*
* Previous fragment timestamp in timescale.
*/
private String previousFragmentTimestamp;
/*
* Previous fragment duration in timescale.
*/
private String previousFragmentDuration;
/*
* Current fragment timestamp in timescale.
*/
private String currentFragmentTimestamp;
/*
* Timestamp of first fragment used to make a comparison, in timescale.
*/
private String fragmentOneTimestamp;
/*
* Duration of first fragment used to make a comparison, in timescale.
*/
private String fragmentOneDuration;
/*
* Timestamp of second fragment used to make a comparison, in timescale.
*/
private String fragmentTwoTimestamp;
/*
* Duration of second fragment used to make a comparison, in timescale.
*/
private String fragmentTwoDuration;
/*
* Reason the fragment was dropped.
*/
private String fragmentDropReason;
/*
* Length of the discontinuity gap in timescale.
*/
private Long discontinuityGap;
/*
* Identifier of the stream or connection. Encoder or customer is responsible to add this ID in the ingest URL.
*/
private String streamName;
/*
* Result code.
*/
private String resultCode;
/*
* Result message.
*/
private String resultMessage;
/*
* Fragment duration.
*/
private String duration;
/*
* Width x Height for video, null otherwise.
*/
private String resolution;
/*
* The smaller timestamp of the two fragments compared.
*/
private String minTime;
/*
* The media type of the smaller timestamp of two fragments compared.
*/
private LiveEventStreamEventMinTimeMediaType minTimeMediaType;
/*
* The larger timestamp of the two fragments compared.
*/
private String maxTime;
/*
* The media type of the larger timestamp of two fragments compared.
*/
private LiveEventStreamEventMaxTimeMediaType maxTimeMediaType;
/*
* Timescale of the fragment with the smaller timestamp.
*/
private String timescaleOfMinTime;
/*
* Timescale of the fragment with the larger timestamp.
*/
private String timescaleOfMaxTime;
/*
* Truncated IP of the encoder.
*/
private String remoteIp;
/*
* Port of the encoder.
*/
private String remotePort;
/**
* Creates an instance of LiveEventStreamEventData class.
*/
public LiveEventStreamEventData() {
}
/**
* Get the trackName property: Name of the track.
*
* @return the trackName value.
*/
public String trackName() {
return this.trackName;
}
/**
* Set the trackName property: Name of the track.
*
* @param trackName the trackName value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withTrackName(String trackName) {
this.trackName = trackName;
return this;
}
/**
* Get the streamId property: Stream ID in the format "trackName_bitrate".
*
* @return the streamId value.
*/
public String streamId() {
return this.streamId;
}
/**
* Set the streamId property: Stream ID in the format "trackName_bitrate".
*
* @param streamId the streamId value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withStreamId(String streamId) {
this.streamId = streamId;
return this;
}
/**
* Get the trackId property: Track index.
*
* @return the trackId value.
*/
public Integer trackId() {
return this.trackId;
}
/**
* Set the trackId property: Track index.
*
* @param trackId the trackId value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withTrackId(Integer trackId) {
this.trackId = trackId;
return this;
}
/**
* Get the mediaType property: Type of the track.
*
* @return the mediaType value.
*/
public LiveEventStreamEventMediaType mediaType() {
return this.mediaType;
}
/**
* Set the mediaType property: Type of the track.
*
* @param mediaType the mediaType value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withMediaType(LiveEventStreamEventMediaType mediaType) {
this.mediaType = mediaType;
return this;
}
/**
* Get the bitrate property: Bitrate of the track.
*
* @return the bitrate value.
*/
public Long bitrate() {
return this.bitrate;
}
/**
* Set the bitrate property: Bitrate of the track.
*
* @param bitrate the bitrate value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withBitrate(Long bitrate) {
this.bitrate = bitrate;
return this;
}
/**
* Get the mediaTimestamp property: Fragment timestamp in timescale.
*
* @return the mediaTimestamp value.
*/
public String mediaTimestamp() {
return this.mediaTimestamp;
}
/**
* Set the mediaTimestamp property: Fragment timestamp in timescale.
*
* @param mediaTimestamp the mediaTimestamp value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withMediaTimestamp(String mediaTimestamp) {
this.mediaTimestamp = mediaTimestamp;
return this;
}
/**
* Get the timescale property: Timescale in which timestamps are expressed.
*
* @return the timescale value.
*/
public String timescale() {
return this.timescale;
}
/**
* Set the timescale property: Timescale in which timestamps are expressed.
*
* @param timescale the timescale value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withTimescale(String timescale) {
this.timescale = timescale;
return this;
}
/**
* Get the previousFragmentTimestamp property: Previous fragment timestamp in timescale.
*
* @return the previousFragmentTimestamp value.
*/
public String previousFragmentTimestamp() {
return this.previousFragmentTimestamp;
}
/**
* Set the previousFragmentTimestamp property: Previous fragment timestamp in timescale.
*
* @param previousFragmentTimestamp the previousFragmentTimestamp value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withPreviousFragmentTimestamp(String previousFragmentTimestamp) {
this.previousFragmentTimestamp = previousFragmentTimestamp;
return this;
}
/**
* Get the previousFragmentDuration property: Previous fragment duration in timescale.
*
* @return the previousFragmentDuration value.
*/
public String previousFragmentDuration() {
return this.previousFragmentDuration;
}
/**
* Set the previousFragmentDuration property: Previous fragment duration in timescale.
*
* @param previousFragmentDuration the previousFragmentDuration value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withPreviousFragmentDuration(String previousFragmentDuration) {
this.previousFragmentDuration = previousFragmentDuration;
return this;
}
/**
* Get the currentFragmentTimestamp property: Current fragment timestamp in timescale.
*
* @return the currentFragmentTimestamp value.
*/
public String currentFragmentTimestamp() {
return this.currentFragmentTimestamp;
}
/**
* Set the currentFragmentTimestamp property: Current fragment timestamp in timescale.
*
* @param currentFragmentTimestamp the currentFragmentTimestamp value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withCurrentFragmentTimestamp(String currentFragmentTimestamp) {
this.currentFragmentTimestamp = currentFragmentTimestamp;
return this;
}
/**
* Get the fragmentOneTimestamp property: Timestamp of first fragment used to make a comparison, in timescale.
*
* @return the fragmentOneTimestamp value.
*/
public String fragmentOneTimestamp() {
return this.fragmentOneTimestamp;
}
/**
* Set the fragmentOneTimestamp property: Timestamp of first fragment used to make a comparison, in timescale.
*
* @param fragmentOneTimestamp the fragmentOneTimestamp value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withFragmentOneTimestamp(String fragmentOneTimestamp) {
this.fragmentOneTimestamp = fragmentOneTimestamp;
return this;
}
/**
* Get the fragmentOneDuration property: Duration of first fragment used to make a comparison, in timescale.
*
* @return the fragmentOneDuration value.
*/
public String fragmentOneDuration() {
return this.fragmentOneDuration;
}
/**
* Set the fragmentOneDuration property: Duration of first fragment used to make a comparison, in timescale.
*
* @param fragmentOneDuration the fragmentOneDuration value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withFragmentOneDuration(String fragmentOneDuration) {
this.fragmentOneDuration = fragmentOneDuration;
return this;
}
/**
* Get the fragmentTwoTimestamp property: Timestamp of second fragment used to make a comparison, in timescale.
*
* @return the fragmentTwoTimestamp value.
*/
public String fragmentTwoTimestamp() {
return this.fragmentTwoTimestamp;
}
/**
* Set the fragmentTwoTimestamp property: Timestamp of second fragment used to make a comparison, in timescale.
*
* @param fragmentTwoTimestamp the fragmentTwoTimestamp value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withFragmentTwoTimestamp(String fragmentTwoTimestamp) {
this.fragmentTwoTimestamp = fragmentTwoTimestamp;
return this;
}
/**
* Get the fragmentTwoDuration property: Duration of second fragment used to make a comparison, in timescale.
*
* @return the fragmentTwoDuration value.
*/
public String fragmentTwoDuration() {
return this.fragmentTwoDuration;
}
/**
* Set the fragmentTwoDuration property: Duration of second fragment used to make a comparison, in timescale.
*
* @param fragmentTwoDuration the fragmentTwoDuration value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withFragmentTwoDuration(String fragmentTwoDuration) {
this.fragmentTwoDuration = fragmentTwoDuration;
return this;
}
/**
* Get the fragmentDropReason property: Reason the fragment was dropped.
*
* @return the fragmentDropReason value.
*/
public String fragmentDropReason() {
return this.fragmentDropReason;
}
/**
* Set the fragmentDropReason property: Reason the fragment was dropped.
*
* @param fragmentDropReason the fragmentDropReason value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withFragmentDropReason(String fragmentDropReason) {
this.fragmentDropReason = fragmentDropReason;
return this;
}
/**
* Get the discontinuityGap property: Length of the discontinuity gap in timescale.
*
* @return the discontinuityGap value.
*/
public Long discontinuityGap() {
return this.discontinuityGap;
}
/**
* Set the discontinuityGap property: Length of the discontinuity gap in timescale.
*
* @param discontinuityGap the discontinuityGap value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withDiscontinuityGap(Long discontinuityGap) {
this.discontinuityGap = discontinuityGap;
return this;
}
/**
* Get the streamName property: Identifier of the stream or connection. Encoder or customer is responsible to add
* this ID in the ingest URL.
*
* @return the streamName value.
*/
public String streamName() {
return this.streamName;
}
/**
* Set the streamName property: Identifier of the stream or connection. Encoder or customer is responsible to add
* this ID in the ingest URL.
*
* @param streamName the streamName value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withStreamName(String streamName) {
this.streamName = streamName;
return this;
}
/**
* Get the resultCode property: Result code.
*
* @return the resultCode value.
*/
public String resultCode() {
return this.resultCode;
}
/**
* Set the resultCode property: Result code.
*
* @param resultCode the resultCode value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withResultCode(String resultCode) {
this.resultCode = resultCode;
return this;
}
/**
* Get the resultMessage property: Result message.
*
* @return the resultMessage value.
*/
public String resultMessage() {
return this.resultMessage;
}
/**
* Set the resultMessage property: Result message.
*
* @param resultMessage the resultMessage value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withResultMessage(String resultMessage) {
this.resultMessage = resultMessage;
return this;
}
/**
* Get the duration property: Fragment duration.
*
* @return the duration value.
*/
public String duration() {
return this.duration;
}
/**
* Set the duration property: Fragment duration.
*
* @param duration the duration value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withDuration(String duration) {
this.duration = duration;
return this;
}
/**
* Get the resolution property: Width x Height for video, null otherwise.
*
* @return the resolution value.
*/
public String resolution() {
return this.resolution;
}
/**
* Set the resolution property: Width x Height for video, null otherwise.
*
* @param resolution the resolution value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withResolution(String resolution) {
this.resolution = resolution;
return this;
}
/**
* Get the minTime property: The smaller timestamp of the two fragments compared.
*
* @return the minTime value.
*/
public String minTime() {
return this.minTime;
}
/**
* Set the minTime property: The smaller timestamp of the two fragments compared.
*
* @param minTime the minTime value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withMinTime(String minTime) {
this.minTime = minTime;
return this;
}
/**
* Get the minTimeMediaType property: The media type of the smaller timestamp of two fragments compared.
*
* @return the minTimeMediaType value.
*/
public LiveEventStreamEventMinTimeMediaType minTimeMediaType() {
return this.minTimeMediaType;
}
/**
* Set the minTimeMediaType property: The media type of the smaller timestamp of two fragments compared.
*
* @param minTimeMediaType the minTimeMediaType value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withMinTimeMediaType(LiveEventStreamEventMinTimeMediaType minTimeMediaType) {
this.minTimeMediaType = minTimeMediaType;
return this;
}
/**
* Get the maxTime property: The larger timestamp of the two fragments compared.
*
* @return the maxTime value.
*/
public String maxTime() {
return this.maxTime;
}
/**
* Set the maxTime property: The larger timestamp of the two fragments compared.
*
* @param maxTime the maxTime value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withMaxTime(String maxTime) {
this.maxTime = maxTime;
return this;
}
/**
* Get the maxTimeMediaType property: The media type of the larger timestamp of two fragments compared.
*
* @return the maxTimeMediaType value.
*/
public LiveEventStreamEventMaxTimeMediaType maxTimeMediaType() {
return this.maxTimeMediaType;
}
/**
* Set the maxTimeMediaType property: The media type of the larger timestamp of two fragments compared.
*
* @param maxTimeMediaType the maxTimeMediaType value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withMaxTimeMediaType(LiveEventStreamEventMaxTimeMediaType maxTimeMediaType) {
this.maxTimeMediaType = maxTimeMediaType;
return this;
}
/**
* Get the timescaleOfMinTime property: Timescale of the fragment with the smaller timestamp.
*
* @return the timescaleOfMinTime value.
*/
public String timescaleOfMinTime() {
return this.timescaleOfMinTime;
}
/**
* Set the timescaleOfMinTime property: Timescale of the fragment with the smaller timestamp.
*
* @param timescaleOfMinTime the timescaleOfMinTime value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withTimescaleOfMinTime(String timescaleOfMinTime) {
this.timescaleOfMinTime = timescaleOfMinTime;
return this;
}
/**
* Get the timescaleOfMaxTime property: Timescale of the fragment with the larger timestamp.
*
* @return the timescaleOfMaxTime value.
*/
public String timescaleOfMaxTime() {
return this.timescaleOfMaxTime;
}
/**
* Set the timescaleOfMaxTime property: Timescale of the fragment with the larger timestamp.
*
* @param timescaleOfMaxTime the timescaleOfMaxTime value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withTimescaleOfMaxTime(String timescaleOfMaxTime) {
this.timescaleOfMaxTime = timescaleOfMaxTime;
return this;
}
/**
* Get the remoteIp property: Truncated IP of the encoder.
*
* @return the remoteIp value.
*/
public String remoteIp() {
return this.remoteIp;
}
/**
* Set the remoteIp property: Truncated IP of the encoder.
*
* @param remoteIp the remoteIp value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withRemoteIp(String remoteIp) {
this.remoteIp = remoteIp;
return this;
}
/**
* Get the remotePort property: Port of the encoder.
*
* @return the remotePort value.
*/
public String remotePort() {
return this.remotePort;
}
/**
* Set the remotePort property: Port of the encoder.
*
* @param remotePort the remotePort value to set.
* @return the LiveEventStreamEventData object itself.
*/
public LiveEventStreamEventData withRemotePort(String remotePort) {
this.remotePort = remotePort;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeStringField("trackName", this.trackName);
jsonWriter.writeStringField("streamId", this.streamId);
jsonWriter.writeNumberField("trackId", this.trackId);
jsonWriter.writeStringField("mediaType", this.mediaType == null ? null : this.mediaType.toString());
jsonWriter.writeNumberField("bitrate", this.bitrate);
jsonWriter.writeStringField("mediaTimestamp", this.mediaTimestamp);
jsonWriter.writeStringField("timescale", this.timescale);
jsonWriter.writeStringField("previousFragmentTimestamp", this.previousFragmentTimestamp);
jsonWriter.writeStringField("previousFragmentDuration", this.previousFragmentDuration);
jsonWriter.writeStringField("currentFragmentTimestamp", this.currentFragmentTimestamp);
jsonWriter.writeStringField("fragmentOneTimestamp", this.fragmentOneTimestamp);
jsonWriter.writeStringField("fragmentOneDuration", this.fragmentOneDuration);
jsonWriter.writeStringField("fragmentTwoTimestamp", this.fragmentTwoTimestamp);
jsonWriter.writeStringField("fragmentTwoDuration", this.fragmentTwoDuration);
jsonWriter.writeStringField("fragmentDropReason", this.fragmentDropReason);
jsonWriter.writeNumberField("discontinuityGap", this.discontinuityGap);
jsonWriter.writeStringField("streamName", this.streamName);
jsonWriter.writeStringField("resultCode", this.resultCode);
jsonWriter.writeStringField("resultMessage", this.resultMessage);
jsonWriter.writeStringField("duration", this.duration);
jsonWriter.writeStringField("resolution", this.resolution);
jsonWriter.writeStringField("minTime", this.minTime);
jsonWriter.writeStringField("minTimeMediaType",
this.minTimeMediaType == null ? null : this.minTimeMediaType.toString());
jsonWriter.writeStringField("maxTime", this.maxTime);
jsonWriter.writeStringField("maxTimeMediaType",
this.maxTimeMediaType == null ? null : this.maxTimeMediaType.toString());
jsonWriter.writeStringField("timescaleOfMinTime", this.timescaleOfMinTime);
jsonWriter.writeStringField("timescaleOfMaxTime", this.timescaleOfMaxTime);
jsonWriter.writeStringField("remoteIp", this.remoteIp);
jsonWriter.writeStringField("remotePort", this.remotePort);
return jsonWriter.writeEndObject();
}
/**
* Reads an instance of LiveEventStreamEventData from the JsonReader.
*
* @param jsonReader The JsonReader being read.
* @return An instance of LiveEventStreamEventData 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 LiveEventStreamEventData.
*/
public static LiveEventStreamEventData fromJson(JsonReader jsonReader) throws IOException {
return jsonReader.readObject(reader -> {
LiveEventStreamEventData deserializedLiveEventStreamEventData = new LiveEventStreamEventData();
while (reader.nextToken() != JsonToken.END_OBJECT) {
String fieldName = reader.getFieldName();
reader.nextToken();
if ("trackName".equals(fieldName)) {
deserializedLiveEventStreamEventData.trackName = reader.getString();
} else if ("streamId".equals(fieldName)) {
deserializedLiveEventStreamEventData.streamId = reader.getString();
} else if ("trackId".equals(fieldName)) {
deserializedLiveEventStreamEventData.trackId = reader.getNullable(JsonReader::getInt);
} else if ("mediaType".equals(fieldName)) {
deserializedLiveEventStreamEventData.mediaType
= LiveEventStreamEventMediaType.fromString(reader.getString());
} else if ("bitrate".equals(fieldName)) {
deserializedLiveEventStreamEventData.bitrate = reader.getNullable(JsonReader::getLong);
} else if ("mediaTimestamp".equals(fieldName)) {
deserializedLiveEventStreamEventData.mediaTimestamp = reader.getString();
} else if ("timescale".equals(fieldName)) {
deserializedLiveEventStreamEventData.timescale = reader.getString();
} else if ("previousFragmentTimestamp".equals(fieldName)) {
deserializedLiveEventStreamEventData.previousFragmentTimestamp = reader.getString();
} else if ("previousFragmentDuration".equals(fieldName)) {
deserializedLiveEventStreamEventData.previousFragmentDuration = reader.getString();
} else if ("currentFragmentTimestamp".equals(fieldName)) {
deserializedLiveEventStreamEventData.currentFragmentTimestamp = reader.getString();
} else if ("fragmentOneTimestamp".equals(fieldName)) {
deserializedLiveEventStreamEventData.fragmentOneTimestamp = reader.getString();
} else if ("fragmentOneDuration".equals(fieldName)) {
deserializedLiveEventStreamEventData.fragmentOneDuration = reader.getString();
} else if ("fragmentTwoTimestamp".equals(fieldName)) {
deserializedLiveEventStreamEventData.fragmentTwoTimestamp = reader.getString();
} else if ("fragmentTwoDuration".equals(fieldName)) {
deserializedLiveEventStreamEventData.fragmentTwoDuration = reader.getString();
} else if ("fragmentDropReason".equals(fieldName)) {
deserializedLiveEventStreamEventData.fragmentDropReason = reader.getString();
} else if ("discontinuityGap".equals(fieldName)) {
deserializedLiveEventStreamEventData.discontinuityGap = reader.getNullable(JsonReader::getLong);
} else if ("streamName".equals(fieldName)) {
deserializedLiveEventStreamEventData.streamName = reader.getString();
} else if ("resultCode".equals(fieldName)) {
deserializedLiveEventStreamEventData.resultCode = reader.getString();
} else if ("resultMessage".equals(fieldName)) {
deserializedLiveEventStreamEventData.resultMessage = reader.getString();
} else if ("duration".equals(fieldName)) {
deserializedLiveEventStreamEventData.duration = reader.getString();
} else if ("resolution".equals(fieldName)) {
deserializedLiveEventStreamEventData.resolution = reader.getString();
} else if ("minTime".equals(fieldName)) {
deserializedLiveEventStreamEventData.minTime = reader.getString();
} else if ("minTimeMediaType".equals(fieldName)) {
deserializedLiveEventStreamEventData.minTimeMediaType
= LiveEventStreamEventMinTimeMediaType.fromString(reader.getString());
} else if ("maxTime".equals(fieldName)) {
deserializedLiveEventStreamEventData.maxTime = reader.getString();
} else if ("maxTimeMediaType".equals(fieldName)) {
deserializedLiveEventStreamEventData.maxTimeMediaType
= LiveEventStreamEventMaxTimeMediaType.fromString(reader.getString());
} else if ("timescaleOfMinTime".equals(fieldName)) {
deserializedLiveEventStreamEventData.timescaleOfMinTime = reader.getString();
} else if ("timescaleOfMaxTime".equals(fieldName)) {
deserializedLiveEventStreamEventData.timescaleOfMaxTime = reader.getString();
} else if ("remoteIp".equals(fieldName)) {
deserializedLiveEventStreamEventData.remoteIp = reader.getString();
} else if ("remotePort".equals(fieldName)) {
deserializedLiveEventStreamEventData.remotePort = reader.getString();
} else {
reader.skipChildren();
}
}
return deserializedLiveEventStreamEventData;
});
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy