Skip to content

Commit f96aacb

Browse files
Behrouz Soroushiannedenwalker
authored andcommitted
Added ArchivedAt field to eula model.
[#175603180](https://www.pivotaltracker.com/story/show/175603180) Signed-off-by: Nicholas Eden-Walker <[email protected]>
1 parent 4c50a73 commit f96aacb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

eulas.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ type EULAsService struct {
1212
}
1313

1414
type EULA struct {
15-
Slug string `json:"slug,omitempty" yaml:"slug,omitempty"`
16-
ID int `json:"id,omitempty" yaml:"id,omitempty"`
17-
Name string `json:"name,omitempty" yaml:"name,omitempty"`
18-
Content string `json:"content,omitempty" yaml:"content,omitempty"`
19-
Links *Links `json:"_links,omitempty" yaml:"_links,omitempty"`
15+
Slug string `json:"slug,omitempty" yaml:"slug,omitempty"`
16+
ID int `json:"id,omitempty" yaml:"id,omitempty"`
17+
Name string `json:"name,omitempty" yaml:"name,omitempty"`
18+
Content string `json:"content,omitempty" yaml:"content,omitempty"`
19+
ArchivedAt string `json:"archived_at,omitempty" yaml:"archived_at,omitempty"`
20+
Links *Links `json:"_links,omitempty" yaml:"_links,omitempty"`
2021
}
2122

2223
type EULAsResponse struct {

0 commit comments

Comments
 (0)