Documentation ¶
Index ¶
- Constants
- func NewFullContactClient(options ...ClientOption) (*fullContactClient, error)
- type APIResponse
- type Age
- type Apparel
- type Automotive
- type Average
- type Buyer
- type Card
- type Census
- type ClientOption
- type Collectibles
- type CompanyCategory
- type CompanyDetails
- type CompanyRegion
- type CompanyRequest
- type CompanyRequestOption
- func WithCompanyName(companyName string) CompanyRequestOption
- func WithCountry(country string) CompanyRequestOption
- func WithDomain(domain string) CompanyRequestOption
- func WithLocality(locality string) CompanyRequestOption
- func WithLocationForCompany(location string) CompanyRequestOption
- func WithRegion(region string) CompanyRequestOption
- func WithSort(sort string) CompanyRequestOption
- func WithWebhookUrlForCompany(webhookUrl string) CompanyRequestOption
- type CompanyResponse
- type CompanySearchLocation
- type CompanySearchResponse
- type CompanyTraffic
- type CredentialsProvider
- type CreditCards
- type DataAddOns
- type Date
- type DefaultCredentialsProvider
- type DefaultRetryHandler
- type Demographics
- type Details
- type DietConcerns
- type Education
- type Electronics
- type Email
- type Employment
- type Entity
- type FamilyInfo
- type Finance
- type FullContactError
- type Gardening
- type Hobby
- type HomeInfo
- type Household
- type Identifiers
- type Industry
- type Interest
- type Locale
- type Location
- type LocationInfo
- type LocationOption
- func WithAddressLine1(addressLine1 string) LocationOption
- func WithAddressLine2(addressLine2 string) LocationOption
- func WithCity(city string) LocationOption
- func WithCountryCode(countryCode string) LocationOption
- func WithCountryForLocation(country string) LocationOption
- func WithFormatted(formatted string) LocationOption
- func WithPostalCode(postalCode string) LocationOption
- func WithRegionCode(regionCode string) LocationOption
- func WithRegionForLocation(region string) LocationOption
- type Maids
- type Median
- type Music
- type Own
- type Ownership
- type Payment
- type People
- type Percent
- type PersonName
- type PersonNameOptions
- type PersonRequest
- type PersonRequestOption
- func WithConfidence(confidence string) PersonRequestOption
- func WithDataFilter(dataFilter string) PersonRequestOption
- func WithDataFilters(dataFilters []string) PersonRequestOption
- func WithEmail(email string) PersonRequestOption
- func WithEmails(emails []string) PersonRequestOption
- func WithInfer(infer bool) PersonRequestOption
- func WithLocation(location *Location) PersonRequestOption
- func WithMaid(maid string) PersonRequestOption
- func WithMaids(maids []string) PersonRequestOption
- func WithName(name *PersonName) PersonRequestOption
- func WithPersonId(personId string) PersonRequestOption
- func WithPhone(phone string) PersonRequestOption
- func WithPhones(phones []string) PersonRequestOption
- func WithProfile(profile *Profile) PersonRequestOption
- func WithProfiles(profiles []*Profile) PersonRequestOption
- func WithRecordId(recordId string) PersonRequestOption
- func WithWebhookUrl(webhookUrl string) PersonRequestOption
- type PersonResp
- type Phone
- type Photo
- type PopulationDensity
- type Presence
- type Profile
- type ProfileData
- type ProfileOptions
- type Profiles
- type Purchase
- type PurchaseBehavior
- type Rank
- type Reading
- type ResolveRequest
- type ResolveRequestOption
- func WithEmailForResolve(email string) ResolveRequestOption
- func WithEmailsForResolve(emails []string) ResolveRequestOption
- func WithLocationForResolve(location *Location) ResolveRequestOption
- func WithMaidForResolve(maid string) ResolveRequestOption
- func WithMaidsForResolve(maids []string) ResolveRequestOption
- func WithNameForResolve(name *PersonName) ResolveRequestOption
- func WithPersonIdForResolve(personId string) ResolveRequestOption
- func WithPhoneForResolve(phone string) ResolveRequestOption
- func WithPhonesForResolve(phones []string) ResolveRequestOption
- func WithProfileForResolve(profile *Profile) ResolveRequestOption
- func WithProfilesForResolve(profiles []*Profile) ResolveRequestOption
- func WithRecordIdForResolve(recordId string) ResolveRequestOption
- type ResolveResponse
- type RetryHandler
- type Sporting
- type StaticCredentialsProvider
- type Survey
- type TrafficRank
- type Travel
- type Url
- type Vehicle
- type Year2010
Constants ¶
View Source
const ( FcApiKey = "FC_API_KEY" FCGoClientTestType = "FCGoClientTestType" )
Variables ¶
This section is empty.
Functions ¶
func NewFullContactClient ¶
func NewFullContactClient(options ...ClientOption) (*fullContactClient, error)
Types ¶
type APIResponse ¶
type APIResponse struct { RawHttpResponse *http.Response PersonResponse *PersonResp CompanyResponse *CompanyResponse CompanySearchResponse []*CompanySearchResponse ResolveResponse *ResolveResponse StatusCode int Status string IsSuccessful bool Err error }
func (*APIResponse) String ¶
func (resp *APIResponse) String() string
type Apparel ¶
type Apparel struct { General bool `json:"general"` Children bool `json:"children"` Men bool `json:"men"` MensBigTall bool `json:"mensBigTall"` NonGenderSpecific bool `json:"nonGenderSpecific"` Teenagers bool `json:"teenagers"` Women bool `json:"women"` WomenPetiteSize bool `json:"womenPetiteSize"` WSomenPlusSize bool `json:"womenPlusSize"` }
type Automotive ¶
type Automotive struct {
Ownership Ownership `json:"ownership"`
}
type Average ¶
type Average struct {
NumberOfCarsInHousehold float64 `json:"numberOfCarsInHousehold"`
}
type Buyer ¶
type Buyer struct { Catalog PurchaseBehavior `json:"catalog"` Retail PurchaseBehavior `json:"retail"` }
type ClientOption ¶
type ClientOption func(fc *fullContactClient)
func WithCredentialsProvider ¶
func WithCredentialsProvider(credentialsProvider CredentialsProvider) ClientOption
func WithHeaders ¶
func WithHeaders(headers map[string]string) ClientOption
func WithRetryHandler ¶
func WithRetryHandler(retryHandler RetryHandler) ClientOption
func WithTimeout ¶
func WithTimeout(timeout int) ClientOption
type Collectibles ¶
type Collectibles struct { General bool `json:"general"` Coins bool `json:"coins"` Dolls bool `json:"dolls"` Figurines bool `json:"figurines"` Other bool `json:"other"` Plates bool `json:"plates"` SportsMemorabilia bool `json:"sportsMemorabilia"` Stamps bool `json:"stamps"` FineArts bool `json:"fineArts"` }
type CompanyCategory ¶
type CompanyDetails ¶
type CompanyDetails struct { Locales []Locale `json:"locales"` Category []CompanyCategory `json:"categories"` Entity Entity `json:"entity"` Industries []Industry `json:"industries"` Emails []Email `json:"emails"` Phones []Phone `json:"phones"` Locations []*Location `json:"locations"` Images []Photo `json:"images"` Urls []Url `json:"urls"` Keywords []string `json:"keywords"` KeyPeople []People `json:"keyPeople"` Traffic CompanyTraffic `json:"traffic"` Profiles Profiles `json:"profiles"` }
type CompanyRegion ¶
type CompanyRequest ¶
type CompanyRequest struct { Domain string `json:"domain,omitempty"` CompanyName string `json:"companyName,omitempty"` WebhookUrl string `json:"webhoookUrl,omitempty"` Location string `json:"location,omitempty"` Locality string `json:"locality,omitempty"` Region string `json:"region,omitempty"` Country string `json:"country,omitempty"` Sort string `json:"sort,omitempty"` }
func NewCompanyRequest ¶
func NewCompanyRequest(options ...CompanyRequestOption) (*CompanyRequest, error)
type CompanyRequestOption ¶
type CompanyRequestOption func(cr *CompanyRequest)
func WithCompanyName ¶
func WithCompanyName(companyName string) CompanyRequestOption
func WithCountry ¶
func WithCountry(country string) CompanyRequestOption
func WithDomain ¶
func WithDomain(domain string) CompanyRequestOption
func WithLocality ¶
func WithLocality(locality string) CompanyRequestOption
func WithLocationForCompany ¶
func WithLocationForCompany(location string) CompanyRequestOption
func WithRegion ¶
func WithRegion(region string) CompanyRequestOption
func WithSort ¶
func WithSort(sort string) CompanyRequestOption
func WithWebhookUrlForCompany ¶
func WithWebhookUrlForCompany(webhookUrl string) CompanyRequestOption
type CompanyResponse ¶
type CompanyResponse struct { Name string `json:"name"` Location string `json:"location"` Twitter string `json:"twitter"` Linkedin string `json:"linkedin"` Bio string `json:"bio"` Logo string `json:"logo"` Website string `json:"website"` Locale string `json:"locale"` Category string `json:"category"` Updated string `json:"updated"` Founded int `json:"founded"` Employees int `json:"employees"` DataAddOns []DataAddOns `json:"dataAddOns"` Details *CompanyDetails `json:"details"` }
type CompanySearchLocation ¶
type CompanySearchLocation struct { Locality string `json:"locality"` Region CompanyRegion `json:"region"` Country CompanyRegion `json:"country"` }
type CompanySearchResponse ¶
type CompanySearchResponse struct { LookupDomain string `json:"lookupDomain"` OrgName string `json:"orgName"` Logo string `json:"logo"` Location CompanySearchLocation `json:"location"` }
type CompanyTraffic ¶
type CompanyTraffic struct { CountryRank TrafficRank `json:"countryRank"` LocaleRank TrafficRank `json:"localeRank"` }
type CredentialsProvider ¶
type CredentialsProvider interface {
// contains filtered or unexported methods
}
type CreditCards ¶
type DataAddOns ¶
type DefaultCredentialsProvider ¶
type DefaultCredentialsProvider struct {
// contains filtered or unexported fields
}
func NewDefaultCredentialsProvider ¶
func NewDefaultCredentialsProvider(envVar string) (DefaultCredentialsProvider, error)
type DefaultRetryHandler ¶
type DefaultRetryHandler struct{}
func (*DefaultRetryHandler) RetryAttempts ¶
func (drh *DefaultRetryHandler) RetryAttempts() int
func (*DefaultRetryHandler) RetryDelayMillis ¶
func (drh *DefaultRetryHandler) RetryDelayMillis() int
func (*DefaultRetryHandler) ShouldRetry ¶
func (drh *DefaultRetryHandler) ShouldRetry(responseCode int) bool
type Demographics ¶
type Details ¶
type Details struct { Name *PersonName `json:"name"` Age Age `json:"age"` Gender string `json:"gender"` Household *Household `json:"household"` Demographics Demographics `json:"demographics"` Finance Finance `json:"finance"` Emails []Email `json:"emails"` Phones []Phone `json:"phones"` Census *Census `json:"census"` Survey *Survey `json:"survey"` Buyer Buyer `json:"buyer"` Profiles *Profiles `json:"profiles"` Identifiers Identifiers `json:"identifiers"` Automotive Automotive `json:"automotive"` Locations []Location `json:"locations"` Employment []Employment `json:"employment"` Photos []Photo `json:"photos"` Education []Education `json:"education"` Urls []Url `json:"urls"` Interests []Interest `json:"interests"` }
type DietConcerns ¶
type Electronics ¶
type Electronics struct { AppleDevice bool `json:"appleDevice"` CableTv bool `json:"cableTv"` HighSpeedInternet bool `json:"highSpeedInternet"` Dvr bool `json:"dvr"` DvdPlayer bool `json:"dvdPlayer"` Hdtv bool `json:"hdtv"` HomeTheater bool `json:"homeTheater"` SatelliteRadio bool `json:"satelliteRadio"` SatelliteTv bool `json:"satelliteTv"` VideoGameSystems bool `json:"videoGameSystems"` Other bool `json:"other"` }
type Employment ¶
type FamilyInfo ¶
type Finance ¶
type Finance struct { CashValueBalanceHouseholdEstimate string `json:"cashValueBalanceHouseholdEstimate"` FinancialDebtRangeEstimate string `json:"financialDebtRangeEstimate"` HouseholdIncomeEstimate string `json:"householdIncomeEstimate"` NetWorthRange string `json:"netWorthRange"` BankCard string `json:"bankCard"` RetailCard string `json:"retailCard"` ActiveLineOfCredit bool `json:"activeLineOfCredit"` Bankruptcy bool `json:"bankruptcy"` DiscretionaryIncomeEstimate int `json:"discretionaryIncomeEstimate"` }
type FullContactError ¶
type FullContactError struct {
// contains filtered or unexported fields
}
func NewFullContactError ¶
func NewFullContactError(msg string) *FullContactError
func (*FullContactError) Error ¶
func (fcError *FullContactError) Error() string
type Hobby ¶
type Hobby struct { Gardening Gardening `json:"gardening"` General bool `json:"general"` Baking bool `json:"baking"` BirdWatching bool `json:"birdWatching"` Cars bool `json:"cars"` CigarSmoking bool `json:"cigarSmoking"` GourmetCooking bool `json:"gourmetCooking"` Cooking bool `json:"cooking"` Crafts bool `json:"crafts"` CasinoGambling bool `json:"casinoGambling"` HomeImprovement bool `json:"homeImprovement"` HomeStudyCourses bool `json:"homeStudyCourses"` Knitting bool `json:"knitting"` Lotteries bool `json:"lotteries"` Quilting bool `json:"quilting"` SelfImprovementCourses bool `json:"selfImprovementCourses"` Sewing bool `json:"sewing"` Theater bool `json:"theater"` Woodworking bool `json:"woodworking"` WineAppreciation bool `json:"wineAppreciation"` Photography bool `json:"photography"` Exercise3xPerWeek bool `json:"exercise3xPerWeek"` ScrapBooking bool `json:"scrapBooking"` LowFatCooking bool `json:"lowFatCooking"` CareerAdvancementCourses bool `json:"careerAdvancementCourses"` JewelryMaking bool `json:"jewelryMaking"` Diy bool `json:"diy"` Green bool `json:"green"` SocialNetworking bool `json:"socialNetworking"` Spirituality bool `json:"spirituality"` }
type Household ¶
type Household struct { HomeInfo HomeInfo `json:"homeInfo"` Presence Presence `json:"presence"` Finance Finance `json:"finance"` LocationInfo LocationInfo `json:"locationInfo"` FamilyInfo FamilyInfo `json:"familyInfo"` }
type Identifiers ¶
type Location ¶
type Location struct { AddressLine1 string `json:"addressLine1,omitempty"` AddressLine2 string `json:"addressLine2,omitempty"` City string `json:"city,omitempty"` Region string `json:"region,omitempty"` RegionCode string `json:"regionCode,omitempty"` Country string `json:"country,omitempty"` CountryCode string `json:"countryCode,omitempty"` Formatted string `json:"formatted,omitempty"` PostalCode string `json:"postalCode,omitempty"` Type string `json:"type,omitempty"` Label string `json:"type,omitempty"` }
func NewLocation ¶
func NewLocation(options ...LocationOption) *Location
type LocationInfo ¶
type LocationInfo struct { CarrierRoute string `json:"carrierRoute"` DesignatedMarketArea string `json:"designatedMarketArea"` CoreBasedStatisticalArea string `json:"coreBasedStatisticalArea"` NielsenCountySize string `json:"nielsenCountySize"` CongressionalDistrict int `json:"congressionalDistrict"` NumericCountyCode int `json:"numericCountyCode"` SeasonalAddress bool `json:"seasonalAddress"` }
type LocationOption ¶
type LocationOption func(location *Location)
func WithAddressLine1 ¶
func WithAddressLine1(addressLine1 string) LocationOption
func WithAddressLine2 ¶
func WithAddressLine2(addressLine2 string) LocationOption
func WithCity ¶
func WithCity(city string) LocationOption
func WithCountryCode ¶
func WithCountryCode(countryCode string) LocationOption
func WithCountryForLocation ¶
func WithCountryForLocation(country string) LocationOption
func WithFormatted ¶
func WithFormatted(formatted string) LocationOption
func WithPostalCode ¶
func WithPostalCode(postalCode string) LocationOption
func WithRegionCode ¶
func WithRegionCode(regionCode string) LocationOption
func WithRegionForLocation ¶
func WithRegionForLocation(region string) LocationOption
type Music ¶
type Music struct { General bool `json:"general"` ChristianOrGospel bool `json:"christianOrGospel"` Classical bool `json:"classical"` Country bool `json:"country"` Jazz bool `json:"jazz"` Other bool `json:"other"` RhythmAndBlues bool `json:"rhythmAndBlues"` Rock bool `json:"rock"` SoftRock bool `json:"softRock"` Swing bool `json:"swing"` Alternative bool `json:"alternative"` }
type Percent ¶
type Percent struct { AbovePovertyLevel int `json:"abovePovertyLevel"` BelowPovertyLevel int `json:"belowPovertyLevel"` Black int `json:"black"` BlueCollarEmployed int `json:"blueCollarEmployed"` DivorcedOrSeparated int `json:"divorcedOrSeparated"` Hispanic int `json:"hispanic"` HomesBuiltSince2000 int `json:"homesBuiltSince2000"` Homeowner int `json:"homeowner"` HouseholdsWithChildren int `json:"householdsWithChildren"` Married int `json:"married"` MobileHome int `json:"mobileHome"` MovedToAreaSince2000 int `json:"movedToAreaSince2000"` SalariedProfessional int `json:"salariedProfessional"` SingleFamilyHome int `json:"singleFamilyHome"` VehicleOwnership int `json:"vehicleOwnership"` White int `json:"white"` }
type PersonName ¶
type PersonName struct { Given string `json:"given,omitempty"` Family string `json:"family,omitempty"` Full string `json:"full,omitempty"` }
func NewPersonName ¶
func NewPersonName(options ...PersonNameOptions) *PersonName
type PersonNameOptions ¶
type PersonNameOptions func(name *PersonName)
func WithFamily ¶
func WithFamily(family string) PersonNameOptions
func WithFull ¶
func WithFull(full string) PersonNameOptions
func WithGiven ¶
func WithGiven(given string) PersonNameOptions
type PersonRequest ¶
type PersonRequest struct { Emails []string `json:"emails,omitempty"` Phones []string `json:"phones,omitempty"` DataFilter []string `json:"dataFilter,omitempty"` Maid []string `json:"maids,omitempty"` Location *Location `json:"location,omitempty"` Name *PersonName `json:"name,omitempty"` Profiles []*Profile `json:"profiles,omitempty"` WebhookUrl string `json:"webhookUrl,omitempty"` RecordId string `json:"recordId,omitempty"` PersonId string `json:"personId,omitempty"` Confidence string `json:"confidence,omitempty"` Infer bool `json:"infer,omitempty"` }
func NewPersonRequest ¶
func NewPersonRequest(option ...PersonRequestOption) (*PersonRequest, error)
type PersonRequestOption ¶
type PersonRequestOption func(pr *PersonRequest)
func WithConfidence ¶
func WithConfidence(confidence string) PersonRequestOption
func WithDataFilter ¶
func WithDataFilter(dataFilter string) PersonRequestOption
func WithDataFilters ¶
func WithDataFilters(dataFilters []string) PersonRequestOption
func WithEmail ¶
func WithEmail(email string) PersonRequestOption
func WithEmails ¶
func WithEmails(emails []string) PersonRequestOption
func WithInfer ¶
func WithInfer(infer bool) PersonRequestOption
func WithLocation ¶
func WithLocation(location *Location) PersonRequestOption
func WithMaid ¶
func WithMaid(maid string) PersonRequestOption
func WithMaids ¶
func WithMaids(maids []string) PersonRequestOption
func WithName ¶
func WithName(name *PersonName) PersonRequestOption
func WithPersonId ¶
func WithPersonId(personId string) PersonRequestOption
func WithPhone ¶
func WithPhone(phone string) PersonRequestOption
func WithPhones ¶
func WithPhones(phones []string) PersonRequestOption
func WithProfile ¶
func WithProfile(profile *Profile) PersonRequestOption
func WithProfiles ¶
func WithProfiles(profiles []*Profile) PersonRequestOption
func WithRecordId ¶
func WithRecordId(recordId string) PersonRequestOption
func WithWebhookUrl ¶
func WithWebhookUrl(webhookUrl string) PersonRequestOption
type PersonResp ¶
type PersonResp struct { FullName string `json:"fullName"` Email string `json:"email"` Phone string `json:"phone"` AgeRange string `json:"ageRange"` Gender string `json:"gender"` Location string `json:"location"` Title string `json:"title"` Organization string `json:"organization"` Twitter string `json:"twitter"` Linkedin string `json:"linkedin"` Bio string `json:"bio"` Avatar string `json:"avatar"` Website string `json:"website"` Details *Details `json:"details"` Updated string `json:"updated"` }
type PopulationDensity ¶
type Profile ¶
type Profile struct { URL string `json:"url,omitempty"` Username string `json:"username,omitempty"` UserId string `json:"userid,omitempty"` Service string `json:"service,omitempty"` }
func NewProfile ¶
func NewProfile(options ...ProfileOptions) (*Profile, error)
type ProfileData ¶
type ProfileOptions ¶
type ProfileOptions func(*Profile)
func WithService ¶
func WithService(service string) ProfileOptions
func WithUrl ¶
func WithUrl(url string) ProfileOptions
func WithUserid ¶
func WithUserid(userid string) ProfileOptions
func WithUsername ¶
func WithUsername(username string) ProfileOptions
type Profiles ¶
type Profiles struct { Twitter ProfileData `json:"twitter"` Linkedin ProfileData `json:"linkedin"` Linkedincompany ProfileData `json:"linkedinCompany"` Klout ProfileData `json:"klout"` Youtube ProfileData `json:"youtube"` Angellist ProfileData `json:"angellist"` Owler ProfileData `json:"owler"` Pinterest ProfileData `json:"pinterest"` }
type PurchaseBehavior ¶
type PurchaseBehavior struct { Apparel Apparel `json:"apparel"` Payment Payment `json:"payment"` ArtsAntiques bool `json:"artsAntiques"` Automative bool `json:"automative"` Beauty bool `json:"beauty"` Books bool `json:"books"` ChildrenProducts bool `json:"childrenProducts"` Collectibles bool `json:"collectibles"` HomeOffice bool `json:"homeOffice"` Crafts bool `json:"crafts"` Electronics bool `json:"electronics"` FoodBeverages bool `json:"foodBeverages"` Furniture bool `json:"furniture"` Garden bool `json:"garden"` GeneralMerchandise bool `json:"generalMerchandise"` Gift bool `json:"gift"` Health bool `json:"health"` Holiday bool `json:"holiday"` HomeCare bool `json:"homeCare"` HomeFurnishings bool `json:"homeFurnishings"` Housewares bool `json:"housewares"` Jewelry bool `json:"jewelry"` Linens bool `json:"linens"` Music bool `json:"music"` Novelty bool `json:"novelty"` OtherMerchServices bool `json:"otherMerchServices"` PersonalCare bool `json:"personalCare"` Pets bool `json:"pets"` PhotoVideoEquipment bool `json:"photoVideoEquipment"` SpecialtyFood bool `json:"specialtyFood"` SpecialtyGifts bool `json:"specialtyGifts"` SportsLeisure bool `json:"sportsLeisure"` Stationery bool `json:"stationery"` Travel bool `json:"travel"` VideoEntertainment bool `json:"videoEntertainment"` ContinuityShopper bool `json:"continuityShopper"` OnlineShopper bool `json:"onlineShopper"` }
type Reading ¶
type Reading struct { LikesToRead bool `json:"likesToRead"` Astrology bool `json:"astrology"` BibleOrDevotional bool `json:"bibleOrDevotional"` BestSellingFiction bool `json:"bestSellingFiction"` Audiobooks bool `json:"audiobooks"` Childrens bool `json:"childrens"` Cooking bool `json:"cooking"` Computer bool `json:"computer"` CountryLifestyle bool `json:"countryLifestyle"` Fashion bool `json:"fashion"` History bool `json:"history"` InteriorDecorating bool `json:"interiorDecorating"` Health bool `json:"health"` Military bool `json:"military"` Mystery bool `json:"mystery"` NaturalHealthRemedies bool `json:"naturalHealthRemedies"` Entertainment bool `json:"entertainment"` Romance bool `json:"romance"` ScienceFiction bool `json:"scienceFiction"` Technology bool `json:"technology"` Sports bool `json:"sports"` WorldNewsOrPolitics bool `json:"worldNewsOrPolitics"` Suspense bool `json:"suspense"` BestSellers bool `json:"bestSellers"` BookClub bool `json:"bookClub"` Comics bool `json:"comics"` Financial bool `json:"financial"` HomeAndGarden bool `json:"homeAndGarden"` SelfImprovement bool `json:"selfImprovement"` Travel bool `json:"travel"` Magazines bool `json:"magazines"` }
type ResolveRequest ¶
type ResolveRequest struct { Emails []string `json:"emails,omitempty"` Phones []string `json:"phones,omitempty"` Maid []string `json:"maids,omitempty"` Location *Location `json:"location,omitempty"` Name *PersonName `json:"name,omitempty"` Profiles []*Profile `json:"profiles,omitempty"` RecordId string `json:"recordId,omitempty"` PersonId string `json:"personId,omitempty"` }
func NewResolveRequest ¶
func NewResolveRequest(option ...ResolveRequestOption) (*ResolveRequest, error)
type ResolveRequestOption ¶
type ResolveRequestOption func(pr *ResolveRequest)
func WithEmailForResolve ¶
func WithEmailForResolve(email string) ResolveRequestOption
func WithEmailsForResolve ¶
func WithEmailsForResolve(emails []string) ResolveRequestOption
func WithLocationForResolve ¶
func WithLocationForResolve(location *Location) ResolveRequestOption
func WithMaidForResolve ¶
func WithMaidForResolve(maid string) ResolveRequestOption
func WithMaidsForResolve ¶
func WithMaidsForResolve(maids []string) ResolveRequestOption
func WithNameForResolve ¶
func WithNameForResolve(name *PersonName) ResolveRequestOption
func WithPersonIdForResolve ¶
func WithPersonIdForResolve(personId string) ResolveRequestOption
func WithPhoneForResolve ¶
func WithPhoneForResolve(phone string) ResolveRequestOption
func WithPhonesForResolve ¶
func WithPhonesForResolve(phones []string) ResolveRequestOption
func WithProfileForResolve ¶
func WithProfileForResolve(profile *Profile) ResolveRequestOption
func WithProfilesForResolve ¶
func WithProfilesForResolve(profiles []*Profile) ResolveRequestOption
func WithRecordIdForResolve ¶
func WithRecordIdForResolve(recordId string) ResolveRequestOption
type ResolveResponse ¶
type RetryHandler ¶
type Sporting ¶
type Sporting struct { Other bool `json:"other"` CampingOrHiking bool `json:"campingOrHiking"` Baseball bool `json:"baseball"` Boating bool `json:"boating"` Basketball bool `json:"basketball"` Fishing bool `json:"fishing"` AmericanFootball bool `json:"americanFootball"` Fitness bool `json:"fitness"` Golf bool `json:"golf"` Hockey bool `json:"hockey"` Hunting bool `json:"hunting"` Nascar bool `json:"nascar"` SnowSkiing bool `json:"snowSkiing"` Walking bool `json:"walking"` Running bool `json:"running"` Scuba bool `json:"scuba"` Tennis bool `json:"tennis"` WeightLifting bool `json:"weightLifting"` Biking bool `json:"biking"` ExtremeSports bool `json:"extremeSports"` Motocross bool `json:"motocross"` Skateboarding bool `json:"skateboarding"` Snowboarding bool `json:"snowboarding"` Rollerblading bool `json:"rollerblading"` Interests bool `json:"interests"` }
type StaticCredentialsProvider ¶
type StaticCredentialsProvider struct {
// contains filtered or unexported fields
}
func NewStaticCredentialsProvider ¶
func NewStaticCredentialsProvider(apiKey string) (StaticCredentialsProvider, error)
type Survey ¶
type Survey struct { Own Own `json:"own"` Collectibles Collectibles `json:"collectibles"` CreditCards CreditCards `json:"creditCards"` DietConcerns DietConcerns `json:"dietConcerns"` Hobby Hobby `json:"hobby"` Music Music `json:"music"` Reading Reading `json:"reading"` Sporting Sporting `json:"sporting"` Travel Travel `json:"travel"` Electronics Electronics `json:"electronics"` Purchase Purchase `json:"purchase"` Religious bool `json:"religious"` Grandchildren bool `json:"grandchildren"` OnlinePurchaser bool `json:"onlinePurchaser"` Investments bool `json:"investments"` }
type TrafficRank ¶
type Travel ¶
type Travel struct { General bool `json:"general"` UsBusiness bool `json:"usBusiness"` InternationalBusiness bool `json:"internationalBusiness"` UsPersonal bool `json:"usPersonal"` InternationalPersonal bool `json:"internationalPersonal"` CasinoVacations bool `json:"casinoVacations"` FamilyVacations bool `json:"familyVacations"` FrequentFlyer bool `json:"frequentFlyer"` VacationCruises bool `json:"vacationCruises"` AttractionsOrThemeParks bool `json:"attractionsOrThemeParks"` Rv bool `json:"rv"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.