1 module libwasm.bindings.WidevineCDMManifest;
2 
3 import libwasm.types;
4 
5 import memutils.ct: tuple;
6 @safe:
7 nothrow:
8 
9 struct WidevineCDMManifest {
10   nothrow:
11   JsHandle handle;
12   alias handle this;
13   this(Handle h) {
14     this.handle = JsHandle(h);
15   }
16   static auto create() {
17     return WidevineCDMManifest(libwasm_add__object());
18   }
19   void name()(string name) {
20     Object_Call_string__void(this.handle, "name", name);
21   }
22   string name()() {
23     return Object_Getter__string(this.handle, "name");
24   }
25   void description()(string description) {
26     Object_Call_string__void(this.handle, "description", description);
27   }
28   string description()() {
29     return Object_Getter__string(this.handle, "description");
30   }
31   void version_()(string version_) {
32     Object_Call_string__void(this.handle, "version", version_);
33   }
34   string version_()() {
35     return Object_Getter__string(this.handle, "version");
36   }
37   void x_cdm_module_versions()(string x_cdm_module_versions) {
38     Object_Call_string__void(this.handle, "x-cdm-module-versions", x_cdm_module_versions);
39   }
40   string x_cdm_module_versions()() {
41     return Object_Getter__string(this.handle, "x-cdm-module-versions");
42   }
43   void x_cdm_interface_versions()(string x_cdm_interface_versions) {
44     Object_Call_string__void(this.handle, "x-cdm-interface-versions", x_cdm_interface_versions);
45   }
46   string x_cdm_interface_versions()() {
47     return Object_Getter__string(this.handle, "x-cdm-interface-versions");
48   }
49   void x_cdm_host_versions()(string x_cdm_host_versions) {
50     Object_Call_string__void(this.handle, "x-cdm-host-versions", x_cdm_host_versions);
51   }
52   string x_cdm_host_versions()() {
53     return Object_Getter__string(this.handle, "x-cdm-host-versions");
54   }
55   void x_cdm_codecs()(string x_cdm_codecs) {
56     Object_Call_string__void(this.handle, "x-cdm-codecs", x_cdm_codecs);
57   }
58   string x_cdm_codecs()() {
59     return Object_Getter__string(this.handle, "x-cdm-codecs");
60   }
61 }
62 
63