Skip to content

Commit

Permalink
Merge branch 'lead_sobject'
Browse files Browse the repository at this point in the history
  • Loading branch information
billmccord committed Sep 22, 2014
2 parents d528c22 + 1baf395 commit a03dee1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions sobjects/lead.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package sobjects

type Lead struct {
BaseSObject
Company string `force:",omitempty"`
ConvertedDate string `force:",omitempty"`
FirstName string `force:",omitempty"`
IsConverted bool `force:",omitempty"`
IsDeleted bool `force:",omitempty"`
LastName string `force:",omitempty"`
OwnerId string `force:",omitempty"`
Status string `force:",omitempty"`
}

func (t *Lead) ApiName() string {
return "Lead"
}

type LeadQueryResponse struct {
BaseQuery
Records []Lead `json:"Records" force:"records"`
}

0 comments on commit a03dee1

Please sign in to comment.