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

com.spotinst.sdkjava.model.IRepository Maven / Gradle / Ivy

There is a newer version: 1.0.121
Show newest version
package com.spotinst.sdkjava.model;


import com.spotinst.sdkjava.exception.SpotinstNotSupportedException;

import java.util.List;

/**
 * Created by sniramsalem on 6/28/16.
 */
interface IRepository {
    default RepoGenericResponse get(I identifier, String authToken, String account) {
        throw new SpotinstNotSupportedException();
    }

    default RepoGenericResponse> getAll(F filter, String authToken, String account) {
        throw new SpotinstNotSupportedException();
    }

    default RepoGenericResponse update(I identifier, S objectToUpdate, String authToken, String account) {
        throw new SpotinstNotSupportedException();
    }

    default RepoGenericResponse create(S objectToCreate, String authToken, String account) {
        throw new SpotinstNotSupportedException();
    }

    default RepoGenericResponse delete(I identifier, String authToken, String account) {
        throw new SpotinstNotSupportedException();
    }
}