9.8 KiB
MarketingCreated
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| By | Pointer to string | By is who created it. | [optional] |
| CreatedAt | Pointer to int64 | CreatedAt, UpdatedAt and FinishedAt are unix seconds. | [optional] |
| Error | Pointer to string | Error is why a failed import stopped. | [optional] |
| Existed | Pointer to bool | Existed is true when an import with the same key was already there. | [optional] |
| FinishedAt | Pointer to int64 | FinishedAt is when it ended; 0 while it runs. | [optional] |
| Id | Pointer to string | ID is the import's id ("imp_" and 96 random bits in hex): the batch every subscriber it adds records as its source ref. | [optional] |
| List | Pointer to string | List is the list it fills. | [optional] |
| Options | Pointer to MarketingImportOptions | Options are what the import was created with. | [optional] |
| Parsed | Pointer to int64 | Parsed is how many bytes of the file the worker has read and judged. | [optional] |
| Received | Pointer to int64 | Received is how many bytes of the file have arrived; the next piece starts here. | [optional] |
| Report | Pointer to MarketingReport | Report is what became of the rows read so far. | [optional] |
| State | Pointer to string | State is receiving (waiting for its bytes), queued, processing, done, failed or cancelled. | [optional] |
| UpdatedAt | Pointer to int64 | UpdatedAt is the last progress. | [optional] |
Methods
NewMarketingCreated
func NewMarketingCreated() *MarketingCreated
NewMarketingCreated instantiates a new MarketingCreated 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
NewMarketingCreatedWithDefaults
func NewMarketingCreatedWithDefaults() *MarketingCreated
NewMarketingCreatedWithDefaults instantiates a new MarketingCreated 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
GetBy
func (o *MarketingCreated) GetBy() string
GetBy returns the By field if non-nil, zero value otherwise.
GetByOk
func (o *MarketingCreated) GetByOk() (*string, bool)
GetByOk returns a tuple with the By field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBy
func (o *MarketingCreated) SetBy(v string)
SetBy sets By field to given value.
HasBy
func (o *MarketingCreated) HasBy() bool
HasBy returns a boolean if a field has been set.
GetCreatedAt
func (o *MarketingCreated) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *MarketingCreated) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreatedAt
func (o *MarketingCreated) SetCreatedAt(v int64)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *MarketingCreated) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetError
func (o *MarketingCreated) GetError() string
GetError returns the Error field if non-nil, zero value otherwise.
GetErrorOk
func (o *MarketingCreated) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetError
func (o *MarketingCreated) SetError(v string)
SetError sets Error field to given value.
HasError
func (o *MarketingCreated) HasError() bool
HasError returns a boolean if a field has been set.
GetExisted
func (o *MarketingCreated) GetExisted() bool
GetExisted returns the Existed field if non-nil, zero value otherwise.
GetExistedOk
func (o *MarketingCreated) GetExistedOk() (*bool, bool)
GetExistedOk returns a tuple with the Existed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetExisted
func (o *MarketingCreated) SetExisted(v bool)
SetExisted sets Existed field to given value.
HasExisted
func (o *MarketingCreated) HasExisted() bool
HasExisted returns a boolean if a field has been set.
GetFinishedAt
func (o *MarketingCreated) GetFinishedAt() int64
GetFinishedAt returns the FinishedAt field if non-nil, zero value otherwise.
GetFinishedAtOk
func (o *MarketingCreated) GetFinishedAtOk() (*int64, bool)
GetFinishedAtOk returns a tuple with the FinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFinishedAt
func (o *MarketingCreated) SetFinishedAt(v int64)
SetFinishedAt sets FinishedAt field to given value.
HasFinishedAt
func (o *MarketingCreated) HasFinishedAt() bool
HasFinishedAt returns a boolean if a field has been set.
GetId
func (o *MarketingCreated) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *MarketingCreated) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetId
func (o *MarketingCreated) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *MarketingCreated) HasId() bool
HasId returns a boolean if a field has been set.
GetList
func (o *MarketingCreated) GetList() string
GetList returns the List field if non-nil, zero value otherwise.
GetListOk
func (o *MarketingCreated) GetListOk() (*string, bool)
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetList
func (o *MarketingCreated) SetList(v string)
SetList sets List field to given value.
HasList
func (o *MarketingCreated) HasList() bool
HasList returns a boolean if a field has been set.
GetOptions
func (o *MarketingCreated) GetOptions() MarketingImportOptions
GetOptions returns the Options field if non-nil, zero value otherwise.
GetOptionsOk
func (o *MarketingCreated) GetOptionsOk() (*MarketingImportOptions, bool)
GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOptions
func (o *MarketingCreated) SetOptions(v MarketingImportOptions)
SetOptions sets Options field to given value.
HasOptions
func (o *MarketingCreated) HasOptions() bool
HasOptions returns a boolean if a field has been set.
GetParsed
func (o *MarketingCreated) GetParsed() int64
GetParsed returns the Parsed field if non-nil, zero value otherwise.
GetParsedOk
func (o *MarketingCreated) GetParsedOk() (*int64, bool)
GetParsedOk returns a tuple with the Parsed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetParsed
func (o *MarketingCreated) SetParsed(v int64)
SetParsed sets Parsed field to given value.
HasParsed
func (o *MarketingCreated) HasParsed() bool
HasParsed returns a boolean if a field has been set.
GetReceived
func (o *MarketingCreated) GetReceived() int64
GetReceived returns the Received field if non-nil, zero value otherwise.
GetReceivedOk
func (o *MarketingCreated) GetReceivedOk() (*int64, bool)
GetReceivedOk returns a tuple with the Received field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetReceived
func (o *MarketingCreated) SetReceived(v int64)
SetReceived sets Received field to given value.
HasReceived
func (o *MarketingCreated) HasReceived() bool
HasReceived returns a boolean if a field has been set.
GetReport
func (o *MarketingCreated) GetReport() MarketingReport
GetReport returns the Report field if non-nil, zero value otherwise.
GetReportOk
func (o *MarketingCreated) GetReportOk() (*MarketingReport, bool)
GetReportOk returns a tuple with the Report field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetReport
func (o *MarketingCreated) SetReport(v MarketingReport)
SetReport sets Report field to given value.
HasReport
func (o *MarketingCreated) HasReport() bool
HasReport returns a boolean if a field has been set.
GetState
func (o *MarketingCreated) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
GetStateOk
func (o *MarketingCreated) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetState
func (o *MarketingCreated) SetState(v string)
SetState sets State field to given value.
HasState
func (o *MarketingCreated) HasState() bool
HasState returns a boolean if a field has been set.
GetUpdatedAt
func (o *MarketingCreated) GetUpdatedAt() int64
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
GetUpdatedAtOk
func (o *MarketingCreated) GetUpdatedAtOk() (*int64, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUpdatedAt
func (o *MarketingCreated) SetUpdatedAt(v int64)
SetUpdatedAt sets UpdatedAt field to given value.
HasUpdatedAt
func (o *MarketingCreated) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.