// This is Generated Source. import FavoriteCollection from "../definitions/FavoriteCollection"; import PathSegment from "../PathSegment"; export default class Favorite extends PathSegment { constructor(prv: PathSegment, id?: string, service?) { super("favorite", id, prv, service); } /** * */ get(): Promise { return this._send({ body: undefined, ignoreId: true, method: "get", query: undefined, }); } /** * * return {ApiResponse} */ getRaw(): Promise { return this._send({ body: undefined, ignoreId: true, method: "get", query: undefined, }); } /** * */ put(body: FavoriteCollection): Promise { return this._send({ body: body, ignoreId: true, method: "put", query: undefined, }); } /** * * return {ApiResponse} */ putRaw(body: FavoriteCollection): Promise { return this._send({ body: body, ignoreId: true, method: "put", query: undefined, }); } }