com.opentok.ArchiveList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opentok-server-sdk Show documentation
Show all versions of opentok-server-sdk Show documentation
The OpenTok Java SDK lets you generate sessions and tokens for OpenTok applications. This version of the SDK also includes support for working with OpenTok 2.0 archives.
/**
* OpenTok Java SDK
* Copyright (C) 2017 TokBox, Inc.
* http://www.tokbox.com
*
* Licensed under The MIT License (MIT). See LICENSE file for more information.
*/
package com.opentok;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.ArrayList;
import java.util.List;
/**
* Represents an list of archives of OpenTok session(s).
*/
@JsonFormat(shape= JsonFormat.Shape.OBJECT)
public class ArchiveList extends ArrayList {
private int totalCount;
/**
* The total number of Archives for the API Key.
*/
public int getTotalCount() {
return totalCount;
}
private void setItems(List archives) {
this.clear();
this.addAll(archives);
}
private void setCount(int count) {
this.totalCount = count;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy