Sha256: b5e4785cb8fbd9c7c5c86938e178fd19ca85f586889217ceab3a05c679bd2aa0

Contents?: true

Size: 742 Bytes

Versions: 2

Compression:

Stored size: 742 Bytes

Contents

@namespace("Switchboard")

protocol Package {

  /** The main class for this protocol */
  record Package {
    /** The primary key */
    int id;
    string name;
    string short_description;
    boolean call;
    int call_duration_in_minutes;
    boolean document;
    int max_document_length_in_pages;
    boolean claim_game;
    boolean offline;
    int specialty_id;
    string micro_description;
  }

  record PackageFetchOption {
    /** Which page of records to fetch */
    int page = 1;

    /** How many records per page */
    int per_page = 10;

    int specialty_id;
  }

  /** Returns a list of Packages */
  array<Package> index(PackageFetchOption options);

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

Version data entries

2 entries across 1 versions & 1 rubygems

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