v16.0.0
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/validators"
|
||||
)
|
||||
|
||||
// GetRequest struct to get background API task status and result
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/validators"
|
||||
)
|
||||
|
||||
// ListRequest struct to get list of audits
|
||||
@@ -38,6 +38,14 @@ type ListRequest struct {
|
||||
// Required: false
|
||||
UpdateTimeTo uint64 `url:"updateTimeTo,omitempty" json:"updateTimeTo,omitempty"`
|
||||
|
||||
// Find all tasks created after point in time (unixtime)
|
||||
// Required: false
|
||||
CreatedTimeAt uint64 `url:"createdTimeAt,omitempty" json:"createdTimeAt,omitempty"`
|
||||
|
||||
// Find all tasks created after before in time (unixtime)
|
||||
// Required: false
|
||||
CreatedTimeTo uint64 `url:"createdTimeTo,omitempty" json:"createdTimeTo,omitempty"`
|
||||
|
||||
// Page number
|
||||
// Default: 0
|
||||
// Default: 0
|
||||
|
||||
@@ -48,6 +48,9 @@ type ItemTask struct {
|
||||
|
||||
// Updated time
|
||||
UpdatedTime uint64 `json:"updatedTime"`
|
||||
|
||||
// Time of creation
|
||||
CreatedTime uint64 `json:"createdTime"`
|
||||
}
|
||||
|
||||
// List of tasks
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// User API tasks interface
|
||||
package tasks
|
||||
|
||||
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/interfaces"
|
||||
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/interfaces"
|
||||
|
||||
// Structure for creating request to tasks
|
||||
type Tasks struct {
|
||||
|
||||
Reference in New Issue
Block a user