protoConfigStatic static method

ProtoMessageConfig protoConfigStatic()

Implementation

static ProtoMessageConfig protoConfigStatic() {
  return ProtoMessageConfig(
    syntax: ProtoSyntax.v3,
    options: [
      ProtoOptionHttp(
        name: "google.api.http.get",
        method: RequestMethod.get,
        path: "/injective/exchange/v2/trade_reward_points",
      ),
      ProtoOptionHttp(
        name: "google.api.http.get",
        method: RequestMethod.get,
        path: "/injective/exchange/v2/pending_trade_reward_points",
      ),
    ],
    fields: [
      ProtoFieldConfig.repeated(
        fieldNumber: 1,
        elementType: ProtoFieldType.string,
      ),
      ProtoFieldConfig.int64(2),
    ],
  );
}