github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/api/cloudcontroller/ccv2/internal/metadata.go (about)

     1  package internal
     2  
     3  import "time"
     4  
     5  // Metadata represents the "metadata" object of a resource item in a Cloud
     6  // Controller response.
     7  type Metadata struct {
     8  	GUID      string    `json:"guid"`
     9  	URL       string    `json:"url"`
    10  	CreatedAt time.Time `json:"created_at"`
    11  
    12  	// UpdatedAt is the update time for a given object, it can be null
    13  	UpdatedAt *time.Time `json:"updated_at"`
    14  }