Sha256: f65f09e64fc90d86920eb18e81a5cb5e3947eefc5f36efa5bef4cf3667360418

Contents?: true

Size: 752 Bytes

Versions: 1

Compression:

Stored size: 752 Bytes

Contents

@namespace("Switchboard")

protocol Review {

  /** Each individual rating type */
  record ReviewRatings {
    int overall;
    int trustworthy;
    int responsive;
    int knowledgeable;
    int communication;
  }

  /** The main class for this protocol */
  record Review {
    /** The primary key */
    int id;

    /** The lawyer's id */
    int lawyer_id;

    /** Title of the Review */
    string title;

    /** The body text of the review */
    string body;

    boolean recommended;
    int specialty_id;
    boolean anonymous;
    int approval_status;
    string display_name;
    int created_at;
    int updated_at;

    string cache_key;

    ReviewRatings ratings;
  }

  /** Look up many reviews in bulk */
  array<Review> index();
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switchboard-contract-1.9.5 contracts/mobile/source/review.avdl