Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDCORE-8825 added root issuers to poa api proto #1168

Merged
merged 4 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions proto/PowersOfAttorney/PowerOfAttorney.proto
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ enum PowerOfAttorneySendingType {
message PowerOfAttorneyDelegationInfo {
required string RootRegistrationNumber = 1;
optional string ParentRegistrationNumber = 2;
repeated PowerOfAttorneyIssuer RootIssuers = 3;
}

message PowerOfAttorneyContent {
Expand Down
2 changes: 2 additions & 0 deletions 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,6 +602,7 @@ public interface IPowerOfAttorneyDelegationInfo
{
string RootRegistrationNumber { get; set; }
string ParentRegistrationNumber { get; set; }
List<PowerOfAttorneyIssuer> RootIssuers { get; }
SuvorovNM marked this conversation as resolved.
Show resolved Hide resolved
}

[ComVisible(true)]
Expand Down
7 changes: 7 additions & 0 deletions src/Proto/PowersOfAttorney/PowerOfAttorney.proto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,13 @@ public string ParentRegistrationNumber
get { return _ParentRegistrationNumber; }
set { _ParentRegistrationNumber = value; }
}
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 _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
Loading