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

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

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

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

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

static createRevokeAllMySessionsRequest(builder:flatbuffers.Builder):flatbuffers.Offset {
  RevokeAllMySessionsRequest.startRevokeAllMySessionsRequest(builder);
  return RevokeAllMySessionsRequest.endRevokeAllMySessionsRequest(builder);
}

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


unpackTo(_o: RevokeAllMySessionsRequestT): void {}
}

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


pack(builder:flatbuffers.Builder): flatbuffers.Offset {
  return RevokeAllMySessionsRequest.createRevokeAllMySessionsRequest(builder);
}
}
