Skip to content

Commit

Permalink
DDCORE-8825 full collection of root issuers
Browse files Browse the repository at this point in the history
  • Loading branch information
majorro committed Dec 9, 2024
1 parent 12cb7ec commit 36bb61f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion proto/PowersOfAttorney/PowerOfAttorney.proto
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ enum PowerOfAttorneySendingType {
message PowerOfAttorneyDelegationInfo {
required string RootRegistrationNumber = 1;
optional string ParentRegistrationNumber = 2;
required PowerOfAttorneyIssuer RootIssuer = 3;
repeated PowerOfAttorneyIssuer RootIssuers = 3;
}

message PowerOfAttorneyContent {
Expand Down
3 changes: 2 additions & 1 deletion src/Com/PowersOfAttorney.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Xml.Serialization;
using Diadoc.Api.Com;
Expand Down Expand Up @@ -601,7 +602,7 @@ public interface IPowerOfAttorneyDelegationInfo
{
string RootRegistrationNumber { get; set; }
string ParentRegistrationNumber { get; set; }
PowerOfAttorneyIssuer RootIssuer { get; set; }
List<PowerOfAttorneyIssuer> RootIssuers { get; }
}

[ComVisible(true)]
Expand Down
10 changes: 5 additions & 5 deletions src/Proto/PowersOfAttorney/PowerOfAttorney.proto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -689,13 +689,13 @@ public string ParentRegistrationNumber
get { return _ParentRegistrationNumber; }
set { _ParentRegistrationNumber = value; }
}
private Diadoc.Api.Proto.PowersOfAttorney.PowerOfAttorneyIssuer _RootIssuer;
[global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"RootIssuer", DataFormat = global::ProtoBuf.DataFormat.Default)]
public Diadoc.Api.Proto.PowersOfAttorney.PowerOfAttorneyIssuer RootIssuer
private readonly global::System.Collections.Generic.List<Diadoc.Api.Proto.PowersOfAttorney.PowerOfAttorneyIssuer> _RootIssuers = new global::System.Collections.Generic.List<Diadoc.Api.Proto.PowersOfAttorney.PowerOfAttorneyIssuer>();
[global::ProtoBuf.ProtoMember(3, Name=@"RootIssuers", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List<Diadoc.Api.Proto.PowersOfAttorney.PowerOfAttorneyIssuer> RootIssuers
{
get { return _RootIssuer; }
set { _RootIssuer = value; }
get { return _RootIssuers; }
}

private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
Expand Down

0 comments on commit 36bb61f

Please sign in to comment.