public DynamicJsonValue ToJson() { return(new DynamicJsonValue { [nameof(DiskSpaceResult)] = DiskSpaceResult.ToJson(), [nameof(UsedSpace)] = UsedSpace }); }
public DynamicJsonValue ToJson() { return(new DynamicJsonValue { [nameof(Name)] = Name, [nameof(Type)] = Type, [nameof(UsedSpace)] = UsedSpace, [nameof(UsedSpaceByTempBuffers)] = UsedSpaceByTempBuffers, [nameof(DiskSpaceResult)] = DiskSpaceResult.ToJson() }); }