You've already forked npm-viz-sdk
199 lines
7.3 KiB
TypeScript
199 lines
7.3 KiB
TypeScript
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
// @generated from file viz-default-view.proto (package vizapi, syntax proto3)
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
|
/**
|
|
* @generated from message vizapi.UpdatePlatformDefaultViewRequest
|
|
*/
|
|
export class UpdatePlatformDefaultViewRequest extends Message<UpdatePlatformDefaultViewRequest> {
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from field: string ViewID = 1;
|
|
*/
|
|
ViewID = "";
|
|
|
|
/**
|
|
* Content of the View
|
|
*
|
|
* @generated from field: string Payload = 4;
|
|
*/
|
|
Payload = "";
|
|
|
|
/**
|
|
* Visibility of the View
|
|
*
|
|
* @generated from field: bool IsPrivate = 5;
|
|
*/
|
|
IsPrivate = false;
|
|
|
|
constructor(data?: PartialMessage<UpdatePlatformDefaultViewRequest>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "vizapi.UpdatePlatformDefaultViewRequest";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "ViewID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 4, name: "Payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 5, name: "IsPrivate", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePlatformDefaultViewRequest {
|
|
return new UpdatePlatformDefaultViewRequest().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePlatformDefaultViewRequest {
|
|
return new UpdatePlatformDefaultViewRequest().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePlatformDefaultViewRequest {
|
|
return new UpdatePlatformDefaultViewRequest().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: UpdatePlatformDefaultViewRequest | PlainMessage<UpdatePlatformDefaultViewRequest> | undefined, b: UpdatePlatformDefaultViewRequest | PlainMessage<UpdatePlatformDefaultViewRequest> | undefined): boolean {
|
|
return proto3.util.equals(UpdatePlatformDefaultViewRequest, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message vizapi.CreatePlatformDefaultViewRequest
|
|
*/
|
|
export class CreatePlatformDefaultViewRequest extends Message<CreatePlatformDefaultViewRequest> {
|
|
/**
|
|
* Identifier of the Screen
|
|
*
|
|
* @generated from field: string ScreenID = 1;
|
|
*/
|
|
ScreenID = "";
|
|
|
|
/**
|
|
* Content of the View
|
|
*
|
|
* @generated from field: string Payload = 4;
|
|
*/
|
|
Payload = "";
|
|
|
|
/**
|
|
* Visibility of the View
|
|
*
|
|
* @generated from field: bool IsPrivate = 5;
|
|
*/
|
|
IsPrivate = false;
|
|
|
|
constructor(data?: PartialMessage<CreatePlatformDefaultViewRequest>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "vizapi.CreatePlatformDefaultViewRequest";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "ScreenID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 4, name: "Payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
{ no: 5, name: "IsPrivate", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePlatformDefaultViewRequest {
|
|
return new CreatePlatformDefaultViewRequest().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePlatformDefaultViewRequest {
|
|
return new CreatePlatformDefaultViewRequest().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePlatformDefaultViewRequest {
|
|
return new CreatePlatformDefaultViewRequest().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: CreatePlatformDefaultViewRequest | PlainMessage<CreatePlatformDefaultViewRequest> | undefined, b: CreatePlatformDefaultViewRequest | PlainMessage<CreatePlatformDefaultViewRequest> | undefined): boolean {
|
|
return proto3.util.equals(CreatePlatformDefaultViewRequest, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* ID of the created View
|
|
*
|
|
* @generated from message vizapi.CreatePlatformDefaultViewResult
|
|
*/
|
|
export class CreatePlatformDefaultViewResult extends Message<CreatePlatformDefaultViewResult> {
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from field: string ViewID = 1;
|
|
*/
|
|
ViewID = "";
|
|
|
|
constructor(data?: PartialMessage<CreatePlatformDefaultViewResult>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "vizapi.CreatePlatformDefaultViewResult";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "ViewID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePlatformDefaultViewResult {
|
|
return new CreatePlatformDefaultViewResult().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePlatformDefaultViewResult {
|
|
return new CreatePlatformDefaultViewResult().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePlatformDefaultViewResult {
|
|
return new CreatePlatformDefaultViewResult().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: CreatePlatformDefaultViewResult | PlainMessage<CreatePlatformDefaultViewResult> | undefined, b: CreatePlatformDefaultViewResult | PlainMessage<CreatePlatformDefaultViewResult> | undefined): boolean {
|
|
return proto3.util.equals(CreatePlatformDefaultViewResult, a, b);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @generated from message vizapi.UpdatePlatformDefaultViewResult
|
|
*/
|
|
export class UpdatePlatformDefaultViewResult extends Message<UpdatePlatformDefaultViewResult> {
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from field: string ViewID = 1;
|
|
*/
|
|
ViewID = "";
|
|
|
|
constructor(data?: PartialMessage<UpdatePlatformDefaultViewResult>) {
|
|
super();
|
|
proto3.util.initPartial(data, this);
|
|
}
|
|
|
|
static readonly runtime: typeof proto3 = proto3;
|
|
static readonly typeName = "vizapi.UpdatePlatformDefaultViewResult";
|
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
{ no: 1, name: "ViewID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
]);
|
|
|
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdatePlatformDefaultViewResult {
|
|
return new UpdatePlatformDefaultViewResult().fromBinary(bytes, options);
|
|
}
|
|
|
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdatePlatformDefaultViewResult {
|
|
return new UpdatePlatformDefaultViewResult().fromJson(jsonValue, options);
|
|
}
|
|
|
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdatePlatformDefaultViewResult {
|
|
return new UpdatePlatformDefaultViewResult().fromJsonString(jsonString, options);
|
|
}
|
|
|
|
static equals(a: UpdatePlatformDefaultViewResult | PlainMessage<UpdatePlatformDefaultViewResult> | undefined, b: UpdatePlatformDefaultViewResult | PlainMessage<UpdatePlatformDefaultViewResult> | undefined): boolean {
|
|
return proto3.util.equals(UpdatePlatformDefaultViewResult, a, b);
|
|
}
|
|
}
|
|
|