From f96aacbaec4f8df0b82355cf36c051cdb224ff57 Mon Sep 17 00:00:00 2001 From: Behrouz Soroushian Date: Tue, 10 Nov 2020 15:17:57 -0500 Subject: [PATCH] Added ArchivedAt field to eula model. [#175603180](https://www.pivotaltracker.com/story/show/175603180) Signed-off-by: Nicholas Eden-Walker --- eulas.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/eulas.go b/eulas.go index bfb96b4..35f94c3 100644 --- a/eulas.go +++ b/eulas.go @@ -12,11 +12,12 @@ type EULAsService struct { } type EULA struct { - Slug string `json:"slug,omitempty" yaml:"slug,omitempty"` - ID int `json:"id,omitempty" yaml:"id,omitempty"` - Name string `json:"name,omitempty" yaml:"name,omitempty"` - Content string `json:"content,omitempty" yaml:"content,omitempty"` - Links *Links `json:"_links,omitempty" yaml:"_links,omitempty"` + Slug string `json:"slug,omitempty" yaml:"slug,omitempty"` + ID int `json:"id,omitempty" yaml:"id,omitempty"` + Name string `json:"name,omitempty" yaml:"name,omitempty"` + Content string `json:"content,omitempty" yaml:"content,omitempty"` + ArchivedAt string `json:"archived_at,omitempty" yaml:"archived_at,omitempty"` + Links *Links `json:"_links,omitempty" yaml:"_links,omitempty"` } type EULAsResponse struct {