Sha256: 8d93291927b5123c5e2fb30cb763f3c1b7ba78007ddbf939f648b6c801fb54fc

Contents?: true

Size: 644 Bytes

Versions: 1

Compression:

Stored size: 644 Bytes

Contents

@namespace("Switchboard")

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

    array<int> specialty_ids;
    array<string> states;
    boolean available;
    array<int> offer_ids;
  }

  /** Options you can send for limiting Advisor results */
  record AdvisorFetchOption {
    /** Which page of records to fetch */
    int page = 1;

    /** How many records per page */
    int per_page = 30;
  }

  /** Returns a list of Advisor */
  array<Advisor> index(AdvisorFetchOption options);

  /** Return a single Advisor */
  array<Advisor> show(int id);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switchboard-contract-1.9.5 contracts/3/source/advisor.avdl