Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- 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 ActiveChannelModel
- type ApiCategoryAddCategoryRequest
- type ApiCategoryDeleteCategoryRequest
- type ApiCategoryGetAllCategoriesRequest
- type ApiCategoryGetCategoryByKeyRequest
- type ApiCategoryGetCategoryRequest
- type ApiCategoryPatchCategoryRequest
- type ApiCategoryUpdateCategoryRequest
- type ApiInstanceStatsTotalCategoriesRequest
- type ApiInstanceStatsTotalProductsRequest
- type ApiProductAddProductRequest
- type ApiProductDeleteProductRequest
- type ApiProductGetAllProductsRequest
- type ApiProductGetProductRequest
- type ApiProductPatchProductRequest
- type ApiProductUpdateProductRequest
- type ApiShopware6ChannelsRequest
- type ApiShopware6CheckConnectionRequest
- type ApiShopware6ConnectRequest
- type ApiShopware6GetActiveChannelsRequest
- type ApiShopware6ScheduleFullSyncRequest
- type ApiShopware6UpdateActiveChannelsRequest
- func (r ApiShopware6UpdateActiveChannelsRequest) Execute() (*_nethttp.Response, error)
- func (r ApiShopware6UpdateActiveChannelsRequest) Model(model ActiveChannelModel) ApiShopware6UpdateActiveChannelsRequest
- func (r ApiShopware6UpdateActiveChannelsRequest) ShopId(shopId string) ApiShopware6UpdateActiveChannelsRequest
- type ApiTaskGetStatusRequest
- type ApiTaskStartRequest
- type ApiUserGetInstancesRequest
- type BasicAuth
- type Category
- func (o *Category) GetCategoryId() int64
- func (o *Category) GetCategoryIdOk() (*int64, bool)
- func (o *Category) GetKey() string
- func (o *Category) GetKeyOk() (*string, bool)
- func (o *Category) GetName() string
- func (o *Category) GetNameOk() (*string, bool)
- func (o *Category) GetParents() []int64
- func (o *Category) GetParentsOk() (*[]int64, bool)
- func (o *Category) GetRank() int64
- func (o *Category) GetRankOk() (*int64, bool)
- func (o *Category) HasCategoryId() bool
- func (o *Category) HasKey() bool
- func (o *Category) HasName() bool
- func (o *Category) HasParents() bool
- func (o *Category) HasRank() bool
- func (o Category) MarshalJSON() ([]byte, error)
- func (o *Category) SetCategoryId(v int64)
- func (o *Category) SetKey(v string)
- func (o *Category) SetName(v string)
- func (o *Category) SetParents(v []int64)
- func (o *Category) SetRank(v int64)
- type CategoryApi
- type CategoryApiModel
- func (o *CategoryApiModel) GetCategoryId() int64
- func (o *CategoryApiModel) GetCategoryIdOk() (*int64, bool)
- func (o *CategoryApiModel) GetKey() string
- func (o *CategoryApiModel) GetKeyOk() (*string, bool)
- func (o *CategoryApiModel) GetName() string
- func (o *CategoryApiModel) GetNameOk() (*string, bool)
- func (o *CategoryApiModel) GetParents() []int64
- func (o *CategoryApiModel) GetParentsOk() (*[]int64, bool)
- func (o *CategoryApiModel) GetRank() int64
- func (o *CategoryApiModel) GetRankOk() (*int64, bool)
- func (o *CategoryApiModel) HasCategoryId() bool
- func (o *CategoryApiModel) HasKey() bool
- func (o *CategoryApiModel) HasName() bool
- func (o *CategoryApiModel) HasParents() bool
- func (o *CategoryApiModel) HasRank() bool
- func (o CategoryApiModel) MarshalJSON() ([]byte, error)
- func (o *CategoryApiModel) SetCategoryId(v int64)
- func (o *CategoryApiModel) SetKey(v string)
- func (o *CategoryApiModel) SetName(v string)
- func (o *CategoryApiModel) SetParents(v []int64)
- func (o *CategoryApiModel) SetRank(v int64)
- type CategoryApiService
- func (a *CategoryApiService) CategoryAddCategory(ctx _context.Context) ApiCategoryAddCategoryRequest
- func (a *CategoryApiService) CategoryAddCategoryExecute(r ApiCategoryAddCategoryRequest) (map[string]interface{}, *_nethttp.Response, error)
- func (a *CategoryApiService) CategoryDeleteCategory(ctx _context.Context, categoryId int64) ApiCategoryDeleteCategoryRequest
- func (a *CategoryApiService) CategoryDeleteCategoryExecute(r ApiCategoryDeleteCategoryRequest) (map[string]interface{}, *_nethttp.Response, error)
- func (a *CategoryApiService) CategoryGetAllCategories(ctx _context.Context) ApiCategoryGetAllCategoriesRequest
- func (a *CategoryApiService) CategoryGetAllCategoriesExecute(r ApiCategoryGetAllCategoriesRequest) ([]Category, *_nethttp.Response, error)
- func (a *CategoryApiService) CategoryGetCategory(ctx _context.Context, categoryId int64) ApiCategoryGetCategoryRequest
- func (a *CategoryApiService) CategoryGetCategoryByKey(ctx _context.Context, key string) ApiCategoryGetCategoryByKeyRequest
- func (a *CategoryApiService) CategoryGetCategoryByKeyExecute(r ApiCategoryGetCategoryByKeyRequest) (Category, *_nethttp.Response, error)
- func (a *CategoryApiService) CategoryGetCategoryExecute(r ApiCategoryGetCategoryRequest) (CategoryApiModel, *_nethttp.Response, error)
- func (a *CategoryApiService) CategoryPatchCategory(ctx _context.Context, categoryId int64) ApiCategoryPatchCategoryRequest
- func (a *CategoryApiService) CategoryPatchCategoryExecute(r ApiCategoryPatchCategoryRequest) (map[string]interface{}, *_nethttp.Response, error)
- func (a *CategoryApiService) CategoryUpdateCategory(ctx _context.Context) ApiCategoryUpdateCategoryRequest
- func (a *CategoryApiService) CategoryUpdateCategoryExecute(r ApiCategoryUpdateCategoryRequest) (map[string]interface{}, *_nethttp.Response, error)
- type CategoryDeltaApiModel
- func (o *CategoryDeltaApiModel) GetKey() string
- func (o *CategoryDeltaApiModel) GetKeyOk() (*string, bool)
- func (o *CategoryDeltaApiModel) GetName() string
- func (o *CategoryDeltaApiModel) GetNameOk() (*string, bool)
- func (o *CategoryDeltaApiModel) GetParents() []int64
- func (o *CategoryDeltaApiModel) GetParentsOk() (*[]int64, bool)
- func (o *CategoryDeltaApiModel) GetRank() int64
- func (o *CategoryDeltaApiModel) GetRankOk() (*int64, bool)
- func (o *CategoryDeltaApiModel) HasKey() bool
- func (o *CategoryDeltaApiModel) HasName() bool
- func (o *CategoryDeltaApiModel) HasParents() bool
- func (o *CategoryDeltaApiModel) HasRank() bool
- func (o CategoryDeltaApiModel) MarshalJSON() ([]byte, error)
- func (o *CategoryDeltaApiModel) SetKey(v string)
- func (o *CategoryDeltaApiModel) SetName(v string)
- func (o *CategoryDeltaApiModel) SetParents(v []int64)
- func (o *CategoryDeltaApiModel) SetRank(v int64)
- type Configuration
- type ConnectModel
- func (o *ConnectModel) GetInstanceKey() string
- func (o *ConnectModel) GetInstanceKeyOk() (*string, bool)
- func (o *ConnectModel) GetShopId() string
- func (o *ConnectModel) GetShopIdOk() (*string, bool)
- func (o *ConnectModel) HasInstanceKey() bool
- func (o *ConnectModel) HasShopId() bool
- func (o ConnectModel) MarshalJSON() ([]byte, error)
- func (o *ConnectModel) SetInstanceKey(v string)
- func (o *ConnectModel) SetShopId(v string)
- type GenericOpenAPIError
- type InstanceStatsApi
- type InstanceStatsApiService
- func (a *InstanceStatsApiService) InstanceStatsTotalCategories(ctx _context.Context) ApiInstanceStatsTotalCategoriesRequest
- func (a *InstanceStatsApiService) InstanceStatsTotalCategoriesExecute(r ApiInstanceStatsTotalCategoriesRequest) (map[string]interface{}, *_nethttp.Response, error)
- func (a *InstanceStatsApiService) InstanceStatsTotalProducts(ctx _context.Context) ApiInstanceStatsTotalProductsRequest
- func (a *InstanceStatsApiService) InstanceStatsTotalProductsExecute(r ApiInstanceStatsTotalProductsRequest) (map[string]interface{}, *_nethttp.Response, error)
- type NullableActiveChannelModel
- func (v NullableActiveChannelModel) Get() *ActiveChannelModel
- func (v NullableActiveChannelModel) IsSet() bool
- func (v NullableActiveChannelModel) MarshalJSON() ([]byte, error)
- func (v *NullableActiveChannelModel) Set(val *ActiveChannelModel)
- func (v *NullableActiveChannelModel) UnmarshalJSON(src []byte) error
- func (v *NullableActiveChannelModel) Unset()
- type NullableBool
- type NullableCategory
- type NullableCategoryApiModel
- func (v NullableCategoryApiModel) Get() *CategoryApiModel
- func (v NullableCategoryApiModel) IsSet() bool
- func (v NullableCategoryApiModel) MarshalJSON() ([]byte, error)
- func (v *NullableCategoryApiModel) Set(val *CategoryApiModel)
- func (v *NullableCategoryApiModel) UnmarshalJSON(src []byte) error
- func (v *NullableCategoryApiModel) Unset()
- type NullableCategoryDeltaApiModel
- func (v NullableCategoryDeltaApiModel) Get() *CategoryDeltaApiModel
- func (v NullableCategoryDeltaApiModel) IsSet() bool
- func (v NullableCategoryDeltaApiModel) MarshalJSON() ([]byte, error)
- func (v *NullableCategoryDeltaApiModel) Set(val *CategoryDeltaApiModel)
- func (v *NullableCategoryDeltaApiModel) UnmarshalJSON(src []byte) error
- func (v *NullableCategoryDeltaApiModel) Unset()
- type NullableConnectModel
- func (v NullableConnectModel) Get() *ConnectModel
- func (v NullableConnectModel) IsSet() bool
- func (v NullableConnectModel) MarshalJSON() ([]byte, error)
- func (v *NullableConnectModel) Set(val *ConnectModel)
- func (v *NullableConnectModel) UnmarshalJSON(src []byte) error
- func (v *NullableConnectModel) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableProduct
- type NullableProductApiModel
- func (v NullableProductApiModel) Get() *ProductApiModel
- func (v NullableProductApiModel) IsSet() bool
- func (v NullableProductApiModel) MarshalJSON() ([]byte, error)
- func (v *NullableProductApiModel) Set(val *ProductApiModel)
- func (v *NullableProductApiModel) UnmarshalJSON(src []byte) error
- func (v *NullableProductApiModel) Unset()
- type NullableProductAttribute
- func (v NullableProductAttribute) Get() *ProductAttribute
- func (v NullableProductAttribute) IsSet() bool
- func (v NullableProductAttribute) MarshalJSON() ([]byte, error)
- func (v *NullableProductAttribute) Set(val *ProductAttribute)
- func (v *NullableProductAttribute) UnmarshalJSON(src []byte) error
- func (v *NullableProductAttribute) Unset()
- type NullableProductAttributeApiModel
- func (v NullableProductAttributeApiModel) Get() *ProductAttributeApiModel
- func (v NullableProductAttributeApiModel) IsSet() bool
- func (v NullableProductAttributeApiModel) MarshalJSON() ([]byte, error)
- func (v *NullableProductAttributeApiModel) Set(val *ProductAttributeApiModel)
- func (v *NullableProductAttributeApiModel) UnmarshalJSON(src []byte) error
- func (v *NullableProductAttributeApiModel) Unset()
- type NullableProductDeltaApiModel
- func (v NullableProductDeltaApiModel) Get() *ProductDeltaApiModel
- func (v NullableProductDeltaApiModel) IsSet() bool
- func (v NullableProductDeltaApiModel) MarshalJSON() ([]byte, error)
- func (v *NullableProductDeltaApiModel) Set(val *ProductDeltaApiModel)
- func (v *NullableProductDeltaApiModel) UnmarshalJSON(src []byte) error
- func (v *NullableProductDeltaApiModel) Unset()
- type NullableProductSummary
- func (v NullableProductSummary) Get() *ProductSummary
- func (v NullableProductSummary) IsSet() bool
- func (v NullableProductSummary) MarshalJSON() ([]byte, error)
- func (v *NullableProductSummary) Set(val *ProductSummary)
- func (v *NullableProductSummary) UnmarshalJSON(src []byte) error
- func (v *NullableProductSummary) Unset()
- type NullableSalesChannel
- func (v NullableSalesChannel) Get() *SalesChannel
- func (v NullableSalesChannel) IsSet() bool
- func (v NullableSalesChannel) MarshalJSON() ([]byte, error)
- func (v *NullableSalesChannel) Set(val *SalesChannel)
- func (v *NullableSalesChannel) UnmarshalJSON(src []byte) error
- func (v *NullableSalesChannel) Unset()
- type NullableString
- type NullableTime
- type NullableUserInstance
- func (v NullableUserInstance) Get() *UserInstance
- func (v NullableUserInstance) IsSet() bool
- func (v NullableUserInstance) MarshalJSON() ([]byte, error)
- func (v *NullableUserInstance) Set(val *UserInstance)
- func (v *NullableUserInstance) UnmarshalJSON(src []byte) error
- func (v *NullableUserInstance) Unset()
- type NullableValidationError
- func (v NullableValidationError) Get() *ValidationError
- func (v NullableValidationError) IsSet() bool
- func (v NullableValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableValidationError) Set(val *ValidationError)
- func (v *NullableValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableValidationError) Unset()
- type NullableValidationErrorContainer
- func (v NullableValidationErrorContainer) Get() *ValidationErrorContainer
- func (v NullableValidationErrorContainer) IsSet() bool
- func (v NullableValidationErrorContainer) MarshalJSON() ([]byte, error)
- func (v *NullableValidationErrorContainer) Set(val *ValidationErrorContainer)
- func (v *NullableValidationErrorContainer) UnmarshalJSON(src []byte) error
- func (v *NullableValidationErrorContainer) Unset()
- type Product
- func (o *Product) GetArticleNumber() string
- func (o *Product) GetArticleNumberOk() (*string, bool)
- func (o *Product) GetAttributes() []ProductAttribute
- func (o *Product) GetAttributesOk() (*[]ProductAttribute, bool)
- func (o *Product) GetBrand() string
- func (o *Product) GetBrandOk() (*string, bool)
- func (o *Product) GetCategories() []int64
- func (o *Product) GetCategoriesOk() (*[]int64, bool)
- func (o *Product) GetGroupCode() string
- func (o *Product) GetGroupCodeOk() (*string, bool)
- func (o *Product) GetImage() string
- func (o *Product) GetImageOk() (*string, bool)
- func (o *Product) GetName() string
- func (o *Product) GetNameOk() (*string, bool)
- func (o *Product) GetPrice() float64
- func (o *Product) GetPriceOk() (*float64, bool)
- func (o *Product) GetStock() int32
- func (o *Product) GetStockOk() (*int32, bool)
- func (o *Product) GetUrl() string
- func (o *Product) GetUrlOk() (*string, bool)
- func (o *Product) HasArticleNumber() bool
- func (o *Product) HasAttributes() bool
- func (o *Product) HasBrand() bool
- func (o *Product) HasCategories() bool
- func (o *Product) HasGroupCode() bool
- func (o *Product) HasImage() bool
- func (o *Product) HasName() bool
- func (o *Product) HasPrice() bool
- func (o *Product) HasStock() bool
- func (o *Product) HasUrl() bool
- func (o Product) MarshalJSON() ([]byte, error)
- func (o *Product) SetArticleNumber(v string)
- func (o *Product) SetAttributes(v []ProductAttribute)
- func (o *Product) SetBrand(v string)
- func (o *Product) SetCategories(v []int64)
- func (o *Product) SetGroupCode(v string)
- func (o *Product) SetImage(v string)
- func (o *Product) SetName(v string)
- func (o *Product) SetPrice(v float64)
- func (o *Product) SetStock(v int32)
- func (o *Product) SetUrl(v string)
- type ProductApi
- type ProductApiModel
- func (o *ProductApiModel) GetArticleNumber() string
- func (o *ProductApiModel) GetArticleNumberOk() (*string, bool)
- func (o *ProductApiModel) GetAttributes() []ProductAttributeApiModel
- func (o *ProductApiModel) GetAttributesOk() (*[]ProductAttributeApiModel, bool)
- func (o *ProductApiModel) GetBrand() string
- func (o *ProductApiModel) GetBrandOk() (*string, bool)
- func (o *ProductApiModel) GetCategories() []int64
- func (o *ProductApiModel) GetCategoriesOk() (*[]int64, bool)
- func (o *ProductApiModel) GetGroupCode() string
- func (o *ProductApiModel) GetGroupCodeOk() (*string, bool)
- func (o *ProductApiModel) GetImage() string
- func (o *ProductApiModel) GetImageOk() (*string, bool)
- func (o *ProductApiModel) GetName() string
- func (o *ProductApiModel) GetNameOk() (*string, bool)
- func (o *ProductApiModel) GetPrice() float64
- func (o *ProductApiModel) GetPriceOk() (*float64, bool)
- func (o *ProductApiModel) GetStock() int32
- func (o *ProductApiModel) GetStockOk() (*int32, bool)
- func (o *ProductApiModel) GetUrl() string
- func (o *ProductApiModel) GetUrlOk() (*string, bool)
- func (o *ProductApiModel) HasArticleNumber() bool
- func (o *ProductApiModel) HasAttributes() bool
- func (o *ProductApiModel) HasBrand() bool
- func (o *ProductApiModel) HasCategories() bool
- func (o *ProductApiModel) HasGroupCode() bool
- func (o *ProductApiModel) HasImage() bool
- func (o *ProductApiModel) HasName() bool
- func (o *ProductApiModel) HasPrice() bool
- func (o *ProductApiModel) HasStock() bool
- func (o *ProductApiModel) HasUrl() bool
- func (o ProductApiModel) MarshalJSON() ([]byte, error)
- func (o *ProductApiModel) SetArticleNumber(v string)
- func (o *ProductApiModel) SetAttributes(v []ProductAttributeApiModel)
- func (o *ProductApiModel) SetBrand(v string)
- func (o *ProductApiModel) SetCategories(v []int64)
- func (o *ProductApiModel) SetGroupCode(v string)
- func (o *ProductApiModel) SetImage(v string)
- func (o *ProductApiModel) SetName(v string)
- func (o *ProductApiModel) SetPrice(v float64)
- func (o *ProductApiModel) SetStock(v int32)
- func (o *ProductApiModel) SetUrl(v string)
- type ProductApiService
- func (a *ProductApiService) ProductAddProduct(ctx _context.Context) ApiProductAddProductRequest
- func (a *ProductApiService) ProductAddProductExecute(r ApiProductAddProductRequest) (*_nethttp.Response, error)
- func (a *ProductApiService) ProductDeleteProduct(ctx _context.Context, articleNumber string) ApiProductDeleteProductRequest
- func (a *ProductApiService) ProductDeleteProductExecute(r ApiProductDeleteProductRequest) (*_nethttp.Response, error)
- func (a *ProductApiService) ProductGetAllProducts(ctx _context.Context) ApiProductGetAllProductsRequest
- func (a *ProductApiService) ProductGetAllProductsExecute(r ApiProductGetAllProductsRequest) ([]ProductSummary, *_nethttp.Response, error)
- func (a *ProductApiService) ProductGetProduct(ctx _context.Context, articleNumber string) ApiProductGetProductRequest
- func (a *ProductApiService) ProductGetProductExecute(r ApiProductGetProductRequest) (Product, *_nethttp.Response, error)
- func (a *ProductApiService) ProductPatchProduct(ctx _context.Context, articleNumber string) ApiProductPatchProductRequest
- func (a *ProductApiService) ProductPatchProductExecute(r ApiProductPatchProductRequest) (map[string]interface{}, *_nethttp.Response, error)
- func (a *ProductApiService) ProductUpdateProduct(ctx _context.Context) ApiProductUpdateProductRequest
- func (a *ProductApiService) ProductUpdateProductExecute(r ApiProductUpdateProductRequest) (*_nethttp.Response, error)
- type ProductAttribute
- func (o *ProductAttribute) GetKey() string
- func (o *ProductAttribute) GetKeyOk() (*string, bool)
- func (o *ProductAttribute) GetValues() []string
- func (o *ProductAttribute) GetValuesOk() (*[]string, bool)
- func (o *ProductAttribute) HasKey() bool
- func (o *ProductAttribute) HasValues() bool
- func (o ProductAttribute) MarshalJSON() ([]byte, error)
- func (o *ProductAttribute) SetKey(v string)
- func (o *ProductAttribute) SetValues(v []string)
- type ProductAttributeApiModel
- func (o *ProductAttributeApiModel) GetKey() string
- func (o *ProductAttributeApiModel) GetKeyOk() (*string, bool)
- func (o *ProductAttributeApiModel) GetValues() []string
- func (o *ProductAttributeApiModel) GetValuesOk() (*[]string, bool)
- func (o *ProductAttributeApiModel) HasKey() bool
- func (o *ProductAttributeApiModel) HasValues() bool
- func (o ProductAttributeApiModel) MarshalJSON() ([]byte, error)
- func (o *ProductAttributeApiModel) SetKey(v string)
- func (o *ProductAttributeApiModel) SetValues(v []string)
- type ProductDeltaApiModel
- func (o *ProductDeltaApiModel) GetAttributes() []ProductAttributeApiModel
- func (o *ProductDeltaApiModel) GetAttributesOk() (*[]ProductAttributeApiModel, bool)
- func (o *ProductDeltaApiModel) GetBrand() string
- func (o *ProductDeltaApiModel) GetBrandOk() (*string, bool)
- func (o *ProductDeltaApiModel) GetCategories() []int64
- func (o *ProductDeltaApiModel) GetCategoriesOk() (*[]int64, bool)
- func (o *ProductDeltaApiModel) GetGroupCode() string
- func (o *ProductDeltaApiModel) GetGroupCodeOk() (*string, bool)
- func (o *ProductDeltaApiModel) GetImage() string
- func (o *ProductDeltaApiModel) GetImageOk() (*string, bool)
- func (o *ProductDeltaApiModel) GetName() string
- func (o *ProductDeltaApiModel) GetNameOk() (*string, bool)
- func (o *ProductDeltaApiModel) GetPrice() float64
- func (o *ProductDeltaApiModel) GetPriceOk() (*float64, bool)
- func (o *ProductDeltaApiModel) GetStock() int32
- func (o *ProductDeltaApiModel) GetStockOk() (*int32, bool)
- func (o *ProductDeltaApiModel) GetUrl() string
- func (o *ProductDeltaApiModel) GetUrlOk() (*string, bool)
- func (o *ProductDeltaApiModel) HasAttributes() bool
- func (o *ProductDeltaApiModel) HasBrand() bool
- func (o *ProductDeltaApiModel) HasCategories() bool
- func (o *ProductDeltaApiModel) HasGroupCode() bool
- func (o *ProductDeltaApiModel) HasImage() bool
- func (o *ProductDeltaApiModel) HasName() bool
- func (o *ProductDeltaApiModel) HasPrice() bool
- func (o *ProductDeltaApiModel) HasStock() bool
- func (o *ProductDeltaApiModel) HasUrl() bool
- func (o ProductDeltaApiModel) MarshalJSON() ([]byte, error)
- func (o *ProductDeltaApiModel) SetAttributes(v []ProductAttributeApiModel)
- func (o *ProductDeltaApiModel) SetBrand(v string)
- func (o *ProductDeltaApiModel) SetCategories(v []int64)
- func (o *ProductDeltaApiModel) SetGroupCode(v string)
- func (o *ProductDeltaApiModel) SetImage(v string)
- func (o *ProductDeltaApiModel) SetName(v string)
- func (o *ProductDeltaApiModel) SetPrice(v float64)
- func (o *ProductDeltaApiModel) SetStock(v int32)
- func (o *ProductDeltaApiModel) SetUrl(v string)
- type ProductSummary
- func (o *ProductSummary) GetArticleNumber() string
- func (o *ProductSummary) GetArticleNumberOk() (*string, bool)
- func (o *ProductSummary) GetBrand() string
- func (o *ProductSummary) GetBrandOk() (*string, bool)
- func (o *ProductSummary) GetCategories() []int64
- func (o *ProductSummary) GetCategoriesOk() (*[]int64, bool)
- func (o *ProductSummary) GetGroupCode() string
- func (o *ProductSummary) GetGroupCodeOk() (*string, bool)
- func (o *ProductSummary) GetImage() string
- func (o *ProductSummary) GetImageOk() (*string, bool)
- func (o *ProductSummary) GetName() string
- func (o *ProductSummary) GetNameOk() (*string, bool)
- func (o *ProductSummary) GetPrice() float64
- func (o *ProductSummary) GetPriceOk() (*float64, bool)
- func (o *ProductSummary) GetStock() int32
- func (o *ProductSummary) GetStockOk() (*int32, bool)
- func (o *ProductSummary) GetUrl() string
- func (o *ProductSummary) GetUrlOk() (*string, bool)
- func (o *ProductSummary) HasArticleNumber() bool
- func (o *ProductSummary) HasBrand() bool
- func (o *ProductSummary) HasCategories() bool
- func (o *ProductSummary) HasGroupCode() bool
- func (o *ProductSummary) HasImage() bool
- func (o *ProductSummary) HasName() bool
- func (o *ProductSummary) HasPrice() bool
- func (o *ProductSummary) HasStock() bool
- func (o *ProductSummary) HasUrl() bool
- func (o ProductSummary) MarshalJSON() ([]byte, error)
- func (o *ProductSummary) SetArticleNumber(v string)
- func (o *ProductSummary) SetBrand(v string)
- func (o *ProductSummary) SetCategories(v []int64)
- func (o *ProductSummary) SetGroupCode(v string)
- func (o *ProductSummary) SetImage(v string)
- func (o *ProductSummary) SetName(v string)
- func (o *ProductSummary) SetPrice(v float64)
- func (o *ProductSummary) SetStock(v int32)
- func (o *ProductSummary) SetUrl(v string)
- type SalesChannel
- func (o *SalesChannel) GetId() string
- func (o *SalesChannel) GetIdOk() (*string, bool)
- func (o *SalesChannel) GetName() string
- func (o *SalesChannel) GetNameOk() (*string, bool)
- func (o *SalesChannel) HasId() bool
- func (o *SalesChannel) HasName() bool
- func (o SalesChannel) MarshalJSON() ([]byte, error)
- func (o *SalesChannel) SetId(v string)
- func (o *SalesChannel) SetName(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Shopware6Api
- type Shopware6ApiService
- func (a *Shopware6ApiService) Shopware6Channels(ctx _context.Context) ApiShopware6ChannelsRequest
- func (a *Shopware6ApiService) Shopware6ChannelsExecute(r ApiShopware6ChannelsRequest) ([]SalesChannel, *_nethttp.Response, error)
- func (a *Shopware6ApiService) Shopware6CheckConnection(ctx _context.Context) ApiShopware6CheckConnectionRequest
- func (a *Shopware6ApiService) Shopware6CheckConnectionExecute(r ApiShopware6CheckConnectionRequest) (map[string]interface{}, *_nethttp.Response, error)
- func (a *Shopware6ApiService) Shopware6Connect(ctx _context.Context) ApiShopware6ConnectRequest
- func (a *Shopware6ApiService) Shopware6ConnectExecute(r ApiShopware6ConnectRequest) (*_nethttp.Response, error)
- func (a *Shopware6ApiService) Shopware6GetActiveChannels(ctx _context.Context) ApiShopware6GetActiveChannelsRequest
- func (a *Shopware6ApiService) Shopware6GetActiveChannelsExecute(r ApiShopware6GetActiveChannelsRequest) (*_nethttp.Response, error)
- func (a *Shopware6ApiService) Shopware6ScheduleFullSync(ctx _context.Context) ApiShopware6ScheduleFullSyncRequest
- func (a *Shopware6ApiService) Shopware6ScheduleFullSyncExecute(r ApiShopware6ScheduleFullSyncRequest) (*_nethttp.Response, error)
- func (a *Shopware6ApiService) Shopware6UpdateActiveChannels(ctx _context.Context) ApiShopware6UpdateActiveChannelsRequest
- func (a *Shopware6ApiService) Shopware6UpdateActiveChannelsExecute(r ApiShopware6UpdateActiveChannelsRequest) (*_nethttp.Response, error)
- type TaskApi
- type TaskApiService
- func (a *TaskApiService) TaskGetStatus(ctx _context.Context, key string, taskkey string) ApiTaskGetStatusRequest
- func (a *TaskApiService) TaskGetStatusExecute(r ApiTaskGetStatusRequest) (map[string]interface{}, *_nethttp.Response, error)
- func (a *TaskApiService) TaskStart(ctx _context.Context, key string, taskkey string) ApiTaskStartRequest
- func (a *TaskApiService) TaskStartExecute(r ApiTaskStartRequest) (map[string]interface{}, *_nethttp.Response, error)
- type UserApi
- type UserApiService
- type UserInstance
- func (o *UserInstance) GetInstanceKey() string
- func (o *UserInstance) GetInstanceKeyOk() (*string, bool)
- func (o *UserInstance) GetInstanceName() string
- func (o *UserInstance) GetInstanceNameOk() (*string, bool)
- func (o *UserInstance) HasInstanceKey() bool
- func (o *UserInstance) HasInstanceName() bool
- func (o UserInstance) MarshalJSON() ([]byte, error)
- func (o *UserInstance) SetInstanceKey(v string)
- func (o *UserInstance) SetInstanceName(v string)
- type ValidationError
- type ValidationErrorContainer
- func (o *ValidationErrorContainer) GetErrors() []ValidationError
- func (o *ValidationErrorContainer) GetErrorsOk() (*[]ValidationError, bool)
- func (o *ValidationErrorContainer) GetMessage() string
- func (o *ValidationErrorContainer) GetMessageOk() (*string, bool)
- func (o *ValidationErrorContainer) HasErrors() bool
- func (o *ValidationErrorContainer) HasMessage() bool
- func (o ValidationErrorContainer) MarshalJSON() ([]byte, error)
- func (o *ValidationErrorContainer) SetErrors(v []ValidationError)
- func (o *ValidationErrorContainer) SetMessage(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func 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 { CategoryApi CategoryApi InstanceStatsApi InstanceStatsApi ProductApi ProductApi Shopware6Api Shopware6Api TaskApi TaskApi UserApi UserApi // contains filtered or unexported fields }
APIClient manages communication with the Tweakwise Navigator Backend API API vv1 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 ActiveChannelModel ¶
type ActiveChannelModel struct { // ChannelID ChannelId string `json:"ChannelId"` }
ActiveChannelModel ActiveChannelModel
func NewActiveChannelModel ¶
func NewActiveChannelModel(channelId string) *ActiveChannelModel
NewActiveChannelModel instantiates a new ActiveChannelModel 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 NewActiveChannelModelWithDefaults ¶
func NewActiveChannelModelWithDefaults() *ActiveChannelModel
NewActiveChannelModelWithDefaults instantiates a new ActiveChannelModel 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 (*ActiveChannelModel) GetChannelId ¶
func (o *ActiveChannelModel) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ActiveChannelModel) GetChannelIdOk ¶
func (o *ActiveChannelModel) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (ActiveChannelModel) MarshalJSON ¶
func (o ActiveChannelModel) MarshalJSON() ([]byte, error)
func (*ActiveChannelModel) SetChannelId ¶
func (o *ActiveChannelModel) SetChannelId(v string)
SetChannelId sets field value
type ApiCategoryAddCategoryRequest ¶
type ApiCategoryAddCategoryRequest struct { ApiService CategoryApi // contains filtered or unexported fields }
func (ApiCategoryAddCategoryRequest) Category ¶
func (r ApiCategoryAddCategoryRequest) Category(category CategoryApiModel) ApiCategoryAddCategoryRequest
Category object that needs to be added to the store
type ApiCategoryDeleteCategoryRequest ¶
type ApiCategoryDeleteCategoryRequest struct { ApiService CategoryApi // contains filtered or unexported fields }
type ApiCategoryGetAllCategoriesRequest ¶
type ApiCategoryGetAllCategoriesRequest struct { ApiService CategoryApi // contains filtered or unexported fields }
type ApiCategoryGetCategoryByKeyRequest ¶
type ApiCategoryGetCategoryByKeyRequest struct { ApiService CategoryApi // contains filtered or unexported fields }
type ApiCategoryGetCategoryRequest ¶
type ApiCategoryGetCategoryRequest struct { ApiService CategoryApi // contains filtered or unexported fields }
func (ApiCategoryGetCategoryRequest) Execute ¶
func (r ApiCategoryGetCategoryRequest) Execute() (CategoryApiModel, *_nethttp.Response, error)
type ApiCategoryPatchCategoryRequest ¶
type ApiCategoryPatchCategoryRequest struct { ApiService CategoryApi // contains filtered or unexported fields }
func (ApiCategoryPatchCategoryRequest) CategoryDelta ¶
func (r ApiCategoryPatchCategoryRequest) CategoryDelta(categoryDelta CategoryDeltaApiModel) ApiCategoryPatchCategoryRequest
A category object with only the values that needs to be updated.
type ApiCategoryUpdateCategoryRequest ¶
type ApiCategoryUpdateCategoryRequest struct { ApiService CategoryApi // contains filtered or unexported fields }
func (ApiCategoryUpdateCategoryRequest) Category ¶
func (r ApiCategoryUpdateCategoryRequest) Category(category CategoryApiModel) ApiCategoryUpdateCategoryRequest
A category object with changes to update the given category
type ApiInstanceStatsTotalCategoriesRequest ¶
type ApiInstanceStatsTotalCategoriesRequest struct { ApiService InstanceStatsApi // contains filtered or unexported fields }
type ApiInstanceStatsTotalProductsRequest ¶
type ApiInstanceStatsTotalProductsRequest struct { ApiService InstanceStatsApi // contains filtered or unexported fields }
type ApiProductAddProductRequest ¶
type ApiProductAddProductRequest struct { ApiService ProductApi // contains filtered or unexported fields }
func (ApiProductAddProductRequest) Execute ¶
func (r ApiProductAddProductRequest) Execute() (*_nethttp.Response, error)
func (ApiProductAddProductRequest) Product ¶
func (r ApiProductAddProductRequest) Product(product ProductApiModel) ApiProductAddProductRequest
A product to add
type ApiProductDeleteProductRequest ¶
type ApiProductDeleteProductRequest struct { ApiService ProductApi // contains filtered or unexported fields }
type ApiProductGetAllProductsRequest ¶
type ApiProductGetAllProductsRequest struct { ApiService ProductApi // contains filtered or unexported fields }
func (ApiProductGetAllProductsRequest) Execute ¶
func (r ApiProductGetAllProductsRequest) Execute() ([]ProductSummary, *_nethttp.Response, error)
type ApiProductGetProductRequest ¶
type ApiProductGetProductRequest struct { ApiService ProductApi // contains filtered or unexported fields }
type ApiProductPatchProductRequest ¶
type ApiProductPatchProductRequest struct { ApiService ProductApi // contains filtered or unexported fields }
func (ApiProductPatchProductRequest) Execute ¶
func (r ApiProductPatchProductRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)
func (ApiProductPatchProductRequest) Product ¶
func (r ApiProductPatchProductRequest) Product(product ProductDeltaApiModel) ApiProductPatchProductRequest
The product with values to patch
type ApiProductUpdateProductRequest ¶
type ApiProductUpdateProductRequest struct { ApiService ProductApi // contains filtered or unexported fields }
func (ApiProductUpdateProductRequest) Execute ¶
func (r ApiProductUpdateProductRequest) Execute() (*_nethttp.Response, error)
func (ApiProductUpdateProductRequest) Product ¶
func (r ApiProductUpdateProductRequest) Product(product ProductApiModel) ApiProductUpdateProductRequest
A filled product to replace the existing product
type ApiShopware6ChannelsRequest ¶
type ApiShopware6ChannelsRequest struct { ApiService Shopware6Api // contains filtered or unexported fields }
func (ApiShopware6ChannelsRequest) Execute ¶
func (r ApiShopware6ChannelsRequest) Execute() ([]SalesChannel, *_nethttp.Response, error)
func (ApiShopware6ChannelsRequest) ShopId ¶
func (r ApiShopware6ChannelsRequest) ShopId(shopId string) ApiShopware6ChannelsRequest
Shopware shop id the sales channels need to be provided for
type ApiShopware6CheckConnectionRequest ¶
type ApiShopware6CheckConnectionRequest struct { ApiService Shopware6Api // contains filtered or unexported fields }
func (ApiShopware6CheckConnectionRequest) Execute ¶
func (r ApiShopware6CheckConnectionRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)
func (ApiShopware6CheckConnectionRequest) ShopId ¶
func (r ApiShopware6CheckConnectionRequest) ShopId(shopId string) ApiShopware6CheckConnectionRequest
type ApiShopware6ConnectRequest ¶
type ApiShopware6ConnectRequest struct { ApiService Shopware6Api // contains filtered or unexported fields }
func (ApiShopware6ConnectRequest) Execute ¶
func (r ApiShopware6ConnectRequest) Execute() (*_nethttp.Response, error)
func (ApiShopware6ConnectRequest) Model ¶
func (r ApiShopware6ConnectRequest) Model(model ConnectModel) ApiShopware6ConnectRequest
type ApiShopware6GetActiveChannelsRequest ¶
type ApiShopware6GetActiveChannelsRequest struct { ApiService Shopware6Api // contains filtered or unexported fields }
func (ApiShopware6GetActiveChannelsRequest) Execute ¶
func (r ApiShopware6GetActiveChannelsRequest) Execute() (*_nethttp.Response, error)
func (ApiShopware6GetActiveChannelsRequest) ShopId ¶
func (r ApiShopware6GetActiveChannelsRequest) ShopId(shopId string) ApiShopware6GetActiveChannelsRequest
type ApiShopware6ScheduleFullSyncRequest ¶
type ApiShopware6ScheduleFullSyncRequest struct { ApiService Shopware6Api // contains filtered or unexported fields }
type ApiShopware6UpdateActiveChannelsRequest ¶
type ApiShopware6UpdateActiveChannelsRequest struct { ApiService Shopware6Api // contains filtered or unexported fields }
func (ApiShopware6UpdateActiveChannelsRequest) Execute ¶
func (r ApiShopware6UpdateActiveChannelsRequest) Execute() (*_nethttp.Response, error)
func (ApiShopware6UpdateActiveChannelsRequest) Model ¶
func (r ApiShopware6UpdateActiveChannelsRequest) Model(model ActiveChannelModel) ApiShopware6UpdateActiveChannelsRequest
func (ApiShopware6UpdateActiveChannelsRequest) ShopId ¶
func (r ApiShopware6UpdateActiveChannelsRequest) ShopId(shopId string) ApiShopware6UpdateActiveChannelsRequest
type ApiTaskGetStatusRequest ¶
type ApiTaskGetStatusRequest struct { ApiService TaskApi // contains filtered or unexported fields }
type ApiTaskStartRequest ¶
type ApiTaskStartRequest struct { ApiService TaskApi // contains filtered or unexported fields }
type ApiUserGetInstancesRequest ¶
type ApiUserGetInstancesRequest struct { ApiService UserApi // contains filtered or unexported fields }
func (ApiUserGetInstancesRequest) Execute ¶
func (r ApiUserGetInstancesRequest) Execute() ([]UserInstance, *_nethttp.Response, 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 Category ¶
type Category struct { CategoryId *int64 `json:"CategoryId,omitempty"` Key *string `json:"Key,omitempty"` Name *string `json:"Name,omitempty"` Rank *int64 `json:"Rank,omitempty"` Parents *[]int64 `json:"Parents,omitempty"` }
Category struct for Category
func NewCategory ¶
func NewCategory() *Category
NewCategory instantiates a new Category 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 NewCategoryWithDefaults ¶
func NewCategoryWithDefaults() *Category
NewCategoryWithDefaults instantiates a new Category 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 (*Category) GetCategoryId ¶
GetCategoryId returns the CategoryId field value if set, zero value otherwise.
func (*Category) GetCategoryIdOk ¶
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 (*Category) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Category) 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 (*Category) GetParents ¶
GetParents returns the Parents field value if set, zero value otherwise.
func (*Category) GetParentsOk ¶
GetParentsOk returns a tuple with the Parents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Category) GetRankOk ¶
GetRankOk returns a tuple with the Rank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Category) HasCategoryId ¶
HasCategoryId returns a boolean if a field has been set.
func (*Category) HasParents ¶
HasParents returns a boolean if a field has been set.
func (Category) MarshalJSON ¶
func (*Category) SetCategoryId ¶
SetCategoryId gets a reference to the given int64 and assigns it to the CategoryId field.
func (*Category) SetKey ¶
SetKey gets a reference to the given string and assigns it to the Key field.
func (*Category) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Category) SetParents ¶
SetParents gets a reference to the given []int64 and assigns it to the Parents field.
type CategoryApi ¶
type CategoryApi interface { /* CategoryAddCategory Creates a new category. Creates a new category, if property key in model is not defined, the key will be the same as categoryId @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCategoryAddCategoryRequest */ CategoryAddCategory(ctx _context.Context) ApiCategoryAddCategoryRequest // CategoryAddCategoryExecute executes the request // @return map[string]interface{} CategoryAddCategoryExecute(r ApiCategoryAddCategoryRequest) (map[string]interface{}, *_nethttp.Response, error) /* CategoryDeleteCategory Deletes a single category based on the category Id. Deletes a single category based on the category Id. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param categoryId ID of the category to delete @return ApiCategoryDeleteCategoryRequest */ CategoryDeleteCategory(ctx _context.Context, categoryId int64) ApiCategoryDeleteCategoryRequest // CategoryDeleteCategoryExecute executes the request // @return map[string]interface{} CategoryDeleteCategoryExecute(r ApiCategoryDeleteCategoryRequest) (map[string]interface{}, *_nethttp.Response, error) /* CategoryGetAllCategories Returns all categories. Returns all categories. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCategoryGetAllCategoriesRequest */ CategoryGetAllCategories(ctx _context.Context) ApiCategoryGetAllCategoriesRequest // CategoryGetAllCategoriesExecute executes the request // @return []Category CategoryGetAllCategoriesExecute(r ApiCategoryGetAllCategoriesRequest) ([]Category, *_nethttp.Response, error) /* CategoryGetCategory Returns a single category with the specified categoryId. Returns a single category with the specified categoryId. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param categoryId The categoryId/id @return ApiCategoryGetCategoryRequest */ CategoryGetCategory(ctx _context.Context, categoryId int64) ApiCategoryGetCategoryRequest // CategoryGetCategoryExecute executes the request // @return CategoryApiModel CategoryGetCategoryExecute(r ApiCategoryGetCategoryRequest) (CategoryApiModel, *_nethttp.Response, error) /* CategoryGetCategoryByKey Returns a single category with the specified key. This method is for customers who use their own custom identifiers when it comes to categories. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param key an unique reference to get a category @return ApiCategoryGetCategoryByKeyRequest */ CategoryGetCategoryByKey(ctx _context.Context, key string) ApiCategoryGetCategoryByKeyRequest // CategoryGetCategoryByKeyExecute executes the request // @return Category CategoryGetCategoryByKeyExecute(r ApiCategoryGetCategoryByKeyRequest) (Category, *_nethttp.Response, error) /* CategoryPatchCategory Patches a category with the specified change. Patches a category with the specified changes, only the given values will be updated. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param categoryId The ID to patch @return ApiCategoryPatchCategoryRequest */ CategoryPatchCategory(ctx _context.Context, categoryId int64) ApiCategoryPatchCategoryRequest // CategoryPatchCategoryExecute executes the request // @return map[string]interface{} CategoryPatchCategoryExecute(r ApiCategoryPatchCategoryRequest) (map[string]interface{}, *_nethttp.Response, error) /* CategoryUpdateCategory Update an existing category. Updates a category with the specified data, overrides all fields to the new value. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCategoryUpdateCategoryRequest */ CategoryUpdateCategory(ctx _context.Context) ApiCategoryUpdateCategoryRequest // CategoryUpdateCategoryExecute executes the request // @return map[string]interface{} CategoryUpdateCategoryExecute(r ApiCategoryUpdateCategoryRequest) (map[string]interface{}, *_nethttp.Response, error) }
type CategoryApiModel ¶
type CategoryApiModel struct { // CategoryId *int64 `json:"CategoryId,omitempty"` // Key *string `json:"Key,omitempty"` // Name *string `json:"Name,omitempty"` // Rank *int64 `json:"Rank,omitempty"` // Parents *[]int64 `json:"Parents,omitempty"` }
CategoryApiModel
func NewCategoryApiModel ¶
func NewCategoryApiModel() *CategoryApiModel
NewCategoryApiModel instantiates a new CategoryApiModel 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 NewCategoryApiModelWithDefaults ¶
func NewCategoryApiModelWithDefaults() *CategoryApiModel
NewCategoryApiModelWithDefaults instantiates a new CategoryApiModel 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 (*CategoryApiModel) GetCategoryId ¶
func (o *CategoryApiModel) GetCategoryId() int64
GetCategoryId returns the CategoryId field value if set, zero value otherwise.
func (*CategoryApiModel) GetCategoryIdOk ¶
func (o *CategoryApiModel) GetCategoryIdOk() (*int64, 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 (*CategoryApiModel) GetKey ¶
func (o *CategoryApiModel) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*CategoryApiModel) GetKeyOk ¶
func (o *CategoryApiModel) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CategoryApiModel) GetName ¶
func (o *CategoryApiModel) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CategoryApiModel) GetNameOk ¶
func (o *CategoryApiModel) 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 (*CategoryApiModel) GetParents ¶
func (o *CategoryApiModel) GetParents() []int64
GetParents returns the Parents field value if set, zero value otherwise.
func (*CategoryApiModel) GetParentsOk ¶
func (o *CategoryApiModel) GetParentsOk() (*[]int64, bool)
GetParentsOk returns a tuple with the Parents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CategoryApiModel) GetRank ¶
func (o *CategoryApiModel) GetRank() int64
GetRank returns the Rank field value if set, zero value otherwise.
func (*CategoryApiModel) GetRankOk ¶
func (o *CategoryApiModel) GetRankOk() (*int64, bool)
GetRankOk returns a tuple with the Rank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CategoryApiModel) HasCategoryId ¶
func (o *CategoryApiModel) HasCategoryId() bool
HasCategoryId returns a boolean if a field has been set.
func (*CategoryApiModel) HasKey ¶
func (o *CategoryApiModel) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*CategoryApiModel) HasName ¶
func (o *CategoryApiModel) HasName() bool
HasName returns a boolean if a field has been set.
func (*CategoryApiModel) HasParents ¶
func (o *CategoryApiModel) HasParents() bool
HasParents returns a boolean if a field has been set.
func (*CategoryApiModel) HasRank ¶
func (o *CategoryApiModel) HasRank() bool
HasRank returns a boolean if a field has been set.
func (CategoryApiModel) MarshalJSON ¶
func (o CategoryApiModel) MarshalJSON() ([]byte, error)
func (*CategoryApiModel) SetCategoryId ¶
func (o *CategoryApiModel) SetCategoryId(v int64)
SetCategoryId gets a reference to the given int64 and assigns it to the CategoryId field.
func (*CategoryApiModel) SetKey ¶
func (o *CategoryApiModel) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*CategoryApiModel) SetName ¶
func (o *CategoryApiModel) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CategoryApiModel) SetParents ¶
func (o *CategoryApiModel) SetParents(v []int64)
SetParents gets a reference to the given []int64 and assigns it to the Parents field.
func (*CategoryApiModel) SetRank ¶
func (o *CategoryApiModel) SetRank(v int64)
SetRank gets a reference to the given int64 and assigns it to the Rank field.
type CategoryApiService ¶
type CategoryApiService service
CategoryApiService CategoryApi service
func (*CategoryApiService) CategoryAddCategory ¶
func (a *CategoryApiService) CategoryAddCategory(ctx _context.Context) ApiCategoryAddCategoryRequest
CategoryAddCategory Creates a new category.
Creates a new category, if property key in model is not defined, the key will be the same as categoryId
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCategoryAddCategoryRequest
func (*CategoryApiService) CategoryAddCategoryExecute ¶
func (a *CategoryApiService) CategoryAddCategoryExecute(r ApiCategoryAddCategoryRequest) (map[string]interface{}, *_nethttp.Response, error)
Execute executes the request
@return map[string]interface{}
func (*CategoryApiService) CategoryDeleteCategory ¶
func (a *CategoryApiService) CategoryDeleteCategory(ctx _context.Context, categoryId int64) ApiCategoryDeleteCategoryRequest
CategoryDeleteCategory Deletes a single category based on the category Id.
Deletes a single category based on the category Id.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param categoryId ID of the category to delete @return ApiCategoryDeleteCategoryRequest
func (*CategoryApiService) CategoryDeleteCategoryExecute ¶
func (a *CategoryApiService) CategoryDeleteCategoryExecute(r ApiCategoryDeleteCategoryRequest) (map[string]interface{}, *_nethttp.Response, error)
Execute executes the request
@return map[string]interface{}
func (*CategoryApiService) CategoryGetAllCategories ¶
func (a *CategoryApiService) CategoryGetAllCategories(ctx _context.Context) ApiCategoryGetAllCategoriesRequest
CategoryGetAllCategories Returns all categories.
Returns all categories.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCategoryGetAllCategoriesRequest
func (*CategoryApiService) CategoryGetAllCategoriesExecute ¶
func (a *CategoryApiService) CategoryGetAllCategoriesExecute(r ApiCategoryGetAllCategoriesRequest) ([]Category, *_nethttp.Response, error)
Execute executes the request
@return []Category
func (*CategoryApiService) CategoryGetCategory ¶
func (a *CategoryApiService) CategoryGetCategory(ctx _context.Context, categoryId int64) ApiCategoryGetCategoryRequest
CategoryGetCategory Returns a single category with the specified categoryId.
Returns a single category with the specified categoryId.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param categoryId The categoryId/id @return ApiCategoryGetCategoryRequest
func (*CategoryApiService) CategoryGetCategoryByKey ¶
func (a *CategoryApiService) CategoryGetCategoryByKey(ctx _context.Context, key string) ApiCategoryGetCategoryByKeyRequest
CategoryGetCategoryByKey Returns a single category with the specified key.
This method is for customers who use their own custom identifiers when it comes to categories.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param key an unique reference to get a category @return ApiCategoryGetCategoryByKeyRequest
func (*CategoryApiService) CategoryGetCategoryByKeyExecute ¶
func (a *CategoryApiService) CategoryGetCategoryByKeyExecute(r ApiCategoryGetCategoryByKeyRequest) (Category, *_nethttp.Response, error)
Execute executes the request
@return Category
func (*CategoryApiService) CategoryGetCategoryExecute ¶
func (a *CategoryApiService) CategoryGetCategoryExecute(r ApiCategoryGetCategoryRequest) (CategoryApiModel, *_nethttp.Response, error)
Execute executes the request
@return CategoryApiModel
func (*CategoryApiService) CategoryPatchCategory ¶
func (a *CategoryApiService) CategoryPatchCategory(ctx _context.Context, categoryId int64) ApiCategoryPatchCategoryRequest
CategoryPatchCategory Patches a category with the specified change.
Patches a category with the specified changes, only the given values will be updated.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param categoryId The ID to patch @return ApiCategoryPatchCategoryRequest
func (*CategoryApiService) CategoryPatchCategoryExecute ¶
func (a *CategoryApiService) CategoryPatchCategoryExecute(r ApiCategoryPatchCategoryRequest) (map[string]interface{}, *_nethttp.Response, error)
Execute executes the request
@return map[string]interface{}
func (*CategoryApiService) CategoryUpdateCategory ¶
func (a *CategoryApiService) CategoryUpdateCategory(ctx _context.Context) ApiCategoryUpdateCategoryRequest
CategoryUpdateCategory Update an existing category.
Updates a category with the specified data, overrides all fields to the new value.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCategoryUpdateCategoryRequest
func (*CategoryApiService) CategoryUpdateCategoryExecute ¶
func (a *CategoryApiService) CategoryUpdateCategoryExecute(r ApiCategoryUpdateCategoryRequest) (map[string]interface{}, *_nethttp.Response, error)
Execute executes the request
@return map[string]interface{}
type CategoryDeltaApiModel ¶
type CategoryDeltaApiModel struct { // Key *string `json:"Key,omitempty"` // Name *string `json:"Name,omitempty"` // Rank *int64 `json:"Rank,omitempty"` // Parents *[]int64 `json:"Parents,omitempty"` }
CategoryDeltaApiModel struct for CategoryDeltaApiModel
func NewCategoryDeltaApiModel ¶
func NewCategoryDeltaApiModel() *CategoryDeltaApiModel
NewCategoryDeltaApiModel instantiates a new CategoryDeltaApiModel 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 NewCategoryDeltaApiModelWithDefaults ¶
func NewCategoryDeltaApiModelWithDefaults() *CategoryDeltaApiModel
NewCategoryDeltaApiModelWithDefaults instantiates a new CategoryDeltaApiModel 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 (*CategoryDeltaApiModel) GetKey ¶
func (o *CategoryDeltaApiModel) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*CategoryDeltaApiModel) GetKeyOk ¶
func (o *CategoryDeltaApiModel) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CategoryDeltaApiModel) GetName ¶
func (o *CategoryDeltaApiModel) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CategoryDeltaApiModel) GetNameOk ¶
func (o *CategoryDeltaApiModel) 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 (*CategoryDeltaApiModel) GetParents ¶
func (o *CategoryDeltaApiModel) GetParents() []int64
GetParents returns the Parents field value if set, zero value otherwise.
func (*CategoryDeltaApiModel) GetParentsOk ¶
func (o *CategoryDeltaApiModel) GetParentsOk() (*[]int64, bool)
GetParentsOk returns a tuple with the Parents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CategoryDeltaApiModel) GetRank ¶
func (o *CategoryDeltaApiModel) GetRank() int64
GetRank returns the Rank field value if set, zero value otherwise.
func (*CategoryDeltaApiModel) GetRankOk ¶
func (o *CategoryDeltaApiModel) GetRankOk() (*int64, bool)
GetRankOk returns a tuple with the Rank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CategoryDeltaApiModel) HasKey ¶
func (o *CategoryDeltaApiModel) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*CategoryDeltaApiModel) HasName ¶
func (o *CategoryDeltaApiModel) HasName() bool
HasName returns a boolean if a field has been set.
func (*CategoryDeltaApiModel) HasParents ¶
func (o *CategoryDeltaApiModel) HasParents() bool
HasParents returns a boolean if a field has been set.
func (*CategoryDeltaApiModel) HasRank ¶
func (o *CategoryDeltaApiModel) HasRank() bool
HasRank returns a boolean if a field has been set.
func (CategoryDeltaApiModel) MarshalJSON ¶
func (o CategoryDeltaApiModel) MarshalJSON() ([]byte, error)
func (*CategoryDeltaApiModel) SetKey ¶
func (o *CategoryDeltaApiModel) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*CategoryDeltaApiModel) SetName ¶
func (o *CategoryDeltaApiModel) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CategoryDeltaApiModel) SetParents ¶
func (o *CategoryDeltaApiModel) SetParents(v []int64)
SetParents gets a reference to the given []int64 and assigns it to the Parents field.
func (*CategoryDeltaApiModel) SetRank ¶
func (o *CategoryDeltaApiModel) SetRank(v int64)
SetRank gets a reference to the given int64 and assigns it to the Rank field.
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConnectModel ¶
type ConnectModel struct { // Shopware6 ShopId ShopId *string `json:"ShopId,omitempty"` // Tweakwise InstanceKey InstanceKey *string `json:"InstanceKey,omitempty"` }
ConnectModel Model for creation Shopware6 connection to Tweakwise
func NewConnectModel ¶
func NewConnectModel() *ConnectModel
NewConnectModel instantiates a new ConnectModel 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 NewConnectModelWithDefaults ¶
func NewConnectModelWithDefaults() *ConnectModel
NewConnectModelWithDefaults instantiates a new ConnectModel 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 (*ConnectModel) GetInstanceKey ¶
func (o *ConnectModel) GetInstanceKey() string
GetInstanceKey returns the InstanceKey field value if set, zero value otherwise.
func (*ConnectModel) GetInstanceKeyOk ¶
func (o *ConnectModel) GetInstanceKeyOk() (*string, bool)
GetInstanceKeyOk returns a tuple with the InstanceKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectModel) GetShopId ¶
func (o *ConnectModel) GetShopId() string
GetShopId returns the ShopId field value if set, zero value otherwise.
func (*ConnectModel) GetShopIdOk ¶
func (o *ConnectModel) GetShopIdOk() (*string, bool)
GetShopIdOk returns a tuple with the ShopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConnectModel) HasInstanceKey ¶
func (o *ConnectModel) HasInstanceKey() bool
HasInstanceKey returns a boolean if a field has been set.
func (*ConnectModel) HasShopId ¶
func (o *ConnectModel) HasShopId() bool
HasShopId returns a boolean if a field has been set.
func (ConnectModel) MarshalJSON ¶
func (o ConnectModel) MarshalJSON() ([]byte, error)
func (*ConnectModel) SetInstanceKey ¶
func (o *ConnectModel) SetInstanceKey(v string)
SetInstanceKey gets a reference to the given string and assigns it to the InstanceKey field.
func (*ConnectModel) SetShopId ¶
func (o *ConnectModel) SetShopId(v string)
SetShopId gets a reference to the given string and assigns it to the ShopId field.
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 InstanceStatsApi ¶
type InstanceStatsApi interface { /* InstanceStatsTotalCategories Get the number of total categories. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiInstanceStatsTotalCategoriesRequest */ InstanceStatsTotalCategories(ctx _context.Context) ApiInstanceStatsTotalCategoriesRequest // InstanceStatsTotalCategoriesExecute executes the request // @return map[string]interface{} InstanceStatsTotalCategoriesExecute(r ApiInstanceStatsTotalCategoriesRequest) (map[string]interface{}, *_nethttp.Response, error) /* InstanceStatsTotalProducts Get the number of total products. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiInstanceStatsTotalProductsRequest */ InstanceStatsTotalProducts(ctx _context.Context) ApiInstanceStatsTotalProductsRequest // InstanceStatsTotalProductsExecute executes the request // @return map[string]interface{} InstanceStatsTotalProductsExecute(r ApiInstanceStatsTotalProductsRequest) (map[string]interface{}, *_nethttp.Response, error) }
type InstanceStatsApiService ¶
type InstanceStatsApiService service
InstanceStatsApiService InstanceStatsApi service
func (*InstanceStatsApiService) InstanceStatsTotalCategories ¶
func (a *InstanceStatsApiService) InstanceStatsTotalCategories(ctx _context.Context) ApiInstanceStatsTotalCategoriesRequest
InstanceStatsTotalCategories Get the number of total categories.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiInstanceStatsTotalCategoriesRequest
func (*InstanceStatsApiService) InstanceStatsTotalCategoriesExecute ¶
func (a *InstanceStatsApiService) InstanceStatsTotalCategoriesExecute(r ApiInstanceStatsTotalCategoriesRequest) (map[string]interface{}, *_nethttp.Response, error)
Execute executes the request
@return map[string]interface{}
func (*InstanceStatsApiService) InstanceStatsTotalProducts ¶
func (a *InstanceStatsApiService) InstanceStatsTotalProducts(ctx _context.Context) ApiInstanceStatsTotalProductsRequest
InstanceStatsTotalProducts Get the number of total products.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiInstanceStatsTotalProductsRequest
func (*InstanceStatsApiService) InstanceStatsTotalProductsExecute ¶
func (a *InstanceStatsApiService) InstanceStatsTotalProductsExecute(r ApiInstanceStatsTotalProductsRequest) (map[string]interface{}, *_nethttp.Response, error)
Execute executes the request
@return map[string]interface{}
type NullableActiveChannelModel ¶
type NullableActiveChannelModel struct {
// contains filtered or unexported fields
}
func NewNullableActiveChannelModel ¶
func NewNullableActiveChannelModel(val *ActiveChannelModel) *NullableActiveChannelModel
func (NullableActiveChannelModel) Get ¶
func (v NullableActiveChannelModel) Get() *ActiveChannelModel
func (NullableActiveChannelModel) IsSet ¶
func (v NullableActiveChannelModel) IsSet() bool
func (NullableActiveChannelModel) MarshalJSON ¶
func (v NullableActiveChannelModel) MarshalJSON() ([]byte, error)
func (*NullableActiveChannelModel) Set ¶
func (v *NullableActiveChannelModel) Set(val *ActiveChannelModel)
func (*NullableActiveChannelModel) UnmarshalJSON ¶
func (v *NullableActiveChannelModel) UnmarshalJSON(src []byte) error
func (*NullableActiveChannelModel) Unset ¶
func (v *NullableActiveChannelModel) 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 NullableCategory ¶
type NullableCategory struct {
// contains filtered or unexported fields
}
func NewNullableCategory ¶
func NewNullableCategory(val *Category) *NullableCategory
func (NullableCategory) Get ¶
func (v NullableCategory) Get() *Category
func (NullableCategory) IsSet ¶
func (v NullableCategory) IsSet() bool
func (NullableCategory) MarshalJSON ¶
func (v NullableCategory) MarshalJSON() ([]byte, error)
func (*NullableCategory) Set ¶
func (v *NullableCategory) Set(val *Category)
func (*NullableCategory) UnmarshalJSON ¶
func (v *NullableCategory) UnmarshalJSON(src []byte) error
func (*NullableCategory) Unset ¶
func (v *NullableCategory) Unset()
type NullableCategoryApiModel ¶
type NullableCategoryApiModel struct {
// contains filtered or unexported fields
}
func NewNullableCategoryApiModel ¶
func NewNullableCategoryApiModel(val *CategoryApiModel) *NullableCategoryApiModel
func (NullableCategoryApiModel) Get ¶
func (v NullableCategoryApiModel) Get() *CategoryApiModel
func (NullableCategoryApiModel) IsSet ¶
func (v NullableCategoryApiModel) IsSet() bool
func (NullableCategoryApiModel) MarshalJSON ¶
func (v NullableCategoryApiModel) MarshalJSON() ([]byte, error)
func (*NullableCategoryApiModel) Set ¶
func (v *NullableCategoryApiModel) Set(val *CategoryApiModel)
func (*NullableCategoryApiModel) UnmarshalJSON ¶
func (v *NullableCategoryApiModel) UnmarshalJSON(src []byte) error
func (*NullableCategoryApiModel) Unset ¶
func (v *NullableCategoryApiModel) Unset()
type NullableCategoryDeltaApiModel ¶
type NullableCategoryDeltaApiModel struct {
// contains filtered or unexported fields
}
func NewNullableCategoryDeltaApiModel ¶
func NewNullableCategoryDeltaApiModel(val *CategoryDeltaApiModel) *NullableCategoryDeltaApiModel
func (NullableCategoryDeltaApiModel) Get ¶
func (v NullableCategoryDeltaApiModel) Get() *CategoryDeltaApiModel
func (NullableCategoryDeltaApiModel) IsSet ¶
func (v NullableCategoryDeltaApiModel) IsSet() bool
func (NullableCategoryDeltaApiModel) MarshalJSON ¶
func (v NullableCategoryDeltaApiModel) MarshalJSON() ([]byte, error)
func (*NullableCategoryDeltaApiModel) Set ¶
func (v *NullableCategoryDeltaApiModel) Set(val *CategoryDeltaApiModel)
func (*NullableCategoryDeltaApiModel) UnmarshalJSON ¶
func (v *NullableCategoryDeltaApiModel) UnmarshalJSON(src []byte) error
func (*NullableCategoryDeltaApiModel) Unset ¶
func (v *NullableCategoryDeltaApiModel) Unset()
type NullableConnectModel ¶
type NullableConnectModel struct {
// contains filtered or unexported fields
}
func NewNullableConnectModel ¶
func NewNullableConnectModel(val *ConnectModel) *NullableConnectModel
func (NullableConnectModel) Get ¶
func (v NullableConnectModel) Get() *ConnectModel
func (NullableConnectModel) IsSet ¶
func (v NullableConnectModel) IsSet() bool
func (NullableConnectModel) MarshalJSON ¶
func (v NullableConnectModel) MarshalJSON() ([]byte, error)
func (*NullableConnectModel) Set ¶
func (v *NullableConnectModel) Set(val *ConnectModel)
func (*NullableConnectModel) UnmarshalJSON ¶
func (v *NullableConnectModel) UnmarshalJSON(src []byte) error
func (*NullableConnectModel) Unset ¶
func (v *NullableConnectModel) 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 NullableProduct ¶
type NullableProduct struct {
// contains filtered or unexported fields
}
func NewNullableProduct ¶
func NewNullableProduct(val *Product) *NullableProduct
func (NullableProduct) Get ¶
func (v NullableProduct) Get() *Product
func (NullableProduct) IsSet ¶
func (v NullableProduct) IsSet() bool
func (NullableProduct) MarshalJSON ¶
func (v NullableProduct) MarshalJSON() ([]byte, error)
func (*NullableProduct) Set ¶
func (v *NullableProduct) Set(val *Product)
func (*NullableProduct) UnmarshalJSON ¶
func (v *NullableProduct) UnmarshalJSON(src []byte) error
func (*NullableProduct) Unset ¶
func (v *NullableProduct) Unset()
type NullableProductApiModel ¶
type NullableProductApiModel struct {
// contains filtered or unexported fields
}
func NewNullableProductApiModel ¶
func NewNullableProductApiModel(val *ProductApiModel) *NullableProductApiModel
func (NullableProductApiModel) Get ¶
func (v NullableProductApiModel) Get() *ProductApiModel
func (NullableProductApiModel) IsSet ¶
func (v NullableProductApiModel) IsSet() bool
func (NullableProductApiModel) MarshalJSON ¶
func (v NullableProductApiModel) MarshalJSON() ([]byte, error)
func (*NullableProductApiModel) Set ¶
func (v *NullableProductApiModel) Set(val *ProductApiModel)
func (*NullableProductApiModel) UnmarshalJSON ¶
func (v *NullableProductApiModel) UnmarshalJSON(src []byte) error
func (*NullableProductApiModel) Unset ¶
func (v *NullableProductApiModel) Unset()
type NullableProductAttribute ¶
type NullableProductAttribute struct {
// contains filtered or unexported fields
}
func NewNullableProductAttribute ¶
func NewNullableProductAttribute(val *ProductAttribute) *NullableProductAttribute
func (NullableProductAttribute) Get ¶
func (v NullableProductAttribute) Get() *ProductAttribute
func (NullableProductAttribute) IsSet ¶
func (v NullableProductAttribute) IsSet() bool
func (NullableProductAttribute) MarshalJSON ¶
func (v NullableProductAttribute) MarshalJSON() ([]byte, error)
func (*NullableProductAttribute) Set ¶
func (v *NullableProductAttribute) Set(val *ProductAttribute)
func (*NullableProductAttribute) UnmarshalJSON ¶
func (v *NullableProductAttribute) UnmarshalJSON(src []byte) error
func (*NullableProductAttribute) Unset ¶
func (v *NullableProductAttribute) Unset()
type NullableProductAttributeApiModel ¶
type NullableProductAttributeApiModel struct {
// contains filtered or unexported fields
}
func NewNullableProductAttributeApiModel ¶
func NewNullableProductAttributeApiModel(val *ProductAttributeApiModel) *NullableProductAttributeApiModel
func (NullableProductAttributeApiModel) Get ¶
func (v NullableProductAttributeApiModel) Get() *ProductAttributeApiModel
func (NullableProductAttributeApiModel) IsSet ¶
func (v NullableProductAttributeApiModel) IsSet() bool
func (NullableProductAttributeApiModel) MarshalJSON ¶
func (v NullableProductAttributeApiModel) MarshalJSON() ([]byte, error)
func (*NullableProductAttributeApiModel) Set ¶
func (v *NullableProductAttributeApiModel) Set(val *ProductAttributeApiModel)
func (*NullableProductAttributeApiModel) UnmarshalJSON ¶
func (v *NullableProductAttributeApiModel) UnmarshalJSON(src []byte) error
func (*NullableProductAttributeApiModel) Unset ¶
func (v *NullableProductAttributeApiModel) Unset()
type NullableProductDeltaApiModel ¶
type NullableProductDeltaApiModel struct {
// contains filtered or unexported fields
}
func NewNullableProductDeltaApiModel ¶
func NewNullableProductDeltaApiModel(val *ProductDeltaApiModel) *NullableProductDeltaApiModel
func (NullableProductDeltaApiModel) Get ¶
func (v NullableProductDeltaApiModel) Get() *ProductDeltaApiModel
func (NullableProductDeltaApiModel) IsSet ¶
func (v NullableProductDeltaApiModel) IsSet() bool
func (NullableProductDeltaApiModel) MarshalJSON ¶
func (v NullableProductDeltaApiModel) MarshalJSON() ([]byte, error)
func (*NullableProductDeltaApiModel) Set ¶
func (v *NullableProductDeltaApiModel) Set(val *ProductDeltaApiModel)
func (*NullableProductDeltaApiModel) UnmarshalJSON ¶
func (v *NullableProductDeltaApiModel) UnmarshalJSON(src []byte) error
func (*NullableProductDeltaApiModel) Unset ¶
func (v *NullableProductDeltaApiModel) Unset()
type NullableProductSummary ¶
type NullableProductSummary struct {
// contains filtered or unexported fields
}
func NewNullableProductSummary ¶
func NewNullableProductSummary(val *ProductSummary) *NullableProductSummary
func (NullableProductSummary) Get ¶
func (v NullableProductSummary) Get() *ProductSummary
func (NullableProductSummary) IsSet ¶
func (v NullableProductSummary) IsSet() bool
func (NullableProductSummary) MarshalJSON ¶
func (v NullableProductSummary) MarshalJSON() ([]byte, error)
func (*NullableProductSummary) Set ¶
func (v *NullableProductSummary) Set(val *ProductSummary)
func (*NullableProductSummary) UnmarshalJSON ¶
func (v *NullableProductSummary) UnmarshalJSON(src []byte) error
func (*NullableProductSummary) Unset ¶
func (v *NullableProductSummary) Unset()
type NullableSalesChannel ¶
type NullableSalesChannel struct {
// contains filtered or unexported fields
}
func NewNullableSalesChannel ¶
func NewNullableSalesChannel(val *SalesChannel) *NullableSalesChannel
func (NullableSalesChannel) Get ¶
func (v NullableSalesChannel) Get() *SalesChannel
func (NullableSalesChannel) IsSet ¶
func (v NullableSalesChannel) IsSet() bool
func (NullableSalesChannel) MarshalJSON ¶
func (v NullableSalesChannel) MarshalJSON() ([]byte, error)
func (*NullableSalesChannel) Set ¶
func (v *NullableSalesChannel) Set(val *SalesChannel)
func (*NullableSalesChannel) UnmarshalJSON ¶
func (v *NullableSalesChannel) UnmarshalJSON(src []byte) error
func (*NullableSalesChannel) Unset ¶
func (v *NullableSalesChannel) 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 NullableUserInstance ¶
type NullableUserInstance struct {
// contains filtered or unexported fields
}
func NewNullableUserInstance ¶
func NewNullableUserInstance(val *UserInstance) *NullableUserInstance
func (NullableUserInstance) Get ¶
func (v NullableUserInstance) Get() *UserInstance
func (NullableUserInstance) IsSet ¶
func (v NullableUserInstance) IsSet() bool
func (NullableUserInstance) MarshalJSON ¶
func (v NullableUserInstance) MarshalJSON() ([]byte, error)
func (*NullableUserInstance) Set ¶
func (v *NullableUserInstance) Set(val *UserInstance)
func (*NullableUserInstance) UnmarshalJSON ¶
func (v *NullableUserInstance) UnmarshalJSON(src []byte) error
func (*NullableUserInstance) Unset ¶
func (v *NullableUserInstance) Unset()
type NullableValidationError ¶
type NullableValidationError struct {
// contains filtered or unexported fields
}
func NewNullableValidationError ¶
func NewNullableValidationError(val *ValidationError) *NullableValidationError
func (NullableValidationError) Get ¶
func (v NullableValidationError) Get() *ValidationError
func (NullableValidationError) IsSet ¶
func (v NullableValidationError) IsSet() bool
func (NullableValidationError) MarshalJSON ¶
func (v NullableValidationError) MarshalJSON() ([]byte, error)
func (*NullableValidationError) Set ¶
func (v *NullableValidationError) Set(val *ValidationError)
func (*NullableValidationError) UnmarshalJSON ¶
func (v *NullableValidationError) UnmarshalJSON(src []byte) error
func (*NullableValidationError) Unset ¶
func (v *NullableValidationError) Unset()
type NullableValidationErrorContainer ¶
type NullableValidationErrorContainer struct {
// contains filtered or unexported fields
}
func NewNullableValidationErrorContainer ¶
func NewNullableValidationErrorContainer(val *ValidationErrorContainer) *NullableValidationErrorContainer
func (NullableValidationErrorContainer) Get ¶
func (v NullableValidationErrorContainer) Get() *ValidationErrorContainer
func (NullableValidationErrorContainer) IsSet ¶
func (v NullableValidationErrorContainer) IsSet() bool
func (NullableValidationErrorContainer) MarshalJSON ¶
func (v NullableValidationErrorContainer) MarshalJSON() ([]byte, error)
func (*NullableValidationErrorContainer) Set ¶
func (v *NullableValidationErrorContainer) Set(val *ValidationErrorContainer)
func (*NullableValidationErrorContainer) UnmarshalJSON ¶
func (v *NullableValidationErrorContainer) UnmarshalJSON(src []byte) error
func (*NullableValidationErrorContainer) Unset ¶
func (v *NullableValidationErrorContainer) Unset()
type Product ¶
type Product struct { ArticleNumber *string `json:"ArticleNumber,omitempty"` Name *string `json:"Name,omitempty"` Price *float64 `json:"Price,omitempty"` Brand *string `json:"Brand,omitempty"` Stock *int32 `json:"Stock,omitempty"` GroupCode *string `json:"GroupCode,omitempty"` Image *string `json:"Image,omitempty"` Url *string `json:"Url,omitempty"` Categories *[]int64 `json:"Categories,omitempty"` Attributes *[]ProductAttribute `json:"Attributes,omitempty"` }
Product struct for Product
func NewProduct ¶
func NewProduct() *Product
NewProduct instantiates a new Product 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 NewProductWithDefaults ¶
func NewProductWithDefaults() *Product
NewProductWithDefaults instantiates a new Product 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 (*Product) GetArticleNumber ¶
GetArticleNumber returns the ArticleNumber field value if set, zero value otherwise.
func (*Product) GetArticleNumberOk ¶
GetArticleNumberOk returns a tuple with the ArticleNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetAttributes ¶
func (o *Product) GetAttributes() []ProductAttribute
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*Product) GetAttributesOk ¶
func (o *Product) GetAttributesOk() (*[]ProductAttribute, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetBrandOk ¶
GetBrandOk returns a tuple with the Brand field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetCategories ¶
GetCategories returns the Categories field value if set, zero value otherwise.
func (*Product) GetCategoriesOk ¶
GetCategoriesOk returns a tuple with the Categories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetGroupCode ¶
GetGroupCode returns the GroupCode field value if set, zero value otherwise.
func (*Product) GetGroupCodeOk ¶
GetGroupCodeOk returns a tuple with the GroupCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetImageOk ¶
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) 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 (*Product) 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 (*Product) GetStockOk ¶
GetStockOk returns a tuple with the Stock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) HasArticleNumber ¶
HasArticleNumber returns a boolean if a field has been set.
func (*Product) HasAttributes ¶
HasAttributes returns a boolean if a field has been set.
func (*Product) HasCategories ¶
HasCategories returns a boolean if a field has been set.
func (*Product) HasGroupCode ¶
HasGroupCode returns a boolean if a field has been set.
func (Product) MarshalJSON ¶
func (*Product) SetArticleNumber ¶
SetArticleNumber gets a reference to the given string and assigns it to the ArticleNumber field.
func (*Product) SetAttributes ¶
func (o *Product) SetAttributes(v []ProductAttribute)
SetAttributes gets a reference to the given []ProductAttribute and assigns it to the Attributes field.
func (*Product) SetBrand ¶
SetBrand gets a reference to the given string and assigns it to the Brand field.
func (*Product) SetCategories ¶
SetCategories gets a reference to the given []int64 and assigns it to the Categories field.
func (*Product) SetGroupCode ¶
SetGroupCode gets a reference to the given string and assigns it to the GroupCode field.
func (*Product) SetImage ¶
SetImage gets a reference to the given string and assigns it to the Image field.
func (*Product) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Product) SetPrice ¶
SetPrice gets a reference to the given float64 and assigns it to the Price field.
type ProductApi ¶
type ProductApi interface { /* ProductAddProduct Creates a new product. Creates a new product. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiProductAddProductRequest */ ProductAddProduct(ctx _context.Context) ApiProductAddProductRequest // ProductAddProductExecute executes the request ProductAddProductExecute(r ApiProductAddProductRequest) (*_nethttp.Response, error) /* ProductDeleteProduct Deletes a single product based on the articlenumber. Deletes a single product based on the articlenumber. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param articleNumber An article number to delete @return ApiProductDeleteProductRequest */ ProductDeleteProduct(ctx _context.Context, articleNumber string) ApiProductDeleteProductRequest // ProductDeleteProductExecute executes the request ProductDeleteProductExecute(r ApiProductDeleteProductRequest) (*_nethttp.Response, error) /* ProductGetAllProducts Returns all products. Returns all products. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiProductGetAllProductsRequest */ ProductGetAllProducts(ctx _context.Context) ApiProductGetAllProductsRequest // ProductGetAllProductsExecute executes the request // @return []ProductSummary ProductGetAllProductsExecute(r ApiProductGetAllProductsRequest) ([]ProductSummary, *_nethttp.Response, error) /* ProductGetProduct Returns a single product with the specified article number. Returns a single product with the specified article number. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param articleNumber An article number to get @return ApiProductGetProductRequest */ ProductGetProduct(ctx _context.Context, articleNumber string) ApiProductGetProductRequest // ProductGetProductExecute executes the request // @return Product ProductGetProductExecute(r ApiProductGetProductRequest) (Product, *_nethttp.Response, error) /* ProductPatchProduct Patches a product with the specified change. Patches a product with the specified change, leaves the other fields untouched. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param articleNumber An articlenumber to patch @return ApiProductPatchProductRequest */ ProductPatchProduct(ctx _context.Context, articleNumber string) ApiProductPatchProductRequest // ProductPatchProductExecute executes the request // @return map[string]interface{} ProductPatchProductExecute(r ApiProductPatchProductRequest) (map[string]interface{}, *_nethttp.Response, error) /* ProductUpdateProduct Updates a product with the specified data. Updates a product with the specified data, overrides all fields to the new value. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiProductUpdateProductRequest */ ProductUpdateProduct(ctx _context.Context) ApiProductUpdateProductRequest // ProductUpdateProductExecute executes the request ProductUpdateProductExecute(r ApiProductUpdateProductRequest) (*_nethttp.Response, error) }
type ProductApiModel ¶
type ProductApiModel struct { ArticleNumber *string `json:"ArticleNumber,omitempty"` Name *string `json:"Name,omitempty"` Price *float64 `json:"Price,omitempty"` Brand *string `json:"Brand,omitempty"` Stock *int32 `json:"Stock,omitempty"` GroupCode *string `json:"GroupCode,omitempty"` Image *string `json:"Image,omitempty"` Url *string `json:"Url,omitempty"` Categories *[]int64 `json:"Categories,omitempty"` Attributes *[]ProductAttributeApiModel `json:"Attributes,omitempty"` }
ProductApiModel struct for ProductApiModel
func NewProductApiModel ¶
func NewProductApiModel() *ProductApiModel
NewProductApiModel instantiates a new ProductApiModel 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 NewProductApiModelWithDefaults ¶
func NewProductApiModelWithDefaults() *ProductApiModel
NewProductApiModelWithDefaults instantiates a new ProductApiModel 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 (*ProductApiModel) GetArticleNumber ¶
func (o *ProductApiModel) GetArticleNumber() string
GetArticleNumber returns the ArticleNumber field value if set, zero value otherwise.
func (*ProductApiModel) GetArticleNumberOk ¶
func (o *ProductApiModel) GetArticleNumberOk() (*string, bool)
GetArticleNumberOk returns a tuple with the ArticleNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductApiModel) GetAttributes ¶
func (o *ProductApiModel) GetAttributes() []ProductAttributeApiModel
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*ProductApiModel) GetAttributesOk ¶
func (o *ProductApiModel) GetAttributesOk() (*[]ProductAttributeApiModel, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductApiModel) GetBrand ¶
func (o *ProductApiModel) GetBrand() string
GetBrand returns the Brand field value if set, zero value otherwise.
func (*ProductApiModel) GetBrandOk ¶
func (o *ProductApiModel) GetBrandOk() (*string, bool)
GetBrandOk returns a tuple with the Brand field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductApiModel) GetCategories ¶
func (o *ProductApiModel) GetCategories() []int64
GetCategories returns the Categories field value if set, zero value otherwise.
func (*ProductApiModel) GetCategoriesOk ¶
func (o *ProductApiModel) GetCategoriesOk() (*[]int64, bool)
GetCategoriesOk returns a tuple with the Categories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductApiModel) GetGroupCode ¶
func (o *ProductApiModel) GetGroupCode() string
GetGroupCode returns the GroupCode field value if set, zero value otherwise.
func (*ProductApiModel) GetGroupCodeOk ¶
func (o *ProductApiModel) GetGroupCodeOk() (*string, bool)
GetGroupCodeOk returns a tuple with the GroupCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductApiModel) GetImage ¶
func (o *ProductApiModel) GetImage() string
GetImage returns the Image field value if set, zero value otherwise.
func (*ProductApiModel) GetImageOk ¶
func (o *ProductApiModel) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductApiModel) GetName ¶
func (o *ProductApiModel) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ProductApiModel) GetNameOk ¶
func (o *ProductApiModel) 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 (*ProductApiModel) GetPrice ¶
func (o *ProductApiModel) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*ProductApiModel) GetPriceOk ¶
func (o *ProductApiModel) GetPriceOk() (*float64, 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 (*ProductApiModel) GetStock ¶
func (o *ProductApiModel) GetStock() int32
GetStock returns the Stock field value if set, zero value otherwise.
func (*ProductApiModel) GetStockOk ¶
func (o *ProductApiModel) GetStockOk() (*int32, bool)
GetStockOk returns a tuple with the Stock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductApiModel) GetUrl ¶
func (o *ProductApiModel) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*ProductApiModel) GetUrlOk ¶
func (o *ProductApiModel) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductApiModel) HasArticleNumber ¶
func (o *ProductApiModel) HasArticleNumber() bool
HasArticleNumber returns a boolean if a field has been set.
func (*ProductApiModel) HasAttributes ¶
func (o *ProductApiModel) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*ProductApiModel) HasBrand ¶
func (o *ProductApiModel) HasBrand() bool
HasBrand returns a boolean if a field has been set.
func (*ProductApiModel) HasCategories ¶
func (o *ProductApiModel) HasCategories() bool
HasCategories returns a boolean if a field has been set.
func (*ProductApiModel) HasGroupCode ¶
func (o *ProductApiModel) HasGroupCode() bool
HasGroupCode returns a boolean if a field has been set.
func (*ProductApiModel) HasImage ¶
func (o *ProductApiModel) HasImage() bool
HasImage returns a boolean if a field has been set.
func (*ProductApiModel) HasName ¶
func (o *ProductApiModel) HasName() bool
HasName returns a boolean if a field has been set.
func (*ProductApiModel) HasPrice ¶
func (o *ProductApiModel) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ProductApiModel) HasStock ¶
func (o *ProductApiModel) HasStock() bool
HasStock returns a boolean if a field has been set.
func (*ProductApiModel) HasUrl ¶
func (o *ProductApiModel) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (ProductApiModel) MarshalJSON ¶
func (o ProductApiModel) MarshalJSON() ([]byte, error)
func (*ProductApiModel) SetArticleNumber ¶
func (o *ProductApiModel) SetArticleNumber(v string)
SetArticleNumber gets a reference to the given string and assigns it to the ArticleNumber field.
func (*ProductApiModel) SetAttributes ¶
func (o *ProductApiModel) SetAttributes(v []ProductAttributeApiModel)
SetAttributes gets a reference to the given []ProductAttributeApiModel and assigns it to the Attributes field.
func (*ProductApiModel) SetBrand ¶
func (o *ProductApiModel) SetBrand(v string)
SetBrand gets a reference to the given string and assigns it to the Brand field.
func (*ProductApiModel) SetCategories ¶
func (o *ProductApiModel) SetCategories(v []int64)
SetCategories gets a reference to the given []int64 and assigns it to the Categories field.
func (*ProductApiModel) SetGroupCode ¶
func (o *ProductApiModel) SetGroupCode(v string)
SetGroupCode gets a reference to the given string and assigns it to the GroupCode field.
func (*ProductApiModel) SetImage ¶
func (o *ProductApiModel) SetImage(v string)
SetImage gets a reference to the given string and assigns it to the Image field.
func (*ProductApiModel) SetName ¶
func (o *ProductApiModel) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ProductApiModel) SetPrice ¶
func (o *ProductApiModel) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*ProductApiModel) SetStock ¶
func (o *ProductApiModel) SetStock(v int32)
SetStock gets a reference to the given int32 and assigns it to the Stock field.
func (*ProductApiModel) SetUrl ¶
func (o *ProductApiModel) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
type ProductApiService ¶
type ProductApiService service
ProductApiService ProductApi service
func (*ProductApiService) ProductAddProduct ¶
func (a *ProductApiService) ProductAddProduct(ctx _context.Context) ApiProductAddProductRequest
ProductAddProduct Creates a new product.
Creates a new product.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiProductAddProductRequest
func (*ProductApiService) ProductAddProductExecute ¶
func (a *ProductApiService) ProductAddProductExecute(r ApiProductAddProductRequest) (*_nethttp.Response, error)
Execute executes the request
func (*ProductApiService) ProductDeleteProduct ¶
func (a *ProductApiService) ProductDeleteProduct(ctx _context.Context, articleNumber string) ApiProductDeleteProductRequest
ProductDeleteProduct Deletes a single product based on the articlenumber.
Deletes a single product based on the articlenumber.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param articleNumber An article number to delete @return ApiProductDeleteProductRequest
func (*ProductApiService) ProductDeleteProductExecute ¶
func (a *ProductApiService) ProductDeleteProductExecute(r ApiProductDeleteProductRequest) (*_nethttp.Response, error)
Execute executes the request
func (*ProductApiService) ProductGetAllProducts ¶
func (a *ProductApiService) ProductGetAllProducts(ctx _context.Context) ApiProductGetAllProductsRequest
ProductGetAllProducts Returns all products.
Returns all products.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiProductGetAllProductsRequest
func (*ProductApiService) ProductGetAllProductsExecute ¶
func (a *ProductApiService) ProductGetAllProductsExecute(r ApiProductGetAllProductsRequest) ([]ProductSummary, *_nethttp.Response, error)
Execute executes the request
@return []ProductSummary
func (*ProductApiService) ProductGetProduct ¶
func (a *ProductApiService) ProductGetProduct(ctx _context.Context, articleNumber string) ApiProductGetProductRequest
ProductGetProduct Returns a single product with the specified article number.
Returns a single product with the specified article number.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param articleNumber An article number to get @return ApiProductGetProductRequest
func (*ProductApiService) ProductGetProductExecute ¶
func (a *ProductApiService) ProductGetProductExecute(r ApiProductGetProductRequest) (Product, *_nethttp.Response, error)
Execute executes the request
@return Product
func (*ProductApiService) ProductPatchProduct ¶
func (a *ProductApiService) ProductPatchProduct(ctx _context.Context, articleNumber string) ApiProductPatchProductRequest
ProductPatchProduct Patches a product with the specified change.
Patches a product with the specified change, leaves the other fields untouched.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param articleNumber An articlenumber to patch @return ApiProductPatchProductRequest
func (*ProductApiService) ProductPatchProductExecute ¶
func (a *ProductApiService) ProductPatchProductExecute(r ApiProductPatchProductRequest) (map[string]interface{}, *_nethttp.Response, error)
Execute executes the request
@return map[string]interface{}
func (*ProductApiService) ProductUpdateProduct ¶
func (a *ProductApiService) ProductUpdateProduct(ctx _context.Context) ApiProductUpdateProductRequest
ProductUpdateProduct Updates a product with the specified data.
Updates a product with the specified data, overrides all fields to the new value.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiProductUpdateProductRequest
func (*ProductApiService) ProductUpdateProductExecute ¶
func (a *ProductApiService) ProductUpdateProductExecute(r ApiProductUpdateProductRequest) (*_nethttp.Response, error)
Execute executes the request
type ProductAttribute ¶
type ProductAttribute struct { Key *string `json:"Key,omitempty"` Values *[]string `json:"Values,omitempty"` }
ProductAttribute struct for ProductAttribute
func NewProductAttribute ¶
func NewProductAttribute() *ProductAttribute
NewProductAttribute instantiates a new ProductAttribute 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 NewProductAttributeWithDefaults ¶
func NewProductAttributeWithDefaults() *ProductAttribute
NewProductAttributeWithDefaults instantiates a new ProductAttribute 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 (*ProductAttribute) GetKey ¶
func (o *ProductAttribute) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*ProductAttribute) GetKeyOk ¶
func (o *ProductAttribute) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductAttribute) GetValues ¶
func (o *ProductAttribute) GetValues() []string
GetValues returns the Values field value if set, zero value otherwise.
func (*ProductAttribute) GetValuesOk ¶
func (o *ProductAttribute) GetValuesOk() (*[]string, bool)
GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductAttribute) HasKey ¶
func (o *ProductAttribute) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*ProductAttribute) HasValues ¶
func (o *ProductAttribute) HasValues() bool
HasValues returns a boolean if a field has been set.
func (ProductAttribute) MarshalJSON ¶
func (o ProductAttribute) MarshalJSON() ([]byte, error)
func (*ProductAttribute) SetKey ¶
func (o *ProductAttribute) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*ProductAttribute) SetValues ¶
func (o *ProductAttribute) SetValues(v []string)
SetValues gets a reference to the given []string and assigns it to the Values field.
type ProductAttributeApiModel ¶
type ProductAttributeApiModel struct { Key *string `json:"Key,omitempty"` Values *[]string `json:"Values,omitempty"` }
ProductAttributeApiModel struct for ProductAttributeApiModel
func NewProductAttributeApiModel ¶
func NewProductAttributeApiModel() *ProductAttributeApiModel
NewProductAttributeApiModel instantiates a new ProductAttributeApiModel 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 NewProductAttributeApiModelWithDefaults ¶
func NewProductAttributeApiModelWithDefaults() *ProductAttributeApiModel
NewProductAttributeApiModelWithDefaults instantiates a new ProductAttributeApiModel 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 (*ProductAttributeApiModel) GetKey ¶
func (o *ProductAttributeApiModel) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*ProductAttributeApiModel) GetKeyOk ¶
func (o *ProductAttributeApiModel) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductAttributeApiModel) GetValues ¶
func (o *ProductAttributeApiModel) GetValues() []string
GetValues returns the Values field value if set, zero value otherwise.
func (*ProductAttributeApiModel) GetValuesOk ¶
func (o *ProductAttributeApiModel) GetValuesOk() (*[]string, bool)
GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductAttributeApiModel) HasKey ¶
func (o *ProductAttributeApiModel) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*ProductAttributeApiModel) HasValues ¶
func (o *ProductAttributeApiModel) HasValues() bool
HasValues returns a boolean if a field has been set.
func (ProductAttributeApiModel) MarshalJSON ¶
func (o ProductAttributeApiModel) MarshalJSON() ([]byte, error)
func (*ProductAttributeApiModel) SetKey ¶
func (o *ProductAttributeApiModel) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*ProductAttributeApiModel) SetValues ¶
func (o *ProductAttributeApiModel) SetValues(v []string)
SetValues gets a reference to the given []string and assigns it to the Values field.
type ProductDeltaApiModel ¶
type ProductDeltaApiModel struct { Name *string `json:"Name,omitempty"` Price *float64 `json:"Price,omitempty"` Brand *string `json:"Brand,omitempty"` Stock *int32 `json:"Stock,omitempty"` GroupCode *string `json:"GroupCode,omitempty"` Image *string `json:"Image,omitempty"` Url *string `json:"Url,omitempty"` Categories *[]int64 `json:"Categories,omitempty"` Attributes *[]ProductAttributeApiModel `json:"Attributes,omitempty"` }
ProductDeltaApiModel struct for ProductDeltaApiModel
func NewProductDeltaApiModel ¶
func NewProductDeltaApiModel() *ProductDeltaApiModel
NewProductDeltaApiModel instantiates a new ProductDeltaApiModel 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 NewProductDeltaApiModelWithDefaults ¶
func NewProductDeltaApiModelWithDefaults() *ProductDeltaApiModel
NewProductDeltaApiModelWithDefaults instantiates a new ProductDeltaApiModel 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 (*ProductDeltaApiModel) GetAttributes ¶
func (o *ProductDeltaApiModel) GetAttributes() []ProductAttributeApiModel
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*ProductDeltaApiModel) GetAttributesOk ¶
func (o *ProductDeltaApiModel) GetAttributesOk() (*[]ProductAttributeApiModel, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDeltaApiModel) GetBrand ¶
func (o *ProductDeltaApiModel) GetBrand() string
GetBrand returns the Brand field value if set, zero value otherwise.
func (*ProductDeltaApiModel) GetBrandOk ¶
func (o *ProductDeltaApiModel) GetBrandOk() (*string, bool)
GetBrandOk returns a tuple with the Brand field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDeltaApiModel) GetCategories ¶
func (o *ProductDeltaApiModel) GetCategories() []int64
GetCategories returns the Categories field value if set, zero value otherwise.
func (*ProductDeltaApiModel) GetCategoriesOk ¶
func (o *ProductDeltaApiModel) GetCategoriesOk() (*[]int64, bool)
GetCategoriesOk returns a tuple with the Categories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDeltaApiModel) GetGroupCode ¶
func (o *ProductDeltaApiModel) GetGroupCode() string
GetGroupCode returns the GroupCode field value if set, zero value otherwise.
func (*ProductDeltaApiModel) GetGroupCodeOk ¶
func (o *ProductDeltaApiModel) GetGroupCodeOk() (*string, bool)
GetGroupCodeOk returns a tuple with the GroupCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDeltaApiModel) GetImage ¶
func (o *ProductDeltaApiModel) GetImage() string
GetImage returns the Image field value if set, zero value otherwise.
func (*ProductDeltaApiModel) GetImageOk ¶
func (o *ProductDeltaApiModel) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDeltaApiModel) GetName ¶
func (o *ProductDeltaApiModel) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ProductDeltaApiModel) GetNameOk ¶
func (o *ProductDeltaApiModel) 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 (*ProductDeltaApiModel) GetPrice ¶
func (o *ProductDeltaApiModel) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*ProductDeltaApiModel) GetPriceOk ¶
func (o *ProductDeltaApiModel) GetPriceOk() (*float64, 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 (*ProductDeltaApiModel) GetStock ¶
func (o *ProductDeltaApiModel) GetStock() int32
GetStock returns the Stock field value if set, zero value otherwise.
func (*ProductDeltaApiModel) GetStockOk ¶
func (o *ProductDeltaApiModel) GetStockOk() (*int32, bool)
GetStockOk returns a tuple with the Stock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDeltaApiModel) GetUrl ¶
func (o *ProductDeltaApiModel) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*ProductDeltaApiModel) GetUrlOk ¶
func (o *ProductDeltaApiModel) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductDeltaApiModel) HasAttributes ¶
func (o *ProductDeltaApiModel) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*ProductDeltaApiModel) HasBrand ¶
func (o *ProductDeltaApiModel) HasBrand() bool
HasBrand returns a boolean if a field has been set.
func (*ProductDeltaApiModel) HasCategories ¶
func (o *ProductDeltaApiModel) HasCategories() bool
HasCategories returns a boolean if a field has been set.
func (*ProductDeltaApiModel) HasGroupCode ¶
func (o *ProductDeltaApiModel) HasGroupCode() bool
HasGroupCode returns a boolean if a field has been set.
func (*ProductDeltaApiModel) HasImage ¶
func (o *ProductDeltaApiModel) HasImage() bool
HasImage returns a boolean if a field has been set.
func (*ProductDeltaApiModel) HasName ¶
func (o *ProductDeltaApiModel) HasName() bool
HasName returns a boolean if a field has been set.
func (*ProductDeltaApiModel) HasPrice ¶
func (o *ProductDeltaApiModel) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ProductDeltaApiModel) HasStock ¶
func (o *ProductDeltaApiModel) HasStock() bool
HasStock returns a boolean if a field has been set.
func (*ProductDeltaApiModel) HasUrl ¶
func (o *ProductDeltaApiModel) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (ProductDeltaApiModel) MarshalJSON ¶
func (o ProductDeltaApiModel) MarshalJSON() ([]byte, error)
func (*ProductDeltaApiModel) SetAttributes ¶
func (o *ProductDeltaApiModel) SetAttributes(v []ProductAttributeApiModel)
SetAttributes gets a reference to the given []ProductAttributeApiModel and assigns it to the Attributes field.
func (*ProductDeltaApiModel) SetBrand ¶
func (o *ProductDeltaApiModel) SetBrand(v string)
SetBrand gets a reference to the given string and assigns it to the Brand field.
func (*ProductDeltaApiModel) SetCategories ¶
func (o *ProductDeltaApiModel) SetCategories(v []int64)
SetCategories gets a reference to the given []int64 and assigns it to the Categories field.
func (*ProductDeltaApiModel) SetGroupCode ¶
func (o *ProductDeltaApiModel) SetGroupCode(v string)
SetGroupCode gets a reference to the given string and assigns it to the GroupCode field.
func (*ProductDeltaApiModel) SetImage ¶
func (o *ProductDeltaApiModel) SetImage(v string)
SetImage gets a reference to the given string and assigns it to the Image field.
func (*ProductDeltaApiModel) SetName ¶
func (o *ProductDeltaApiModel) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ProductDeltaApiModel) SetPrice ¶
func (o *ProductDeltaApiModel) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*ProductDeltaApiModel) SetStock ¶
func (o *ProductDeltaApiModel) SetStock(v int32)
SetStock gets a reference to the given int32 and assigns it to the Stock field.
func (*ProductDeltaApiModel) SetUrl ¶
func (o *ProductDeltaApiModel) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
type ProductSummary ¶
type ProductSummary struct { ArticleNumber *string `json:"ArticleNumber,omitempty"` Name *string `json:"Name,omitempty"` Price *float64 `json:"Price,omitempty"` Brand *string `json:"Brand,omitempty"` Stock *int32 `json:"Stock,omitempty"` GroupCode *string `json:"GroupCode,omitempty"` Image *string `json:"Image,omitempty"` Url *string `json:"Url,omitempty"` Categories *[]int64 `json:"Categories,omitempty"` }
ProductSummary struct for ProductSummary
func NewProductSummary ¶
func NewProductSummary() *ProductSummary
NewProductSummary instantiates a new ProductSummary 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 NewProductSummaryWithDefaults ¶
func NewProductSummaryWithDefaults() *ProductSummary
NewProductSummaryWithDefaults instantiates a new ProductSummary 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 (*ProductSummary) GetArticleNumber ¶
func (o *ProductSummary) GetArticleNumber() string
GetArticleNumber returns the ArticleNumber field value if set, zero value otherwise.
func (*ProductSummary) GetArticleNumberOk ¶
func (o *ProductSummary) GetArticleNumberOk() (*string, bool)
GetArticleNumberOk returns a tuple with the ArticleNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductSummary) GetBrand ¶
func (o *ProductSummary) GetBrand() string
GetBrand returns the Brand field value if set, zero value otherwise.
func (*ProductSummary) GetBrandOk ¶
func (o *ProductSummary) GetBrandOk() (*string, bool)
GetBrandOk returns a tuple with the Brand field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductSummary) GetCategories ¶
func (o *ProductSummary) GetCategories() []int64
GetCategories returns the Categories field value if set, zero value otherwise.
func (*ProductSummary) GetCategoriesOk ¶
func (o *ProductSummary) GetCategoriesOk() (*[]int64, bool)
GetCategoriesOk returns a tuple with the Categories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductSummary) GetGroupCode ¶
func (o *ProductSummary) GetGroupCode() string
GetGroupCode returns the GroupCode field value if set, zero value otherwise.
func (*ProductSummary) GetGroupCodeOk ¶
func (o *ProductSummary) GetGroupCodeOk() (*string, bool)
GetGroupCodeOk returns a tuple with the GroupCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductSummary) GetImage ¶
func (o *ProductSummary) GetImage() string
GetImage returns the Image field value if set, zero value otherwise.
func (*ProductSummary) GetImageOk ¶
func (o *ProductSummary) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductSummary) GetName ¶
func (o *ProductSummary) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ProductSummary) GetNameOk ¶
func (o *ProductSummary) 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 (*ProductSummary) GetPrice ¶
func (o *ProductSummary) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*ProductSummary) GetPriceOk ¶
func (o *ProductSummary) GetPriceOk() (*float64, 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 (*ProductSummary) GetStock ¶
func (o *ProductSummary) GetStock() int32
GetStock returns the Stock field value if set, zero value otherwise.
func (*ProductSummary) GetStockOk ¶
func (o *ProductSummary) GetStockOk() (*int32, bool)
GetStockOk returns a tuple with the Stock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductSummary) GetUrl ¶
func (o *ProductSummary) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*ProductSummary) GetUrlOk ¶
func (o *ProductSummary) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProductSummary) HasArticleNumber ¶
func (o *ProductSummary) HasArticleNumber() bool
HasArticleNumber returns a boolean if a field has been set.
func (*ProductSummary) HasBrand ¶
func (o *ProductSummary) HasBrand() bool
HasBrand returns a boolean if a field has been set.
func (*ProductSummary) HasCategories ¶
func (o *ProductSummary) HasCategories() bool
HasCategories returns a boolean if a field has been set.
func (*ProductSummary) HasGroupCode ¶
func (o *ProductSummary) HasGroupCode() bool
HasGroupCode returns a boolean if a field has been set.
func (*ProductSummary) HasImage ¶
func (o *ProductSummary) HasImage() bool
HasImage returns a boolean if a field has been set.
func (*ProductSummary) HasName ¶
func (o *ProductSummary) HasName() bool
HasName returns a boolean if a field has been set.
func (*ProductSummary) HasPrice ¶
func (o *ProductSummary) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ProductSummary) HasStock ¶
func (o *ProductSummary) HasStock() bool
HasStock returns a boolean if a field has been set.
func (*ProductSummary) HasUrl ¶
func (o *ProductSummary) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (ProductSummary) MarshalJSON ¶
func (o ProductSummary) MarshalJSON() ([]byte, error)
func (*ProductSummary) SetArticleNumber ¶
func (o *ProductSummary) SetArticleNumber(v string)
SetArticleNumber gets a reference to the given string and assigns it to the ArticleNumber field.
func (*ProductSummary) SetBrand ¶
func (o *ProductSummary) SetBrand(v string)
SetBrand gets a reference to the given string and assigns it to the Brand field.
func (*ProductSummary) SetCategories ¶
func (o *ProductSummary) SetCategories(v []int64)
SetCategories gets a reference to the given []int64 and assigns it to the Categories field.
func (*ProductSummary) SetGroupCode ¶
func (o *ProductSummary) SetGroupCode(v string)
SetGroupCode gets a reference to the given string and assigns it to the GroupCode field.
func (*ProductSummary) SetImage ¶
func (o *ProductSummary) SetImage(v string)
SetImage gets a reference to the given string and assigns it to the Image field.
func (*ProductSummary) SetName ¶
func (o *ProductSummary) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ProductSummary) SetPrice ¶
func (o *ProductSummary) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*ProductSummary) SetStock ¶
func (o *ProductSummary) SetStock(v int32)
SetStock gets a reference to the given int32 and assigns it to the Stock field.
func (*ProductSummary) SetUrl ¶
func (o *ProductSummary) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
type SalesChannel ¶
type SalesChannel struct { // Sales channel id Id *string `json:"Id,omitempty"` // Sales channel name Name *string `json:"Name,omitempty"` }
SalesChannel Shopware 6 sales channel
func NewSalesChannel ¶
func NewSalesChannel() *SalesChannel
NewSalesChannel instantiates a new SalesChannel 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 NewSalesChannelWithDefaults ¶
func NewSalesChannelWithDefaults() *SalesChannel
NewSalesChannelWithDefaults instantiates a new SalesChannel 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 (*SalesChannel) GetId ¶
func (o *SalesChannel) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SalesChannel) GetIdOk ¶
func (o *SalesChannel) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SalesChannel) GetName ¶
func (o *SalesChannel) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SalesChannel) GetNameOk ¶
func (o *SalesChannel) 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 (*SalesChannel) HasId ¶
func (o *SalesChannel) HasId() bool
HasId returns a boolean if a field has been set.
func (*SalesChannel) HasName ¶
func (o *SalesChannel) HasName() bool
HasName returns a boolean if a field has been set.
func (SalesChannel) MarshalJSON ¶
func (o SalesChannel) MarshalJSON() ([]byte, error)
func (*SalesChannel) SetId ¶
func (o *SalesChannel) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SalesChannel) SetName ¶
func (o *SalesChannel) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Shopware6Api ¶
type Shopware6Api interface { /* Shopware6Channels Get sales channels by shop @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6ChannelsRequest */ Shopware6Channels(ctx _context.Context) ApiShopware6ChannelsRequest // Shopware6ChannelsExecute executes the request // @return []SalesChannel Shopware6ChannelsExecute(r ApiShopware6ChannelsRequest) ([]SalesChannel, *_nethttp.Response, error) /* Shopware6CheckConnection Check whether a connection exists for this shopId @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6CheckConnectionRequest */ Shopware6CheckConnection(ctx _context.Context) ApiShopware6CheckConnectionRequest // Shopware6CheckConnectionExecute executes the request // @return map[string]interface{} Shopware6CheckConnectionExecute(r ApiShopware6CheckConnectionRequest) (map[string]interface{}, *_nethttp.Response, error) /* Shopware6Connect Connects Shopware6 store to the Tweakwise Instance Schedules a full sync of the Shopware6 store into Tweakwise. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6ConnectRequest */ Shopware6Connect(ctx _context.Context) ApiShopware6ConnectRequest // Shopware6ConnectExecute executes the request Shopware6ConnectExecute(r ApiShopware6ConnectRequest) (*_nethttp.Response, error) /* Shopware6GetActiveChannels Returns an active channelID @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6GetActiveChannelsRequest */ Shopware6GetActiveChannels(ctx _context.Context) ApiShopware6GetActiveChannelsRequest // Shopware6GetActiveChannelsExecute executes the request Shopware6GetActiveChannelsExecute(r ApiShopware6GetActiveChannelsRequest) (*_nethttp.Response, error) /* Shopware6ScheduleFullSync Schedules a full sync of the Shopware6 store into Tweakwise Schedules a full sync of the Shopware6 store into Tweakwise. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6ScheduleFullSyncRequest */ Shopware6ScheduleFullSync(ctx _context.Context) ApiShopware6ScheduleFullSyncRequest // Shopware6ScheduleFullSyncExecute executes the request Shopware6ScheduleFullSyncExecute(r ApiShopware6ScheduleFullSyncRequest) (*_nethttp.Response, error) /* Shopware6UpdateActiveChannels Updates an active channelID @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6UpdateActiveChannelsRequest */ Shopware6UpdateActiveChannels(ctx _context.Context) ApiShopware6UpdateActiveChannelsRequest // Shopware6UpdateActiveChannelsExecute executes the request Shopware6UpdateActiveChannelsExecute(r ApiShopware6UpdateActiveChannelsRequest) (*_nethttp.Response, error) }
type Shopware6ApiService ¶
type Shopware6ApiService service
Shopware6ApiService Shopware6Api service
func (*Shopware6ApiService) Shopware6Channels ¶
func (a *Shopware6ApiService) Shopware6Channels(ctx _context.Context) ApiShopware6ChannelsRequest
Shopware6Channels Get sales channels by shop
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6ChannelsRequest
func (*Shopware6ApiService) Shopware6ChannelsExecute ¶
func (a *Shopware6ApiService) Shopware6ChannelsExecute(r ApiShopware6ChannelsRequest) ([]SalesChannel, *_nethttp.Response, error)
Execute executes the request
@return []SalesChannel
func (*Shopware6ApiService) Shopware6CheckConnection ¶
func (a *Shopware6ApiService) Shopware6CheckConnection(ctx _context.Context) ApiShopware6CheckConnectionRequest
Shopware6CheckConnection Check whether a connection exists for this shopId
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6CheckConnectionRequest
func (*Shopware6ApiService) Shopware6CheckConnectionExecute ¶
func (a *Shopware6ApiService) Shopware6CheckConnectionExecute(r ApiShopware6CheckConnectionRequest) (map[string]interface{}, *_nethttp.Response, error)
Execute executes the request
@return map[string]interface{}
func (*Shopware6ApiService) Shopware6Connect ¶
func (a *Shopware6ApiService) Shopware6Connect(ctx _context.Context) ApiShopware6ConnectRequest
Shopware6Connect Connects Shopware6 store to the Tweakwise Instance
Schedules a full sync of the Shopware6 store into Tweakwise.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6ConnectRequest
func (*Shopware6ApiService) Shopware6ConnectExecute ¶
func (a *Shopware6ApiService) Shopware6ConnectExecute(r ApiShopware6ConnectRequest) (*_nethttp.Response, error)
Execute executes the request
func (*Shopware6ApiService) Shopware6GetActiveChannels ¶
func (a *Shopware6ApiService) Shopware6GetActiveChannels(ctx _context.Context) ApiShopware6GetActiveChannelsRequest
Shopware6GetActiveChannels Returns an active channelID
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6GetActiveChannelsRequest
func (*Shopware6ApiService) Shopware6GetActiveChannelsExecute ¶
func (a *Shopware6ApiService) Shopware6GetActiveChannelsExecute(r ApiShopware6GetActiveChannelsRequest) (*_nethttp.Response, error)
Execute executes the request
func (*Shopware6ApiService) Shopware6ScheduleFullSync ¶
func (a *Shopware6ApiService) Shopware6ScheduleFullSync(ctx _context.Context) ApiShopware6ScheduleFullSyncRequest
Shopware6ScheduleFullSync Schedules a full sync of the Shopware6 store into Tweakwise
Schedules a full sync of the Shopware6 store into Tweakwise.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6ScheduleFullSyncRequest
func (*Shopware6ApiService) Shopware6ScheduleFullSyncExecute ¶
func (a *Shopware6ApiService) Shopware6ScheduleFullSyncExecute(r ApiShopware6ScheduleFullSyncRequest) (*_nethttp.Response, error)
Execute executes the request
func (*Shopware6ApiService) Shopware6UpdateActiveChannels ¶
func (a *Shopware6ApiService) Shopware6UpdateActiveChannels(ctx _context.Context) ApiShopware6UpdateActiveChannelsRequest
Shopware6UpdateActiveChannels Updates an active channelID
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShopware6UpdateActiveChannelsRequest
func (*Shopware6ApiService) Shopware6UpdateActiveChannelsExecute ¶
func (a *Shopware6ApiService) Shopware6UpdateActiveChannelsExecute(r ApiShopware6UpdateActiveChannelsRequest) (*_nethttp.Response, error)
Execute executes the request
type TaskApi ¶
type TaskApi interface { /* TaskGetStatus Method for TaskGetStatus @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param key @param taskkey @return ApiTaskGetStatusRequest */ TaskGetStatus(ctx _context.Context, key string, taskkey string) ApiTaskGetStatusRequest // TaskGetStatusExecute executes the request // @return map[string]interface{} TaskGetStatusExecute(r ApiTaskGetStatusRequest) (map[string]interface{}, *_nethttp.Response, error) /* TaskStart This service starts the specified task by the taskkey. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param key The instance key @param taskkey The GUID of the task @return ApiTaskStartRequest */ TaskStart(ctx _context.Context, key string, taskkey string) ApiTaskStartRequest // TaskStartExecute executes the request // @return map[string]interface{} TaskStartExecute(r ApiTaskStartRequest) (map[string]interface{}, *_nethttp.Response, error) }
type TaskApiService ¶
type TaskApiService service
TaskApiService TaskApi service
func (*TaskApiService) TaskGetStatus ¶
func (a *TaskApiService) TaskGetStatus(ctx _context.Context, key string, taskkey string) ApiTaskGetStatusRequest
TaskGetStatus Method for TaskGetStatus
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param key @param taskkey @return ApiTaskGetStatusRequest
func (*TaskApiService) TaskGetStatusExecute ¶
func (a *TaskApiService) TaskGetStatusExecute(r ApiTaskGetStatusRequest) (map[string]interface{}, *_nethttp.Response, error)
Execute executes the request
@return map[string]interface{}
func (*TaskApiService) TaskStart ¶
func (a *TaskApiService) TaskStart(ctx _context.Context, key string, taskkey string) ApiTaskStartRequest
TaskStart This service starts the specified task by the taskkey.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param key The instance key @param taskkey The GUID of the task @return ApiTaskStartRequest
func (*TaskApiService) TaskStartExecute ¶
func (a *TaskApiService) TaskStartExecute(r ApiTaskStartRequest) (map[string]interface{}, *_nethttp.Response, error)
Execute executes the request
@return map[string]interface{}
type UserApi ¶
type UserApi interface { /* UserGetInstances Returns all instances for current Tweakwise Account User @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUserGetInstancesRequest */ UserGetInstances(ctx _context.Context) ApiUserGetInstancesRequest // UserGetInstancesExecute executes the request // @return []UserInstance UserGetInstancesExecute(r ApiUserGetInstancesRequest) ([]UserInstance, *_nethttp.Response, error) }
type UserApiService ¶
type UserApiService service
UserApiService UserApi service
func (*UserApiService) UserGetInstances ¶
func (a *UserApiService) UserGetInstances(ctx _context.Context) ApiUserGetInstancesRequest
UserGetInstances Returns all instances for current Tweakwise Account User
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUserGetInstancesRequest
func (*UserApiService) UserGetInstancesExecute ¶
func (a *UserApiService) UserGetInstancesExecute(r ApiUserGetInstancesRequest) ([]UserInstance, *_nethttp.Response, error)
Execute executes the request
@return []UserInstance
type UserInstance ¶
type UserInstance struct { // Instance key InstanceKey *string `json:"InstanceKey,omitempty"` // Instance name InstanceName *string `json:"InstanceName,omitempty"` }
UserInstance Link from user to instance
func NewUserInstance ¶
func NewUserInstance() *UserInstance
NewUserInstance instantiates a new UserInstance 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 NewUserInstanceWithDefaults ¶
func NewUserInstanceWithDefaults() *UserInstance
NewUserInstanceWithDefaults instantiates a new UserInstance 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 (*UserInstance) GetInstanceKey ¶
func (o *UserInstance) GetInstanceKey() string
GetInstanceKey returns the InstanceKey field value if set, zero value otherwise.
func (*UserInstance) GetInstanceKeyOk ¶
func (o *UserInstance) GetInstanceKeyOk() (*string, bool)
GetInstanceKeyOk returns a tuple with the InstanceKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInstance) GetInstanceName ¶
func (o *UserInstance) GetInstanceName() string
GetInstanceName returns the InstanceName field value if set, zero value otherwise.
func (*UserInstance) GetInstanceNameOk ¶
func (o *UserInstance) GetInstanceNameOk() (*string, bool)
GetInstanceNameOk returns a tuple with the InstanceName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInstance) HasInstanceKey ¶
func (o *UserInstance) HasInstanceKey() bool
HasInstanceKey returns a boolean if a field has been set.
func (*UserInstance) HasInstanceName ¶
func (o *UserInstance) HasInstanceName() bool
HasInstanceName returns a boolean if a field has been set.
func (UserInstance) MarshalJSON ¶
func (o UserInstance) MarshalJSON() ([]byte, error)
func (*UserInstance) SetInstanceKey ¶
func (o *UserInstance) SetInstanceKey(v string)
SetInstanceKey gets a reference to the given string and assigns it to the InstanceKey field.
func (*UserInstance) SetInstanceName ¶
func (o *UserInstance) SetInstanceName(v string)
SetInstanceName gets a reference to the given string and assigns it to the InstanceName field.
type ValidationError ¶
type ValidationError struct {
Error *string `json:"Error,omitempty"`
}
ValidationError struct for ValidationError
func NewValidationError ¶
func NewValidationError() *ValidationError
NewValidationError instantiates a new ValidationError 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 NewValidationErrorWithDefaults ¶
func NewValidationErrorWithDefaults() *ValidationError
NewValidationErrorWithDefaults instantiates a new ValidationError 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 (*ValidationError) GetError ¶
func (o *ValidationError) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ValidationError) GetErrorOk ¶
func (o *ValidationError) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidationError) HasError ¶
func (o *ValidationError) HasError() bool
HasError returns a boolean if a field has been set.
func (ValidationError) MarshalJSON ¶
func (o ValidationError) MarshalJSON() ([]byte, error)
func (*ValidationError) SetError ¶
func (o *ValidationError) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
type ValidationErrorContainer ¶
type ValidationErrorContainer struct { // Message Message *string `json:"Message,omitempty"` // List of validation Errors Errors *[]ValidationError `json:"Errors,omitempty"` }
ValidationErrorContainer fluentValidator error container
func NewValidationErrorContainer ¶
func NewValidationErrorContainer() *ValidationErrorContainer
NewValidationErrorContainer instantiates a new ValidationErrorContainer 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 NewValidationErrorContainerWithDefaults ¶
func NewValidationErrorContainerWithDefaults() *ValidationErrorContainer
NewValidationErrorContainerWithDefaults instantiates a new ValidationErrorContainer 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 (*ValidationErrorContainer) GetErrors ¶
func (o *ValidationErrorContainer) GetErrors() []ValidationError
GetErrors returns the Errors field value if set, zero value otherwise.
func (*ValidationErrorContainer) GetErrorsOk ¶
func (o *ValidationErrorContainer) GetErrorsOk() (*[]ValidationError, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidationErrorContainer) GetMessage ¶
func (o *ValidationErrorContainer) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ValidationErrorContainer) GetMessageOk ¶
func (o *ValidationErrorContainer) 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 (*ValidationErrorContainer) HasErrors ¶
func (o *ValidationErrorContainer) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*ValidationErrorContainer) HasMessage ¶
func (o *ValidationErrorContainer) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ValidationErrorContainer) MarshalJSON ¶
func (o ValidationErrorContainer) MarshalJSON() ([]byte, error)
func (*ValidationErrorContainer) SetErrors ¶
func (o *ValidationErrorContainer) SetErrors(v []ValidationError)
SetErrors gets a reference to the given []ValidationError and assigns it to the Errors field.
func (*ValidationErrorContainer) SetMessage ¶
func (o *ValidationErrorContainer) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
Source Files ¶
- api_category.go
- api_instance_stats.go
- api_product.go
- api_shopware6.go
- api_task.go
- api_user.go
- client.go
- configuration.go
- model_active_channel_model.go
- model_category.go
- model_category_api_model.go
- model_category_delta_api_model.go
- model_connect_model.go
- model_product.go
- model_product_api_model.go
- model_product_attribute.go
- model_product_attribute_api_model.go
- model_product_delta_api_model.go
- model_product_summary.go
- model_sales_channel.go
- model_user_instance.go
- model_validation_error.go
- model_validation_error_container.go
- response.go
- utils.go