EDMIAPI: Adjust client to new service methods
This commit is contained in:
39
Modules.EDMIAPI/Client/Options.vb
Normal file
39
Modules.EDMIAPI/Client/Options.vb
Normal 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
|
||||
Reference in New Issue
Block a user