Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrelloApiParams ¶
type TrelloBoard ¶
type TrelloBoard struct { common.Scope `mapstructure:",squash"` ConnectionId uint64 `json:"connectionId" mapstructure:"connectionId" gorm:"primaryKey"` BoardId string `json:"boardId" mapstructure:"boardId" gorm:"type:varchar(255)"` Name string `json:"name" mapstructure:"name" gorm:"type:varchar(255)"` }
func (TrelloBoard) ScopeFullName ¶
func (b TrelloBoard) ScopeFullName() string
func (TrelloBoard) ScopeId ¶
func (b TrelloBoard) ScopeId() string
func (TrelloBoard) ScopeName ¶
func (b TrelloBoard) ScopeName() string
func (TrelloBoard) ScopeParams ¶
func (b TrelloBoard) ScopeParams() interface{}
func (TrelloBoard) TableName ¶
func (TrelloBoard) TableName() string
type TrelloCard ¶
type TrelloCard struct { ID string `gorm:"primaryKey;type:varchar(255)"` Name string `gorm:"type:varchar(255)"` Closed bool DueComplete bool DateLastActivity time.Time IDBoard string `gorm:"type:varchar(255)"` IDList string `gorm:"type:varchar(255)"` IDShort int Pos float64 ShortLink string `gorm:"type:varchar(255)"` ShortUrl string `gorm:"type:varchar(255)"` Subscribed bool Url string `gorm:"type:varchar(255)"` common.NoPKModel }
func (TrelloCard) TableName ¶
func (TrelloCard) TableName() string
type TrelloCheckItem ¶
type TrelloCheckItem struct { ID string `gorm:"primaryKey;type:varchar(255)"` Name string `gorm:"type:varchar(255)"` State string `gorm:"type:varchar(255)"` IDChecklist string `gorm:"type:varchar(255)"` ChecklistName string `gorm:"type:varchar(255)"` IDBoard string `gorm:"type:varchar(255)"` IDCard string `gorm:"type:varchar(255)"` Pos float64 common.NoPKModel }
func (TrelloCheckItem) TableName ¶
func (TrelloCheckItem) TableName() string
type TrelloConn ¶
type TrelloConn struct { helper.RestConnection `mapstructure:",squash"` helper.AppKey `mapstructure:",squash"` }
TrelloConn holds the essential information to connect to the Trello API
func (*TrelloConn) Sanitize ¶
func (tc *TrelloConn) Sanitize() TrelloConn
func (*TrelloConn) SetupAuthentication ¶
func (tc *TrelloConn) SetupAuthentication(req *http.Request) errors.Error
SetupAuthentication sets up the HTTP Request Authentication
type TrelloConnection ¶
type TrelloConnection struct { helper.BaseConnection `mapstructure:",squash"` TrelloConn `mapstructure:",squash"` }
TrelloConnection holds TrelloConn plus ID/Name for database storage
func (*TrelloConnection) MergeFromRequest ¶
func (connection *TrelloConnection) MergeFromRequest(target *TrelloConnection, body map[string]interface{}) error
func (TrelloConnection) Sanitize ¶
func (connection TrelloConnection) Sanitize() TrelloConnection
func (TrelloConnection) TableName ¶
func (TrelloConnection) TableName() string
type TrelloLabel ¶
type TrelloLabel struct { ID string `gorm:"primaryKey;type:varchar(255)"` IDBoard string `gorm:"type:varchar(255)"` Name string `gorm:"type:varchar(255)"` Color string `gorm:"type:varchar(255)"` common.NoPKModel }
func (TrelloLabel) TableName ¶
func (TrelloLabel) TableName() string
type TrelloList ¶
type TrelloList struct { ID string `gorm:"primaryKey;type:varchar(255)"` Name string `gorm:"type:varchar(255)"` IDBoard string `gorm:"type:varchar(255)"` Subscribed bool Pos float64 common.NoPKModel }
func (TrelloList) TableName ¶
func (TrelloList) TableName() string
type TrelloMember ¶
type TrelloMember struct { ID string `gorm:"primaryKey;type:varchar(255)"` FullName string `gorm:"type:varchar(255)"` Username string `gorm:"type:varchar(255)"` common.NoPKModel }
func (TrelloMember) TableName ¶
func (TrelloMember) TableName() string
type TrelloScopeConfig ¶
type TrelloScopeConfig struct {
common.ScopeConfig `mapstructure:",squash" json:",inline" gorm:"embedded"`
}
func (*TrelloScopeConfig) SetConnectionId ¶
func (t *TrelloScopeConfig) SetConnectionId(c *TrelloScopeConfig, connectionId uint64)
func (TrelloScopeConfig) TableName ¶
func (TrelloScopeConfig) TableName() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.