Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) 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
- type APIClient
- type APIKey
- type APIResponse
- type ApiAddSimpleProductPost200Response
- func (o *ApiAddSimpleProductPost200Response) GetData() ApiAddSimpleProductPost200ResponseData
- func (o *ApiAddSimpleProductPost200Response) GetDataOk() (*ApiAddSimpleProductPost200ResponseData, bool)
- func (o *ApiAddSimpleProductPost200Response) GetMessage() string
- func (o *ApiAddSimpleProductPost200Response) GetMessageOk() (*string, bool)
- func (o *ApiAddSimpleProductPost200Response) GetSuccess() bool
- func (o *ApiAddSimpleProductPost200Response) GetSuccessOk() (*bool, bool)
- func (o *ApiAddSimpleProductPost200Response) HasData() bool
- func (o *ApiAddSimpleProductPost200Response) HasMessage() bool
- func (o *ApiAddSimpleProductPost200Response) HasSuccess() bool
- func (o ApiAddSimpleProductPost200Response) MarshalJSON() ([]byte, error)
- func (o *ApiAddSimpleProductPost200Response) SetData(v ApiAddSimpleProductPost200ResponseData)
- func (o *ApiAddSimpleProductPost200Response) SetMessage(v string)
- func (o *ApiAddSimpleProductPost200Response) SetSuccess(v bool)
- func (o ApiAddSimpleProductPost200Response) ToMap() (map[string]interface{}, error)
- type ApiAddSimpleProductPost200ResponseData
- func (o *ApiAddSimpleProductPost200ResponseData) GetProductId() uint64
- func (o *ApiAddSimpleProductPost200ResponseData) GetProductIdOk() (*uint64, bool)
- func (o *ApiAddSimpleProductPost200ResponseData) HasProductId() bool
- func (o ApiAddSimpleProductPost200ResponseData) MarshalJSON() ([]byte, error)
- func (o *ApiAddSimpleProductPost200ResponseData) SetProductId(v uint64)
- func (o ApiAddSimpleProductPost200ResponseData) ToMap() (map[string]interface{}, error)
- type ApiApiAddSimpleProductPostRequest
- type ApiApiAddVariantProductPostRequest
- type ApiApiProductProductIdGetRequest
- type ApiApiProductsGetRequest
- func (r ApiApiProductsGetRequest) Execute() (*ApiProductsGet200Response, *http.Response, error)
- func (r ApiApiProductsGetRequest) Page(page int32) ApiApiProductsGetRequest
- func (r ApiApiProductsGetRequest) PerPage(perPage int32) ApiApiProductsGetRequest
- func (r ApiApiProductsGetRequest) Search(search string) ApiApiProductsGetRequest
- type ApiApiUpdateSingleProductProductIdPostRequest
- type ApiApiUpdateVariantProductProductIdPostRequest
- type ApiProductProductIdGet200Response
- func (o *ApiProductProductIdGet200Response) GetData() map[string]interface{}
- func (o *ApiProductProductIdGet200Response) GetDataOk() (map[string]interface{}, bool)
- func (o *ApiProductProductIdGet200Response) GetMessage() string
- func (o *ApiProductProductIdGet200Response) GetMessageOk() (*string, bool)
- func (o *ApiProductProductIdGet200Response) GetSuccess() bool
- func (o *ApiProductProductIdGet200Response) GetSuccessOk() (*bool, bool)
- func (o *ApiProductProductIdGet200Response) HasData() bool
- func (o *ApiProductProductIdGet200Response) HasMessage() bool
- func (o *ApiProductProductIdGet200Response) HasSuccess() bool
- func (o ApiProductProductIdGet200Response) MarshalJSON() ([]byte, error)
- func (o *ApiProductProductIdGet200Response) SetData(v map[string]interface{})
- func (o *ApiProductProductIdGet200Response) SetMessage(v string)
- func (o *ApiProductProductIdGet200Response) SetSuccess(v bool)
- func (o ApiProductProductIdGet200Response) ToMap() (map[string]interface{}, error)
- type ApiProductsGet200Response
- func (o *ApiProductsGet200Response) GetData() ApiProductsGet200ResponseData
- func (o *ApiProductsGet200Response) GetDataOk() (*ApiProductsGet200ResponseData, bool)
- func (o *ApiProductsGet200Response) GetSuccess() bool
- func (o *ApiProductsGet200Response) GetSuccessOk() (*bool, bool)
- func (o *ApiProductsGet200Response) HasData() bool
- func (o *ApiProductsGet200Response) HasSuccess() bool
- func (o ApiProductsGet200Response) MarshalJSON() ([]byte, error)
- func (o *ApiProductsGet200Response) SetData(v ApiProductsGet200ResponseData)
- func (o *ApiProductsGet200Response) SetSuccess(v bool)
- func (o ApiProductsGet200Response) ToMap() (map[string]interface{}, error)
- type ApiProductsGet200ResponseData
- func (o *ApiProductsGet200ResponseData) GetData() []map[string]interface{}
- func (o *ApiProductsGet200ResponseData) GetDataOk() ([]map[string]interface{}, bool)
- func (o *ApiProductsGet200ResponseData) GetPagination() ApiProductsGet200ResponseDataPagination
- func (o *ApiProductsGet200ResponseData) GetPaginationOk() (*ApiProductsGet200ResponseDataPagination, bool)
- func (o *ApiProductsGet200ResponseData) HasData() bool
- func (o *ApiProductsGet200ResponseData) HasPagination() bool
- func (o ApiProductsGet200ResponseData) MarshalJSON() ([]byte, error)
- func (o *ApiProductsGet200ResponseData) SetData(v []map[string]interface{})
- func (o *ApiProductsGet200ResponseData) SetPagination(v ApiProductsGet200ResponseDataPagination)
- func (o ApiProductsGet200ResponseData) ToMap() (map[string]interface{}, error)
- type ApiProductsGet200ResponseDataPagination
- func (o *ApiProductsGet200ResponseDataPagination) GetCurrentPage() int32
- func (o *ApiProductsGet200ResponseDataPagination) GetCurrentPageOk() (*int32, bool)
- func (o *ApiProductsGet200ResponseDataPagination) GetPerPage() int32
- func (o *ApiProductsGet200ResponseDataPagination) GetPerPageOk() (*int32, bool)
- func (o *ApiProductsGet200ResponseDataPagination) GetTotalPages() int32
- func (o *ApiProductsGet200ResponseDataPagination) GetTotalPagesOk() (*int32, bool)
- func (o *ApiProductsGet200ResponseDataPagination) GetTotalProducts() int32
- func (o *ApiProductsGet200ResponseDataPagination) GetTotalProductsOk() (*int32, bool)
- func (o *ApiProductsGet200ResponseDataPagination) HasCurrentPage() bool
- func (o *ApiProductsGet200ResponseDataPagination) HasPerPage() bool
- func (o *ApiProductsGet200ResponseDataPagination) HasTotalPages() bool
- func (o *ApiProductsGet200ResponseDataPagination) HasTotalProducts() bool
- func (o ApiProductsGet200ResponseDataPagination) MarshalJSON() ([]byte, error)
- func (o *ApiProductsGet200ResponseDataPagination) SetCurrentPage(v int32)
- func (o *ApiProductsGet200ResponseDataPagination) SetPerPage(v int32)
- func (o *ApiProductsGet200ResponseDataPagination) SetTotalPages(v int32)
- func (o *ApiProductsGet200ResponseDataPagination) SetTotalProducts(v int32)
- func (o ApiProductsGet200ResponseDataPagination) ToMap() (map[string]interface{}, error)
- type BasicAuth
- type Configuration
- type DefaultApiService
- func (a *DefaultApiService) ApiAddSimpleProductPost(ctx context.Context) ApiApiAddSimpleProductPostRequest
- func (a *DefaultApiService) ApiAddSimpleProductPostExecute(r ApiApiAddSimpleProductPostRequest) (*ApiAddSimpleProductPost200Response, *http.Response, error)
- func (a *DefaultApiService) ApiAddVariantProductPost(ctx context.Context) ApiApiAddVariantProductPostRequest
- func (a *DefaultApiService) ApiAddVariantProductPostExecute(r ApiApiAddVariantProductPostRequest) (*ApiAddSimpleProductPost200Response, *http.Response, error)
- func (a *DefaultApiService) ApiProductProductIdGet(ctx context.Context, productId uint64) ApiApiProductProductIdGetRequest
- func (a *DefaultApiService) ApiProductProductIdGetExecute(r ApiApiProductProductIdGetRequest) (*ApiProductProductIdGet200Response, *http.Response, error)
- func (a *DefaultApiService) ApiProductsGet(ctx context.Context) ApiApiProductsGetRequest
- func (a *DefaultApiService) ApiProductsGetExecute(r ApiApiProductsGetRequest) (*ApiProductsGet200Response, *http.Response, error)
- func (a *DefaultApiService) ApiUpdateSingleProductProductIdPost(ctx context.Context, productId uint64) ApiApiUpdateSingleProductProductIdPostRequest
- func (a *DefaultApiService) ApiUpdateSingleProductProductIdPostExecute(r ApiApiUpdateSingleProductProductIdPostRequest) (*http.Response, error)
- func (a *DefaultApiService) ApiUpdateVariantProductProductIdPost(ctx context.Context, productId uint64) ApiApiUpdateVariantProductProductIdPostRequest
- func (a *DefaultApiService) ApiUpdateVariantProductProductIdPostExecute(r ApiApiUpdateVariantProductProductIdPostRequest) (*http.Response, error)
- type GenericOpenAPIError
- type MappedNullable
- type NullableApiAddSimpleProductPost200Response
- func (v NullableApiAddSimpleProductPost200Response) Get() *ApiAddSimpleProductPost200Response
- func (v NullableApiAddSimpleProductPost200Response) IsSet() bool
- func (v NullableApiAddSimpleProductPost200Response) MarshalJSON() ([]byte, error)
- func (v *NullableApiAddSimpleProductPost200Response) Set(val *ApiAddSimpleProductPost200Response)
- func (v *NullableApiAddSimpleProductPost200Response) UnmarshalJSON(src []byte) error
- func (v *NullableApiAddSimpleProductPost200Response) Unset()
- type NullableApiAddSimpleProductPost200ResponseData
- func (v NullableApiAddSimpleProductPost200ResponseData) Get() *ApiAddSimpleProductPost200ResponseData
- func (v NullableApiAddSimpleProductPost200ResponseData) IsSet() bool
- func (v NullableApiAddSimpleProductPost200ResponseData) MarshalJSON() ([]byte, error)
- func (v *NullableApiAddSimpleProductPost200ResponseData) Set(val *ApiAddSimpleProductPost200ResponseData)
- func (v *NullableApiAddSimpleProductPost200ResponseData) UnmarshalJSON(src []byte) error
- func (v *NullableApiAddSimpleProductPost200ResponseData) Unset()
- type NullableApiProductProductIdGet200Response
- func (v NullableApiProductProductIdGet200Response) Get() *ApiProductProductIdGet200Response
- func (v NullableApiProductProductIdGet200Response) IsSet() bool
- func (v NullableApiProductProductIdGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableApiProductProductIdGet200Response) Set(val *ApiProductProductIdGet200Response)
- func (v *NullableApiProductProductIdGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableApiProductProductIdGet200Response) Unset()
- type NullableApiProductsGet200Response
- func (v NullableApiProductsGet200Response) Get() *ApiProductsGet200Response
- func (v NullableApiProductsGet200Response) IsSet() bool
- func (v NullableApiProductsGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableApiProductsGet200Response) Set(val *ApiProductsGet200Response)
- func (v *NullableApiProductsGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableApiProductsGet200Response) Unset()
- type NullableApiProductsGet200ResponseData
- func (v NullableApiProductsGet200ResponseData) Get() *ApiProductsGet200ResponseData
- func (v NullableApiProductsGet200ResponseData) IsSet() bool
- func (v NullableApiProductsGet200ResponseData) MarshalJSON() ([]byte, error)
- func (v *NullableApiProductsGet200ResponseData) Set(val *ApiProductsGet200ResponseData)
- func (v *NullableApiProductsGet200ResponseData) UnmarshalJSON(src []byte) error
- func (v *NullableApiProductsGet200ResponseData) Unset()
- type NullableApiProductsGet200ResponseDataPagination
- func (v NullableApiProductsGet200ResponseDataPagination) Get() *ApiProductsGet200ResponseDataPagination
- func (v NullableApiProductsGet200ResponseDataPagination) IsSet() bool
- func (v NullableApiProductsGet200ResponseDataPagination) MarshalJSON() ([]byte, error)
- func (v *NullableApiProductsGet200ResponseDataPagination) Set(val *ApiProductsGet200ResponseDataPagination)
- func (v *NullableApiProductsGet200ResponseDataPagination) UnmarshalJSON(src []byte) error
- func (v *NullableApiProductsGet200ResponseDataPagination) Unset()
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableSimpleProduct
- func (v NullableSimpleProduct) Get() *SimpleProduct
- func (v NullableSimpleProduct) IsSet() bool
- func (v NullableSimpleProduct) MarshalJSON() ([]byte, error)
- func (v *NullableSimpleProduct) Set(val *SimpleProduct)
- func (v *NullableSimpleProduct) UnmarshalJSON(src []byte) error
- func (v *NullableSimpleProduct) Unset()
- type NullableSingleUpdateProduct
- func (v NullableSingleUpdateProduct) Get() *SingleUpdateProduct
- func (v NullableSingleUpdateProduct) IsSet() bool
- func (v NullableSingleUpdateProduct) MarshalJSON() ([]byte, error)
- func (v *NullableSingleUpdateProduct) Set(val *SingleUpdateProduct)
- func (v *NullableSingleUpdateProduct) UnmarshalJSON(src []byte) error
- func (v *NullableSingleUpdateProduct) Unset()
- type NullableString
- type NullableTime
- type NullableVariant
- type NullableVariantProduct
- func (v NullableVariantProduct) Get() *VariantProduct
- func (v NullableVariantProduct) IsSet() bool
- func (v NullableVariantProduct) MarshalJSON() ([]byte, error)
- func (v *NullableVariantProduct) Set(val *VariantProduct)
- func (v *NullableVariantProduct) UnmarshalJSON(src []byte) error
- func (v *NullableVariantProduct) Unset()
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SimpleProduct
- func (o *SimpleProduct) GetCategoryId() int32
- func (o *SimpleProduct) GetCategoryIdOk() (*int32, bool)
- func (o *SimpleProduct) GetDescription() string
- func (o *SimpleProduct) GetDescriptionOk() (*string, bool)
- func (o *SimpleProduct) GetFeatureImage() string
- func (o *SimpleProduct) GetFeatureImageOk() (*string, bool)
- func (o *SimpleProduct) GetImages() []string
- func (o *SimpleProduct) GetImagesOk() ([]string, bool)
- func (o *SimpleProduct) GetName() string
- func (o *SimpleProduct) GetNameOk() (*string, bool)
- func (o *SimpleProduct) GetPostedDate() time.Time
- func (o *SimpleProduct) GetPostedDateOk() (*time.Time, bool)
- func (o *SimpleProduct) GetPrice() float32
- func (o *SimpleProduct) GetPriceOk() (*float32, bool)
- func (o *SimpleProduct) GetQuantity() int32
- func (o *SimpleProduct) GetQuantityOk() (*int32, bool)
- func (o *SimpleProduct) GetTag() string
- func (o *SimpleProduct) GetTagOk() (*string, bool)
- func (o *SimpleProduct) HasCategoryId() bool
- func (o *SimpleProduct) HasDescription() bool
- func (o *SimpleProduct) HasFeatureImage() bool
- func (o *SimpleProduct) HasImages() bool
- func (o *SimpleProduct) HasName() bool
- func (o *SimpleProduct) HasPostedDate() bool
- func (o *SimpleProduct) HasPrice() bool
- func (o *SimpleProduct) HasQuantity() bool
- func (o *SimpleProduct) HasTag() bool
- func (o SimpleProduct) MarshalJSON() ([]byte, error)
- func (o *SimpleProduct) SetCategoryId(v int32)
- func (o *SimpleProduct) SetDescription(v string)
- func (o *SimpleProduct) SetFeatureImage(v string)
- func (o *SimpleProduct) SetImages(v []string)
- func (o *SimpleProduct) SetName(v string)
- func (o *SimpleProduct) SetPostedDate(v time.Time)
- func (o *SimpleProduct) SetPrice(v float32)
- func (o *SimpleProduct) SetQuantity(v int32)
- func (o *SimpleProduct) SetTag(v string)
- func (o SimpleProduct) ToMap() (map[string]interface{}, error)
- type SingleUpdateProduct
- func (o *SingleUpdateProduct) GetCategoryId() int32
- func (o *SingleUpdateProduct) GetCategoryIdOk() (*int32, bool)
- func (o *SingleUpdateProduct) GetDescription() string
- func (o *SingleUpdateProduct) GetDescriptionOk() (*string, bool)
- func (o *SingleUpdateProduct) GetFeatureImage() string
- func (o *SingleUpdateProduct) GetFeatureImageOk() (*string, bool)
- func (o *SingleUpdateProduct) GetImages() []UpdateImage
- func (o *SingleUpdateProduct) GetImagesOk() ([]UpdateImage, bool)
- func (o *SingleUpdateProduct) GetName() string
- func (o *SingleUpdateProduct) GetNameOk() (*string, bool)
- func (o *SingleUpdateProduct) GetPostedDate() time.Time
- func (o *SingleUpdateProduct) GetPostedDateOk() (*time.Time, bool)
- func (o *SingleUpdateProduct) GetPrice() float32
- func (o *SingleUpdateProduct) GetPriceOk() (*float32, bool)
- func (o *SingleUpdateProduct) GetQuantity() int32
- func (o *SingleUpdateProduct) GetQuantityOk() (*int32, bool)
- func (o *SingleUpdateProduct) GetTag() string
- func (o *SingleUpdateProduct) GetTagOk() (*string, bool)
- func (o *SingleUpdateProduct) HasCategoryId() bool
- func (o *SingleUpdateProduct) HasDescription() bool
- func (o *SingleUpdateProduct) HasFeatureImage() bool
- func (o *SingleUpdateProduct) HasImages() bool
- func (o *SingleUpdateProduct) HasName() bool
- func (o *SingleUpdateProduct) HasPostedDate() bool
- func (o *SingleUpdateProduct) HasPrice() bool
- func (o *SingleUpdateProduct) HasQuantity() bool
- func (o *SingleUpdateProduct) HasTag() bool
- func (o SingleUpdateProduct) MarshalJSON() ([]byte, error)
- func (o *SingleUpdateProduct) SetCategoryId(v int32)
- func (o *SingleUpdateProduct) SetDescription(v string)
- func (o *SingleUpdateProduct) SetFeatureImage(v string)
- func (o *SingleUpdateProduct) SetImages(v []UpdateImage)
- func (o *SingleUpdateProduct) SetName(v string)
- func (o *SingleUpdateProduct) SetPostedDate(v time.Time)
- func (o *SingleUpdateProduct) SetPrice(v float32)
- func (o *SingleUpdateProduct) SetQuantity(v int32)
- func (o *SingleUpdateProduct) SetTag(v string)
- func (o SingleUpdateProduct) ToMap() (map[string]interface{}, error)
- type UpdateImage
- type Variant
- func (o *Variant) GetColorId() int32
- func (o *Variant) GetColorIdOk() (*int32, bool)
- func (o *Variant) GetImages() []string
- func (o *Variant) GetImagesOk() ([]string, bool)
- func (o *Variant) GetName() string
- func (o *Variant) GetNameOk() (*string, bool)
- func (o *Variant) GetPostedDate() time.Time
- func (o *Variant) GetPostedDateOk() (*time.Time, bool)
- func (o *Variant) GetPrice() float32
- func (o *Variant) GetPriceOk() (*float32, bool)
- func (o *Variant) GetQuantity() int32
- func (o *Variant) GetQuantityOk() (*int32, bool)
- func (o *Variant) GetSize() []string
- func (o *Variant) GetSizeOk() ([]string, bool)
- func (o *Variant) HasColorId() bool
- func (o *Variant) HasImages() bool
- func (o *Variant) HasName() bool
- func (o *Variant) HasPostedDate() bool
- func (o *Variant) HasPrice() bool
- func (o *Variant) HasQuantity() bool
- func (o *Variant) HasSize() bool
- func (o Variant) MarshalJSON() ([]byte, error)
- func (o *Variant) SetColorId(v int32)
- func (o *Variant) SetImages(v []string)
- func (o *Variant) SetName(v string)
- func (o *Variant) SetPostedDate(v time.Time)
- func (o *Variant) SetPrice(v float32)
- func (o *Variant) SetQuantity(v int32)
- func (o *Variant) SetSize(v []string)
- func (o Variant) ToMap() (map[string]interface{}, error)
- type VariantProduct
- func (o *VariantProduct) GetCategoryId() int32
- func (o *VariantProduct) GetCategoryIdOk() (*int32, bool)
- func (o *VariantProduct) GetDescription() string
- func (o *VariantProduct) GetDescriptionOk() (*string, bool)
- func (o *VariantProduct) GetFeatureImage() string
- func (o *VariantProduct) GetFeatureImageOk() (*string, bool)
- func (o *VariantProduct) GetName() string
- func (o *VariantProduct) GetNameOk() (*string, bool)
- func (o *VariantProduct) GetTag() string
- func (o *VariantProduct) GetTagOk() (*string, bool)
- func (o *VariantProduct) GetVariants() []Variant
- func (o *VariantProduct) GetVariantsOk() ([]Variant, bool)
- func (o *VariantProduct) HasCategoryId() bool
- func (o *VariantProduct) HasDescription() bool
- func (o *VariantProduct) HasFeatureImage() bool
- func (o *VariantProduct) HasName() bool
- func (o *VariantProduct) HasTag() bool
- func (o *VariantProduct) HasVariants() bool
- func (o VariantProduct) MarshalJSON() ([]byte, error)
- func (o *VariantProduct) SetCategoryId(v int32)
- func (o *VariantProduct) SetDescription(v string)
- func (o *VariantProduct) SetFeatureImage(v string)
- func (o *VariantProduct) SetName(v string)
- func (o *VariantProduct) SetTag(v string)
- func (o *VariantProduct) SetVariants(v []Variant)
- func (o VariantProduct) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // 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 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 *DefaultApiService // contains filtered or unexported fields }
APIClient manages communication with the Product Management 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 ApiAddSimpleProductPost200Response ¶
type ApiAddSimpleProductPost200Response struct { Message *string `json:"message,omitempty"` Data *ApiAddSimpleProductPost200ResponseData `json:"data,omitempty"` Success *bool `json:"success,omitempty"` }
ApiAddSimpleProductPost200Response struct for ApiAddSimpleProductPost200Response
func NewApiAddSimpleProductPost200Response ¶
func NewApiAddSimpleProductPost200Response() *ApiAddSimpleProductPost200Response
NewApiAddSimpleProductPost200Response instantiates a new ApiAddSimpleProductPost200Response 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 NewApiAddSimpleProductPost200ResponseWithDefaults ¶
func NewApiAddSimpleProductPost200ResponseWithDefaults() *ApiAddSimpleProductPost200Response
NewApiAddSimpleProductPost200ResponseWithDefaults instantiates a new ApiAddSimpleProductPost200Response 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 (*ApiAddSimpleProductPost200Response) GetData ¶
func (o *ApiAddSimpleProductPost200Response) GetData() ApiAddSimpleProductPost200ResponseData
GetData returns the Data field value if set, zero value otherwise.
func (*ApiAddSimpleProductPost200Response) GetDataOk ¶
func (o *ApiAddSimpleProductPost200Response) GetDataOk() (*ApiAddSimpleProductPost200ResponseData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiAddSimpleProductPost200Response) GetMessage ¶
func (o *ApiAddSimpleProductPost200Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ApiAddSimpleProductPost200Response) GetMessageOk ¶
func (o *ApiAddSimpleProductPost200Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiAddSimpleProductPost200Response) GetSuccess ¶
func (o *ApiAddSimpleProductPost200Response) GetSuccess() bool
GetSuccess returns the Success field value if set, zero value otherwise.
func (*ApiAddSimpleProductPost200Response) GetSuccessOk ¶
func (o *ApiAddSimpleProductPost200Response) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiAddSimpleProductPost200Response) HasData ¶
func (o *ApiAddSimpleProductPost200Response) HasData() bool
HasData returns a boolean if a field has been set.
func (*ApiAddSimpleProductPost200Response) HasMessage ¶
func (o *ApiAddSimpleProductPost200Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ApiAddSimpleProductPost200Response) HasSuccess ¶
func (o *ApiAddSimpleProductPost200Response) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (ApiAddSimpleProductPost200Response) MarshalJSON ¶
func (o ApiAddSimpleProductPost200Response) MarshalJSON() ([]byte, error)
func (*ApiAddSimpleProductPost200Response) SetData ¶
func (o *ApiAddSimpleProductPost200Response) SetData(v ApiAddSimpleProductPost200ResponseData)
SetData gets a reference to the given ApiAddSimpleProductPost200ResponseData and assigns it to the Data field.
func (*ApiAddSimpleProductPost200Response) SetMessage ¶
func (o *ApiAddSimpleProductPost200Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ApiAddSimpleProductPost200Response) SetSuccess ¶
func (o *ApiAddSimpleProductPost200Response) SetSuccess(v bool)
SetSuccess gets a reference to the given bool and assigns it to the Success field.
func (ApiAddSimpleProductPost200Response) ToMap ¶
func (o ApiAddSimpleProductPost200Response) ToMap() (map[string]interface{}, error)
type ApiAddSimpleProductPost200ResponseData ¶
type ApiAddSimpleProductPost200ResponseData struct {
ProductId *uint64 `json:"product_id,omitempty"`
}
ApiAddSimpleProductPost200ResponseData struct for ApiAddSimpleProductPost200ResponseData
func NewApiAddSimpleProductPost200ResponseData ¶
func NewApiAddSimpleProductPost200ResponseData() *ApiAddSimpleProductPost200ResponseData
NewApiAddSimpleProductPost200ResponseData instantiates a new ApiAddSimpleProductPost200ResponseData 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 NewApiAddSimpleProductPost200ResponseDataWithDefaults ¶
func NewApiAddSimpleProductPost200ResponseDataWithDefaults() *ApiAddSimpleProductPost200ResponseData
NewApiAddSimpleProductPost200ResponseDataWithDefaults instantiates a new ApiAddSimpleProductPost200ResponseData 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 (*ApiAddSimpleProductPost200ResponseData) GetProductId ¶
func (o *ApiAddSimpleProductPost200ResponseData) GetProductId() uint64
GetProductId returns the ProductId field value if set, zero value otherwise.
func (*ApiAddSimpleProductPost200ResponseData) GetProductIdOk ¶
func (o *ApiAddSimpleProductPost200ResponseData) GetProductIdOk() (*uint64, bool)
GetProductIdOk returns a tuple with the ProductId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiAddSimpleProductPost200ResponseData) HasProductId ¶
func (o *ApiAddSimpleProductPost200ResponseData) HasProductId() bool
HasProductId returns a boolean if a field has been set.
func (ApiAddSimpleProductPost200ResponseData) MarshalJSON ¶
func (o ApiAddSimpleProductPost200ResponseData) MarshalJSON() ([]byte, error)
func (*ApiAddSimpleProductPost200ResponseData) SetProductId ¶
func (o *ApiAddSimpleProductPost200ResponseData) SetProductId(v uint64)
SetProductId gets a reference to the given string and assigns it to the ProductId field.
func (ApiAddSimpleProductPost200ResponseData) ToMap ¶
func (o ApiAddSimpleProductPost200ResponseData) ToMap() (map[string]interface{}, error)
type ApiApiAddSimpleProductPostRequest ¶
type ApiApiAddSimpleProductPostRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiApiAddSimpleProductPostRequest) Execute ¶
func (r ApiApiAddSimpleProductPostRequest) Execute() (*ApiAddSimpleProductPost200Response, *http.Response, error)
func (ApiApiAddSimpleProductPostRequest) SimpleProduct ¶
func (r ApiApiAddSimpleProductPostRequest) SimpleProduct(simpleProduct SimpleProduct) ApiApiAddSimpleProductPostRequest
type ApiApiAddVariantProductPostRequest ¶
type ApiApiAddVariantProductPostRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiApiAddVariantProductPostRequest) Execute ¶
func (r ApiApiAddVariantProductPostRequest) Execute() (*ApiAddSimpleProductPost200Response, *http.Response, error)
func (ApiApiAddVariantProductPostRequest) VariantProduct ¶
func (r ApiApiAddVariantProductPostRequest) VariantProduct(variantProduct VariantProduct) ApiApiAddVariantProductPostRequest
type ApiApiProductProductIdGetRequest ¶
type ApiApiProductProductIdGetRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiApiProductProductIdGetRequest) Execute ¶
func (r ApiApiProductProductIdGetRequest) Execute() (*ApiProductProductIdGet200Response, *http.Response, error)
type ApiApiProductsGetRequest ¶
type ApiApiProductsGetRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiApiProductsGetRequest) Execute ¶
func (r ApiApiProductsGetRequest) Execute() (*ApiProductsGet200Response, *http.Response, error)
func (ApiApiProductsGetRequest) Page ¶
func (r ApiApiProductsGetRequest) Page(page int32) ApiApiProductsGetRequest
func (ApiApiProductsGetRequest) PerPage ¶
func (r ApiApiProductsGetRequest) PerPage(perPage int32) ApiApiProductsGetRequest
func (ApiApiProductsGetRequest) Search ¶
func (r ApiApiProductsGetRequest) Search(search string) ApiApiProductsGetRequest
type ApiApiUpdateSingleProductProductIdPostRequest ¶
type ApiApiUpdateSingleProductProductIdPostRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiApiUpdateSingleProductProductIdPostRequest) Execute ¶
func (r ApiApiUpdateSingleProductProductIdPostRequest) Execute() (*http.Response, error)
func (ApiApiUpdateSingleProductProductIdPostRequest) SingleProduct ¶
func (r ApiApiUpdateSingleProductProductIdPostRequest) SingleProduct(singleUpdateProduct SingleUpdateProduct) ApiApiUpdateSingleProductProductIdPostRequest
type ApiApiUpdateVariantProductProductIdPostRequest ¶
type ApiApiUpdateVariantProductProductIdPostRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiApiUpdateVariantProductProductIdPostRequest) Execute ¶
func (r ApiApiUpdateVariantProductProductIdPostRequest) Execute() (*http.Response, error)
func (ApiApiUpdateVariantProductProductIdPostRequest) VariantProduct ¶
func (r ApiApiUpdateVariantProductProductIdPostRequest) VariantProduct(variantProduct VariantProduct) ApiApiUpdateVariantProductProductIdPostRequest
type ApiProductProductIdGet200Response ¶
type ApiProductProductIdGet200Response struct { Message *string `json:"message,omitempty"` Success *bool `json:"success,omitempty"` Data map[string]interface{} `json:"data,omitempty"` }
ApiProductProductIdGet200Response struct for ApiProductProductIdGet200Response
func NewApiProductProductIdGet200Response ¶
func NewApiProductProductIdGet200Response() *ApiProductProductIdGet200Response
NewApiProductProductIdGet200Response instantiates a new ApiProductProductIdGet200Response 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 NewApiProductProductIdGet200ResponseWithDefaults ¶
func NewApiProductProductIdGet200ResponseWithDefaults() *ApiProductProductIdGet200Response
NewApiProductProductIdGet200ResponseWithDefaults instantiates a new ApiProductProductIdGet200Response 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 (*ApiProductProductIdGet200Response) GetData ¶
func (o *ApiProductProductIdGet200Response) GetData() map[string]interface{}
GetData returns the Data field value if set, zero value otherwise.
func (*ApiProductProductIdGet200Response) GetDataOk ¶
func (o *ApiProductProductIdGet200Response) GetDataOk() (map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiProductProductIdGet200Response) GetMessage ¶
func (o *ApiProductProductIdGet200Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ApiProductProductIdGet200Response) GetMessageOk ¶
func (o *ApiProductProductIdGet200Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiProductProductIdGet200Response) GetSuccess ¶
func (o *ApiProductProductIdGet200Response) GetSuccess() bool
GetSuccess returns the Success field value if set, zero value otherwise.
func (*ApiProductProductIdGet200Response) GetSuccessOk ¶
func (o *ApiProductProductIdGet200Response) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiProductProductIdGet200Response) HasData ¶
func (o *ApiProductProductIdGet200Response) HasData() bool
HasData returns a boolean if a field has been set.
func (*ApiProductProductIdGet200Response) HasMessage ¶
func (o *ApiProductProductIdGet200Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ApiProductProductIdGet200Response) HasSuccess ¶
func (o *ApiProductProductIdGet200Response) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (ApiProductProductIdGet200Response) MarshalJSON ¶
func (o ApiProductProductIdGet200Response) MarshalJSON() ([]byte, error)
func (*ApiProductProductIdGet200Response) SetData ¶
func (o *ApiProductProductIdGet200Response) SetData(v map[string]interface{})
SetData gets a reference to the given map[string]interface{} and assigns it to the Data field.
func (*ApiProductProductIdGet200Response) SetMessage ¶
func (o *ApiProductProductIdGet200Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ApiProductProductIdGet200Response) SetSuccess ¶
func (o *ApiProductProductIdGet200Response) SetSuccess(v bool)
SetSuccess gets a reference to the given bool and assigns it to the Success field.
func (ApiProductProductIdGet200Response) ToMap ¶
func (o ApiProductProductIdGet200Response) ToMap() (map[string]interface{}, error)
type ApiProductsGet200Response ¶
type ApiProductsGet200Response struct { Data *ApiProductsGet200ResponseData `json:"data,omitempty"` Success *bool `json:"success,omitempty"` }
ApiProductsGet200Response struct for ApiProductsGet200Response
func NewApiProductsGet200Response ¶
func NewApiProductsGet200Response() *ApiProductsGet200Response
NewApiProductsGet200Response instantiates a new ApiProductsGet200Response 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 NewApiProductsGet200ResponseWithDefaults ¶
func NewApiProductsGet200ResponseWithDefaults() *ApiProductsGet200Response
NewApiProductsGet200ResponseWithDefaults instantiates a new ApiProductsGet200Response 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 (*ApiProductsGet200Response) GetData ¶
func (o *ApiProductsGet200Response) GetData() ApiProductsGet200ResponseData
GetData returns the Data field value if set, zero value otherwise.
func (*ApiProductsGet200Response) GetDataOk ¶
func (o *ApiProductsGet200Response) GetDataOk() (*ApiProductsGet200ResponseData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiProductsGet200Response) GetSuccess ¶
func (o *ApiProductsGet200Response) GetSuccess() bool
GetSuccess returns the Success field value if set, zero value otherwise.
func (*ApiProductsGet200Response) GetSuccessOk ¶
func (o *ApiProductsGet200Response) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiProductsGet200Response) HasData ¶
func (o *ApiProductsGet200Response) HasData() bool
HasData returns a boolean if a field has been set.
func (*ApiProductsGet200Response) HasSuccess ¶
func (o *ApiProductsGet200Response) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (ApiProductsGet200Response) MarshalJSON ¶
func (o ApiProductsGet200Response) MarshalJSON() ([]byte, error)
func (*ApiProductsGet200Response) SetData ¶
func (o *ApiProductsGet200Response) SetData(v ApiProductsGet200ResponseData)
SetData gets a reference to the given ApiProductsGet200ResponseData and assigns it to the Data field.
func (*ApiProductsGet200Response) SetSuccess ¶
func (o *ApiProductsGet200Response) SetSuccess(v bool)
SetSuccess gets a reference to the given bool and assigns it to the Success field.
func (ApiProductsGet200Response) ToMap ¶
func (o ApiProductsGet200Response) ToMap() (map[string]interface{}, error)
type ApiProductsGet200ResponseData ¶
type ApiProductsGet200ResponseData struct { Data []map[string]interface{} `json:"data,omitempty"` Pagination *ApiProductsGet200ResponseDataPagination `json:"pagination,omitempty"` }
ApiProductsGet200ResponseData struct for ApiProductsGet200ResponseData
func NewApiProductsGet200ResponseData ¶
func NewApiProductsGet200ResponseData() *ApiProductsGet200ResponseData
NewApiProductsGet200ResponseData instantiates a new ApiProductsGet200ResponseData 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 NewApiProductsGet200ResponseDataWithDefaults ¶
func NewApiProductsGet200ResponseDataWithDefaults() *ApiProductsGet200ResponseData
NewApiProductsGet200ResponseDataWithDefaults instantiates a new ApiProductsGet200ResponseData 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 (*ApiProductsGet200ResponseData) GetData ¶
func (o *ApiProductsGet200ResponseData) GetData() []map[string]interface{}
GetData returns the Data field value if set, zero value otherwise.
func (*ApiProductsGet200ResponseData) GetDataOk ¶
func (o *ApiProductsGet200ResponseData) GetDataOk() ([]map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiProductsGet200ResponseData) GetPagination ¶
func (o *ApiProductsGet200ResponseData) GetPagination() ApiProductsGet200ResponseDataPagination
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*ApiProductsGet200ResponseData) GetPaginationOk ¶
func (o *ApiProductsGet200ResponseData) GetPaginationOk() (*ApiProductsGet200ResponseDataPagination, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiProductsGet200ResponseData) HasData ¶
func (o *ApiProductsGet200ResponseData) HasData() bool
HasData returns a boolean if a field has been set.
func (*ApiProductsGet200ResponseData) HasPagination ¶
func (o *ApiProductsGet200ResponseData) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (ApiProductsGet200ResponseData) MarshalJSON ¶
func (o ApiProductsGet200ResponseData) MarshalJSON() ([]byte, error)
func (*ApiProductsGet200ResponseData) SetData ¶
func (o *ApiProductsGet200ResponseData) SetData(v []map[string]interface{})
SetData gets a reference to the given []map[string]interface{} and assigns it to the Data field.
func (*ApiProductsGet200ResponseData) SetPagination ¶
func (o *ApiProductsGet200ResponseData) SetPagination(v ApiProductsGet200ResponseDataPagination)
SetPagination gets a reference to the given ApiProductsGet200ResponseDataPagination and assigns it to the Pagination field.
func (ApiProductsGet200ResponseData) ToMap ¶
func (o ApiProductsGet200ResponseData) ToMap() (map[string]interface{}, error)
type ApiProductsGet200ResponseDataPagination ¶
type ApiProductsGet200ResponseDataPagination struct { CurrentPage *int32 `json:"current_page,omitempty"` PerPage *int32 `json:"per_page,omitempty"` TotalProducts *int32 `json:"total_products,omitempty"` TotalPages *int32 `json:"total_pages,omitempty"` }
ApiProductsGet200ResponseDataPagination struct for ApiProductsGet200ResponseDataPagination
func NewApiProductsGet200ResponseDataPagination ¶
func NewApiProductsGet200ResponseDataPagination() *ApiProductsGet200ResponseDataPagination
NewApiProductsGet200ResponseDataPagination instantiates a new ApiProductsGet200ResponseDataPagination 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 NewApiProductsGet200ResponseDataPaginationWithDefaults ¶
func NewApiProductsGet200ResponseDataPaginationWithDefaults() *ApiProductsGet200ResponseDataPagination
NewApiProductsGet200ResponseDataPaginationWithDefaults instantiates a new ApiProductsGet200ResponseDataPagination 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 (*ApiProductsGet200ResponseDataPagination) GetCurrentPage ¶
func (o *ApiProductsGet200ResponseDataPagination) GetCurrentPage() int32
GetCurrentPage returns the CurrentPage field value if set, zero value otherwise.
func (*ApiProductsGet200ResponseDataPagination) GetCurrentPageOk ¶
func (o *ApiProductsGet200ResponseDataPagination) GetCurrentPageOk() (*int32, bool)
GetCurrentPageOk returns a tuple with the CurrentPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiProductsGet200ResponseDataPagination) GetPerPage ¶
func (o *ApiProductsGet200ResponseDataPagination) GetPerPage() int32
GetPerPage returns the PerPage field value if set, zero value otherwise.
func (*ApiProductsGet200ResponseDataPagination) GetPerPageOk ¶
func (o *ApiProductsGet200ResponseDataPagination) GetPerPageOk() (*int32, bool)
GetPerPageOk returns a tuple with the PerPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiProductsGet200ResponseDataPagination) GetTotalPages ¶
func (o *ApiProductsGet200ResponseDataPagination) GetTotalPages() int32
GetTotalPages returns the TotalPages field value if set, zero value otherwise.
func (*ApiProductsGet200ResponseDataPagination) GetTotalPagesOk ¶
func (o *ApiProductsGet200ResponseDataPagination) GetTotalPagesOk() (*int32, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiProductsGet200ResponseDataPagination) GetTotalProducts ¶
func (o *ApiProductsGet200ResponseDataPagination) GetTotalProducts() int32
GetTotalProducts returns the TotalProducts field value if set, zero value otherwise.
func (*ApiProductsGet200ResponseDataPagination) GetTotalProductsOk ¶
func (o *ApiProductsGet200ResponseDataPagination) GetTotalProductsOk() (*int32, bool)
GetTotalProductsOk returns a tuple with the TotalProducts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiProductsGet200ResponseDataPagination) HasCurrentPage ¶
func (o *ApiProductsGet200ResponseDataPagination) HasCurrentPage() bool
HasCurrentPage returns a boolean if a field has been set.
func (*ApiProductsGet200ResponseDataPagination) HasPerPage ¶
func (o *ApiProductsGet200ResponseDataPagination) HasPerPage() bool
HasPerPage returns a boolean if a field has been set.
func (*ApiProductsGet200ResponseDataPagination) HasTotalPages ¶
func (o *ApiProductsGet200ResponseDataPagination) HasTotalPages() bool
HasTotalPages returns a boolean if a field has been set.
func (*ApiProductsGet200ResponseDataPagination) HasTotalProducts ¶
func (o *ApiProductsGet200ResponseDataPagination) HasTotalProducts() bool
HasTotalProducts returns a boolean if a field has been set.
func (ApiProductsGet200ResponseDataPagination) MarshalJSON ¶
func (o ApiProductsGet200ResponseDataPagination) MarshalJSON() ([]byte, error)
func (*ApiProductsGet200ResponseDataPagination) SetCurrentPage ¶
func (o *ApiProductsGet200ResponseDataPagination) SetCurrentPage(v int32)
SetCurrentPage gets a reference to the given int32 and assigns it to the CurrentPage field.
func (*ApiProductsGet200ResponseDataPagination) SetPerPage ¶
func (o *ApiProductsGet200ResponseDataPagination) SetPerPage(v int32)
SetPerPage gets a reference to the given int32 and assigns it to the PerPage field.
func (*ApiProductsGet200ResponseDataPagination) SetTotalPages ¶
func (o *ApiProductsGet200ResponseDataPagination) SetTotalPages(v int32)
SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.
func (*ApiProductsGet200ResponseDataPagination) SetTotalProducts ¶
func (o *ApiProductsGet200ResponseDataPagination) SetTotalProducts(v int32)
SetTotalProducts gets a reference to the given int32 and assigns it to the TotalProducts field.
func (ApiProductsGet200ResponseDataPagination) ToMap ¶
func (o ApiProductsGet200ResponseDataPagination) ToMap() (map[string]interface{}, error)
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 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 DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) ApiAddSimpleProductPost ¶
func (a *DefaultApiService) ApiAddSimpleProductPost(ctx context.Context) ApiApiAddSimpleProductPostRequest
ApiAddSimpleProductPost Add a simple product
Adds a new simple product to the system.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiAddSimpleProductPostRequest
func (*DefaultApiService) ApiAddSimpleProductPostExecute ¶
func (a *DefaultApiService) ApiAddSimpleProductPostExecute(r ApiApiAddSimpleProductPostRequest) (*ApiAddSimpleProductPost200Response, *http.Response, error)
Execute executes the request
@return ApiAddSimpleProductPost200Response
func (*DefaultApiService) ApiAddVariantProductPost ¶
func (a *DefaultApiService) ApiAddVariantProductPost(ctx context.Context) ApiApiAddVariantProductPostRequest
ApiAddVariantProductPost Add a variant product
Adds a new product with variants to the system.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiAddVariantProductPostRequest
func (*DefaultApiService) ApiAddVariantProductPostExecute ¶
func (a *DefaultApiService) ApiAddVariantProductPostExecute(r ApiApiAddVariantProductPostRequest) (*ApiAddSimpleProductPost200Response, *http.Response, error)
Execute executes the request
@return ApiAddSimpleProductPost200Response
func (*DefaultApiService) ApiProductProductIdGet ¶
func (a *DefaultApiService) ApiProductProductIdGet(ctx context.Context, productId uint64) ApiApiProductProductIdGetRequest
ApiProductProductIdGet Get a product
Retrieves details of a single product or variant product.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiApiProductProductIdGetRequest
func (*DefaultApiService) ApiProductProductIdGetExecute ¶
func (a *DefaultApiService) ApiProductProductIdGetExecute(r ApiApiProductProductIdGetRequest) (*ApiProductProductIdGet200Response, *http.Response, error)
Execute executes the request
@return ApiProductProductIdGet200Response
func (*DefaultApiService) ApiProductsGet ¶
func (a *DefaultApiService) ApiProductsGet(ctx context.Context) ApiApiProductsGetRequest
ApiProductsGet Get all products
Retrieves a paginated list of all products.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiProductsGetRequest
func (*DefaultApiService) ApiProductsGetExecute ¶
func (a *DefaultApiService) ApiProductsGetExecute(r ApiApiProductsGetRequest) (*ApiProductsGet200Response, *http.Response, error)
Execute executes the request
@return ApiProductsGet200Response
func (*DefaultApiService) ApiUpdateSingleProductProductIdPost ¶
func (a *DefaultApiService) ApiUpdateSingleProductProductIdPost(ctx context.Context, productId uint64) ApiApiUpdateSingleProductProductIdPostRequest
ApiUpdateSingleProductProductIdPost Update a simple product
Updates an existing simple product.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiApiUpdateSingleProductProductIdPostRequest
func (*DefaultApiService) ApiUpdateSingleProductProductIdPostExecute ¶
func (a *DefaultApiService) ApiUpdateSingleProductProductIdPostExecute(r ApiApiUpdateSingleProductProductIdPostRequest) (*http.Response, error)
Execute executes the request
func (*DefaultApiService) ApiUpdateVariantProductProductIdPost ¶
func (a *DefaultApiService) ApiUpdateVariantProductProductIdPost(ctx context.Context, productId uint64) ApiApiUpdateVariantProductProductIdPostRequest
ApiUpdateVariantProductProductIdPost Update a variant product
Updates an existing product with variants.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiApiUpdateVariantProductProductIdPostRequest
func (*DefaultApiService) ApiUpdateVariantProductProductIdPostExecute ¶
func (a *DefaultApiService) ApiUpdateVariantProductProductIdPostExecute(r ApiApiUpdateVariantProductProductIdPostRequest) (*http.Response, error)
Execute executes the request
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 MappedNullable ¶
type NullableApiAddSimpleProductPost200Response ¶
type NullableApiAddSimpleProductPost200Response struct {
// contains filtered or unexported fields
}
func NewNullableApiAddSimpleProductPost200Response ¶
func NewNullableApiAddSimpleProductPost200Response(val *ApiAddSimpleProductPost200Response) *NullableApiAddSimpleProductPost200Response
func (NullableApiAddSimpleProductPost200Response) IsSet ¶
func (v NullableApiAddSimpleProductPost200Response) IsSet() bool
func (NullableApiAddSimpleProductPost200Response) MarshalJSON ¶
func (v NullableApiAddSimpleProductPost200Response) MarshalJSON() ([]byte, error)
func (*NullableApiAddSimpleProductPost200Response) Set ¶
func (v *NullableApiAddSimpleProductPost200Response) Set(val *ApiAddSimpleProductPost200Response)
func (*NullableApiAddSimpleProductPost200Response) UnmarshalJSON ¶
func (v *NullableApiAddSimpleProductPost200Response) UnmarshalJSON(src []byte) error
func (*NullableApiAddSimpleProductPost200Response) Unset ¶
func (v *NullableApiAddSimpleProductPost200Response) Unset()
type NullableApiAddSimpleProductPost200ResponseData ¶
type NullableApiAddSimpleProductPost200ResponseData struct {
// contains filtered or unexported fields
}
func NewNullableApiAddSimpleProductPost200ResponseData ¶
func NewNullableApiAddSimpleProductPost200ResponseData(val *ApiAddSimpleProductPost200ResponseData) *NullableApiAddSimpleProductPost200ResponseData
func (NullableApiAddSimpleProductPost200ResponseData) IsSet ¶
func (v NullableApiAddSimpleProductPost200ResponseData) IsSet() bool
func (NullableApiAddSimpleProductPost200ResponseData) MarshalJSON ¶
func (v NullableApiAddSimpleProductPost200ResponseData) MarshalJSON() ([]byte, error)
func (*NullableApiAddSimpleProductPost200ResponseData) Set ¶
func (v *NullableApiAddSimpleProductPost200ResponseData) Set(val *ApiAddSimpleProductPost200ResponseData)
func (*NullableApiAddSimpleProductPost200ResponseData) UnmarshalJSON ¶
func (v *NullableApiAddSimpleProductPost200ResponseData) UnmarshalJSON(src []byte) error
func (*NullableApiAddSimpleProductPost200ResponseData) Unset ¶
func (v *NullableApiAddSimpleProductPost200ResponseData) Unset()
type NullableApiProductProductIdGet200Response ¶
type NullableApiProductProductIdGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableApiProductProductIdGet200Response ¶
func NewNullableApiProductProductIdGet200Response(val *ApiProductProductIdGet200Response) *NullableApiProductProductIdGet200Response
func (NullableApiProductProductIdGet200Response) IsSet ¶
func (v NullableApiProductProductIdGet200Response) IsSet() bool
func (NullableApiProductProductIdGet200Response) MarshalJSON ¶
func (v NullableApiProductProductIdGet200Response) MarshalJSON() ([]byte, error)
func (*NullableApiProductProductIdGet200Response) Set ¶
func (v *NullableApiProductProductIdGet200Response) Set(val *ApiProductProductIdGet200Response)
func (*NullableApiProductProductIdGet200Response) UnmarshalJSON ¶
func (v *NullableApiProductProductIdGet200Response) UnmarshalJSON(src []byte) error
func (*NullableApiProductProductIdGet200Response) Unset ¶
func (v *NullableApiProductProductIdGet200Response) Unset()
type NullableApiProductsGet200Response ¶
type NullableApiProductsGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableApiProductsGet200Response ¶
func NewNullableApiProductsGet200Response(val *ApiProductsGet200Response) *NullableApiProductsGet200Response
func (NullableApiProductsGet200Response) Get ¶
func (v NullableApiProductsGet200Response) Get() *ApiProductsGet200Response
func (NullableApiProductsGet200Response) IsSet ¶
func (v NullableApiProductsGet200Response) IsSet() bool
func (NullableApiProductsGet200Response) MarshalJSON ¶
func (v NullableApiProductsGet200Response) MarshalJSON() ([]byte, error)
func (*NullableApiProductsGet200Response) Set ¶
func (v *NullableApiProductsGet200Response) Set(val *ApiProductsGet200Response)
func (*NullableApiProductsGet200Response) UnmarshalJSON ¶
func (v *NullableApiProductsGet200Response) UnmarshalJSON(src []byte) error
func (*NullableApiProductsGet200Response) Unset ¶
func (v *NullableApiProductsGet200Response) Unset()
type NullableApiProductsGet200ResponseData ¶
type NullableApiProductsGet200ResponseData struct {
// contains filtered or unexported fields
}
func NewNullableApiProductsGet200ResponseData ¶
func NewNullableApiProductsGet200ResponseData(val *ApiProductsGet200ResponseData) *NullableApiProductsGet200ResponseData
func (NullableApiProductsGet200ResponseData) Get ¶
func (v NullableApiProductsGet200ResponseData) Get() *ApiProductsGet200ResponseData
func (NullableApiProductsGet200ResponseData) IsSet ¶
func (v NullableApiProductsGet200ResponseData) IsSet() bool
func (NullableApiProductsGet200ResponseData) MarshalJSON ¶
func (v NullableApiProductsGet200ResponseData) MarshalJSON() ([]byte, error)
func (*NullableApiProductsGet200ResponseData) Set ¶
func (v *NullableApiProductsGet200ResponseData) Set(val *ApiProductsGet200ResponseData)
func (*NullableApiProductsGet200ResponseData) UnmarshalJSON ¶
func (v *NullableApiProductsGet200ResponseData) UnmarshalJSON(src []byte) error
func (*NullableApiProductsGet200ResponseData) Unset ¶
func (v *NullableApiProductsGet200ResponseData) Unset()
type NullableApiProductsGet200ResponseDataPagination ¶
type NullableApiProductsGet200ResponseDataPagination struct {
// contains filtered or unexported fields
}
func NewNullableApiProductsGet200ResponseDataPagination ¶
func NewNullableApiProductsGet200ResponseDataPagination(val *ApiProductsGet200ResponseDataPagination) *NullableApiProductsGet200ResponseDataPagination
func (NullableApiProductsGet200ResponseDataPagination) IsSet ¶
func (v NullableApiProductsGet200ResponseDataPagination) IsSet() bool
func (NullableApiProductsGet200ResponseDataPagination) MarshalJSON ¶
func (v NullableApiProductsGet200ResponseDataPagination) MarshalJSON() ([]byte, error)
func (*NullableApiProductsGet200ResponseDataPagination) UnmarshalJSON ¶
func (v *NullableApiProductsGet200ResponseDataPagination) UnmarshalJSON(src []byte) error
func (*NullableApiProductsGet200ResponseDataPagination) Unset ¶
func (v *NullableApiProductsGet200ResponseDataPagination) Unset()
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 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 NullableSimpleProduct ¶
type NullableSimpleProduct struct {
// contains filtered or unexported fields
}
func NewNullableSimpleProduct ¶
func NewNullableSimpleProduct(val *SimpleProduct) *NullableSimpleProduct
func (NullableSimpleProduct) Get ¶
func (v NullableSimpleProduct) Get() *SimpleProduct
func (NullableSimpleProduct) IsSet ¶
func (v NullableSimpleProduct) IsSet() bool
func (NullableSimpleProduct) MarshalJSON ¶
func (v NullableSimpleProduct) MarshalJSON() ([]byte, error)
func (*NullableSimpleProduct) Set ¶
func (v *NullableSimpleProduct) Set(val *SimpleProduct)
func (*NullableSimpleProduct) UnmarshalJSON ¶
func (v *NullableSimpleProduct) UnmarshalJSON(src []byte) error
func (*NullableSimpleProduct) Unset ¶
func (v *NullableSimpleProduct) Unset()
type NullableSingleUpdateProduct ¶
type NullableSingleUpdateProduct struct {
// contains filtered or unexported fields
}
func NewNullableSingleUpdateProduct ¶
func NewNullableSingleUpdateProduct(val *SingleUpdateProduct) *NullableSingleUpdateProduct
func (NullableSingleUpdateProduct) Get ¶
func (v NullableSingleUpdateProduct) Get() *SingleUpdateProduct
func (NullableSingleUpdateProduct) IsSet ¶
func (v NullableSingleUpdateProduct) IsSet() bool
func (NullableSingleUpdateProduct) MarshalJSON ¶
func (v NullableSingleUpdateProduct) MarshalJSON() ([]byte, error)
func (*NullableSingleUpdateProduct) Set ¶
func (v *NullableSingleUpdateProduct) Set(val *SingleUpdateProduct)
func (*NullableSingleUpdateProduct) UnmarshalJSON ¶
func (v *NullableSingleUpdateProduct) UnmarshalJSON(src []byte) error
func (*NullableSingleUpdateProduct) Unset ¶
func (v *NullableSingleUpdateProduct) 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 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 NullableVariant ¶
type NullableVariant struct {
// contains filtered or unexported fields
}
func NewNullableVariant ¶
func NewNullableVariant(val *Variant) *NullableVariant
func (NullableVariant) Get ¶
func (v NullableVariant) Get() *Variant
func (NullableVariant) IsSet ¶
func (v NullableVariant) IsSet() bool
func (NullableVariant) MarshalJSON ¶
func (v NullableVariant) MarshalJSON() ([]byte, error)
func (*NullableVariant) Set ¶
func (v *NullableVariant) Set(val *Variant)
func (*NullableVariant) UnmarshalJSON ¶
func (v *NullableVariant) UnmarshalJSON(src []byte) error
func (*NullableVariant) Unset ¶
func (v *NullableVariant) Unset()
type NullableVariantProduct ¶
type NullableVariantProduct struct {
// contains filtered or unexported fields
}
func NewNullableVariantProduct ¶
func NewNullableVariantProduct(val *VariantProduct) *NullableVariantProduct
func (NullableVariantProduct) Get ¶
func (v NullableVariantProduct) Get() *VariantProduct
func (NullableVariantProduct) IsSet ¶
func (v NullableVariantProduct) IsSet() bool
func (NullableVariantProduct) MarshalJSON ¶
func (v NullableVariantProduct) MarshalJSON() ([]byte, error)
func (*NullableVariantProduct) Set ¶
func (v *NullableVariantProduct) Set(val *VariantProduct)
func (*NullableVariantProduct) UnmarshalJSON ¶
func (v *NullableVariantProduct) UnmarshalJSON(src []byte) error
func (*NullableVariantProduct) Unset ¶
func (v *NullableVariantProduct) Unset()
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 SimpleProduct ¶
type SimpleProduct struct { Name *string `json:"name,omitempty"` Price *float32 `json:"price,omitempty"` Quantity *int32 `json:"quantity,omitempty"` CategoryId *int32 `json:"category_id,omitempty"` PostedDate *time.Time `json:"posted_date,omitempty"` Description *string `json:"description,omitempty"` Images []string `json:"images,omitempty"` FeatureImage *string `json:"feature_image,omitempty"` Tag *string `json:"tag,omitempty"` }
SimpleProduct struct for SimpleProduct
func NewSimpleProduct ¶
func NewSimpleProduct() *SimpleProduct
NewSimpleProduct instantiates a new SimpleProduct 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 NewSimpleProductWithDefaults ¶
func NewSimpleProductWithDefaults() *SimpleProduct
NewSimpleProductWithDefaults instantiates a new SimpleProduct 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 (*SimpleProduct) GetCategoryId ¶
func (o *SimpleProduct) GetCategoryId() int32
GetCategoryId returns the CategoryId field value if set, zero value otherwise.
func (*SimpleProduct) GetCategoryIdOk ¶
func (o *SimpleProduct) GetCategoryIdOk() (*int32, bool)
GetCategoryIdOk returns a tuple with the CategoryId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SimpleProduct) GetDescription ¶
func (o *SimpleProduct) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*SimpleProduct) GetDescriptionOk ¶
func (o *SimpleProduct) GetDescriptionOk() (*string, bool)
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 (*SimpleProduct) GetFeatureImage ¶
func (o *SimpleProduct) GetFeatureImage() string
GetFeatureImage returns the FeatureImage field value if set, zero value otherwise.
func (*SimpleProduct) GetFeatureImageOk ¶
func (o *SimpleProduct) GetFeatureImageOk() (*string, bool)
GetFeatureImageOk returns a tuple with the FeatureImage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SimpleProduct) GetImages ¶
func (o *SimpleProduct) GetImages() []string
GetImages returns the Images field value if set, zero value otherwise.
func (*SimpleProduct) GetImagesOk ¶
func (o *SimpleProduct) GetImagesOk() ([]string, bool)
GetImagesOk returns a tuple with the Images field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SimpleProduct) GetName ¶
func (o *SimpleProduct) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SimpleProduct) GetNameOk ¶
func (o *SimpleProduct) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SimpleProduct) GetPostedDate ¶
func (o *SimpleProduct) GetPostedDate() time.Time
GetPostedDate returns the PostedDate field value if set, zero value otherwise.
func (*SimpleProduct) GetPostedDateOk ¶
func (o *SimpleProduct) GetPostedDateOk() (*time.Time, bool)
GetPostedDateOk returns a tuple with the PostedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SimpleProduct) GetPrice ¶
func (o *SimpleProduct) GetPrice() float32
GetPrice returns the Price field value if set, zero value otherwise.
func (*SimpleProduct) GetPriceOk ¶
func (o *SimpleProduct) GetPriceOk() (*float32, 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 (*SimpleProduct) GetQuantity ¶
func (o *SimpleProduct) GetQuantity() int32
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*SimpleProduct) GetQuantityOk ¶
func (o *SimpleProduct) GetQuantityOk() (*int32, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SimpleProduct) GetTag ¶
func (o *SimpleProduct) GetTag() string
GetTag returns the Tag field value if set, zero value otherwise.
func (*SimpleProduct) GetTagOk ¶
func (o *SimpleProduct) GetTagOk() (*string, bool)
GetTagOk returns a tuple with the Tag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SimpleProduct) HasCategoryId ¶
func (o *SimpleProduct) HasCategoryId() bool
HasCategoryId returns a boolean if a field has been set.
func (*SimpleProduct) HasDescription ¶
func (o *SimpleProduct) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*SimpleProduct) HasFeatureImage ¶
func (o *SimpleProduct) HasFeatureImage() bool
HasFeatureImage returns a boolean if a field has been set.
func (*SimpleProduct) HasImages ¶
func (o *SimpleProduct) HasImages() bool
HasImages returns a boolean if a field has been set.
func (*SimpleProduct) HasName ¶
func (o *SimpleProduct) HasName() bool
HasName returns a boolean if a field has been set.
func (*SimpleProduct) HasPostedDate ¶
func (o *SimpleProduct) HasPostedDate() bool
HasPostedDate returns a boolean if a field has been set.
func (*SimpleProduct) HasPrice ¶
func (o *SimpleProduct) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*SimpleProduct) HasQuantity ¶
func (o *SimpleProduct) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*SimpleProduct) HasTag ¶
func (o *SimpleProduct) HasTag() bool
HasTag returns a boolean if a field has been set.
func (SimpleProduct) MarshalJSON ¶
func (o SimpleProduct) MarshalJSON() ([]byte, error)
func (*SimpleProduct) SetCategoryId ¶
func (o *SimpleProduct) SetCategoryId(v int32)
SetCategoryId gets a reference to the given int32 and assigns it to the CategoryId field.
func (*SimpleProduct) SetDescription ¶
func (o *SimpleProduct) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*SimpleProduct) SetFeatureImage ¶
func (o *SimpleProduct) SetFeatureImage(v string)
SetFeatureImage gets a reference to the given string and assigns it to the FeatureImage field.
func (*SimpleProduct) SetImages ¶
func (o *SimpleProduct) SetImages(v []string)
SetImages gets a reference to the given []string and assigns it to the Images field.
func (*SimpleProduct) SetName ¶
func (o *SimpleProduct) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SimpleProduct) SetPostedDate ¶
func (o *SimpleProduct) SetPostedDate(v time.Time)
SetPostedDate gets a reference to the given time.Time and assigns it to the PostedDate field.
func (*SimpleProduct) SetPrice ¶
func (o *SimpleProduct) SetPrice(v float32)
SetPrice gets a reference to the given float32 and assigns it to the Price field.
func (*SimpleProduct) SetQuantity ¶
func (o *SimpleProduct) SetQuantity(v int32)
SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.
func (*SimpleProduct) SetTag ¶
func (o *SimpleProduct) SetTag(v string)
SetTag gets a reference to the given string and assigns it to the Tag field.
func (SimpleProduct) ToMap ¶
func (o SimpleProduct) ToMap() (map[string]interface{}, error)
type SingleUpdateProduct ¶
type SingleUpdateProduct struct { Name *string `json:"name,omitempty"` Price *float32 `json:"price,omitempty"` Quantity *int32 `json:"quantity,omitempty"` CategoryId *int32 `json:"category_id,omitempty"` PostedDate *time.Time `json:"posted_date,omitempty"` Description *string `json:"description,omitempty"` Images []UpdateImage `json:"images,omitempty"` FeatureImage *string `json:"feature_image,omitempty"` Tag *string `json:"tag,omitempty"` }
func NewSingleUpdateProduct ¶
func NewSingleUpdateProduct() *SingleUpdateProduct
NewSingleUpdateProduct instantiates a new SingleUpdateProduct 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 NewSingleUpdateProductWithDefaults ¶
func NewSingleUpdateProductWithDefaults() *SingleUpdateProduct
NewSingleUpdateProductWithDefaults instantiates a new SingleUpdateProduct 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 (*SingleUpdateProduct) GetCategoryId ¶
func (o *SingleUpdateProduct) GetCategoryId() int32
GetCategoryId returns the CategoryId field value if set, zero value otherwise.
func (*SingleUpdateProduct) GetCategoryIdOk ¶
func (o *SingleUpdateProduct) GetCategoryIdOk() (*int32, bool)
GetCategoryIdOk returns a tuple with the CategoryId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUpdateProduct) GetDescription ¶
func (o *SingleUpdateProduct) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*SingleUpdateProduct) GetDescriptionOk ¶
func (o *SingleUpdateProduct) GetDescriptionOk() (*string, bool)
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 (*SingleUpdateProduct) GetFeatureImage ¶
func (o *SingleUpdateProduct) GetFeatureImage() string
GetFeatureImage returns the FeatureImage field value if set, zero value otherwise.
func (*SingleUpdateProduct) GetFeatureImageOk ¶
func (o *SingleUpdateProduct) GetFeatureImageOk() (*string, bool)
GetFeatureImageOk returns a tuple with the FeatureImage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUpdateProduct) GetImages ¶
func (o *SingleUpdateProduct) GetImages() []UpdateImage
GetImages returns the Images field value if set, zero value otherwise.
func (*SingleUpdateProduct) GetImagesOk ¶
func (o *SingleUpdateProduct) GetImagesOk() ([]UpdateImage, bool)
GetImagesOk returns a tuple with the Images field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUpdateProduct) GetName ¶
func (o *SingleUpdateProduct) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SingleUpdateProduct) GetNameOk ¶
func (o *SingleUpdateProduct) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUpdateProduct) GetPostedDate ¶
func (o *SingleUpdateProduct) GetPostedDate() time.Time
GetPostedDate returns the PostedDate field value if set, zero value otherwise.
func (*SingleUpdateProduct) GetPostedDateOk ¶
func (o *SingleUpdateProduct) GetPostedDateOk() (*time.Time, bool)
GetPostedDateOk returns a tuple with the PostedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUpdateProduct) GetPrice ¶
func (o *SingleUpdateProduct) GetPrice() float32
GetPrice returns the Price field value if set, zero value otherwise.
func (*SingleUpdateProduct) GetPriceOk ¶
func (o *SingleUpdateProduct) GetPriceOk() (*float32, 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 (*SingleUpdateProduct) GetQuantity ¶
func (o *SingleUpdateProduct) GetQuantity() int32
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*SingleUpdateProduct) GetQuantityOk ¶
func (o *SingleUpdateProduct) GetQuantityOk() (*int32, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUpdateProduct) GetTag ¶
func (o *SingleUpdateProduct) GetTag() string
GetTag returns the Tag field value if set, zero value otherwise.
func (*SingleUpdateProduct) GetTagOk ¶
func (o *SingleUpdateProduct) GetTagOk() (*string, bool)
GetTagOk returns a tuple with the Tag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleUpdateProduct) HasCategoryId ¶
func (o *SingleUpdateProduct) HasCategoryId() bool
HasCategoryId returns a boolean if a field has been set.
func (*SingleUpdateProduct) HasDescription ¶
func (o *SingleUpdateProduct) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*SingleUpdateProduct) HasFeatureImage ¶
func (o *SingleUpdateProduct) HasFeatureImage() bool
HasFeatureImage returns a boolean if a field has been set.
func (*SingleUpdateProduct) HasImages ¶
func (o *SingleUpdateProduct) HasImages() bool
HasImages returns a boolean if a field has been set.
func (*SingleUpdateProduct) HasName ¶
func (o *SingleUpdateProduct) HasName() bool
HasName returns a boolean if a field has been set.
func (*SingleUpdateProduct) HasPostedDate ¶
func (o *SingleUpdateProduct) HasPostedDate() bool
HasPostedDate returns a boolean if a field has been set.
func (*SingleUpdateProduct) HasPrice ¶
func (o *SingleUpdateProduct) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*SingleUpdateProduct) HasQuantity ¶
func (o *SingleUpdateProduct) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*SingleUpdateProduct) HasTag ¶
func (o *SingleUpdateProduct) HasTag() bool
HasTag returns a boolean if a field has been set.
func (SingleUpdateProduct) MarshalJSON ¶
func (o SingleUpdateProduct) MarshalJSON() ([]byte, error)
func (*SingleUpdateProduct) SetCategoryId ¶
func (o *SingleUpdateProduct) SetCategoryId(v int32)
SetCategoryId gets a reference to the given int32 and assigns it to the CategoryId field.
func (*SingleUpdateProduct) SetDescription ¶
func (o *SingleUpdateProduct) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*SingleUpdateProduct) SetFeatureImage ¶
func (o *SingleUpdateProduct) SetFeatureImage(v string)
SetFeatureImage gets a reference to the given string and assigns it to the FeatureImage field.
func (*SingleUpdateProduct) SetImages ¶
func (o *SingleUpdateProduct) SetImages(v []UpdateImage)
SetImages gets a reference to the given []string and assigns it to the Images field.
func (*SingleUpdateProduct) SetName ¶
func (o *SingleUpdateProduct) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SingleUpdateProduct) SetPostedDate ¶
func (o *SingleUpdateProduct) SetPostedDate(v time.Time)
SetPostedDate gets a reference to the given time.Time and assigns it to the PostedDate field.
func (*SingleUpdateProduct) SetPrice ¶
func (o *SingleUpdateProduct) SetPrice(v float32)
SetPrice gets a reference to the given float32 and assigns it to the Price field.
func (*SingleUpdateProduct) SetQuantity ¶
func (o *SingleUpdateProduct) SetQuantity(v int32)
SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.
func (*SingleUpdateProduct) SetTag ¶
func (o *SingleUpdateProduct) SetTag(v string)
SetTag gets a reference to the given string and assigns it to the Tag field.
func (SingleUpdateProduct) ToMap ¶
func (o SingleUpdateProduct) ToMap() (map[string]interface{}, error)
type UpdateImage ¶
type Variant ¶
type Variant struct { Name *string `json:"name,omitempty"` Price *float32 `json:"price,omitempty"` Quantity *int32 `json:"quantity,omitempty"` PostedDate *time.Time `json:"posted_date,omitempty"` ColorId *int32 `json:"color_id,omitempty"` Size []string `json:"size,omitempty"` Images []string `json:"images,omitempty"` }
Variant struct for Variant
func NewVariant ¶
func NewVariant() *Variant
NewVariant instantiates a new Variant 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 NewVariantWithDefaults ¶
func NewVariantWithDefaults() *Variant
NewVariantWithDefaults instantiates a new Variant 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 (*Variant) GetColorId ¶
GetColorId returns the ColorId field value if set, zero value otherwise.
func (*Variant) GetColorIdOk ¶
GetColorIdOk returns a tuple with the ColorId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Variant) GetImagesOk ¶
GetImagesOk returns a tuple with the Images field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Variant) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Variant) GetPostedDate ¶
GetPostedDate returns the PostedDate field value if set, zero value otherwise.
func (*Variant) GetPostedDateOk ¶
GetPostedDateOk returns a tuple with the PostedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Variant) 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 (*Variant) GetQuantity ¶
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*Variant) GetQuantityOk ¶
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Variant) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Variant) HasColorId ¶
HasColorId returns a boolean if a field has been set.
func (*Variant) HasPostedDate ¶
HasPostedDate returns a boolean if a field has been set.
func (*Variant) HasQuantity ¶
HasQuantity returns a boolean if a field has been set.
func (Variant) MarshalJSON ¶
func (*Variant) SetColorId ¶
SetColorId gets a reference to the given int32 and assigns it to the ColorId field.
func (*Variant) SetImages ¶
SetImages gets a reference to the given []string and assigns it to the Images field.
func (*Variant) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Variant) SetPostedDate ¶
SetPostedDate gets a reference to the given time.Time and assigns it to the PostedDate field.
func (*Variant) SetPrice ¶
SetPrice gets a reference to the given float32 and assigns it to the Price field.
func (*Variant) SetQuantity ¶
SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.
type VariantProduct ¶
type VariantProduct struct { Name *string `json:"name,omitempty"` CategoryId *int32 `json:"category_id,omitempty"` Description *string `json:"description,omitempty"` FeatureImage *string `json:"feature_image,omitempty"` Tag *string `json:"tag,omitempty"` Variants []Variant `json:"variants,omitempty"` }
VariantProduct struct for VariantProduct
func NewVariantProduct ¶
func NewVariantProduct() *VariantProduct
NewVariantProduct instantiates a new VariantProduct 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 NewVariantProductWithDefaults ¶
func NewVariantProductWithDefaults() *VariantProduct
NewVariantProductWithDefaults instantiates a new VariantProduct 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 (*VariantProduct) GetCategoryId ¶
func (o *VariantProduct) GetCategoryId() int32
GetCategoryId returns the CategoryId field value if set, zero value otherwise.
func (*VariantProduct) GetCategoryIdOk ¶
func (o *VariantProduct) GetCategoryIdOk() (*int32, bool)
GetCategoryIdOk returns a tuple with the CategoryId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VariantProduct) GetDescription ¶
func (o *VariantProduct) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*VariantProduct) GetDescriptionOk ¶
func (o *VariantProduct) GetDescriptionOk() (*string, bool)
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 (*VariantProduct) GetFeatureImage ¶
func (o *VariantProduct) GetFeatureImage() string
GetFeatureImage returns the FeatureImage field value if set, zero value otherwise.
func (*VariantProduct) GetFeatureImageOk ¶
func (o *VariantProduct) GetFeatureImageOk() (*string, bool)
GetFeatureImageOk returns a tuple with the FeatureImage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VariantProduct) GetName ¶
func (o *VariantProduct) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VariantProduct) GetNameOk ¶
func (o *VariantProduct) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VariantProduct) GetTag ¶
func (o *VariantProduct) GetTag() string
GetTag returns the Tag field value if set, zero value otherwise.
func (*VariantProduct) GetTagOk ¶
func (o *VariantProduct) GetTagOk() (*string, bool)
GetTagOk returns a tuple with the Tag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VariantProduct) GetVariants ¶
func (o *VariantProduct) GetVariants() []Variant
GetVariants returns the Variants field value if set, zero value otherwise.
func (*VariantProduct) GetVariantsOk ¶
func (o *VariantProduct) GetVariantsOk() ([]Variant, bool)
GetVariantsOk returns a tuple with the Variants field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VariantProduct) HasCategoryId ¶
func (o *VariantProduct) HasCategoryId() bool
HasCategoryId returns a boolean if a field has been set.
func (*VariantProduct) HasDescription ¶
func (o *VariantProduct) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*VariantProduct) HasFeatureImage ¶
func (o *VariantProduct) HasFeatureImage() bool
HasFeatureImage returns a boolean if a field has been set.
func (*VariantProduct) HasName ¶
func (o *VariantProduct) HasName() bool
HasName returns a boolean if a field has been set.
func (*VariantProduct) HasTag ¶
func (o *VariantProduct) HasTag() bool
HasTag returns a boolean if a field has been set.
func (*VariantProduct) HasVariants ¶
func (o *VariantProduct) HasVariants() bool
HasVariants returns a boolean if a field has been set.
func (VariantProduct) MarshalJSON ¶
func (o VariantProduct) MarshalJSON() ([]byte, error)
func (*VariantProduct) SetCategoryId ¶
func (o *VariantProduct) SetCategoryId(v int32)
SetCategoryId gets a reference to the given int32 and assigns it to the CategoryId field.
func (*VariantProduct) SetDescription ¶
func (o *VariantProduct) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*VariantProduct) SetFeatureImage ¶
func (o *VariantProduct) SetFeatureImage(v string)
SetFeatureImage gets a reference to the given string and assigns it to the FeatureImage field.
func (*VariantProduct) SetName ¶
func (o *VariantProduct) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*VariantProduct) SetTag ¶
func (o *VariantProduct) SetTag(v string)
SetTag gets a reference to the given string and assigns it to the Tag field.
func (*VariantProduct) SetVariants ¶
func (o *VariantProduct) SetVariants(v []Variant)
SetVariants gets a reference to the given []Variant and assigns it to the Variants field.
func (VariantProduct) ToMap ¶
func (o VariantProduct) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_default.go
- client.go
- configuration.go
- model__api_add_simple_product_post_200_response.go
- model__api_add_simple_product_post_200_response_data.go
- model__api_product__product_id__get_200_response.go
- model__api_products_get_200_response.go
- model__api_products_get_200_response_data.go
- model__api_products_get_200_response_data_pagination.go
- model_simple_product.go
- model_single_update_product.go
- model_variant.go
- model_variant_product.go
- response.go
- utils.go