// Code generated by the FlatBuffers compiler. DO NOT EDIT.

package user

import (
	flatbuffers "github.com/google/flatbuffers/go"
)

type ListMySessionsRequest struct {
	_tab flatbuffers.Table
}

func GetRootAsListMySessionsRequest(buf []byte, offset flatbuffers.UOffsetT) *ListMySessionsRequest {
	n := flatbuffers.GetUOffsetT(buf[offset:])
	x := &ListMySessionsRequest{}
	x.Init(buf, n+offset)
	return x
}

func FinishListMySessionsRequestBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT) {
	builder.Finish(offset)
}

func GetSizePrefixedRootAsListMySessionsRequest(buf []byte, offset flatbuffers.UOffsetT) *ListMySessionsRequest {
	n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:])
	x := &ListMySessionsRequest{}
	x.Init(buf, n+offset+flatbuffers.SizeUint32)
	return x
}

func FinishSizePrefixedListMySessionsRequestBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT) {
	builder.FinishSizePrefixed(offset)
}

func (rcv *ListMySessionsRequest) Init(buf []byte, i flatbuffers.UOffsetT) {
	rcv._tab.Bytes = buf
	rcv._tab.Pos = i
}

func (rcv *ListMySessionsRequest) Table() flatbuffers.Table {
	return rcv._tab
}

func ListMySessionsRequestStart(builder *flatbuffers.Builder) {
	builder.StartObject(0)
}
func ListMySessionsRequestEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
	return builder.EndObject()
}
