Rename project, namespaces and class names Signed-off-by: Pavel Gross <p.gross@yadro.com>
12 lines
319 B
C#
12 lines
319 B
C#
namespace FrostFS.SDK.Client.Mappers.GRPC;
|
|
|
|
internal static class ObjectMapper
|
|
{
|
|
internal static FrostFsObject ToModel(this Object.Object obj)
|
|
{
|
|
return new FrostFsObject(obj.Header.ToModel())
|
|
{
|
|
ObjectId = FrostFsObjectId.FromHash(obj.ObjectId.Value.ToByteArray())
|
|
};
|
|
}
|
|
}
|