Skip to content

Commit 85ff4a5

Browse files
author
Zack Proser
committed
Add OwnershipChallenge token field to LogpushJob struct
1 parent a65efca commit 85ff4a5

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

logpush.go

+9-8
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ import (
1010

1111
// LogpushJob describes a Logpush job.
1212
type LogpushJob struct {
13-
ID int `json:"id,omitempty"`
14-
Enabled bool `json:"enabled"`
15-
Name string `json:"name"`
16-
LogpullOptions string `json:"logpull_options"`
17-
DestinationConf string `json:"destination_conf"`
18-
LastComplete *time.Time `json:"last_complete,omitempty"`
19-
LastError *time.Time `json:"last_error,omitempty"`
20-
ErrorMessage string `json:"error_message,omitempty"`
13+
ID int `json:"id,omitempty"`
14+
Enabled bool `json:"enabled"`
15+
Name string `json:"name"`
16+
LogpullOptions string `json:"logpull_options"`
17+
DestinationConf string `json:"destination_conf"`
18+
OwnershipChallenge string `json:"ownership_challenge"`
19+
LastComplete *time.Time `json:"last_complete,omitempty"`
20+
LastError *time.Time `json:"last_error,omitempty"`
21+
ErrorMessage string `json:"error_message,omitempty"`
2122
}
2223

2324
// LogpushJobsResponse is the API response, containing an array of Logpush Jobs.

0 commit comments

Comments
 (0)