Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Id int64 `json:"id,omitempty"` Version int64 `json:"-"` Created int64 `json:"-"` Updated int64 `json:"-"` Name string `json:"name" binding:"required"` Description string `json:"description,omitempty"` Email string `json:"email" binding:"required"` }
func (*Account) PreInsert ¶
func (a *Account) PreInsert(s gorp.SqlExecutor) error
implement the PreInsert and PreUpdate hooks
func (*Account) Validate ¶
func (account *Account) Validate(v *revel.Validation)
type AccountGroup ¶
type AccountGroup struct { Id int64 `json:"id,omitempty"` Version int64 `json:"-"` Created int64 `json:"-"` Updated int64 `json:"-"` Name string `json:"name"` Default bool `json:"default" db:"default_group"` AccountId int64 `json:"accountId" db:"account_id"` }
func (*AccountGroup) PreInsert ¶
func (a *AccountGroup) PreInsert(s gorp.SqlExecutor) error
implement the PreInsert and PreUpdate hooks
func (*AccountGroup) PreUpdate ¶
func (a *AccountGroup) PreUpdate(s gorp.SqlExecutor) error
func (*AccountGroup) ToString ¶
func (a *AccountGroup) ToString() string
func (*AccountGroup) Validate ¶
func (a *AccountGroup) Validate(v *revel.Validation)
type DataStream ¶
type DataStream struct { Id int64 `json:"id,omitempty"` Version int64 `json:"-"` Created int64 `json:"-"` Updated int64 `json:"-"` Name string `json:"name" binding:"required"` Description string `json:"description,omitempty"` ProjectId int64 `json:"projectId" db:"project_id"` AccountId int64 `json:"accountId" db:"account_id"` DataStreamGroupId int64 `json:"dataStreamGroupId" db:"data_stream_group_id"` }
func (*DataStream) PreInsert ¶
func (a *DataStream) PreInsert(s gorp.SqlExecutor) error
implement the PreInsert and PreUpdate hooks
func (*DataStream) PreUpdate ¶
func (a *DataStream) PreUpdate(s gorp.SqlExecutor) error
func (*DataStream) ToString ¶
func (a *DataStream) ToString() string
func (*DataStream) Validate ¶
func (d *DataStream) Validate(v *revel.Validation)
type DataStreamGroup ¶
type DataStreamGroup struct { Id int64 `json:"id,omitempty"` Version int64 `json:"-"` Created int64 `json:"-"` Updated int64 `json:"-"` Name string `json:"name" binding:"required"` Description string `json:"description,omitempty"` ProjectId int64 `json:"projectId" db:"project_id"` AccountId int64 `json:"accountId" db:"account_id"` }
func (*DataStreamGroup) PreInsert ¶
func (a *DataStreamGroup) PreInsert(s gorp.SqlExecutor) error
implement the PreInsert and PreUpdate hooks
func (*DataStreamGroup) PreUpdate ¶
func (a *DataStreamGroup) PreUpdate(s gorp.SqlExecutor) error
func (*DataStreamGroup) ToString ¶
func (a *DataStreamGroup) ToString() string
func (*DataStreamGroup) Validate ¶
func (d *DataStreamGroup) Validate(v *revel.Validation)
type KeyPair ¶
type KeyPair struct { Id int64 `json:"id,omitempty"` Version int64 `json:"-"` Created int64 `json:"-"` Updated int64 `json:"-"` AccessKey string `json:"accessKey" db:"access_key"` Secret string `json:"secret" db:"-"` Label string `json:"label"` Active bool `json:"active"` Hashed []byte `json:"-"` LoginId int64 `json:"loginId" db:"login_id"` }
type Login ¶
type Login struct { Id int64 `json:"id,omitempty"` Version int64 `json:"-"` Created int64 `json:"-"` Updated int64 `json:"-"` Email string `json:"email"` FirstName string `json:"firstName" db:"first_name"` LastName string `json:"lastName" db:"last_name"` Gender string `json:"gender"` Picture string `json:"picture"` AccessToken string `json:"-" db:"access_token"` Network string `json:"-"` AccountGroupId int64 `json:"accountGroupId" db:"account_group_id"` }
type Project ¶
type Project struct { Id int64 `json:"id,omitempty"` Version int64 `json:"-"` Created int64 `json:"-"` Updated int64 `json:"-"` Name string `json:"name" binding:"required"` Description string `json:"description,omitempty"` AccountId int64 `json:"accountId" db:"account_id"` }
func (*Project) PreInsert ¶
func (a *Project) PreInsert(s gorp.SqlExecutor) error
implement the PreInsert and PreUpdate hooks
func (*Project) Validate ¶
func (project *Project) Validate(v *revel.Validation)
Click to show internal directories.
Click to hide internal directories.