You've already forked npm-core-sdk
Latest generation
This commit is contained in:
126
adaptiveCard.ts
126
adaptiveCard.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.9.6
|
||||
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "adaptiveCard.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -18,11 +18,11 @@ export interface AdaptiveCard {
|
||||
/**
|
||||
* @generated from protobuf field: string Name = 1 [json_name = "Name"];
|
||||
*/
|
||||
name: string;
|
||||
Name: string;
|
||||
/**
|
||||
* @generated from protobuf field: string Template = 2 [json_name = "Template"];
|
||||
*/
|
||||
template: string;
|
||||
Template: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ListAdaptiveCardRequest
|
||||
@@ -36,7 +36,7 @@ export interface ListAdaptiveCardResult {
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.AdaptiveCard AdaptiveCards = 1 [json_name = "AdaptiveCards"];
|
||||
*/
|
||||
adaptiveCards: AdaptiveCard[];
|
||||
AdaptiveCards: AdaptiveCard[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetAdaptiveCardRequest
|
||||
@@ -45,7 +45,7 @@ export interface GetAdaptiveCardRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string Name = 1 [json_name = "Name"];
|
||||
*/
|
||||
name: string;
|
||||
Name: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetAdaptiveCardResult
|
||||
@@ -54,7 +54,7 @@ export interface GetAdaptiveCardResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"];
|
||||
*/
|
||||
adaptiveCard?: AdaptiveCard;
|
||||
AdaptiveCard?: AdaptiveCard;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.CreateAdaptiveCardRequest
|
||||
@@ -63,11 +63,11 @@ export interface CreateAdaptiveCardRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string Template = 1 [json_name = "Template"];
|
||||
*/
|
||||
template: string;
|
||||
Template: string;
|
||||
/**
|
||||
* @generated from protobuf field: string Name = 2 [json_name = "Name"];
|
||||
*/
|
||||
name: string;
|
||||
Name: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.CreateAdaptiveCardResult
|
||||
@@ -76,7 +76,7 @@ export interface CreateAdaptiveCardResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"];
|
||||
*/
|
||||
adaptiveCard?: AdaptiveCard;
|
||||
AdaptiveCard?: AdaptiveCard;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.UpdateAdaptiveCardRequest
|
||||
@@ -85,7 +85,7 @@ export interface UpdateAdaptiveCardRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"];
|
||||
*/
|
||||
adaptiveCard?: AdaptiveCard;
|
||||
AdaptiveCard?: AdaptiveCard;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.UpdateAdaptiveCardResult
|
||||
@@ -94,7 +94,7 @@ export interface UpdateAdaptiveCardResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"];
|
||||
*/
|
||||
adaptiveCard?: AdaptiveCard;
|
||||
AdaptiveCard?: AdaptiveCard;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.DeleteAdaptiveCardRequest
|
||||
@@ -103,7 +103,7 @@ export interface DeleteAdaptiveCardRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string Name = 1 [json_name = "Name"];
|
||||
*/
|
||||
name: string;
|
||||
Name: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.DeleteAdaptiveCardResult
|
||||
@@ -114,14 +114,14 @@ export interface DeleteAdaptiveCardResult {
|
||||
class AdaptiveCard$Type extends MessageType<AdaptiveCard> {
|
||||
constructor() {
|
||||
super("api.AdaptiveCard", [
|
||||
{ no: 1, name: "Name", kind: "scalar", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "Template", kind: "scalar", jsonName: "Template", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "Template", kind: "scalar", localName: "Template", jsonName: "Template", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<AdaptiveCard>): AdaptiveCard {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.name = "";
|
||||
message.template = "";
|
||||
message.Name = "";
|
||||
message.Template = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AdaptiveCard>(this, message, value);
|
||||
return message;
|
||||
@@ -132,10 +132,10 @@ class AdaptiveCard$Type extends MessageType<AdaptiveCard> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string Name = 1 [json_name = "Name"];*/ 1:
|
||||
message.name = reader.string();
|
||||
message.Name = reader.string();
|
||||
break;
|
||||
case /* string Template = 2 [json_name = "Template"];*/ 2:
|
||||
message.template = reader.string();
|
||||
message.Template = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -150,11 +150,11 @@ class AdaptiveCard$Type extends MessageType<AdaptiveCard> {
|
||||
}
|
||||
internalBinaryWrite(message: AdaptiveCard, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string Name = 1 [json_name = "Name"]; */
|
||||
if (message.name !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
||||
if (message.Name !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Name);
|
||||
/* string Template = 2 [json_name = "Template"]; */
|
||||
if (message.template !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.template);
|
||||
if (message.Template !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Template);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -207,12 +207,12 @@ export const ListAdaptiveCardRequest = new ListAdaptiveCardRequest$Type();
|
||||
class ListAdaptiveCardResult$Type extends MessageType<ListAdaptiveCardResult> {
|
||||
constructor() {
|
||||
super("api.ListAdaptiveCardResult", [
|
||||
{ no: 1, name: "AdaptiveCards", kind: "message", jsonName: "AdaptiveCards", repeat: 1 /*RepeatType.PACKED*/, T: () => AdaptiveCard }
|
||||
{ no: 1, name: "AdaptiveCards", kind: "message", localName: "AdaptiveCards", jsonName: "AdaptiveCards", repeat: 1 /*RepeatType.PACKED*/, T: () => AdaptiveCard }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ListAdaptiveCardResult>): ListAdaptiveCardResult {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.adaptiveCards = [];
|
||||
message.AdaptiveCards = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ListAdaptiveCardResult>(this, message, value);
|
||||
return message;
|
||||
@@ -223,7 +223,7 @@ class ListAdaptiveCardResult$Type extends MessageType<ListAdaptiveCardResult> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated api.AdaptiveCard AdaptiveCards = 1 [json_name = "AdaptiveCards"];*/ 1:
|
||||
message.adaptiveCards.push(AdaptiveCard.internalBinaryRead(reader, reader.uint32(), options));
|
||||
message.AdaptiveCards.push(AdaptiveCard.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -238,8 +238,8 @@ class ListAdaptiveCardResult$Type extends MessageType<ListAdaptiveCardResult> {
|
||||
}
|
||||
internalBinaryWrite(message: ListAdaptiveCardResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated api.AdaptiveCard AdaptiveCards = 1 [json_name = "AdaptiveCards"]; */
|
||||
for (let i = 0; i < message.adaptiveCards.length; i++)
|
||||
AdaptiveCard.internalBinaryWrite(message.adaptiveCards[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
for (let i = 0; i < message.AdaptiveCards.length; i++)
|
||||
AdaptiveCard.internalBinaryWrite(message.AdaptiveCards[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -254,12 +254,12 @@ export const ListAdaptiveCardResult = new ListAdaptiveCardResult$Type();
|
||||
class GetAdaptiveCardRequest$Type extends MessageType<GetAdaptiveCardRequest> {
|
||||
constructor() {
|
||||
super("api.GetAdaptiveCardRequest", [
|
||||
{ no: 1, name: "Name", kind: "scalar", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the AdaptiveCard to get" } } }
|
||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the AdaptiveCard to get" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetAdaptiveCardRequest>): GetAdaptiveCardRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.name = "";
|
||||
message.Name = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<GetAdaptiveCardRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -270,7 +270,7 @@ class GetAdaptiveCardRequest$Type extends MessageType<GetAdaptiveCardRequest> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string Name = 1 [json_name = "Name"];*/ 1:
|
||||
message.name = reader.string();
|
||||
message.Name = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -285,8 +285,8 @@ class GetAdaptiveCardRequest$Type extends MessageType<GetAdaptiveCardRequest> {
|
||||
}
|
||||
internalBinaryWrite(message: GetAdaptiveCardRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string Name = 1 [json_name = "Name"]; */
|
||||
if (message.name !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
||||
if (message.Name !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Name);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -301,7 +301,7 @@ export const GetAdaptiveCardRequest = new GetAdaptiveCardRequest$Type();
|
||||
class GetAdaptiveCardResult$Type extends MessageType<GetAdaptiveCardResult> {
|
||||
constructor() {
|
||||
super("api.GetAdaptiveCardResult", [
|
||||
{ no: 1, name: "AdaptiveCard", kind: "message", jsonName: "AdaptiveCard", T: () => AdaptiveCard }
|
||||
{ no: 1, name: "AdaptiveCard", kind: "message", localName: "AdaptiveCard", jsonName: "AdaptiveCard", T: () => AdaptiveCard }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetAdaptiveCardResult>): GetAdaptiveCardResult {
|
||||
@@ -316,7 +316,7 @@ class GetAdaptiveCardResult$Type extends MessageType<GetAdaptiveCardResult> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"];*/ 1:
|
||||
message.adaptiveCard = AdaptiveCard.internalBinaryRead(reader, reader.uint32(), options, message.adaptiveCard);
|
||||
message.AdaptiveCard = AdaptiveCard.internalBinaryRead(reader, reader.uint32(), options, message.AdaptiveCard);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -331,8 +331,8 @@ class GetAdaptiveCardResult$Type extends MessageType<GetAdaptiveCardResult> {
|
||||
}
|
||||
internalBinaryWrite(message: GetAdaptiveCardResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"]; */
|
||||
if (message.adaptiveCard)
|
||||
AdaptiveCard.internalBinaryWrite(message.adaptiveCard, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.AdaptiveCard)
|
||||
AdaptiveCard.internalBinaryWrite(message.AdaptiveCard, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -347,14 +347,14 @@ export const GetAdaptiveCardResult = new GetAdaptiveCardResult$Type();
|
||||
class CreateAdaptiveCardRequest$Type extends MessageType<CreateAdaptiveCardRequest> {
|
||||
constructor() {
|
||||
super("api.CreateAdaptiveCardRequest", [
|
||||
{ no: 1, name: "Template", kind: "scalar", jsonName: "Template", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Template of the new AdaptiveCard" } } },
|
||||
{ no: 2, name: "Name", kind: "scalar", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the new AdaptiveCard. Unique." } } }
|
||||
{ no: 1, name: "Template", kind: "scalar", localName: "Template", jsonName: "Template", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Template of the new AdaptiveCard" } } },
|
||||
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the new AdaptiveCard. Unique." } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<CreateAdaptiveCardRequest>): CreateAdaptiveCardRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.template = "";
|
||||
message.name = "";
|
||||
message.Template = "";
|
||||
message.Name = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<CreateAdaptiveCardRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -365,10 +365,10 @@ class CreateAdaptiveCardRequest$Type extends MessageType<CreateAdaptiveCardReque
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string Template = 1 [json_name = "Template"];*/ 1:
|
||||
message.template = reader.string();
|
||||
message.Template = reader.string();
|
||||
break;
|
||||
case /* string Name = 2 [json_name = "Name"];*/ 2:
|
||||
message.name = reader.string();
|
||||
message.Name = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -383,11 +383,11 @@ class CreateAdaptiveCardRequest$Type extends MessageType<CreateAdaptiveCardReque
|
||||
}
|
||||
internalBinaryWrite(message: CreateAdaptiveCardRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string Template = 1 [json_name = "Template"]; */
|
||||
if (message.template !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.template);
|
||||
if (message.Template !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Template);
|
||||
/* string Name = 2 [json_name = "Name"]; */
|
||||
if (message.name !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
||||
if (message.Name !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Name);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -402,7 +402,7 @@ export const CreateAdaptiveCardRequest = new CreateAdaptiveCardRequest$Type();
|
||||
class CreateAdaptiveCardResult$Type extends MessageType<CreateAdaptiveCardResult> {
|
||||
constructor() {
|
||||
super("api.CreateAdaptiveCardResult", [
|
||||
{ no: 1, name: "AdaptiveCard", kind: "message", jsonName: "AdaptiveCard", T: () => AdaptiveCard }
|
||||
{ no: 1, name: "AdaptiveCard", kind: "message", localName: "AdaptiveCard", jsonName: "AdaptiveCard", T: () => AdaptiveCard }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<CreateAdaptiveCardResult>): CreateAdaptiveCardResult {
|
||||
@@ -417,7 +417,7 @@ class CreateAdaptiveCardResult$Type extends MessageType<CreateAdaptiveCardResult
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"];*/ 1:
|
||||
message.adaptiveCard = AdaptiveCard.internalBinaryRead(reader, reader.uint32(), options, message.adaptiveCard);
|
||||
message.AdaptiveCard = AdaptiveCard.internalBinaryRead(reader, reader.uint32(), options, message.AdaptiveCard);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -432,8 +432,8 @@ class CreateAdaptiveCardResult$Type extends MessageType<CreateAdaptiveCardResult
|
||||
}
|
||||
internalBinaryWrite(message: CreateAdaptiveCardResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"]; */
|
||||
if (message.adaptiveCard)
|
||||
AdaptiveCard.internalBinaryWrite(message.adaptiveCard, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.AdaptiveCard)
|
||||
AdaptiveCard.internalBinaryWrite(message.AdaptiveCard, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -448,7 +448,7 @@ export const CreateAdaptiveCardResult = new CreateAdaptiveCardResult$Type();
|
||||
class UpdateAdaptiveCardRequest$Type extends MessageType<UpdateAdaptiveCardRequest> {
|
||||
constructor() {
|
||||
super("api.UpdateAdaptiveCardRequest", [
|
||||
{ no: 1, name: "AdaptiveCard", kind: "message", jsonName: "AdaptiveCard", T: () => AdaptiveCard, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "AdaptiveCard to update" } } }
|
||||
{ no: 1, name: "AdaptiveCard", kind: "message", localName: "AdaptiveCard", jsonName: "AdaptiveCard", T: () => AdaptiveCard, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "AdaptiveCard to update" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<UpdateAdaptiveCardRequest>): UpdateAdaptiveCardRequest {
|
||||
@@ -463,7 +463,7 @@ class UpdateAdaptiveCardRequest$Type extends MessageType<UpdateAdaptiveCardReque
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"];*/ 1:
|
||||
message.adaptiveCard = AdaptiveCard.internalBinaryRead(reader, reader.uint32(), options, message.adaptiveCard);
|
||||
message.AdaptiveCard = AdaptiveCard.internalBinaryRead(reader, reader.uint32(), options, message.AdaptiveCard);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -478,8 +478,8 @@ class UpdateAdaptiveCardRequest$Type extends MessageType<UpdateAdaptiveCardReque
|
||||
}
|
||||
internalBinaryWrite(message: UpdateAdaptiveCardRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"]; */
|
||||
if (message.adaptiveCard)
|
||||
AdaptiveCard.internalBinaryWrite(message.adaptiveCard, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.AdaptiveCard)
|
||||
AdaptiveCard.internalBinaryWrite(message.AdaptiveCard, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -494,7 +494,7 @@ export const UpdateAdaptiveCardRequest = new UpdateAdaptiveCardRequest$Type();
|
||||
class UpdateAdaptiveCardResult$Type extends MessageType<UpdateAdaptiveCardResult> {
|
||||
constructor() {
|
||||
super("api.UpdateAdaptiveCardResult", [
|
||||
{ no: 1, name: "AdaptiveCard", kind: "message", jsonName: "AdaptiveCard", T: () => AdaptiveCard }
|
||||
{ no: 1, name: "AdaptiveCard", kind: "message", localName: "AdaptiveCard", jsonName: "AdaptiveCard", T: () => AdaptiveCard }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<UpdateAdaptiveCardResult>): UpdateAdaptiveCardResult {
|
||||
@@ -509,7 +509,7 @@ class UpdateAdaptiveCardResult$Type extends MessageType<UpdateAdaptiveCardResult
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"];*/ 1:
|
||||
message.adaptiveCard = AdaptiveCard.internalBinaryRead(reader, reader.uint32(), options, message.adaptiveCard);
|
||||
message.AdaptiveCard = AdaptiveCard.internalBinaryRead(reader, reader.uint32(), options, message.AdaptiveCard);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -524,8 +524,8 @@ class UpdateAdaptiveCardResult$Type extends MessageType<UpdateAdaptiveCardResult
|
||||
}
|
||||
internalBinaryWrite(message: UpdateAdaptiveCardResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.AdaptiveCard AdaptiveCard = 1 [json_name = "AdaptiveCard"]; */
|
||||
if (message.adaptiveCard)
|
||||
AdaptiveCard.internalBinaryWrite(message.adaptiveCard, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.AdaptiveCard)
|
||||
AdaptiveCard.internalBinaryWrite(message.AdaptiveCard, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -540,12 +540,12 @@ export const UpdateAdaptiveCardResult = new UpdateAdaptiveCardResult$Type();
|
||||
class DeleteAdaptiveCardRequest$Type extends MessageType<DeleteAdaptiveCardRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteAdaptiveCardRequest", [
|
||||
{ no: 1, name: "Name", kind: "scalar", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the AdaptiveCard to delete" } } }
|
||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the AdaptiveCard to delete" } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<DeleteAdaptiveCardRequest>): DeleteAdaptiveCardRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.name = "";
|
||||
message.Name = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<DeleteAdaptiveCardRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -556,7 +556,7 @@ class DeleteAdaptiveCardRequest$Type extends MessageType<DeleteAdaptiveCardReque
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string Name = 1 [json_name = "Name"];*/ 1:
|
||||
message.name = reader.string();
|
||||
message.Name = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -571,8 +571,8 @@ class DeleteAdaptiveCardRequest$Type extends MessageType<DeleteAdaptiveCardReque
|
||||
}
|
||||
internalBinaryWrite(message: DeleteAdaptiveCardRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string Name = 1 [json_name = "Name"]; */
|
||||
if (message.name !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
||||
if (message.Name !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Name);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user