001/* 002 * Copyright 2024 Vonage 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package com.vonage.client.video; 017 018import com.fasterxml.jackson.annotation.JsonProperty; 019import com.vonage.client.JsonableBaseObject; 020import java.util.UUID; 021 022public class VideoStream extends JsonableBaseObject { 023 private UUID streamId; 024 private Boolean hasAudio, hasVideo; 025 026 protected VideoStream() {} 027 028 029 /** 030 * Gets the ID of the archive stream. 031 * 032 * @return The Stream ID. 033 */ 034 @JsonProperty("streamId") 035 public UUID getStreamId() { 036 return streamId; 037 } 038 039 /** 040 * Whether the recording has audio. 041 * 042 * @return {@code true} if the recording has sound. 043 */ 044 @JsonProperty("hasAudio") 045 public Boolean hasAudio() { 046 return hasAudio; 047 } 048 049 /** 050 * Whether the recording has video. 051 * 052 * @return {@code true} if the recording has video. 053 */ 054 @JsonProperty("hasVideo") 055 public Boolean hasVideo() { 056 return hasVideo; 057 } 058}