Sha256: 97e5c735509dfa5b36ae7d55fff4e8db14bd20a9d5134014e7746aa10314cc05
Contents?: true
Size: 948 Bytes
Versions: 1
Compression:
Stored size: 948 Bytes
Contents
@namespace("Switchboard") protocol AdviceSessionReview { /** The main class for this protocol */ record AdviceSessionReview { /** The primary key */ int id; int advice_session_id; int rating; string body; int approval_status_id; } /** Params to create a new Review */ record AdviceSessionReviewCreateParams { int advice_session_id; int rating; string body; } /** Return a single Review */ array<AdviceSessionReview> show(int id); /** Create a new Review */ array<AdviceSessionReview> create(AdviceSessionReviewCreateParams advice_session_review); /** Options you can send for limiting Review results */ record AdviceSessionReviewFetchOption { /** Which page of records to fetch */ int page = 1; /** How many records per page */ int per_page = 20; } /** Returns a list of Review */ array<AdviceSessionReview> index(AdviceSessionReviewFetchOption options); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
switchboard-contract-1.9.5 | contracts/3/source/advice_session_review.avdl |