[#17] Models: Remove internal visibility
All checks were successful
DCO / DCO (pull_request) Successful in 3m34s
All checks were successful
DCO / DCO (pull_request) Successful in 3m34s
Signed-off-by: Pavel Gross <p.gross@yando.com>
This commit is contained in:
parent
7b9c19f37c
commit
816e1eb2f1
4 changed files with 6 additions and 22 deletions
|
@ -18,9 +18,4 @@
|
||||||
<ProjectReference Include="..\FrostFS.SDK.Cryptography\FrostFS.SDK.Cryptography.csproj" />
|
<ProjectReference Include="..\FrostFS.SDK.Cryptography\FrostFS.SDK.Cryptography.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
||||||
<_Parameter1>FrostFS.SDK.ClientV2</_Parameter1>
|
|
||||||
</AssemblyAttribute>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -36,7 +36,7 @@ public class FrostFsObject
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ObjectId? ObjectId
|
public ObjectId? ObjectId
|
||||||
{
|
{
|
||||||
get; internal set;
|
get; set;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
namespace FrostFS.SDK.ModelsV2;
|
namespace FrostFS.SDK.ModelsV2;
|
||||||
|
|
||||||
public class SessionToken
|
public class SessionToken(byte[] token)
|
||||||
{
|
{
|
||||||
internal SessionToken(byte[] token)
|
public byte[] Token { get; private set; } = token;
|
||||||
{
|
|
||||||
Token = token;
|
|
||||||
}
|
|
||||||
|
|
||||||
public byte[] Token { get; private set; }
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,9 @@
|
||||||
namespace FrostFS.SDK.ModelsV2;
|
namespace FrostFS.SDK.ModelsV2;
|
||||||
|
|
||||||
public class Version
|
public class Version(int major, int minor)
|
||||||
{
|
{
|
||||||
public int Major { get; set; }
|
public int Major { get; set; } = major;
|
||||||
public int Minor { get; set; }
|
public int Minor { get; set; } = minor;
|
||||||
|
|
||||||
public Version(int major, int minor)
|
|
||||||
{
|
|
||||||
Major = major;
|
|
||||||
Minor = minor;
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool IsSupported(Version version)
|
public bool IsSupported(Version version)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue