EDMIAPI: Adjust client to new service methods

This commit is contained in:
Jonathan Jenne
2021-12-06 16:40:48 +01:00
parent 785b138c57
commit f95e058121
4 changed files with 68 additions and 68 deletions

View File

@@ -0,0 +1,39 @@
Public Class Options
Public MustInherit Class BaseOptions
''' <summary>
''' Windows username of the user responsible for the request. Defaults to the currently logged in user.
''' </summary>
Public Property Username As String = Environment.UserName
''' <summary>
''' Language code of the client responsible for the request. Defaults to the language of the current client.
''' </summary>
''' <returns></returns>
Public Property Language As String = Threading.Thread.CurrentThread.CurrentUICulture.Name
End Class
''' <summary>
''' Import options for NewFileAsync.
''' </summary>
Public Class NewFileOptions
Inherits BaseOptions
''' <summary>
''' Date when the file was imported. Can be in the past. Defaults to now.
''' </summary>
Public Property DateImported As Date = Date.Now
End Class
Public Class GetVariableValueOptions
Inherits BaseOptions
End Class
Public Class SetVariableValueOptions
Inherits BaseOptions
End Class
Public Class NewObjectOptions
Inherits BaseOptions
End Class
End Class