You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -180,6 +180,10 @@ export interface BookBookingAppointmentResponse {
|
||||
* @generated from protobuf field: string AppointmentID = 1
|
||||
*/
|
||||
AppointmentID: string;
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Attendees = 3
|
||||
*/
|
||||
Attendees: string[];
|
||||
}
|
||||
/**
|
||||
* CancelAppointment
|
||||
@@ -725,12 +729,14 @@ class BookBookingAppointmentResponse$Type extends MessageType<BookBookingAppoint
|
||||
constructor() {
|
||||
super("api.BookBookingAppointmentResponse", [
|
||||
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
||||
{ no: 1, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 1, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<BookBookingAppointmentResponse>): BookBookingAppointmentResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentID = "";
|
||||
message.Attendees = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<BookBookingAppointmentResponse>(this, message, value);
|
||||
return message;
|
||||
@@ -746,6 +752,9 @@ class BookBookingAppointmentResponse$Type extends MessageType<BookBookingAppoint
|
||||
case /* string AppointmentID */ 1:
|
||||
message.AppointmentID = reader.string();
|
||||
break;
|
||||
case /* repeated string Attendees */ 3:
|
||||
message.Attendees.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -764,6 +773,9 @@ class BookBookingAppointmentResponse$Type extends MessageType<BookBookingAppoint
|
||||
/* api.ResponseHeader Header = 2; */
|
||||
if (message.Header)
|
||||
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated string Attendees = 3; */
|
||||
for (let i = 0; i < message.Attendees.length; i++)
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.Attendees[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user