// automatically generated by the FlatBuffers compiler, do not modify

/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */

import * as flatbuffers from 'flatbuffers';



export class ListMySessionsRequest implements flatbuffers.IUnpackableObject<ListMySessionsRequestT> {
  bb: flatbuffers.ByteBuffer|null = null;
  bb_pos = 0;
  __init(i:number, bb:flatbuffers.ByteBuffer):ListMySessionsRequest {
  this.bb_pos = i;
  this.bb = bb;
  return this;
}

static getRootAsListMySessionsRequest(bb:flatbuffers.ByteBuffer, obj?:ListMySessionsRequest):ListMySessionsRequest {
  return (obj || new ListMySessionsRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
}

static getSizePrefixedRootAsListMySessionsRequest(bb:flatbuffers.ByteBuffer, obj?:ListMySessionsRequest):ListMySessionsRequest {
  bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
  return (obj || new ListMySessionsRequest()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
}

static startListMySessionsRequest(builder:flatbuffers.Builder) {
  builder.startObject(0);
}

static endListMySessionsRequest(builder:flatbuffers.Builder):flatbuffers.Offset {
  const offset = builder.endObject();
  return offset;
}

static createListMySessionsRequest(builder:flatbuffers.Builder):flatbuffers.Offset {
  ListMySessionsRequest.startListMySessionsRequest(builder);
  return ListMySessionsRequest.endListMySessionsRequest(builder);
}

unpack(): ListMySessionsRequestT {
  return new ListMySessionsRequestT();
}


unpackTo(_o: ListMySessionsRequestT): void {}
}

export class ListMySessionsRequestT implements flatbuffers.IGeneratedObject {
constructor(){}


pack(builder:flatbuffers.Builder): flatbuffers.Offset {
  return ListMySessionsRequest.createListMySessionsRequest(builder);
}
}
