@@ -96,14 +96,12 @@ public DateTypeColumnModeSettings(Ydb.Table.DateTypeColumnModeSettings proto)
9696 ExpireAfterSeconds = proto . ExpireAfterSeconds ;
9797 }
9898
99- public Ydb . Table . DateTypeColumnModeSettings GetProto ( )
100- {
101- return new Ydb . Table . DateTypeColumnModeSettings
99+ public Ydb . Table . DateTypeColumnModeSettings GetProto ( ) =>
100+ new ( )
102101 {
103102 ColumnName = ColumnName ,
104103 ExpireAfterSeconds = ExpireAfterSeconds
105104 } ;
106- }
107105}
108106
109107public class ValueSinceUnixEpochModeSettings
@@ -143,15 +141,13 @@ public ValueSinceUnixEpochModeSettings(Ydb.Table.ValueSinceUnixEpochModeSettings
143141 ExpireAfterSeconds = proto . ExpireAfterSeconds ;
144142 }
145143
146- public Ydb . Table . ValueSinceUnixEpochModeSettings GetProto ( )
147- {
148- return new Ydb . Table . ValueSinceUnixEpochModeSettings
144+ public Ydb . Table . ValueSinceUnixEpochModeSettings GetProto ( ) =>
145+ new ( )
149146 {
150147 ColumnName = ColumnName ,
151148 ColumnUnit = GetProtoUnit ( ColumnUnit ) ,
152149 ExpireAfterSeconds = ExpireAfterSeconds
153150 } ;
154- }
155151
156152 private static Ydb . Table . ValueSinceUnixEpochModeSettings . Types . Unit GetProtoUnit ( Unit unit ) =>
157153 unit switch
@@ -325,16 +321,14 @@ public StorageSettings(Ydb.Table.StorageSettings proto)
325321 StoreExternalBlobs = proto . StoreExternalBlobs . FromProto ( ) ;
326322 }
327323
328- public Ydb . Table . StorageSettings GetProto ( )
329- {
330- return new Ydb . Table . StorageSettings
324+ public Ydb . Table . StorageSettings GetProto ( ) =>
325+ new ( )
331326 {
332327 TabletCommitLog0 = TabletCommitLog0 . GetProto ( ) ,
333328 TabletCommitLog1 = TabletCommitLog1 . GetProto ( ) ,
334329 External = External . GetProto ( ) ,
335330 StoreExternalBlobs = StoreExternalBlobs . GetProto ( )
336331 } ;
337- }
338332}
339333
340334public class PartitioningSettings
0 commit comments