export interface CountWatchingParams { /** User ID ユーザーのID */ userId: number; /** * This parameter is optional. * Set to false for unread watching count and true for already read watching count. * * 既読かどうか。 * * trueの場合は既読のウォッチ、 * * falseの場合は未読のウォッチ、 * * 指定しない場合は両方のウォッチを返します。 * * 指定が無い場合は両方 * */ resourceAlreadyRead?: boolean; /** * This parameter is optional. * * Set this parameter to false to get unread watching count since the last time checked by user and true for already read watching count. * * When both alreadyRead and resourceAlreadyRead parameters set, resourceAlreadyRead will be ignored. * * ウォッチメニューの一覧表示後に更新されたウォッチの件数を返します。 * * trueの場合はウォッチメニューを表示した後に更新されていない(既読状態の)件数を返します。 * * falseの場合はウォッチメニューを表示した後に更新された(未読状態の)ウォッチの件数を返します。 * * 指定が無い場合は両方を合わせた件数を返します。resourceAlreadyReadが指定してある場合、alreadyReadは使用されません。 */ alreadyRead?: boolean; }