Documentation ¶
Index ¶
- Constants
- Variables
- func CacheExpires(r *http.Response) time.Time
- func NormAndHashPhoneNum(in string) (*string, bool)
- func NormAndHashStr(in string) (*string, bool)
- func NormAndSoundexStr(in string) (*string, bool)
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- func Sha256(in string) string
- func Soundex(in string) string
- type APIClient
- type APIKey
- type APIResponse
- type ApiConversionValidateLogsRequest
- type ApiConversionValidateStatsRequest
- type ApiSendDataRequest
- type ApiSendTestDataRequest
- type AsyncResponse
- type BasicAuth
- type CapiClient
- func (c *CapiClient) GetTestEventLogs(assetId string) (*ResponseLogs, *http.Response, error)
- func (c *CapiClient) GetTestEventStats(assetId string) (*ResponseStats, *http.Response, error)
- func (c *CapiClient) SendEvent(event CapiEvent, rc chan *AsyncResponse)
- func (c *CapiClient) SendEventSync(event CapiEvent) (*Response, *http.Response, error)
- func (c *CapiClient) SendEvents(events []CapiEvent, rc chan *AsyncResponse)
- func (c *CapiClient) SendEventsSync(events []CapiEvent) (*Response, *http.Response, error)
- func (c *CapiClient) SendTestEvent(event CapiEvent) (*TestResponse, *http.Response, error)
- func (c *CapiClient) SendTestEvents(events []CapiEvent) (*TestResponse, *http.Response, error)
- func (c *CapiClient) SetDebugging(isEnabled bool)
- type CapiEvent
- func (o *CapiEvent) GetAppId() string
- func (o *CapiEvent) GetAppIdOk() (*string, bool)
- func (o *CapiEvent) GetClickId() string
- func (o *CapiEvent) GetClickIdOk() (*string, bool)
- func (o *CapiEvent) GetClientDedupId() string
- func (o *CapiEvent) GetClientDedupIdOk() (*string, bool)
- func (o *CapiEvent) GetCurrency() string
- func (o *CapiEvent) GetCurrencyOk() (*string, bool)
- func (o *CapiEvent) GetDataUse() string
- func (o *CapiEvent) GetDataUseOk() (*string, bool)
- func (o *CapiEvent) GetDescription() string
- func (o *CapiEvent) GetDescriptionOk() (*string, bool)
- func (o *CapiEvent) GetEventConversionType() string
- func (o *CapiEvent) GetEventConversionTypeOk() (*string, bool)
- func (o *CapiEvent) GetEventTag() string
- func (o *CapiEvent) GetEventTagOk() (*string, bool)
- func (o *CapiEvent) GetEventType() string
- func (o *CapiEvent) GetEventTypeOk() (*string, bool)
- func (o *CapiEvent) GetHashedCitySdx() string
- func (o *CapiEvent) GetHashedCitySdxOk() (*string, bool)
- func (o *CapiEvent) GetHashedCitySha() string
- func (o *CapiEvent) GetHashedCityShaOk() (*string, bool)
- func (o *CapiEvent) GetHashedDobDay() string
- func (o *CapiEvent) GetHashedDobDayOk() (*string, bool)
- func (o *CapiEvent) GetHashedDobMonth() string
- func (o *CapiEvent) GetHashedDobMonthOk() (*string, bool)
- func (o *CapiEvent) GetHashedEmail() string
- func (o *CapiEvent) GetHashedEmailOk() (*string, bool)
- func (o *CapiEvent) GetHashedFirstNameSdx() string
- func (o *CapiEvent) GetHashedFirstNameSdxOk() (*string, bool)
- func (o *CapiEvent) GetHashedFirstNameSha() string
- func (o *CapiEvent) GetHashedFirstNameShaOk() (*string, bool)
- func (o *CapiEvent) GetHashedIdfv() string
- func (o *CapiEvent) GetHashedIdfvOk() (*string, bool)
- func (o *CapiEvent) GetHashedIpAddress() string
- func (o *CapiEvent) GetHashedIpAddressOk() (*string, bool)
- func (o *CapiEvent) GetHashedLastNameSdx() string
- func (o *CapiEvent) GetHashedLastNameSdxOk() (*string, bool)
- func (o *CapiEvent) GetHashedLastNameSha() string
- func (o *CapiEvent) GetHashedLastNameShaOk() (*string, bool)
- func (o *CapiEvent) GetHashedMiddleNameSdx() string
- func (o *CapiEvent) GetHashedMiddleNameSdxOk() (*string, bool)
- func (o *CapiEvent) GetHashedMiddleNameSha() string
- func (o *CapiEvent) GetHashedMiddleNameShaOk() (*string, bool)
- func (o *CapiEvent) GetHashedMobileAdId() string
- func (o *CapiEvent) GetHashedMobileAdIdOk() (*string, bool)
- func (o *CapiEvent) GetHashedPhoneNumber() string
- func (o *CapiEvent) GetHashedPhoneNumberOk() (*string, bool)
- func (o *CapiEvent) GetHashedStateSdx() string
- func (o *CapiEvent) GetHashedStateSdxOk() (*string, bool)
- func (o *CapiEvent) GetHashedStateSha() string
- func (o *CapiEvent) GetHashedStateShaOk() (*string, bool)
- func (o *CapiEvent) GetHashedZip() string
- func (o *CapiEvent) GetHashedZipOk() (*string, bool)
- func (o *CapiEvent) GetIntegration() string
- func (o *CapiEvent) GetIntegrationOk() (*string, bool)
- func (o *CapiEvent) GetItemCategory() string
- func (o *CapiEvent) GetItemCategoryOk() (*string, bool)
- func (o *CapiEvent) GetItemIds() string
- func (o *CapiEvent) GetItemIdsOk() (*string, bool)
- func (o *CapiEvent) GetLevel() string
- func (o *CapiEvent) GetLevelOk() (*string, bool)
- func (o *CapiEvent) GetNumberItems() string
- func (o *CapiEvent) GetNumberItemsOk() (*string, bool)
- func (o *CapiEvent) GetPageUrl() string
- func (o *CapiEvent) GetPageUrlOk() (*string, bool)
- func (o *CapiEvent) GetPixelId() string
- func (o *CapiEvent) GetPixelIdOk() (*string, bool)
- func (o *CapiEvent) GetPrice() string
- func (o *CapiEvent) GetPriceOk() (*string, bool)
- func (o *CapiEvent) GetSearchString() string
- func (o *CapiEvent) GetSearchStringOk() (*string, bool)
- func (o *CapiEvent) GetSignUpMethod() string
- func (o *CapiEvent) GetSignUpMethodOk() (*string, bool)
- func (o *CapiEvent) GetSnapAppId() string
- func (o *CapiEvent) GetSnapAppIdOk() (*string, bool)
- func (o *CapiEvent) GetTimestamp() string
- func (o *CapiEvent) GetTimestampOk() (*string, bool)
- func (o *CapiEvent) GetTransactionId() string
- func (o *CapiEvent) GetTransactionIdOk() (*string, bool)
- func (o *CapiEvent) GetUserAgent() string
- func (o *CapiEvent) GetUserAgentOk() (*string, bool)
- func (o *CapiEvent) GetUuidC1() string
- func (o *CapiEvent) GetUuidC1Ok() (*string, bool)
- func (o *CapiEvent) HasAppId() bool
- func (o *CapiEvent) HasClickId() bool
- func (o *CapiEvent) HasClientDedupId() bool
- func (o *CapiEvent) HasCurrency() bool
- func (o *CapiEvent) HasDataUse() bool
- func (o *CapiEvent) HasDescription() bool
- func (o *CapiEvent) HasEventConversionType() bool
- func (o *CapiEvent) HasEventTag() bool
- func (o *CapiEvent) HasEventType() bool
- func (o *CapiEvent) HasHashedCitySdx() bool
- func (o *CapiEvent) HasHashedCitySha() bool
- func (o *CapiEvent) HasHashedDobDay() bool
- func (o *CapiEvent) HasHashedDobMonth() bool
- func (o *CapiEvent) HasHashedEmail() bool
- func (o *CapiEvent) HasHashedFirstNameSdx() bool
- func (o *CapiEvent) HasHashedFirstNameSha() bool
- func (o *CapiEvent) HasHashedIdfv() bool
- func (o *CapiEvent) HasHashedIpAddress() bool
- func (o *CapiEvent) HasHashedLastNameSdx() bool
- func (o *CapiEvent) HasHashedLastNameSha() bool
- func (o *CapiEvent) HasHashedMiddleNameSdx() bool
- func (o *CapiEvent) HasHashedMiddleNameSha() bool
- func (o *CapiEvent) HasHashedMobileAdId() bool
- func (o *CapiEvent) HasHashedPhoneNumber() bool
- func (o *CapiEvent) HasHashedStateSdx() bool
- func (o *CapiEvent) HasHashedStateSha() bool
- func (o *CapiEvent) HasHashedZip() bool
- func (o *CapiEvent) HasIntegration() bool
- func (o *CapiEvent) HasItemCategory() bool
- func (o *CapiEvent) HasItemIds() bool
- func (o *CapiEvent) HasLevel() bool
- func (o *CapiEvent) HasNumberItems() bool
- func (o *CapiEvent) HasPageUrl() bool
- func (o *CapiEvent) HasPixelId() bool
- func (o *CapiEvent) HasPrice() bool
- func (o *CapiEvent) HasSearchString() bool
- func (o *CapiEvent) HasSignUpMethod() bool
- func (o *CapiEvent) HasSnapAppId() bool
- func (o *CapiEvent) HasTimestamp() bool
- func (o *CapiEvent) HasTransactionId() bool
- func (o *CapiEvent) HasUserAgent() bool
- func (o *CapiEvent) HasUuidC1() bool
- func (o CapiEvent) MarshalJSON() ([]byte, error)
- func (o *CapiEvent) SetAppId(v string)
- func (o *CapiEvent) SetCity(unhashedCity string) bool
- func (o *CapiEvent) SetClickId(v string)
- func (o *CapiEvent) SetClientDedupId(v string)
- func (o *CapiEvent) SetCurrency(v string)
- func (o *CapiEvent) SetDataUse(v string)
- func (o *CapiEvent) SetDescription(v string)
- func (o *CapiEvent) SetDob(unhashedDobStr string) bool
- func (o *CapiEvent) SetEmail(unhashedEmail string) bool
- func (o *CapiEvent) SetEventConversionType(v string)
- func (o *CapiEvent) SetEventTag(v string)
- func (o *CapiEvent) SetEventType(v string)
- func (o *CapiEvent) SetFirstName(unhashedFirstName string) bool
- func (o *CapiEvent) SetHashedCitySdx(v string)
- func (o *CapiEvent) SetHashedCitySha(v string)
- func (o *CapiEvent) SetHashedDobDay(v string)
- func (o *CapiEvent) SetHashedDobMonth(v string)
- func (o *CapiEvent) SetHashedEmail(v string)
- func (o *CapiEvent) SetHashedFirstNameSdx(v string)
- func (o *CapiEvent) SetHashedFirstNameSha(v string)
- func (o *CapiEvent) SetHashedIdfv(v string)
- func (o *CapiEvent) SetHashedIpAddress(v string)
- func (o *CapiEvent) SetHashedLastNameSdx(v string)
- func (o *CapiEvent) SetHashedLastNameSha(v string)
- func (o *CapiEvent) SetHashedMiddleNameSdx(v string)
- func (o *CapiEvent) SetHashedMiddleNameSha(v string)
- func (o *CapiEvent) SetHashedMobileAdId(v string)
- func (o *CapiEvent) SetHashedPhoneNumber(v string)
- func (o *CapiEvent) SetHashedStateSdx(v string)
- func (o *CapiEvent) SetHashedStateSha(v string)
- func (o *CapiEvent) SetHashedZip(v string)
- func (o *CapiEvent) SetIdfv(unhashedIdfv string) bool
- func (o *CapiEvent) SetIntegration(v string)
- func (o *CapiEvent) SetIpAddress(unhashedIpAddress string) bool
- func (o *CapiEvent) SetItemCategory(v string)
- func (o *CapiEvent) SetItemIds(v string)
- func (o *CapiEvent) SetLastName(unhashedLastName string) bool
- func (o *CapiEvent) SetLevel(v string)
- func (o *CapiEvent) SetMiddleName(unhashedMiddleName string) bool
- func (o *CapiEvent) SetMobileAdId(unhashedMobileAdId string) bool
- func (o *CapiEvent) SetNumberItems(v string)
- func (o *CapiEvent) SetPageUrl(v string)
- func (o *CapiEvent) SetPhoneNumber(unhashedPhoneNumber string) bool
- func (o *CapiEvent) SetPixelId(v string)
- func (o *CapiEvent) SetPrice(v string)
- func (o *CapiEvent) SetSearchString(v string)
- func (o *CapiEvent) SetSignUpMethod(v string)
- func (o *CapiEvent) SetSnapAppId(v string)
- func (o *CapiEvent) SetState(unhashedState string) bool
- func (o *CapiEvent) SetTimestamp(v string)
- func (o *CapiEvent) SetTransactionId(v string)
- func (o *CapiEvent) SetUserAgent(v string)
- func (o *CapiEvent) SetUuidC1(v string)
- func (o *CapiEvent) SetZip(unhashedZip string) bool
- type Configuration
- type ContextOption
- type ConversionApi
- type DefaultApi
- type DefaultApiService
- func (a *DefaultApiService) ConversionValidateLogs(ctx context.Context) ApiConversionValidateLogsRequest
- func (a *DefaultApiService) ConversionValidateLogsExecute(r ApiConversionValidateLogsRequest) (*ResponseLogs, *http.Response, error)
- func (a *DefaultApiService) ConversionValidateStats(ctx context.Context) ApiConversionValidateStatsRequest
- func (a *DefaultApiService) ConversionValidateStatsExecute(r ApiConversionValidateStatsRequest) (*ResponseStats, *http.Response, error)
- func (a *DefaultApiService) SendData(ctx context.Context) ApiSendDataRequest
- func (a *DefaultApiService) SendDataExecute(r ApiSendDataRequest) (*Response, *http.Response, error)
- func (a *DefaultApiService) SendTestData(ctx context.Context) ApiSendTestDataRequest
- func (a *DefaultApiService) SendTestDataExecute(r ApiSendTestDataRequest) (*TestResponse, *http.Response, error)
- type GenericOpenAPIError
- type NullableBool
- type NullableCapiEvent
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableResponse
- type NullableResponseErrorRecords
- func (v NullableResponseErrorRecords) Get() *ResponseErrorRecords
- func (v NullableResponseErrorRecords) IsSet() bool
- func (v NullableResponseErrorRecords) MarshalJSON() ([]byte, error)
- func (v *NullableResponseErrorRecords) Set(val *ResponseErrorRecords)
- func (v *NullableResponseErrorRecords) UnmarshalJSON(src []byte) error
- func (v *NullableResponseErrorRecords) Unset()
- type NullableResponseLogs
- func (v NullableResponseLogs) Get() *ResponseLogs
- func (v NullableResponseLogs) IsSet() bool
- func (v NullableResponseLogs) MarshalJSON() ([]byte, error)
- func (v *NullableResponseLogs) Set(val *ResponseLogs)
- func (v *NullableResponseLogs) UnmarshalJSON(src []byte) error
- func (v *NullableResponseLogs) Unset()
- type NullableResponseLogsLog
- func (v NullableResponseLogsLog) Get() *ResponseLogsLog
- func (v NullableResponseLogsLog) IsSet() bool
- func (v NullableResponseLogsLog) MarshalJSON() ([]byte, error)
- func (v *NullableResponseLogsLog) Set(val *ResponseLogsLog)
- func (v *NullableResponseLogsLog) UnmarshalJSON(src []byte) error
- func (v *NullableResponseLogsLog) Unset()
- type NullableResponseStats
- func (v NullableResponseStats) Get() *ResponseStats
- func (v NullableResponseStats) IsSet() bool
- func (v NullableResponseStats) MarshalJSON() ([]byte, error)
- func (v *NullableResponseStats) Set(val *ResponseStats)
- func (v *NullableResponseStats) UnmarshalJSON(src []byte) error
- func (v *NullableResponseStats) Unset()
- type NullableResponseStatsData
- func (v NullableResponseStatsData) Get() *ResponseStatsData
- func (v NullableResponseStatsData) IsSet() bool
- func (v NullableResponseStatsData) MarshalJSON() ([]byte, error)
- func (v *NullableResponseStatsData) Set(val *ResponseStatsData)
- func (v *NullableResponseStatsData) UnmarshalJSON(src []byte) error
- func (v *NullableResponseStatsData) Unset()
- type NullableResponseStatsTest
- func (v NullableResponseStatsTest) Get() *ResponseStatsTest
- func (v NullableResponseStatsTest) IsSet() bool
- func (v NullableResponseStatsTest) MarshalJSON() ([]byte, error)
- func (v *NullableResponseStatsTest) Set(val *ResponseStatsTest)
- func (v *NullableResponseStatsTest) UnmarshalJSON(src []byte) error
- func (v *NullableResponseStatsTest) Unset()
- type NullableString
- type NullableTestResponse
- func (v NullableTestResponse) Get() *TestResponse
- func (v NullableTestResponse) IsSet() bool
- func (v NullableTestResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTestResponse) Set(val *TestResponse)
- func (v *NullableTestResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTestResponse) Unset()
- type NullableTime
- type NullableValidatedFields
- func (v NullableValidatedFields) Get() *ValidatedFields
- func (v NullableValidatedFields) IsSet() bool
- func (v NullableValidatedFields) MarshalJSON() ([]byte, error)
- func (v *NullableValidatedFields) Set(val *ValidatedFields)
- func (v *NullableValidatedFields) UnmarshalJSON(src []byte) error
- func (v *NullableValidatedFields) Unset()
- type NullableValidatedFieldsItems
- func (v NullableValidatedFieldsItems) Get() *ValidatedFieldsItems
- func (v NullableValidatedFieldsItems) IsSet() bool
- func (v NullableValidatedFieldsItems) MarshalJSON() ([]byte, error)
- func (v *NullableValidatedFieldsItems) Set(val *ValidatedFieldsItems)
- func (v *NullableValidatedFieldsItems) UnmarshalJSON(src []byte) error
- func (v *NullableValidatedFieldsItems) Unset()
- type Response
- func (o *Response) GetErrorRecords() []ResponseErrorRecords
- func (o *Response) GetErrorRecordsOk() ([]ResponseErrorRecords, bool)
- func (o *Response) GetReason() string
- func (o *Response) GetReasonOk() (*string, bool)
- func (o *Response) GetStatus() string
- func (o *Response) GetStatusOk() (*string, bool)
- func (o *Response) HasErrorRecords() bool
- func (o *Response) HasReason() bool
- func (o *Response) HasStatus() bool
- func (o Response) MarshalJSON() ([]byte, error)
- func (o *Response) SetErrorRecords(v []ResponseErrorRecords)
- func (o *Response) SetReason(v string)
- func (o *Response) SetStatus(v string)
- type ResponseErrorRecords
- func (o *ResponseErrorRecords) GetReason() string
- func (o *ResponseErrorRecords) GetReasonOk() (*string, bool)
- func (o *ResponseErrorRecords) GetRecordIndexes() []int32
- func (o *ResponseErrorRecords) GetRecordIndexesOk() ([]int32, bool)
- func (o *ResponseErrorRecords) HasReason() bool
- func (o *ResponseErrorRecords) HasRecordIndexes() bool
- func (o ResponseErrorRecords) MarshalJSON() ([]byte, error)
- func (o *ResponseErrorRecords) SetReason(v string)
- func (o *ResponseErrorRecords) SetRecordIndexes(v []int32)
- type ResponseLogs
- func (o *ResponseLogs) GetLogs() []ResponseLogsLog
- func (o *ResponseLogs) GetLogsOk() ([]ResponseLogsLog, bool)
- func (o *ResponseLogs) GetReason() string
- func (o *ResponseLogs) GetReasonOk() (*string, bool)
- func (o *ResponseLogs) GetStatus() string
- func (o *ResponseLogs) GetStatusOk() (*string, bool)
- func (o *ResponseLogs) HasLogs() bool
- func (o *ResponseLogs) HasReason() bool
- func (o *ResponseLogs) HasStatus() bool
- func (o ResponseLogs) MarshalJSON() ([]byte, error)
- func (o *ResponseLogs) SetLogs(v []ResponseLogsLog)
- func (o *ResponseLogs) SetReason(v string)
- func (o *ResponseLogs) SetStatus(v string)
- type ResponseLogsLog
- func (o *ResponseLogsLog) GetErrorRecords() []string
- func (o *ResponseLogsLog) GetErrorRecordsOk() ([]string, bool)
- func (o *ResponseLogsLog) GetEventConversionType() string
- func (o *ResponseLogsLog) GetEventConversionTypeOk() (*string, bool)
- func (o *ResponseLogsLog) GetEventMetadata() CapiEvent
- func (o *ResponseLogsLog) GetEventMetadataOk() (*CapiEvent, bool)
- func (o *ResponseLogsLog) GetEventType() string
- func (o *ResponseLogsLog) GetEventTypeOk() (*string, bool)
- func (o *ResponseLogsLog) GetIntegration() string
- func (o *ResponseLogsLog) GetIntegrationOk() (*string, bool)
- func (o *ResponseLogsLog) GetStatus() string
- func (o *ResponseLogsLog) GetStatusOk() (*string, bool)
- func (o *ResponseLogsLog) GetTimestamp() string
- func (o *ResponseLogsLog) GetTimestampOk() (*string, bool)
- func (o *ResponseLogsLog) GetWarningRecords() []string
- func (o *ResponseLogsLog) GetWarningRecordsOk() ([]string, bool)
- func (o *ResponseLogsLog) HasErrorRecords() bool
- func (o *ResponseLogsLog) HasEventConversionType() bool
- func (o *ResponseLogsLog) HasEventMetadata() bool
- func (o *ResponseLogsLog) HasEventType() bool
- func (o *ResponseLogsLog) HasIntegration() bool
- func (o *ResponseLogsLog) HasStatus() bool
- func (o *ResponseLogsLog) HasTimestamp() bool
- func (o *ResponseLogsLog) HasWarningRecords() bool
- func (o ResponseLogsLog) MarshalJSON() ([]byte, error)
- func (o *ResponseLogsLog) SetErrorRecords(v []string)
- func (o *ResponseLogsLog) SetEventConversionType(v string)
- func (o *ResponseLogsLog) SetEventMetadata(v CapiEvent)
- func (o *ResponseLogsLog) SetEventType(v string)
- func (o *ResponseLogsLog) SetIntegration(v string)
- func (o *ResponseLogsLog) SetStatus(v string)
- func (o *ResponseLogsLog) SetTimestamp(v string)
- func (o *ResponseLogsLog) SetWarningRecords(v []string)
- type ResponseStats
- func (o *ResponseStats) GetReason() string
- func (o *ResponseStats) GetReasonOk() (*string, bool)
- func (o *ResponseStats) GetStats() ResponseStatsData
- func (o *ResponseStats) GetStatsOk() (*ResponseStatsData, bool)
- func (o *ResponseStats) GetStatus() string
- func (o *ResponseStats) GetStatusOk() (*string, bool)
- func (o *ResponseStats) HasReason() bool
- func (o *ResponseStats) HasStats() bool
- func (o *ResponseStats) HasStatus() bool
- func (o ResponseStats) MarshalJSON() ([]byte, error)
- func (o *ResponseStats) SetReason(v string)
- func (o *ResponseStats) SetStats(v ResponseStatsData)
- func (o *ResponseStats) SetStatus(v string)
- type ResponseStatsData
- func (o *ResponseStatsData) GetLive() ResponseStatsTest
- func (o *ResponseStatsData) GetLiveOk() (*ResponseStatsTest, bool)
- func (o *ResponseStatsData) GetTest() ResponseStatsTest
- func (o *ResponseStatsData) GetTestOk() (*ResponseStatsTest, bool)
- func (o *ResponseStatsData) HasLive() bool
- func (o *ResponseStatsData) HasTest() bool
- func (o ResponseStatsData) MarshalJSON() ([]byte, error)
- func (o *ResponseStatsData) SetLive(v ResponseStatsTest)
- func (o *ResponseStatsData) SetTest(v ResponseStatsTest)
- type ResponseStatsTest
- func (o *ResponseStatsTest) GetEventCountPastHour() int64
- func (o *ResponseStatsTest) GetEventCountPastHourOk() (*int64, bool)
- func (o *ResponseStatsTest) GetLatestEventTs() int64
- func (o *ResponseStatsTest) GetLatestEventTsOk() (*int64, bool)
- func (o *ResponseStatsTest) HasEventCountPastHour() bool
- func (o *ResponseStatsTest) HasLatestEventTs() bool
- func (o ResponseStatsTest) MarshalJSON() ([]byte, error)
- func (o *ResponseStatsTest) SetEventCountPastHour(v int64)
- func (o *ResponseStatsTest) SetLatestEventTs(v int64)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TestResponse
- func (o *TestResponse) GetErrorRecords() []ResponseErrorRecords
- func (o *TestResponse) GetErrorRecordsOk() ([]ResponseErrorRecords, bool)
- func (o *TestResponse) GetReason() string
- func (o *TestResponse) GetReasonOk() (*string, bool)
- func (o *TestResponse) GetStatus() string
- func (o *TestResponse) GetStatusOk() (*string, bool)
- func (o *TestResponse) GetValidatedFields() []ValidatedFields
- func (o *TestResponse) GetValidatedFieldsOk() ([]ValidatedFields, bool)
- func (o *TestResponse) GetWarningRecords() []ResponseErrorRecords
- func (o *TestResponse) GetWarningRecordsOk() ([]ResponseErrorRecords, bool)
- func (o *TestResponse) HasErrorRecords() bool
- func (o *TestResponse) HasReason() bool
- func (o *TestResponse) HasStatus() bool
- func (o *TestResponse) HasValidatedFields() bool
- func (o *TestResponse) HasWarningRecords() bool
- func (o TestResponse) MarshalJSON() ([]byte, error)
- func (o *TestResponse) SetErrorRecords(v []ResponseErrorRecords)
- func (o *TestResponse) SetReason(v string)
- func (o *TestResponse) SetStatus(v string)
- func (o *TestResponse) SetValidatedFields(v []ValidatedFields)
- func (o *TestResponse) SetWarningRecords(v []ResponseErrorRecords)
- type ValidatedFields
- func (o *ValidatedFields) GetRecordIndex() int32
- func (o *ValidatedFields) GetRecordIndexOk() (*int32, bool)
- func (o *ValidatedFields) GetValidatedFields() ValidatedFieldsItems
- func (o *ValidatedFields) GetValidatedFieldsOk() (*ValidatedFieldsItems, bool)
- func (o *ValidatedFields) HasRecordIndex() bool
- func (o *ValidatedFields) HasValidatedFields() bool
- func (o ValidatedFields) MarshalJSON() ([]byte, error)
- func (o *ValidatedFields) SetRecordIndex(v int32)
- func (o *ValidatedFields) SetValidatedFields(v ValidatedFieldsItems)
- type ValidatedFieldsItems
- func (o *ValidatedFieldsItems) GetCurrency() string
- func (o *ValidatedFieldsItems) GetCurrencyOk() (*string, bool)
- func (o *ValidatedFieldsItems) GetEventConversionType() string
- func (o *ValidatedFieldsItems) GetEventConversionTypeOk() (*string, bool)
- func (o *ValidatedFieldsItems) GetEventType() string
- func (o *ValidatedFieldsItems) GetEventTypeOk() (*string, bool)
- func (o *ValidatedFieldsItems) GetPixelId() string
- func (o *ValidatedFieldsItems) GetPixelIdOk() (*string, bool)
- func (o *ValidatedFieldsItems) GetPrice() string
- func (o *ValidatedFieldsItems) GetPriceOk() (*string, bool)
- func (o *ValidatedFieldsItems) GetSnapAppId() string
- func (o *ValidatedFieldsItems) GetSnapAppIdOk() (*string, bool)
- func (o *ValidatedFieldsItems) HasCurrency() bool
- func (o *ValidatedFieldsItems) HasEventConversionType() bool
- func (o *ValidatedFieldsItems) HasEventType() bool
- func (o *ValidatedFieldsItems) HasPixelId() bool
- func (o *ValidatedFieldsItems) HasPrice() bool
- func (o *ValidatedFieldsItems) HasSnapAppId() bool
- func (o ValidatedFieldsItems) MarshalJSON() ([]byte, error)
- func (o *ValidatedFieldsItems) SetCurrency(v string)
- func (o *ValidatedFieldsItems) SetEventConversionType(v string)
- func (o *ValidatedFieldsItems) SetEventType(v string)
- func (o *ValidatedFieldsItems) SetPixelId(v string)
- func (o *ValidatedFieldsItems) SetPrice(v string)
- func (o *ValidatedFieldsItems) SetSnapAppId(v string)
Constants ¶
const ( SDK_LANGUAGE = "Go" SDK_VERSION = "1.0.0" API_VERSION = "v2" PROD_URL = "https://tr.snapchat.com/" + API_VERSION STAGING_URL = "https://tr-shadow.snapchat.com/" + API_VERSION USER_AGENT = "BusinessSDK/" + SDK_VERSION + "/Go" USER_AGENT_WITH_PAD = USER_AGENT + " (LaunchPAD)" SDK_VERSION_HEADER = "X-CAPI-BusinessSDK" INTEGRATION_SDK = "business-sdk" SDK_VERSION_HEADER_VALUE = SDK_LANGUAGE + "/" + SDK_VERSION // LaunchPAD Support TEST_MODE_HEADER = "X-CAPI-Test-Mode" CAPI_PATH_HEADER = "X-CAPI-Path" // Specify the CAPI endpoint path where the request is forwarded CAPI_PATH = "/" + API_VERSION + "/conversion" CAPI_PATH_TEST = CAPI_PATH + "/validate" )
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NormAndHashPhoneNum ¶
NormAndHashPhoneNum Normalizes and hashes phone number. Returns a tuple with hashed normalized phone number if set. Nil otherwise and boolean to check if value is set
func NormAndHashStr ¶
NormAndHashStr Returns a tuple with hashed and normalized string if it is valid. Nil otherwise and boolean to check if value is set
func NormAndSoundexStr ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DefaultApi DefaultApi // contains filtered or unexported fields }
APIClient manages communication with the Snap Conversions API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiConversionValidateLogsRequest ¶
type ApiConversionValidateLogsRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiConversionValidateLogsRequest) AssetId ¶
func (r ApiConversionValidateLogsRequest) AssetId(assetId string) ApiConversionValidateLogsRequest
func (ApiConversionValidateLogsRequest) Execute ¶
func (r ApiConversionValidateLogsRequest) Execute() (*ResponseLogs, *http.Response, error)
type ApiConversionValidateStatsRequest ¶
type ApiConversionValidateStatsRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiConversionValidateStatsRequest) AssetId ¶
func (r ApiConversionValidateStatsRequest) AssetId(assetId string) ApiConversionValidateStatsRequest
func (ApiConversionValidateStatsRequest) Execute ¶
func (r ApiConversionValidateStatsRequest) Execute() (*ResponseStats, *http.Response, error)
type ApiSendDataRequest ¶
type ApiSendDataRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiSendDataRequest) Body ¶
func (r ApiSendDataRequest) Body(body []CapiEvent) ApiSendDataRequest
Snap Conversions API
type ApiSendTestDataRequest ¶
type ApiSendTestDataRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiSendTestDataRequest) Body ¶
func (r ApiSendTestDataRequest) Body(body []CapiEvent) ApiSendTestDataRequest
Snap Conversions API
func (ApiSendTestDataRequest) Execute ¶
func (r ApiSendTestDataRequest) Execute() (*TestResponse, *http.Response, error)
type AsyncResponse ¶
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CapiClient ¶
type CapiClient struct {
// contains filtered or unexported fields
}
CapiClient DefaultApi service
func NewCapiClient ¶
func NewCapiClient(longLivedToken string, opts ...ContextOption) *CapiClient
func (*CapiClient) GetTestEventLogs ¶
func (c *CapiClient) GetTestEventLogs(assetId string) (*ResponseLogs, *http.Response, error)
func (*CapiClient) GetTestEventStats ¶
func (c *CapiClient) GetTestEventStats(assetId string) (*ResponseStats, *http.Response, error)
func (*CapiClient) SendEvent ¶
func (c *CapiClient) SendEvent(event CapiEvent, rc chan *AsyncResponse)
func (*CapiClient) SendEventSync ¶
func (*CapiClient) SendEvents ¶
func (c *CapiClient) SendEvents(events []CapiEvent, rc chan *AsyncResponse)
func (*CapiClient) SendEventsSync ¶
func (*CapiClient) SendTestEvent ¶
func (c *CapiClient) SendTestEvent(event CapiEvent) (*TestResponse, *http.Response, error)
func (*CapiClient) SendTestEvents ¶
func (c *CapiClient) SendTestEvents(events []CapiEvent) (*TestResponse, *http.Response, error)
func (*CapiClient) SetDebugging ¶
func (c *CapiClient) SetDebugging(isEnabled bool)
type CapiEvent ¶
type CapiEvent struct { PixelId *string `json:"pixel_id,omitempty"` AppId *string `json:"app_id,omitempty"` SnapAppId *string `json:"snap_app_id,omitempty"` EventType *string `json:"event_type,omitempty"` EventConversionType *string `json:"event_conversion_type,omitempty"` EventTag *string `json:"event_tag,omitempty"` Timestamp *string `json:"timestamp,omitempty"` HashedEmail *string `json:"hashed_email,omitempty"` HashedMobileAdId *string `json:"hashed_mobile_ad_id,omitempty"` UuidC1 *string `json:"uuid_c1,omitempty"` HashedIdfv *string `json:"hashed_idfv,omitempty"` HashedPhoneNumber *string `json:"hashed_phone_number,omitempty"` UserAgent *string `json:"user_agent,omitempty"` HashedIpAddress *string `json:"hashed_ip_address,omitempty"` ItemCategory *string `json:"item_category,omitempty"` ItemIds *string `json:"item_ids,omitempty"` Description *string `json:"description,omitempty"` NumberItems *string `json:"number_items,omitempty"` Price *string `json:"price,omitempty"` Currency *string `json:"currency,omitempty"` TransactionId *string `json:"transaction_id,omitempty"` Level *string `json:"level,omitempty"` ClientDedupId *string `json:"client_dedup_id,omitempty"` DataUse *string `json:"data_use,omitempty"` SearchString *string `json:"search_string,omitempty"` PageUrl *string `json:"page_url,omitempty"` SignUpMethod *string `json:"sign_up_method,omitempty"` HashedFirstNameSha *string `json:"hashed_first_name_sha,omitempty"` HashedFirstNameSdx *string `json:"hashed_first_name_sdx,omitempty"` HashedMiddleNameSha *string `json:"hashed_middle_name_sha,omitempty"` HashedMiddleNameSdx *string `json:"hashed_middle_name_sdx,omitempty"` HashedLastNameSha *string `json:"hashed_last_name_sha,omitempty"` HashedLastNameSdx *string `json:"hashed_last_name_sdx,omitempty"` HashedCitySha *string `json:"hashed_city_sha,omitempty"` HashedCitySdx *string `json:"hashed_city_sdx,omitempty"` HashedStateSha *string `json:"hashed_state_sha,omitempty"` HashedStateSdx *string `json:"hashed_state_sdx,omitempty"` HashedZip *string `json:"hashed_zip,omitempty"` HashedDobMonth *string `json:"hashed_dob_month,omitempty"` HashedDobDay *string `json:"hashed_dob_day,omitempty"` Integration *string `json:"integration,omitempty"` ClickId *string `json:"click_id,omitempty"` }
CapiEvent struct for CapiEvent
func NewCapiEvent ¶
func NewCapiEvent() *CapiEvent
NewCapiEvent instantiates a new CapiEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCapiEventWithDefaults ¶
func NewCapiEventWithDefaults() *CapiEvent
NewCapiEventWithDefaults instantiates a new CapiEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CapiEvent) GetAppIdOk ¶
GetAppIdOk returns a tuple with the AppId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetClickId ¶
GetClickId returns the ClickId field value if set, zero value otherwise.
func (*CapiEvent) GetClickIdOk ¶
GetClickIdOk returns a tuple with the ClickId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetClientDedupId ¶
GetClientDedupId returns the ClientDedupId field value if set, zero value otherwise.
func (*CapiEvent) GetClientDedupIdOk ¶
GetClientDedupIdOk returns a tuple with the ClientDedupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetCurrency ¶
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*CapiEvent) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetDataUse ¶
GetDataUse returns the DataUse field value if set, zero value otherwise.
func (*CapiEvent) GetDataUseOk ¶
GetDataUseOk returns a tuple with the DataUse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*CapiEvent) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetEventConversionType ¶
GetEventConversionType returns the EventConversionType field value if set, zero value otherwise.
func (*CapiEvent) GetEventConversionTypeOk ¶
GetEventConversionTypeOk returns a tuple with the EventConversionType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetEventTag ¶
GetEventTag returns the EventTag field value if set, zero value otherwise.
func (*CapiEvent) GetEventTagOk ¶
GetEventTagOk returns a tuple with the EventTag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetEventType ¶
GetEventType returns the EventType field value if set, zero value otherwise.
func (*CapiEvent) GetEventTypeOk ¶
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedCitySdx ¶
GetHashedCitySdx returns the HashedCitySdx field value if set, zero value otherwise.
func (*CapiEvent) GetHashedCitySdxOk ¶
GetHashedCitySdxOk returns a tuple with the HashedCitySdx field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedCitySha ¶
GetHashedCitySha returns the HashedCitySha field value if set, zero value otherwise.
func (*CapiEvent) GetHashedCityShaOk ¶
GetHashedCityShaOk returns a tuple with the HashedCitySha field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedDobDay ¶
GetHashedDobDay returns the HashedDobDay field value if set, zero value otherwise.
func (*CapiEvent) GetHashedDobDayOk ¶
GetHashedDobDayOk returns a tuple with the HashedDobDay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedDobMonth ¶
GetHashedDobMonth returns the HashedDobMonth field value if set, zero value otherwise.
func (*CapiEvent) GetHashedDobMonthOk ¶
GetHashedDobMonthOk returns a tuple with the HashedDobMonth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedEmail ¶
GetHashedEmail returns the HashedEmail field value if set, zero value otherwise.
func (*CapiEvent) GetHashedEmailOk ¶
GetHashedEmailOk returns a tuple with the HashedEmail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedFirstNameSdx ¶
GetHashedFirstNameSdx returns the HashedFirstNameSdx field value if set, zero value otherwise.
func (*CapiEvent) GetHashedFirstNameSdxOk ¶
GetHashedFirstNameSdxOk returns a tuple with the HashedFirstNameSdx field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedFirstNameSha ¶
GetHashedFirstNameSha returns the HashedFirstNameSha field value if set, zero value otherwise.
func (*CapiEvent) GetHashedFirstNameShaOk ¶
GetHashedFirstNameShaOk returns a tuple with the HashedFirstNameSha field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedIdfv ¶
GetHashedIdfv returns the HashedIdfv field value if set, zero value otherwise.
func (*CapiEvent) GetHashedIdfvOk ¶
GetHashedIdfvOk returns a tuple with the HashedIdfv field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedIpAddress ¶
GetHashedIpAddress returns the HashedIpAddress field value if set, zero value otherwise.
func (*CapiEvent) GetHashedIpAddressOk ¶
GetHashedIpAddressOk returns a tuple with the HashedIpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedLastNameSdx ¶
GetHashedLastNameSdx returns the HashedLastNameSdx field value if set, zero value otherwise.
func (*CapiEvent) GetHashedLastNameSdxOk ¶
GetHashedLastNameSdxOk returns a tuple with the HashedLastNameSdx field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedLastNameSha ¶
GetHashedLastNameSha returns the HashedLastNameSha field value if set, zero value otherwise.
func (*CapiEvent) GetHashedLastNameShaOk ¶
GetHashedLastNameShaOk returns a tuple with the HashedLastNameSha field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedMiddleNameSdx ¶
GetHashedMiddleNameSdx returns the HashedMiddleNameSdx field value if set, zero value otherwise.
func (*CapiEvent) GetHashedMiddleNameSdxOk ¶
GetHashedMiddleNameSdxOk returns a tuple with the HashedMiddleNameSdx field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedMiddleNameSha ¶
GetHashedMiddleNameSha returns the HashedMiddleNameSha field value if set, zero value otherwise.
func (*CapiEvent) GetHashedMiddleNameShaOk ¶
GetHashedMiddleNameShaOk returns a tuple with the HashedMiddleNameSha field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedMobileAdId ¶
GetHashedMobileAdId returns the HashedMobileAdId field value if set, zero value otherwise.
func (*CapiEvent) GetHashedMobileAdIdOk ¶
GetHashedMobileAdIdOk returns a tuple with the HashedMobileAdId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedPhoneNumber ¶
GetHashedPhoneNumber returns the HashedPhoneNumber field value if set, zero value otherwise.
func (*CapiEvent) GetHashedPhoneNumberOk ¶
GetHashedPhoneNumberOk returns a tuple with the HashedPhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedStateSdx ¶
GetHashedStateSdx returns the HashedStateSdx field value if set, zero value otherwise.
func (*CapiEvent) GetHashedStateSdxOk ¶
GetHashedStateSdxOk returns a tuple with the HashedStateSdx field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedStateSha ¶
GetHashedStateSha returns the HashedStateSha field value if set, zero value otherwise.
func (*CapiEvent) GetHashedStateShaOk ¶
GetHashedStateShaOk returns a tuple with the HashedStateSha field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetHashedZip ¶
GetHashedZip returns the HashedZip field value if set, zero value otherwise.
func (*CapiEvent) GetHashedZipOk ¶
GetHashedZipOk returns a tuple with the HashedZip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetIntegration ¶
GetIntegration returns the Integration field value if set, zero value otherwise.
func (*CapiEvent) GetIntegrationOk ¶
GetIntegrationOk returns a tuple with the Integration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetItemCategory ¶
GetItemCategory returns the ItemCategory field value if set, zero value otherwise.
func (*CapiEvent) GetItemCategoryOk ¶
GetItemCategoryOk returns a tuple with the ItemCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetItemIds ¶
GetItemIds returns the ItemIds field value if set, zero value otherwise.
func (*CapiEvent) GetItemIdsOk ¶
GetItemIdsOk returns a tuple with the ItemIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetLevelOk ¶
GetLevelOk returns a tuple with the Level field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetNumberItems ¶
GetNumberItems returns the NumberItems field value if set, zero value otherwise.
func (*CapiEvent) GetNumberItemsOk ¶
GetNumberItemsOk returns a tuple with the NumberItems field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetPageUrl ¶
GetPageUrl returns the PageUrl field value if set, zero value otherwise.
func (*CapiEvent) GetPageUrlOk ¶
GetPageUrlOk returns a tuple with the PageUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetPixelId ¶
GetPixelId returns the PixelId field value if set, zero value otherwise.
func (*CapiEvent) GetPixelIdOk ¶
GetPixelIdOk returns a tuple with the PixelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetPriceOk ¶
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetSearchString ¶
GetSearchString returns the SearchString field value if set, zero value otherwise.
func (*CapiEvent) GetSearchStringOk ¶
GetSearchStringOk returns a tuple with the SearchString field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetSignUpMethod ¶
GetSignUpMethod returns the SignUpMethod field value if set, zero value otherwise.
func (*CapiEvent) GetSignUpMethodOk ¶
GetSignUpMethodOk returns a tuple with the SignUpMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetSnapAppId ¶
GetSnapAppId returns the SnapAppId field value if set, zero value otherwise.
func (*CapiEvent) GetSnapAppIdOk ¶
GetSnapAppIdOk returns a tuple with the SnapAppId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetTimestamp ¶
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*CapiEvent) GetTimestampOk ¶
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetTransactionId ¶
GetTransactionId returns the TransactionId field value if set, zero value otherwise.
func (*CapiEvent) GetTransactionIdOk ¶
GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetUserAgent ¶
GetUserAgent returns the UserAgent field value if set, zero value otherwise.
func (*CapiEvent) GetUserAgentOk ¶
GetUserAgentOk returns a tuple with the UserAgent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) GetUuidC1 ¶
GetUuidC1 returns the UuidC1 field value if set, zero value otherwise.
func (*CapiEvent) GetUuidC1Ok ¶
GetUuidC1Ok returns a tuple with the UuidC1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CapiEvent) HasClickId ¶
HasClickId returns a boolean if a field has been set.
func (*CapiEvent) HasClientDedupId ¶
HasClientDedupId returns a boolean if a field has been set.
func (*CapiEvent) HasCurrency ¶
HasCurrency returns a boolean if a field has been set.
func (*CapiEvent) HasDataUse ¶
HasDataUse returns a boolean if a field has been set.
func (*CapiEvent) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*CapiEvent) HasEventConversionType ¶
HasEventConversionType returns a boolean if a field has been set.
func (*CapiEvent) HasEventTag ¶
HasEventTag returns a boolean if a field has been set.
func (*CapiEvent) HasEventType ¶
HasEventType returns a boolean if a field has been set.
func (*CapiEvent) HasHashedCitySdx ¶
HasHashedCitySdx returns a boolean if a field has been set.
func (*CapiEvent) HasHashedCitySha ¶
HasHashedCitySha returns a boolean if a field has been set.
func (*CapiEvent) HasHashedDobDay ¶
HasHashedDobDay returns a boolean if a field has been set.
func (*CapiEvent) HasHashedDobMonth ¶
HasHashedDobMonth returns a boolean if a field has been set.
func (*CapiEvent) HasHashedEmail ¶
HasHashedEmail returns a boolean if a field has been set.
func (*CapiEvent) HasHashedFirstNameSdx ¶
HasHashedFirstNameSdx returns a boolean if a field has been set.
func (*CapiEvent) HasHashedFirstNameSha ¶
HasHashedFirstNameSha returns a boolean if a field has been set.
func (*CapiEvent) HasHashedIdfv ¶
HasHashedIdfv returns a boolean if a field has been set.
func (*CapiEvent) HasHashedIpAddress ¶
HasHashedIpAddress returns a boolean if a field has been set.
func (*CapiEvent) HasHashedLastNameSdx ¶
HasHashedLastNameSdx returns a boolean if a field has been set.
func (*CapiEvent) HasHashedLastNameSha ¶
HasHashedLastNameSha returns a boolean if a field has been set.
func (*CapiEvent) HasHashedMiddleNameSdx ¶
HasHashedMiddleNameSdx returns a boolean if a field has been set.
func (*CapiEvent) HasHashedMiddleNameSha ¶
HasHashedMiddleNameSha returns a boolean if a field has been set.
func (*CapiEvent) HasHashedMobileAdId ¶
HasHashedMobileAdId returns a boolean if a field has been set.
func (*CapiEvent) HasHashedPhoneNumber ¶
HasHashedPhoneNumber returns a boolean if a field has been set.
func (*CapiEvent) HasHashedStateSdx ¶
HasHashedStateSdx returns a boolean if a field has been set.
func (*CapiEvent) HasHashedStateSha ¶
HasHashedStateSha returns a boolean if a field has been set.
func (*CapiEvent) HasHashedZip ¶
HasHashedZip returns a boolean if a field has been set.
func (*CapiEvent) HasIntegration ¶
HasIntegration returns a boolean if a field has been set.
func (*CapiEvent) HasItemCategory ¶
HasItemCategory returns a boolean if a field has been set.
func (*CapiEvent) HasItemIds ¶
HasItemIds returns a boolean if a field has been set.
func (*CapiEvent) HasNumberItems ¶
HasNumberItems returns a boolean if a field has been set.
func (*CapiEvent) HasPageUrl ¶
HasPageUrl returns a boolean if a field has been set.
func (*CapiEvent) HasPixelId ¶
HasPixelId returns a boolean if a field has been set.
func (*CapiEvent) HasSearchString ¶
HasSearchString returns a boolean if a field has been set.
func (*CapiEvent) HasSignUpMethod ¶
HasSignUpMethod returns a boolean if a field has been set.
func (*CapiEvent) HasSnapAppId ¶
HasSnapAppId returns a boolean if a field has been set.
func (*CapiEvent) HasTimestamp ¶
HasTimestamp returns a boolean if a field has been set.
func (*CapiEvent) HasTransactionId ¶
HasTransactionId returns a boolean if a field has been set.
func (*CapiEvent) HasUserAgent ¶
HasUserAgent returns a boolean if a field has been set.
func (CapiEvent) MarshalJSON ¶
func (*CapiEvent) SetAppId ¶
SetAppId gets a reference to the given string and assigns it to the AppId field.
func (*CapiEvent) SetClickId ¶
SetClickId gets a reference to the given string and assigns it to the ClickId field.
func (*CapiEvent) SetClientDedupId ¶
SetClientDedupId gets a reference to the given string and assigns it to the ClientDedupId field.
func (*CapiEvent) SetCurrency ¶
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*CapiEvent) SetDataUse ¶
SetDataUse gets a reference to the given string and assigns it to the DataUse field.
func (*CapiEvent) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CapiEvent) SetEventConversionType ¶
SetEventConversionType gets a reference to the given string and assigns it to the EventConversionType field.
func (*CapiEvent) SetEventTag ¶
SetEventTag gets a reference to the given string and assigns it to the EventTag field.
func (*CapiEvent) SetEventType ¶
SetEventType gets a reference to the given string and assigns it to the EventType field.
func (*CapiEvent) SetFirstName ¶
func (*CapiEvent) SetHashedCitySdx ¶
SetHashedCitySdx gets a reference to the given string and assigns it to the HashedCitySdx field.
func (*CapiEvent) SetHashedCitySha ¶
SetHashedCitySha gets a reference to the given string and assigns it to the HashedCitySha field.
func (*CapiEvent) SetHashedDobDay ¶
SetHashedDobDay gets a reference to the given string and assigns it to the HashedDobDay field.
func (*CapiEvent) SetHashedDobMonth ¶
SetHashedDobMonth gets a reference to the given string and assigns it to the HashedDobMonth field.
func (*CapiEvent) SetHashedEmail ¶
SetHashedEmail gets a reference to the given string and assigns it to the HashedEmail field.
func (*CapiEvent) SetHashedFirstNameSdx ¶
SetHashedFirstNameSdx gets a reference to the given string and assigns it to the HashedFirstNameSdx field.
func (*CapiEvent) SetHashedFirstNameSha ¶
SetHashedFirstNameSha gets a reference to the given string and assigns it to the HashedFirstNameSha field.
func (*CapiEvent) SetHashedIdfv ¶
SetHashedIdfv gets a reference to the given string and assigns it to the HashedIdfv field.
func (*CapiEvent) SetHashedIpAddress ¶
SetHashedIpAddress gets a reference to the given string and assigns it to the HashedIpAddress field.
func (*CapiEvent) SetHashedLastNameSdx ¶
SetHashedLastNameSdx gets a reference to the given string and assigns it to the HashedLastNameSdx field.
func (*CapiEvent) SetHashedLastNameSha ¶
SetHashedLastNameSha gets a reference to the given string and assigns it to the HashedLastNameSha field.
func (*CapiEvent) SetHashedMiddleNameSdx ¶
SetHashedMiddleNameSdx gets a reference to the given string and assigns it to the HashedMiddleNameSdx field.
func (*CapiEvent) SetHashedMiddleNameSha ¶
SetHashedMiddleNameSha gets a reference to the given string and assigns it to the HashedMiddleNameSha field.
func (*CapiEvent) SetHashedMobileAdId ¶
SetHashedMobileAdId gets a reference to the given string and assigns it to the HashedMobileAdId field.
func (*CapiEvent) SetHashedPhoneNumber ¶
SetHashedPhoneNumber gets a reference to the given string and assigns it to the HashedPhoneNumber field.
func (*CapiEvent) SetHashedStateSdx ¶
SetHashedStateSdx gets a reference to the given string and assigns it to the HashedStateSdx field.
func (*CapiEvent) SetHashedStateSha ¶
SetHashedStateSha gets a reference to the given string and assigns it to the HashedStateSha field.
func (*CapiEvent) SetHashedZip ¶
SetHashedZip gets a reference to the given string and assigns it to the HashedZip field.
func (*CapiEvent) SetIntegration ¶
SetIntegration gets a reference to the given string and assigns it to the Integration field.
func (*CapiEvent) SetIpAddress ¶
func (*CapiEvent) SetItemCategory ¶
SetItemCategory gets a reference to the given string and assigns it to the ItemCategory field.
func (*CapiEvent) SetItemIds ¶
SetItemIds gets a reference to the given string and assigns it to the ItemIds field.
func (*CapiEvent) SetLastName ¶
func (*CapiEvent) SetLevel ¶
SetLevel gets a reference to the given string and assigns it to the Level field.
func (*CapiEvent) SetMiddleName ¶
func (*CapiEvent) SetMobileAdId ¶
func (*CapiEvent) SetNumberItems ¶
SetNumberItems gets a reference to the given string and assigns it to the NumberItems field.
func (*CapiEvent) SetPageUrl ¶
SetPageUrl gets a reference to the given string and assigns it to the PageUrl field.
func (*CapiEvent) SetPhoneNumber ¶
func (*CapiEvent) SetPixelId ¶
SetPixelId gets a reference to the given string and assigns it to the PixelId field.
func (*CapiEvent) SetPrice ¶
SetPrice gets a reference to the given string and assigns it to the Price field.
func (*CapiEvent) SetSearchString ¶
SetSearchString gets a reference to the given string and assigns it to the SearchString field.
func (*CapiEvent) SetSignUpMethod ¶
SetSignUpMethod gets a reference to the given string and assigns it to the SignUpMethod field.
func (*CapiEvent) SetSnapAppId ¶
SetSnapAppId gets a reference to the given string and assigns it to the SnapAppId field.
func (*CapiEvent) SetTimestamp ¶
SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.
func (*CapiEvent) SetTransactionId ¶
SetTransactionId gets a reference to the given string and assigns it to the TransactionId field.
func (*CapiEvent) SetUserAgent ¶
SetUserAgent gets a reference to the given string and assigns it to the UserAgent field.
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ContextOption ¶
type ContextOption func(*CapiClient)
func WithLaunchPadUrl ¶
func WithLaunchPadUrl(launchPadUrl string) ContextOption
WithLaunchPadUrl sets configuration based on launchPadUrl
type ConversionApi ¶
type ConversionApi interface { SetDebugging(bool) SendEventSync(CapiEvent) (*Response, *http.Response, error) SendEventsSync([]CapiEvent) (*Response, *http.Response, error) // Todo implement callback structure SendEventAsync(CapiEvent) SendEventsAsync([]CapiEvent) }
TODO: Add more documentation
type DefaultApi ¶
type DefaultApi interface { /* ConversionValidateLogs Method for ConversionValidateLogs Returns a list of test events in last 24 hours @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiConversionValidateLogsRequest */ ConversionValidateLogs(ctx context.Context) ApiConversionValidateLogsRequest // ConversionValidateLogsExecute executes the request // @return ResponseLogs ConversionValidateLogsExecute(r ApiConversionValidateLogsRequest) (*ResponseLogs, *http.Response, error) /* ConversionValidateStats Method for ConversionValidateStats Returns the stats on test and non-test events in the past hour @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiConversionValidateStatsRequest */ ConversionValidateStats(ctx context.Context) ApiConversionValidateStatsRequest // ConversionValidateStatsExecute executes the request // @return ResponseStats ConversionValidateStatsExecute(r ApiConversionValidateStatsRequest) (*ResponseStats, *http.Response, error) /* SendData Method for SendData @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendDataRequest */ SendData(ctx context.Context) ApiSendDataRequest // SendDataExecute executes the request // @return Response SendDataExecute(r ApiSendDataRequest) (*Response, *http.Response, error) /* SendTestData Method for SendTestData @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendTestDataRequest */ SendTestData(ctx context.Context) ApiSendTestDataRequest // SendTestDataExecute executes the request // @return TestResponse SendTestDataExecute(r ApiSendTestDataRequest) (*TestResponse, *http.Response, error) }
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) ConversionValidateLogs ¶
func (a *DefaultApiService) ConversionValidateLogs(ctx context.Context) ApiConversionValidateLogsRequest
ConversionValidateLogs Method for ConversionValidateLogs
Returns a list of test events in last 24 hours
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiConversionValidateLogsRequest
func (*DefaultApiService) ConversionValidateLogsExecute ¶
func (a *DefaultApiService) ConversionValidateLogsExecute(r ApiConversionValidateLogsRequest) (*ResponseLogs, *http.Response, error)
Execute executes the request
@return ResponseLogs
func (*DefaultApiService) ConversionValidateStats ¶
func (a *DefaultApiService) ConversionValidateStats(ctx context.Context) ApiConversionValidateStatsRequest
ConversionValidateStats Method for ConversionValidateStats
Returns the stats on test and non-test events in the past hour
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiConversionValidateStatsRequest
func (*DefaultApiService) ConversionValidateStatsExecute ¶
func (a *DefaultApiService) ConversionValidateStatsExecute(r ApiConversionValidateStatsRequest) (*ResponseStats, *http.Response, error)
Execute executes the request
@return ResponseStats
func (*DefaultApiService) SendData ¶
func (a *DefaultApiService) SendData(ctx context.Context) ApiSendDataRequest
SendData Method for SendData
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendDataRequest
func (*DefaultApiService) SendDataExecute ¶
func (a *DefaultApiService) SendDataExecute(r ApiSendDataRequest) (*Response, *http.Response, error)
Execute executes the request
@return Response
func (*DefaultApiService) SendTestData ¶
func (a *DefaultApiService) SendTestData(ctx context.Context) ApiSendTestDataRequest
SendTestData Method for SendTestData
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendTestDataRequest
func (*DefaultApiService) SendTestDataExecute ¶
func (a *DefaultApiService) SendTestDataExecute(r ApiSendTestDataRequest) (*TestResponse, *http.Response, error)
Execute executes the request
@return TestResponse
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCapiEvent ¶
type NullableCapiEvent struct {
// contains filtered or unexported fields
}
func NewNullableCapiEvent ¶
func NewNullableCapiEvent(val *CapiEvent) *NullableCapiEvent
func (NullableCapiEvent) Get ¶
func (v NullableCapiEvent) Get() *CapiEvent
func (NullableCapiEvent) IsSet ¶
func (v NullableCapiEvent) IsSet() bool
func (NullableCapiEvent) MarshalJSON ¶
func (v NullableCapiEvent) MarshalJSON() ([]byte, error)
func (*NullableCapiEvent) Set ¶
func (v *NullableCapiEvent) Set(val *CapiEvent)
func (*NullableCapiEvent) UnmarshalJSON ¶
func (v *NullableCapiEvent) UnmarshalJSON(src []byte) error
func (*NullableCapiEvent) Unset ¶
func (v *NullableCapiEvent) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableResponse ¶
type NullableResponse struct {
// contains filtered or unexported fields
}
func NewNullableResponse ¶
func NewNullableResponse(val *Response) *NullableResponse
func (NullableResponse) Get ¶
func (v NullableResponse) Get() *Response
func (NullableResponse) IsSet ¶
func (v NullableResponse) IsSet() bool
func (NullableResponse) MarshalJSON ¶
func (v NullableResponse) MarshalJSON() ([]byte, error)
func (*NullableResponse) Set ¶
func (v *NullableResponse) Set(val *Response)
func (*NullableResponse) UnmarshalJSON ¶
func (v *NullableResponse) UnmarshalJSON(src []byte) error
func (*NullableResponse) Unset ¶
func (v *NullableResponse) Unset()
type NullableResponseErrorRecords ¶
type NullableResponseErrorRecords struct {
// contains filtered or unexported fields
}
func NewNullableResponseErrorRecords ¶
func NewNullableResponseErrorRecords(val *ResponseErrorRecords) *NullableResponseErrorRecords
func (NullableResponseErrorRecords) Get ¶
func (v NullableResponseErrorRecords) Get() *ResponseErrorRecords
func (NullableResponseErrorRecords) IsSet ¶
func (v NullableResponseErrorRecords) IsSet() bool
func (NullableResponseErrorRecords) MarshalJSON ¶
func (v NullableResponseErrorRecords) MarshalJSON() ([]byte, error)
func (*NullableResponseErrorRecords) Set ¶
func (v *NullableResponseErrorRecords) Set(val *ResponseErrorRecords)
func (*NullableResponseErrorRecords) UnmarshalJSON ¶
func (v *NullableResponseErrorRecords) UnmarshalJSON(src []byte) error
func (*NullableResponseErrorRecords) Unset ¶
func (v *NullableResponseErrorRecords) Unset()
type NullableResponseLogs ¶
type NullableResponseLogs struct {
// contains filtered or unexported fields
}
func NewNullableResponseLogs ¶
func NewNullableResponseLogs(val *ResponseLogs) *NullableResponseLogs
func (NullableResponseLogs) Get ¶
func (v NullableResponseLogs) Get() *ResponseLogs
func (NullableResponseLogs) IsSet ¶
func (v NullableResponseLogs) IsSet() bool
func (NullableResponseLogs) MarshalJSON ¶
func (v NullableResponseLogs) MarshalJSON() ([]byte, error)
func (*NullableResponseLogs) Set ¶
func (v *NullableResponseLogs) Set(val *ResponseLogs)
func (*NullableResponseLogs) UnmarshalJSON ¶
func (v *NullableResponseLogs) UnmarshalJSON(src []byte) error
func (*NullableResponseLogs) Unset ¶
func (v *NullableResponseLogs) Unset()
type NullableResponseLogsLog ¶
type NullableResponseLogsLog struct {
// contains filtered or unexported fields
}
func NewNullableResponseLogsLog ¶
func NewNullableResponseLogsLog(val *ResponseLogsLog) *NullableResponseLogsLog
func (NullableResponseLogsLog) Get ¶
func (v NullableResponseLogsLog) Get() *ResponseLogsLog
func (NullableResponseLogsLog) IsSet ¶
func (v NullableResponseLogsLog) IsSet() bool
func (NullableResponseLogsLog) MarshalJSON ¶
func (v NullableResponseLogsLog) MarshalJSON() ([]byte, error)
func (*NullableResponseLogsLog) Set ¶
func (v *NullableResponseLogsLog) Set(val *ResponseLogsLog)
func (*NullableResponseLogsLog) UnmarshalJSON ¶
func (v *NullableResponseLogsLog) UnmarshalJSON(src []byte) error
func (*NullableResponseLogsLog) Unset ¶
func (v *NullableResponseLogsLog) Unset()
type NullableResponseStats ¶
type NullableResponseStats struct {
// contains filtered or unexported fields
}
func NewNullableResponseStats ¶
func NewNullableResponseStats(val *ResponseStats) *NullableResponseStats
func (NullableResponseStats) Get ¶
func (v NullableResponseStats) Get() *ResponseStats
func (NullableResponseStats) IsSet ¶
func (v NullableResponseStats) IsSet() bool
func (NullableResponseStats) MarshalJSON ¶
func (v NullableResponseStats) MarshalJSON() ([]byte, error)
func (*NullableResponseStats) Set ¶
func (v *NullableResponseStats) Set(val *ResponseStats)
func (*NullableResponseStats) UnmarshalJSON ¶
func (v *NullableResponseStats) UnmarshalJSON(src []byte) error
func (*NullableResponseStats) Unset ¶
func (v *NullableResponseStats) Unset()
type NullableResponseStatsData ¶
type NullableResponseStatsData struct {
// contains filtered or unexported fields
}
func NewNullableResponseStatsData ¶
func NewNullableResponseStatsData(val *ResponseStatsData) *NullableResponseStatsData
func (NullableResponseStatsData) Get ¶
func (v NullableResponseStatsData) Get() *ResponseStatsData
func (NullableResponseStatsData) IsSet ¶
func (v NullableResponseStatsData) IsSet() bool
func (NullableResponseStatsData) MarshalJSON ¶
func (v NullableResponseStatsData) MarshalJSON() ([]byte, error)
func (*NullableResponseStatsData) Set ¶
func (v *NullableResponseStatsData) Set(val *ResponseStatsData)
func (*NullableResponseStatsData) UnmarshalJSON ¶
func (v *NullableResponseStatsData) UnmarshalJSON(src []byte) error
func (*NullableResponseStatsData) Unset ¶
func (v *NullableResponseStatsData) Unset()
type NullableResponseStatsTest ¶
type NullableResponseStatsTest struct {
// contains filtered or unexported fields
}
func NewNullableResponseStatsTest ¶
func NewNullableResponseStatsTest(val *ResponseStatsTest) *NullableResponseStatsTest
func (NullableResponseStatsTest) Get ¶
func (v NullableResponseStatsTest) Get() *ResponseStatsTest
func (NullableResponseStatsTest) IsSet ¶
func (v NullableResponseStatsTest) IsSet() bool
func (NullableResponseStatsTest) MarshalJSON ¶
func (v NullableResponseStatsTest) MarshalJSON() ([]byte, error)
func (*NullableResponseStatsTest) Set ¶
func (v *NullableResponseStatsTest) Set(val *ResponseStatsTest)
func (*NullableResponseStatsTest) UnmarshalJSON ¶
func (v *NullableResponseStatsTest) UnmarshalJSON(src []byte) error
func (*NullableResponseStatsTest) Unset ¶
func (v *NullableResponseStatsTest) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTestResponse ¶
type NullableTestResponse struct {
// contains filtered or unexported fields
}
func NewNullableTestResponse ¶
func NewNullableTestResponse(val *TestResponse) *NullableTestResponse
func (NullableTestResponse) Get ¶
func (v NullableTestResponse) Get() *TestResponse
func (NullableTestResponse) IsSet ¶
func (v NullableTestResponse) IsSet() bool
func (NullableTestResponse) MarshalJSON ¶
func (v NullableTestResponse) MarshalJSON() ([]byte, error)
func (*NullableTestResponse) Set ¶
func (v *NullableTestResponse) Set(val *TestResponse)
func (*NullableTestResponse) UnmarshalJSON ¶
func (v *NullableTestResponse) UnmarshalJSON(src []byte) error
func (*NullableTestResponse) Unset ¶
func (v *NullableTestResponse) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableValidatedFields ¶
type NullableValidatedFields struct {
// contains filtered or unexported fields
}
func NewNullableValidatedFields ¶
func NewNullableValidatedFields(val *ValidatedFields) *NullableValidatedFields
func (NullableValidatedFields) Get ¶
func (v NullableValidatedFields) Get() *ValidatedFields
func (NullableValidatedFields) IsSet ¶
func (v NullableValidatedFields) IsSet() bool
func (NullableValidatedFields) MarshalJSON ¶
func (v NullableValidatedFields) MarshalJSON() ([]byte, error)
func (*NullableValidatedFields) Set ¶
func (v *NullableValidatedFields) Set(val *ValidatedFields)
func (*NullableValidatedFields) UnmarshalJSON ¶
func (v *NullableValidatedFields) UnmarshalJSON(src []byte) error
func (*NullableValidatedFields) Unset ¶
func (v *NullableValidatedFields) Unset()
type NullableValidatedFieldsItems ¶
type NullableValidatedFieldsItems struct {
// contains filtered or unexported fields
}
func NewNullableValidatedFieldsItems ¶
func NewNullableValidatedFieldsItems(val *ValidatedFieldsItems) *NullableValidatedFieldsItems
func (NullableValidatedFieldsItems) Get ¶
func (v NullableValidatedFieldsItems) Get() *ValidatedFieldsItems
func (NullableValidatedFieldsItems) IsSet ¶
func (v NullableValidatedFieldsItems) IsSet() bool
func (NullableValidatedFieldsItems) MarshalJSON ¶
func (v NullableValidatedFieldsItems) MarshalJSON() ([]byte, error)
func (*NullableValidatedFieldsItems) Set ¶
func (v *NullableValidatedFieldsItems) Set(val *ValidatedFieldsItems)
func (*NullableValidatedFieldsItems) UnmarshalJSON ¶
func (v *NullableValidatedFieldsItems) UnmarshalJSON(src []byte) error
func (*NullableValidatedFieldsItems) Unset ¶
func (v *NullableValidatedFieldsItems) Unset()
type Response ¶
type Response struct { Status *string `json:"status,omitempty"` Reason *string `json:"reason,omitempty"` ErrorRecords []ResponseErrorRecords `json:"error_records,omitempty"` }
Response struct for Response
func NewResponse ¶
func NewResponse() *Response
NewResponse instantiates a new Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResponseWithDefaults ¶
func NewResponseWithDefaults() *Response
NewResponseWithDefaults instantiates a new Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Response) GetErrorRecords ¶
func (o *Response) GetErrorRecords() []ResponseErrorRecords
GetErrorRecords returns the ErrorRecords field value if set, zero value otherwise.
func (*Response) GetErrorRecordsOk ¶
func (o *Response) GetErrorRecordsOk() ([]ResponseErrorRecords, bool)
GetErrorRecordsOk returns a tuple with the ErrorRecords field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Response) GetReasonOk ¶
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Response) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Response) HasErrorRecords ¶
HasErrorRecords returns a boolean if a field has been set.
func (Response) MarshalJSON ¶
func (*Response) SetErrorRecords ¶
func (o *Response) SetErrorRecords(v []ResponseErrorRecords)
SetErrorRecords gets a reference to the given []ResponseErrorRecords and assigns it to the ErrorRecords field.
type ResponseErrorRecords ¶
type ResponseErrorRecords struct { Reason *string `json:"reason,omitempty"` RecordIndexes []int32 `json:"record_indexes,omitempty"` }
ResponseErrorRecords struct for ResponseErrorRecords
func NewResponseErrorRecords ¶
func NewResponseErrorRecords() *ResponseErrorRecords
NewResponseErrorRecords instantiates a new ResponseErrorRecords object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResponseErrorRecordsWithDefaults ¶
func NewResponseErrorRecordsWithDefaults() *ResponseErrorRecords
NewResponseErrorRecordsWithDefaults instantiates a new ResponseErrorRecords object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResponseErrorRecords) GetReason ¶
func (o *ResponseErrorRecords) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*ResponseErrorRecords) GetReasonOk ¶
func (o *ResponseErrorRecords) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseErrorRecords) GetRecordIndexes ¶
func (o *ResponseErrorRecords) GetRecordIndexes() []int32
GetRecordIndexes returns the RecordIndexes field value if set, zero value otherwise.
func (*ResponseErrorRecords) GetRecordIndexesOk ¶
func (o *ResponseErrorRecords) GetRecordIndexesOk() ([]int32, bool)
GetRecordIndexesOk returns a tuple with the RecordIndexes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseErrorRecords) HasReason ¶
func (o *ResponseErrorRecords) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*ResponseErrorRecords) HasRecordIndexes ¶
func (o *ResponseErrorRecords) HasRecordIndexes() bool
HasRecordIndexes returns a boolean if a field has been set.
func (ResponseErrorRecords) MarshalJSON ¶
func (o ResponseErrorRecords) MarshalJSON() ([]byte, error)
func (*ResponseErrorRecords) SetReason ¶
func (o *ResponseErrorRecords) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*ResponseErrorRecords) SetRecordIndexes ¶
func (o *ResponseErrorRecords) SetRecordIndexes(v []int32)
SetRecordIndexes gets a reference to the given []int32 and assigns it to the RecordIndexes field.
type ResponseLogs ¶
type ResponseLogs struct { Status *string `json:"status,omitempty"` Reason *string `json:"reason,omitempty"` Logs []ResponseLogsLog `json:"logs,omitempty"` }
ResponseLogs struct for ResponseLogs
func NewResponseLogs ¶
func NewResponseLogs() *ResponseLogs
NewResponseLogs instantiates a new ResponseLogs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResponseLogsWithDefaults ¶
func NewResponseLogsWithDefaults() *ResponseLogs
NewResponseLogsWithDefaults instantiates a new ResponseLogs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResponseLogs) GetLogs ¶
func (o *ResponseLogs) GetLogs() []ResponseLogsLog
GetLogs returns the Logs field value if set, zero value otherwise.
func (*ResponseLogs) GetLogsOk ¶
func (o *ResponseLogs) GetLogsOk() ([]ResponseLogsLog, bool)
GetLogsOk returns a tuple with the Logs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseLogs) GetReason ¶
func (o *ResponseLogs) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*ResponseLogs) GetReasonOk ¶
func (o *ResponseLogs) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseLogs) GetStatus ¶
func (o *ResponseLogs) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ResponseLogs) GetStatusOk ¶
func (o *ResponseLogs) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseLogs) HasLogs ¶
func (o *ResponseLogs) HasLogs() bool
HasLogs returns a boolean if a field has been set.
func (*ResponseLogs) HasReason ¶
func (o *ResponseLogs) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*ResponseLogs) HasStatus ¶
func (o *ResponseLogs) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ResponseLogs) MarshalJSON ¶
func (o ResponseLogs) MarshalJSON() ([]byte, error)
func (*ResponseLogs) SetLogs ¶
func (o *ResponseLogs) SetLogs(v []ResponseLogsLog)
SetLogs gets a reference to the given []ResponseLogsLog and assigns it to the Logs field.
func (*ResponseLogs) SetReason ¶
func (o *ResponseLogs) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*ResponseLogs) SetStatus ¶
func (o *ResponseLogs) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
type ResponseLogsLog ¶
type ResponseLogsLog struct { Timestamp *string `json:"timestamp,omitempty"` EventType *string `json:"event_type,omitempty"` EventConversionType *string `json:"event_conversion_type,omitempty"` Status *string `json:"status,omitempty"` Integration *string `json:"integration,omitempty"` EventMetadata *CapiEvent `json:"event_metadata,omitempty"` ErrorRecords []string `json:"error_records,omitempty"` WarningRecords []string `json:"warning_records,omitempty"` }
ResponseLogsLog struct for ResponseLogsLog
func NewResponseLogsLog ¶
func NewResponseLogsLog() *ResponseLogsLog
NewResponseLogsLog instantiates a new ResponseLogsLog object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResponseLogsLogWithDefaults ¶
func NewResponseLogsLogWithDefaults() *ResponseLogsLog
NewResponseLogsLogWithDefaults instantiates a new ResponseLogsLog object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResponseLogsLog) GetErrorRecords ¶
func (o *ResponseLogsLog) GetErrorRecords() []string
GetErrorRecords returns the ErrorRecords field value if set, zero value otherwise.
func (*ResponseLogsLog) GetErrorRecordsOk ¶
func (o *ResponseLogsLog) GetErrorRecordsOk() ([]string, bool)
GetErrorRecordsOk returns a tuple with the ErrorRecords field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseLogsLog) GetEventConversionType ¶
func (o *ResponseLogsLog) GetEventConversionType() string
GetEventConversionType returns the EventConversionType field value if set, zero value otherwise.
func (*ResponseLogsLog) GetEventConversionTypeOk ¶
func (o *ResponseLogsLog) GetEventConversionTypeOk() (*string, bool)
GetEventConversionTypeOk returns a tuple with the EventConversionType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseLogsLog) GetEventMetadata ¶
func (o *ResponseLogsLog) GetEventMetadata() CapiEvent
GetEventMetadata returns the EventMetadata field value if set, zero value otherwise.
func (*ResponseLogsLog) GetEventMetadataOk ¶
func (o *ResponseLogsLog) GetEventMetadataOk() (*CapiEvent, bool)
GetEventMetadataOk returns a tuple with the EventMetadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseLogsLog) GetEventType ¶
func (o *ResponseLogsLog) GetEventType() string
GetEventType returns the EventType field value if set, zero value otherwise.
func (*ResponseLogsLog) GetEventTypeOk ¶
func (o *ResponseLogsLog) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseLogsLog) GetIntegration ¶
func (o *ResponseLogsLog) GetIntegration() string
GetIntegration returns the Integration field value if set, zero value otherwise.
func (*ResponseLogsLog) GetIntegrationOk ¶
func (o *ResponseLogsLog) GetIntegrationOk() (*string, bool)
GetIntegrationOk returns a tuple with the Integration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseLogsLog) GetStatus ¶
func (o *ResponseLogsLog) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ResponseLogsLog) GetStatusOk ¶
func (o *ResponseLogsLog) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseLogsLog) GetTimestamp ¶
func (o *ResponseLogsLog) GetTimestamp() string
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*ResponseLogsLog) GetTimestampOk ¶
func (o *ResponseLogsLog) GetTimestampOk() (*string, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseLogsLog) GetWarningRecords ¶
func (o *ResponseLogsLog) GetWarningRecords() []string
GetWarningRecords returns the WarningRecords field value if set, zero value otherwise.
func (*ResponseLogsLog) GetWarningRecordsOk ¶
func (o *ResponseLogsLog) GetWarningRecordsOk() ([]string, bool)
GetWarningRecordsOk returns a tuple with the WarningRecords field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseLogsLog) HasErrorRecords ¶
func (o *ResponseLogsLog) HasErrorRecords() bool
HasErrorRecords returns a boolean if a field has been set.
func (*ResponseLogsLog) HasEventConversionType ¶
func (o *ResponseLogsLog) HasEventConversionType() bool
HasEventConversionType returns a boolean if a field has been set.
func (*ResponseLogsLog) HasEventMetadata ¶
func (o *ResponseLogsLog) HasEventMetadata() bool
HasEventMetadata returns a boolean if a field has been set.
func (*ResponseLogsLog) HasEventType ¶
func (o *ResponseLogsLog) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (*ResponseLogsLog) HasIntegration ¶
func (o *ResponseLogsLog) HasIntegration() bool
HasIntegration returns a boolean if a field has been set.
func (*ResponseLogsLog) HasStatus ¶
func (o *ResponseLogsLog) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*ResponseLogsLog) HasTimestamp ¶
func (o *ResponseLogsLog) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (*ResponseLogsLog) HasWarningRecords ¶
func (o *ResponseLogsLog) HasWarningRecords() bool
HasWarningRecords returns a boolean if a field has been set.
func (ResponseLogsLog) MarshalJSON ¶
func (o ResponseLogsLog) MarshalJSON() ([]byte, error)
func (*ResponseLogsLog) SetErrorRecords ¶
func (o *ResponseLogsLog) SetErrorRecords(v []string)
SetErrorRecords gets a reference to the given []string and assigns it to the ErrorRecords field.
func (*ResponseLogsLog) SetEventConversionType ¶
func (o *ResponseLogsLog) SetEventConversionType(v string)
SetEventConversionType gets a reference to the given string and assigns it to the EventConversionType field.
func (*ResponseLogsLog) SetEventMetadata ¶
func (o *ResponseLogsLog) SetEventMetadata(v CapiEvent)
SetEventMetadata gets a reference to the given CapiEvent and assigns it to the EventMetadata field.
func (*ResponseLogsLog) SetEventType ¶
func (o *ResponseLogsLog) SetEventType(v string)
SetEventType gets a reference to the given string and assigns it to the EventType field.
func (*ResponseLogsLog) SetIntegration ¶
func (o *ResponseLogsLog) SetIntegration(v string)
SetIntegration gets a reference to the given string and assigns it to the Integration field.
func (*ResponseLogsLog) SetStatus ¶
func (o *ResponseLogsLog) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*ResponseLogsLog) SetTimestamp ¶
func (o *ResponseLogsLog) SetTimestamp(v string)
SetTimestamp gets a reference to the given string and assigns it to the Timestamp field.
func (*ResponseLogsLog) SetWarningRecords ¶
func (o *ResponseLogsLog) SetWarningRecords(v []string)
SetWarningRecords gets a reference to the given []string and assigns it to the WarningRecords field.
type ResponseStats ¶
type ResponseStats struct { Status *string `json:"status,omitempty"` Reason *string `json:"reason,omitempty"` Stats *ResponseStatsData `json:"stats,omitempty"` }
ResponseStats struct for ResponseStats
func NewResponseStats ¶
func NewResponseStats() *ResponseStats
NewResponseStats instantiates a new ResponseStats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResponseStatsWithDefaults ¶
func NewResponseStatsWithDefaults() *ResponseStats
NewResponseStatsWithDefaults instantiates a new ResponseStats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResponseStats) GetReason ¶
func (o *ResponseStats) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*ResponseStats) GetReasonOk ¶
func (o *ResponseStats) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseStats) GetStats ¶
func (o *ResponseStats) GetStats() ResponseStatsData
GetStats returns the Stats field value if set, zero value otherwise.
func (*ResponseStats) GetStatsOk ¶
func (o *ResponseStats) GetStatsOk() (*ResponseStatsData, bool)
GetStatsOk returns a tuple with the Stats field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseStats) GetStatus ¶
func (o *ResponseStats) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*ResponseStats) GetStatusOk ¶
func (o *ResponseStats) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseStats) HasReason ¶
func (o *ResponseStats) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*ResponseStats) HasStats ¶
func (o *ResponseStats) HasStats() bool
HasStats returns a boolean if a field has been set.
func (*ResponseStats) HasStatus ¶
func (o *ResponseStats) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (ResponseStats) MarshalJSON ¶
func (o ResponseStats) MarshalJSON() ([]byte, error)
func (*ResponseStats) SetReason ¶
func (o *ResponseStats) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*ResponseStats) SetStats ¶
func (o *ResponseStats) SetStats(v ResponseStatsData)
SetStats gets a reference to the given ResponseStatsData and assigns it to the Stats field.
func (*ResponseStats) SetStatus ¶
func (o *ResponseStats) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
type ResponseStatsData ¶
type ResponseStatsData struct { Test *ResponseStatsTest `json:"test,omitempty"` Live *ResponseStatsTest `json:"live,omitempty"` }
ResponseStatsData struct for ResponseStatsData
func NewResponseStatsData ¶
func NewResponseStatsData() *ResponseStatsData
NewResponseStatsData instantiates a new ResponseStatsData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResponseStatsDataWithDefaults ¶
func NewResponseStatsDataWithDefaults() *ResponseStatsData
NewResponseStatsDataWithDefaults instantiates a new ResponseStatsData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResponseStatsData) GetLive ¶
func (o *ResponseStatsData) GetLive() ResponseStatsTest
GetLive returns the Live field value if set, zero value otherwise.
func (*ResponseStatsData) GetLiveOk ¶
func (o *ResponseStatsData) GetLiveOk() (*ResponseStatsTest, bool)
GetLiveOk returns a tuple with the Live field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseStatsData) GetTest ¶
func (o *ResponseStatsData) GetTest() ResponseStatsTest
GetTest returns the Test field value if set, zero value otherwise.
func (*ResponseStatsData) GetTestOk ¶
func (o *ResponseStatsData) GetTestOk() (*ResponseStatsTest, bool)
GetTestOk returns a tuple with the Test field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseStatsData) HasLive ¶
func (o *ResponseStatsData) HasLive() bool
HasLive returns a boolean if a field has been set.
func (*ResponseStatsData) HasTest ¶
func (o *ResponseStatsData) HasTest() bool
HasTest returns a boolean if a field has been set.
func (ResponseStatsData) MarshalJSON ¶
func (o ResponseStatsData) MarshalJSON() ([]byte, error)
func (*ResponseStatsData) SetLive ¶
func (o *ResponseStatsData) SetLive(v ResponseStatsTest)
SetLive gets a reference to the given ResponseStatsTest and assigns it to the Live field.
func (*ResponseStatsData) SetTest ¶
func (o *ResponseStatsData) SetTest(v ResponseStatsTest)
SetTest gets a reference to the given ResponseStatsTest and assigns it to the Test field.
type ResponseStatsTest ¶
type ResponseStatsTest struct { LatestEventTs *int64 `json:"latest_event_ts,omitempty"` EventCountPastHour *int64 `json:"event_count_past_hour,omitempty"` }
ResponseStatsTest struct for ResponseStatsTest
func NewResponseStatsTest ¶
func NewResponseStatsTest() *ResponseStatsTest
NewResponseStatsTest instantiates a new ResponseStatsTest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResponseStatsTestWithDefaults ¶
func NewResponseStatsTestWithDefaults() *ResponseStatsTest
NewResponseStatsTestWithDefaults instantiates a new ResponseStatsTest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResponseStatsTest) GetEventCountPastHour ¶
func (o *ResponseStatsTest) GetEventCountPastHour() int64
GetEventCountPastHour returns the EventCountPastHour field value if set, zero value otherwise.
func (*ResponseStatsTest) GetEventCountPastHourOk ¶
func (o *ResponseStatsTest) GetEventCountPastHourOk() (*int64, bool)
GetEventCountPastHourOk returns a tuple with the EventCountPastHour field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseStatsTest) GetLatestEventTs ¶
func (o *ResponseStatsTest) GetLatestEventTs() int64
GetLatestEventTs returns the LatestEventTs field value if set, zero value otherwise.
func (*ResponseStatsTest) GetLatestEventTsOk ¶
func (o *ResponseStatsTest) GetLatestEventTsOk() (*int64, bool)
GetLatestEventTsOk returns a tuple with the LatestEventTs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseStatsTest) HasEventCountPastHour ¶
func (o *ResponseStatsTest) HasEventCountPastHour() bool
HasEventCountPastHour returns a boolean if a field has been set.
func (*ResponseStatsTest) HasLatestEventTs ¶
func (o *ResponseStatsTest) HasLatestEventTs() bool
HasLatestEventTs returns a boolean if a field has been set.
func (ResponseStatsTest) MarshalJSON ¶
func (o ResponseStatsTest) MarshalJSON() ([]byte, error)
func (*ResponseStatsTest) SetEventCountPastHour ¶
func (o *ResponseStatsTest) SetEventCountPastHour(v int64)
SetEventCountPastHour gets a reference to the given int64 and assigns it to the EventCountPastHour field.
func (*ResponseStatsTest) SetLatestEventTs ¶
func (o *ResponseStatsTest) SetLatestEventTs(v int64)
SetLatestEventTs gets a reference to the given int64 and assigns it to the LatestEventTs field.
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type TestResponse ¶
type TestResponse struct { Status *string `json:"status,omitempty"` Reason *string `json:"reason,omitempty"` ErrorRecords []ResponseErrorRecords `json:"error_records,omitempty"` WarningRecords []ResponseErrorRecords `json:"warning_records,omitempty"` ValidatedFields []ValidatedFields `json:"validated_fields,omitempty"` }
TestResponse struct for TestResponse
func NewTestResponse ¶
func NewTestResponse() *TestResponse
NewTestResponse instantiates a new TestResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTestResponseWithDefaults ¶
func NewTestResponseWithDefaults() *TestResponse
NewTestResponseWithDefaults instantiates a new TestResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TestResponse) GetErrorRecords ¶
func (o *TestResponse) GetErrorRecords() []ResponseErrorRecords
GetErrorRecords returns the ErrorRecords field value if set, zero value otherwise.
func (*TestResponse) GetErrorRecordsOk ¶
func (o *TestResponse) GetErrorRecordsOk() ([]ResponseErrorRecords, bool)
GetErrorRecordsOk returns a tuple with the ErrorRecords field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TestResponse) GetReason ¶
func (o *TestResponse) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*TestResponse) GetReasonOk ¶
func (o *TestResponse) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TestResponse) GetStatus ¶
func (o *TestResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*TestResponse) GetStatusOk ¶
func (o *TestResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TestResponse) GetValidatedFields ¶
func (o *TestResponse) GetValidatedFields() []ValidatedFields
GetValidatedFields returns the ValidatedFields field value if set, zero value otherwise.
func (*TestResponse) GetValidatedFieldsOk ¶
func (o *TestResponse) GetValidatedFieldsOk() ([]ValidatedFields, bool)
GetValidatedFieldsOk returns a tuple with the ValidatedFields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TestResponse) GetWarningRecords ¶
func (o *TestResponse) GetWarningRecords() []ResponseErrorRecords
GetWarningRecords returns the WarningRecords field value if set, zero value otherwise.
func (*TestResponse) GetWarningRecordsOk ¶
func (o *TestResponse) GetWarningRecordsOk() ([]ResponseErrorRecords, bool)
GetWarningRecordsOk returns a tuple with the WarningRecords field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TestResponse) HasErrorRecords ¶
func (o *TestResponse) HasErrorRecords() bool
HasErrorRecords returns a boolean if a field has been set.
func (*TestResponse) HasReason ¶
func (o *TestResponse) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*TestResponse) HasStatus ¶
func (o *TestResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*TestResponse) HasValidatedFields ¶
func (o *TestResponse) HasValidatedFields() bool
HasValidatedFields returns a boolean if a field has been set.
func (*TestResponse) HasWarningRecords ¶
func (o *TestResponse) HasWarningRecords() bool
HasWarningRecords returns a boolean if a field has been set.
func (TestResponse) MarshalJSON ¶
func (o TestResponse) MarshalJSON() ([]byte, error)
func (*TestResponse) SetErrorRecords ¶
func (o *TestResponse) SetErrorRecords(v []ResponseErrorRecords)
SetErrorRecords gets a reference to the given []ResponseErrorRecords and assigns it to the ErrorRecords field.
func (*TestResponse) SetReason ¶
func (o *TestResponse) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*TestResponse) SetStatus ¶
func (o *TestResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*TestResponse) SetValidatedFields ¶
func (o *TestResponse) SetValidatedFields(v []ValidatedFields)
SetValidatedFields gets a reference to the given []ValidatedFields and assigns it to the ValidatedFields field.
func (*TestResponse) SetWarningRecords ¶
func (o *TestResponse) SetWarningRecords(v []ResponseErrorRecords)
SetWarningRecords gets a reference to the given []ResponseErrorRecords and assigns it to the WarningRecords field.
type ValidatedFields ¶
type ValidatedFields struct { ValidatedFields *ValidatedFieldsItems `json:"validated_fields,omitempty"` RecordIndex *int32 `json:"record_index,omitempty"` }
ValidatedFields struct for ValidatedFields
func NewValidatedFields ¶
func NewValidatedFields() *ValidatedFields
NewValidatedFields instantiates a new ValidatedFields object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewValidatedFieldsWithDefaults ¶
func NewValidatedFieldsWithDefaults() *ValidatedFields
NewValidatedFieldsWithDefaults instantiates a new ValidatedFields object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ValidatedFields) GetRecordIndex ¶
func (o *ValidatedFields) GetRecordIndex() int32
GetRecordIndex returns the RecordIndex field value if set, zero value otherwise.
func (*ValidatedFields) GetRecordIndexOk ¶
func (o *ValidatedFields) GetRecordIndexOk() (*int32, bool)
GetRecordIndexOk returns a tuple with the RecordIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidatedFields) GetValidatedFields ¶
func (o *ValidatedFields) GetValidatedFields() ValidatedFieldsItems
GetValidatedFields returns the ValidatedFields field value if set, zero value otherwise.
func (*ValidatedFields) GetValidatedFieldsOk ¶
func (o *ValidatedFields) GetValidatedFieldsOk() (*ValidatedFieldsItems, bool)
GetValidatedFieldsOk returns a tuple with the ValidatedFields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidatedFields) HasRecordIndex ¶
func (o *ValidatedFields) HasRecordIndex() bool
HasRecordIndex returns a boolean if a field has been set.
func (*ValidatedFields) HasValidatedFields ¶
func (o *ValidatedFields) HasValidatedFields() bool
HasValidatedFields returns a boolean if a field has been set.
func (ValidatedFields) MarshalJSON ¶
func (o ValidatedFields) MarshalJSON() ([]byte, error)
func (*ValidatedFields) SetRecordIndex ¶
func (o *ValidatedFields) SetRecordIndex(v int32)
SetRecordIndex gets a reference to the given int32 and assigns it to the RecordIndex field.
func (*ValidatedFields) SetValidatedFields ¶
func (o *ValidatedFields) SetValidatedFields(v ValidatedFieldsItems)
SetValidatedFields gets a reference to the given ValidatedFieldsItems and assigns it to the ValidatedFields field.
type ValidatedFieldsItems ¶
type ValidatedFieldsItems struct { PixelId *string `json:"pixel_id,omitempty"` SnapAppId *string `json:"snap_app_id,omitempty"` Currency *string `json:"currency,omitempty"` Price *string `json:"price,omitempty"` EventConversionType *string `json:"event_conversion_type,omitempty"` EventType *string `json:"event_type,omitempty"` }
ValidatedFieldsItems struct for ValidatedFieldsItems
func NewValidatedFieldsItems ¶
func NewValidatedFieldsItems() *ValidatedFieldsItems
NewValidatedFieldsItems instantiates a new ValidatedFieldsItems object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewValidatedFieldsItemsWithDefaults ¶
func NewValidatedFieldsItemsWithDefaults() *ValidatedFieldsItems
NewValidatedFieldsItemsWithDefaults instantiates a new ValidatedFieldsItems object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ValidatedFieldsItems) GetCurrency ¶
func (o *ValidatedFieldsItems) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*ValidatedFieldsItems) GetCurrencyOk ¶
func (o *ValidatedFieldsItems) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidatedFieldsItems) GetEventConversionType ¶
func (o *ValidatedFieldsItems) GetEventConversionType() string
GetEventConversionType returns the EventConversionType field value if set, zero value otherwise.
func (*ValidatedFieldsItems) GetEventConversionTypeOk ¶
func (o *ValidatedFieldsItems) GetEventConversionTypeOk() (*string, bool)
GetEventConversionTypeOk returns a tuple with the EventConversionType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidatedFieldsItems) GetEventType ¶
func (o *ValidatedFieldsItems) GetEventType() string
GetEventType returns the EventType field value if set, zero value otherwise.
func (*ValidatedFieldsItems) GetEventTypeOk ¶
func (o *ValidatedFieldsItems) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidatedFieldsItems) GetPixelId ¶
func (o *ValidatedFieldsItems) GetPixelId() string
GetPixelId returns the PixelId field value if set, zero value otherwise.
func (*ValidatedFieldsItems) GetPixelIdOk ¶
func (o *ValidatedFieldsItems) GetPixelIdOk() (*string, bool)
GetPixelIdOk returns a tuple with the PixelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidatedFieldsItems) GetPrice ¶
func (o *ValidatedFieldsItems) GetPrice() string
GetPrice returns the Price field value if set, zero value otherwise.
func (*ValidatedFieldsItems) GetPriceOk ¶
func (o *ValidatedFieldsItems) GetPriceOk() (*string, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidatedFieldsItems) GetSnapAppId ¶
func (o *ValidatedFieldsItems) GetSnapAppId() string
GetSnapAppId returns the SnapAppId field value if set, zero value otherwise.
func (*ValidatedFieldsItems) GetSnapAppIdOk ¶
func (o *ValidatedFieldsItems) GetSnapAppIdOk() (*string, bool)
GetSnapAppIdOk returns a tuple with the SnapAppId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidatedFieldsItems) HasCurrency ¶
func (o *ValidatedFieldsItems) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*ValidatedFieldsItems) HasEventConversionType ¶
func (o *ValidatedFieldsItems) HasEventConversionType() bool
HasEventConversionType returns a boolean if a field has been set.
func (*ValidatedFieldsItems) HasEventType ¶
func (o *ValidatedFieldsItems) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (*ValidatedFieldsItems) HasPixelId ¶
func (o *ValidatedFieldsItems) HasPixelId() bool
HasPixelId returns a boolean if a field has been set.
func (*ValidatedFieldsItems) HasPrice ¶
func (o *ValidatedFieldsItems) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ValidatedFieldsItems) HasSnapAppId ¶
func (o *ValidatedFieldsItems) HasSnapAppId() bool
HasSnapAppId returns a boolean if a field has been set.
func (ValidatedFieldsItems) MarshalJSON ¶
func (o ValidatedFieldsItems) MarshalJSON() ([]byte, error)
func (*ValidatedFieldsItems) SetCurrency ¶
func (o *ValidatedFieldsItems) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*ValidatedFieldsItems) SetEventConversionType ¶
func (o *ValidatedFieldsItems) SetEventConversionType(v string)
SetEventConversionType gets a reference to the given string and assigns it to the EventConversionType field.
func (*ValidatedFieldsItems) SetEventType ¶
func (o *ValidatedFieldsItems) SetEventType(v string)
SetEventType gets a reference to the given string and assigns it to the EventType field.
func (*ValidatedFieldsItems) SetPixelId ¶
func (o *ValidatedFieldsItems) SetPixelId(v string)
SetPixelId gets a reference to the given string and assigns it to the PixelId field.
func (*ValidatedFieldsItems) SetPrice ¶
func (o *ValidatedFieldsItems) SetPrice(v string)
SetPrice gets a reference to the given string and assigns it to the Price field.
func (*ValidatedFieldsItems) SetSnapAppId ¶
func (o *ValidatedFieldsItems) SetSnapAppId(v string)
SetSnapAppId gets a reference to the given string and assigns it to the SnapAppId field.
Source Files ¶
- api_default.go
- capi_async.go
- capi_constants.go
- capi_hash.go
- client.go
- configuration.go
- conversion_api.go
- model_capi_event.go
- model_capi_event_ext.go
- model_response.go
- model_response_error_records.go
- model_response_logs.go
- model_response_logs_log.go
- model_response_stats.go
- model_response_stats_data.go
- model_response_stats_test_.go
- model_test_response.go
- model_validated_fields.go
- model_validated_fields_items.go
- response.go
- utils.go