import * as VScript from "http://172.16.0.12/bladerunner_sdk/vscript@2.5.2/deno/release/mod.ts";
import * as VAPI from "./mod.ts";
export const lift = {
  All: (_raw: VScript.DataViews.Subtree<VScript.VSocket>) => new All(_raw),
} as const;
export const lower = { All: (_x: All) => _x.raw.kwl } as const;
export class All
  implements VScript.Referenceable<"RTPMetadataChannel::Data::All">
{
  readonly type_identifier = "RTPMetadataChannel::Data::All" as const;
  constructor(readonly raw: VScript.DataViews.Subtree<VScript.VSocket>) {}
  get state(): VScript.rKeyword<
    VScript.VSocket,
    VAPI.MetadataProcessor.ChannelState,
    VAPI.MetadataProcessor.ChannelState,
    VAPI.RTPMetadataChannel.All
  > {
    return new VScript.rKeyword<
      VScript.VSocket,
      VAPI.MetadataProcessor.ChannelState,
      VAPI.MetadataProcessor.ChannelState,
      VAPI.RTPMetadataChannel.All
    >(this, "state" as VScript.SysName, {
      lift: (x: any /* FIXME */, _: VScript.VSocket) => x,
      lower: (x: any /* FIXME */, _: VScript.VSocket) => x,
    });
  }
}
