// @generated by protoc-gen-es v1.10.0 with parameter "target=ts" // @generated from file admin-partner.proto (package api, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Address } from "./repositoryShared_pb.js"; import { AdminActor } from "./admin-actor_pb.js"; /** * @generated from message api.AdminPartner */ export class AdminPartner extends Message { /** * @generated from field: string ID = 1; */ ID = ""; /** * @generated from field: string Name = 2; */ Name = ""; /** * @generated from field: string LegalStructure = 3; */ LegalStructure = ""; /** * @generated from field: api.Address Address = 4; */ Address?: Address; /** * @generated from field: string OrganisationID = 5; */ OrganisationID = ""; /** * In ActorIDs are given / Out not present * * @generated from field: repeated string ActorIDs = 6; */ ActorIDs: string[] = []; /** * In not accepted / Out Actors are returned * * @generated from field: repeated api.AdminActor Actors = 7; */ Actors: AdminActor[] = []; /** * @generated from field: string PhotoURI = 8; */ PhotoURI = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.AdminPartner"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "ID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "LegalStructure", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "Address", kind: "message", T: Address }, { no: 5, name: "OrganisationID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "ActorIDs", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, { no: 7, name: "Actors", kind: "message", T: AdminActor, repeated: true }, { no: 8, name: "PhotoURI", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): AdminPartner { return new AdminPartner().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): AdminPartner { return new AdminPartner().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): AdminPartner { return new AdminPartner().fromJsonString(jsonString, options); } static equals(a: AdminPartner | PlainMessage | undefined, b: AdminPartner | PlainMessage | undefined): boolean { return proto3.util.equals(AdminPartner, a, b); } }