diff options
Diffstat (limited to 'vendor/github.com/mitchellh/packer/vendor/github.com/profitbricks/profitbricks-sdk-go/datacenter.go')
-rw-r--r-- | vendor/github.com/mitchellh/packer/vendor/github.com/profitbricks/profitbricks-sdk-go/datacenter.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/vendor/github.com/mitchellh/packer/vendor/github.com/profitbricks/profitbricks-sdk-go/datacenter.go b/vendor/github.com/mitchellh/packer/vendor/github.com/profitbricks/profitbricks-sdk-go/datacenter.go index eb3d9094..1bdf22d6 100644 --- a/vendor/github.com/mitchellh/packer/vendor/github.com/profitbricks/profitbricks-sdk-go/datacenter.go +++ b/vendor/github.com/mitchellh/packer/vendor/github.com/profitbricks/profitbricks-sdk-go/datacenter.go @@ -8,18 +8,18 @@ import ( ) type Datacenter struct { - Id string `json:"id,omitempty"` - Type_ string `json:"type,omitempty"` - Href string `json:"href,omitempty"` - Metadata *DatacenterElementMetadata `json:"metadata,omitempty"` - Properties DatacenterProperties `json:"properties,omitempty"` - Entities DatacenterEntities `json:"entities,omitempty"` - Response string `json:"Response,omitempty"` - Headers *http.Header `json:"headers,omitempty"` - StatusCode int `json:"headers,omitempty"` + Id string `json:"id,omitempty"` + Type_ string `json:"type,omitempty"` + Href string `json:"href,omitempty"` + Metadata *Metadata `json:"metadata,omitempty"` + Properties DatacenterProperties `json:"properties,omitempty"` + Entities DatacenterEntities `json:"entities,omitempty"` + Response string `json:"Response,omitempty"` + Headers *http.Header `json:"headers,omitempty"` + StatusCode int `json:"headers,omitempty"` } -type DatacenterElementMetadata struct { +type Metadata struct { CreatedDate time.Time `json:"createdDate,omitempty"` CreatedBy string `json:"createdBy,omitempty"` Etag string `json:"etag,omitempty"` |