github.com/crosbymichael/octokat@v0.0.0-20160826194511-076a32289ed5/assets.go (about)

     1  package octokat
     2  
     3  import (
     4  	"time"
     5  )
     6  
     7  type Asset struct {
     8  	ID            int       `json:"id,omitempty"`
     9  	Name          string    `json:"name,omitempty"`
    10  	Label         string    `json:"label,omitempty"`
    11  	ContentType   string    `json:"content_type,omitempty"`
    12  	State         string    `json:"state,omitempty"`
    13  	Size          int       `json:"size,omitempty"`
    14  	DownloadCount int       `json:"download_count,omitempty"`
    15  	URL           string    `json:"url,omitempty"`
    16  	CreatedAt     time.Time `json:"created_at,omitempty"`
    17  	UpdatedAt     time.Time `json:"updated_at,omitempty"`
    18  }