Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
13 changes: 13 additions & 0 deletions Intento.SDK/Translate/DTO/CacheSettings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using Newtonsoft.Json;

namespace Intento.SDK.Translate.DTO
{
public class CacheSettings
{
[JsonProperty("apply")]
public bool Apply { get; set; }

[JsonProperty("update")]
public bool Update { get; set; }
}
}
13 changes: 13 additions & 0 deletions Intento.SDK/Translate/DTO/StorageSettings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using Newtonsoft.Json;

namespace Intento.SDK.Translate.DTO
{
public class StorageSettings
{
[JsonProperty( "path" )]
public string Path { get; set; }

[JsonProperty( "searchkeys" )]
public string[] SearchKeys { get; set; }
}
}
6 changes: 6 additions & 0 deletions Intento.SDK/Translate/DTO/TranslateService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,11 @@ public class TranslateService

[JsonProperty("failover_list")]
public string[] FailoverList { get; set; }

[JsonProperty("cache")]
public CacheSettings Cache { get; set; }

[JsonProperty("storage")]
public StorageSettings Storage { get; set; }
}
}
Loading