| Name | Type | Description | Notes |
|---|---|---|---|
| StartTime | Pointer to time.Time | The start of the aggregation time frame in UTC. | |
| EndTime | Pointer to time.Time | The end of the aggregation time frame in UTC. | |
| UnitsSold | Pointer to AnalyticsDataPointWithTrend | ||
| ProductId | Pointer to int64 | The ID of the product. | |
| ProductName | Pointer to string | The name of the product. |
func NewProductUnitAnalyticsDataPoint(startTime time.Time, endTime time.Time, unitsSold AnalyticsDataPointWithTrend, productId int64, productName string, ) *ProductUnitAnalyticsDataPoint
NewProductUnitAnalyticsDataPoint instantiates a new ProductUnitAnalyticsDataPoint 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 NewProductUnitAnalyticsDataPointWithDefaults() *ProductUnitAnalyticsDataPoint
NewProductUnitAnalyticsDataPointWithDefaults instantiates a new ProductUnitAnalyticsDataPoint 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 (o *ProductUnitAnalyticsDataPoint) GetStartTime() time.Time
GetStartTime returns the StartTime field if non-nil, zero value otherwise.
func (o *ProductUnitAnalyticsDataPoint) GetStartTimeOk() (*time.Time, bool)
GetStartTimeOk returns a tuple with the StartTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductUnitAnalyticsDataPoint) SetStartTime(v time.Time)
SetStartTime sets StartTime field to given value.
func (o *ProductUnitAnalyticsDataPoint) GetEndTime() time.Time
GetEndTime returns the EndTime field if non-nil, zero value otherwise.
func (o *ProductUnitAnalyticsDataPoint) GetEndTimeOk() (*time.Time, bool)
GetEndTimeOk returns a tuple with the EndTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductUnitAnalyticsDataPoint) SetEndTime(v time.Time)
SetEndTime sets EndTime field to given value.
func (o *ProductUnitAnalyticsDataPoint) GetUnitsSold() AnalyticsDataPointWithTrend
GetUnitsSold returns the UnitsSold field if non-nil, zero value otherwise.
func (o *ProductUnitAnalyticsDataPoint) GetUnitsSoldOk() (*AnalyticsDataPointWithTrend, bool)
GetUnitsSoldOk returns a tuple with the UnitsSold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductUnitAnalyticsDataPoint) SetUnitsSold(v AnalyticsDataPointWithTrend)
SetUnitsSold sets UnitsSold field to given value.
func (o *ProductUnitAnalyticsDataPoint) GetProductId() int64
GetProductId returns the ProductId field if non-nil, zero value otherwise.
func (o *ProductUnitAnalyticsDataPoint) GetProductIdOk() (*int64, bool)
GetProductIdOk returns a tuple with the ProductId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductUnitAnalyticsDataPoint) SetProductId(v int64)
SetProductId sets ProductId field to given value.
func (o *ProductUnitAnalyticsDataPoint) GetProductName() string
GetProductName returns the ProductName field if non-nil, zero value otherwise.
func (o *ProductUnitAnalyticsDataPoint) GetProductNameOk() (*string, bool)
GetProductNameOk returns a tuple with the ProductName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProductUnitAnalyticsDataPoint) SetProductName(v string)
SetProductName sets ProductName field to given value.