All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.worcade.client.api.RoomApi Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
// Copyright (c) 2017, Worcade. Please see the AUTHORS file for details.
// All rights reserved. Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.

package net.worcade.client.api;

import net.worcade.client.Result;
import net.worcade.client.api.mixin.LabelsApi;
import net.worcade.client.api.mixin.OwnerApi;
import net.worcade.client.api.mixin.RemoteIdsApi;
import net.worcade.client.api.mixin.ShareApi;
import net.worcade.client.create.RoomCreate;
import net.worcade.client.get.Reference;
import net.worcade.client.get.Room;
import net.worcade.client.modify.RoomModification;
import net.worcade.client.query.Query;
import net.worcade.client.query.RoomField;

import java.util.Collection;

public interface RoomApi extends LabelsApi, OwnerApi, RemoteIdsApi, ShareApi {
    RoomCreate createBuilder();

    Result get(String id);
    /**
     * Create a new Room. Use the {@link #createBuilder()} method for a new, empty template.
     */
    Result create(RoomModification subject);
    Result update(RoomModification subject);
    Result delete(String id);
    Result> getRoomList(Query query);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy