// 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 GetMyAccountRequest implements flatbuffers.IUnpackableObject<GetMyAccountRequestT> {
  bb: flatbuffers.ByteBuffer|null = null;
  bb_pos = 0;
  __init(i:number, bb:flatbuffers.ByteBuffer):GetMyAccountRequest {
  this.bb_pos = i;
  this.bb = bb;
  return this;
}

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

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

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

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

static createGetMyAccountRequest(builder:flatbuffers.Builder):flatbuffers.Offset {
  GetMyAccountRequest.startGetMyAccountRequest(builder);
  return GetMyAccountRequest.endGetMyAccountRequest(builder);
}

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


unpackTo(_o: GetMyAccountRequestT): void {}
}

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


pack(builder:flatbuffers.Builder): flatbuffers.Offset {
  return GetMyAccountRequest.createGetMyAccountRequest(builder);
}
}
