backend

package
v0.0.0-...-589b628 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2022 License: MIT Imports: 22 Imported by: 2

README

Go API client for backend

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import sw "./backend"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://navigator-api.tweakwise.com

Class Method HTTP request Description
CategoryApi CategoryAddCategory Post /category Creates a new category.
CategoryApi CategoryDeleteCategory Delete /category/{categoryId} Deletes a single category based on the category Id.
CategoryApi CategoryGetAllCategories Get /category Returns all categories.
CategoryApi CategoryGetCategory Get /category/{categoryId} Returns a single category with the specified categoryId.
CategoryApi CategoryGetCategoryByKey Get /category/getbykey/{key} Returns a single category with the specified key.
CategoryApi CategoryPatchCategory Patch /category/{categoryId} Patches a category with the specified change.
CategoryApi CategoryUpdateCategory Put /category Update an existing category.
InstanceStatsApi InstanceStatsTotalCategories Get /stats/totalcategories Get the number of total categories.
InstanceStatsApi InstanceStatsTotalProducts Get /stats/totalproducts Get the number of total products.
ProductApi ProductAddProduct Post /product Creates a new product.
ProductApi ProductDeleteProduct Delete /product/{articleNumber} Deletes a single product based on the articlenumber.
ProductApi ProductGetAllProducts Get /product Returns all products.
ProductApi ProductGetProduct Get /product/{articleNumber} Returns a single product with the specified article number.
ProductApi ProductPatchProduct Patch /product/{articleNumber} Patches a product with the specified change.
ProductApi ProductUpdateProduct Put /product Updates a product with the specified data.
Shopware6Api Shopware6Channels Get /shopware6/channels Get sales channels by shop
Shopware6Api Shopware6CheckConnection Get /shopware6/check-connection Check whether a connection exists for this shopId
Shopware6Api Shopware6Connect Post /shopware6/connect Connects Shopware6 store to the Tweakwise Instance
Shopware6Api Shopware6GetActiveChannels Get /shopware6/active-channel Returns an active channelID
Shopware6Api Shopware6ScheduleFullSync Post /shopware6/schedule-full-sync Schedules a full sync of the Shopware6 store into Tweakwise
Shopware6Api Shopware6UpdateActiveChannels Put /shopware6/active-channel Updates an active channelID
TaskApi TaskGetStatus Get /task/status/{key}/{taskkey}
TaskApi TaskStart Get /task/trigger/{key}/{taskkey} This service starts the specified task by the taskkey.
UserApi UserGetInstances Get /user/instances Returns all instances for current Tweakwise Account User

Documentation For Models

Documentation For Authorization

apiKeyDefinition
  • Type: API key
  • API key parameter name: TWN-Authentication
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: TWN-Authentication and passed in as the auth context for each request.

instanceKeyDefinition
  • Type: API key
  • API key parameter name: TWN-InstanceKey
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: TWN-InstanceKey and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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

Category object that needs to be added to the store

func (ApiCategoryAddCategoryRequest) Execute

func (r ApiCategoryAddCategoryRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

type ApiCategoryDeleteCategoryRequest

type ApiCategoryDeleteCategoryRequest struct {
	ApiService CategoryApi
	// contains filtered or unexported fields
}

func (ApiCategoryDeleteCategoryRequest) Execute

func (r ApiCategoryDeleteCategoryRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

type ApiCategoryGetAllCategoriesRequest

type ApiCategoryGetAllCategoriesRequest struct {
	ApiService CategoryApi
	// contains filtered or unexported fields
}

func (ApiCategoryGetAllCategoriesRequest) Execute

type ApiCategoryGetCategoryByKeyRequest

type ApiCategoryGetCategoryByKeyRequest struct {
	ApiService CategoryApi
	// contains filtered or unexported fields
}

func (ApiCategoryGetCategoryByKeyRequest) Execute

type ApiCategoryGetCategoryRequest

type ApiCategoryGetCategoryRequest struct {
	ApiService CategoryApi
	// contains filtered or unexported fields
}

func (ApiCategoryGetCategoryRequest) Execute

type ApiCategoryPatchCategoryRequest

type ApiCategoryPatchCategoryRequest struct {
	ApiService CategoryApi
	// contains filtered or unexported fields
}

func (ApiCategoryPatchCategoryRequest) CategoryDelta

A category object with only the values that needs to be updated.

func (ApiCategoryPatchCategoryRequest) Execute

func (r ApiCategoryPatchCategoryRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

type ApiCategoryUpdateCategoryRequest

type ApiCategoryUpdateCategoryRequest struct {
	ApiService CategoryApi
	// contains filtered or unexported fields
}

func (ApiCategoryUpdateCategoryRequest) Category

A category object with changes to update the given category

func (ApiCategoryUpdateCategoryRequest) Execute

func (r ApiCategoryUpdateCategoryRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

type ApiInstanceStatsTotalCategoriesRequest

type ApiInstanceStatsTotalCategoriesRequest struct {
	ApiService InstanceStatsApi
	// contains filtered or unexported fields
}

func (ApiInstanceStatsTotalCategoriesRequest) Execute

func (r ApiInstanceStatsTotalCategoriesRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

type ApiInstanceStatsTotalProductsRequest

type ApiInstanceStatsTotalProductsRequest struct {
	ApiService InstanceStatsApi
	// contains filtered or unexported fields
}

func (ApiInstanceStatsTotalProductsRequest) Execute

func (r ApiInstanceStatsTotalProductsRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

type ApiProductAddProductRequest

type ApiProductAddProductRequest struct {
	ApiService ProductApi
	// contains filtered or unexported fields
}

func (ApiProductAddProductRequest) Execute

func (ApiProductAddProductRequest) Product

A product to add

type ApiProductDeleteProductRequest

type ApiProductDeleteProductRequest struct {
	ApiService ProductApi
	// contains filtered or unexported fields
}

func (ApiProductDeleteProductRequest) Execute

type ApiProductGetAllProductsRequest

type ApiProductGetAllProductsRequest struct {
	ApiService ProductApi
	// contains filtered or unexported fields
}

func (ApiProductGetAllProductsRequest) Execute

type ApiProductGetProductRequest

type ApiProductGetProductRequest struct {
	ApiService ProductApi
	// contains filtered or unexported fields
}

func (ApiProductGetProductRequest) Execute

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

The product with values to patch

type ApiProductUpdateProductRequest

type ApiProductUpdateProductRequest struct {
	ApiService ProductApi
	// contains filtered or unexported fields
}

func (ApiProductUpdateProductRequest) Execute

func (ApiProductUpdateProductRequest) Product

A filled product to replace the existing product

type ApiShopware6ChannelsRequest

type ApiShopware6ChannelsRequest struct {
	ApiService Shopware6Api
	// contains filtered or unexported fields
}

func (ApiShopware6ChannelsRequest) Execute

func (ApiShopware6ChannelsRequest) ShopId

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

type ApiShopware6ConnectRequest

type ApiShopware6ConnectRequest struct {
	ApiService Shopware6Api
	// contains filtered or unexported fields
}

func (ApiShopware6ConnectRequest) Execute

func (ApiShopware6ConnectRequest) Model

type ApiShopware6GetActiveChannelsRequest

type ApiShopware6GetActiveChannelsRequest struct {
	ApiService Shopware6Api
	// contains filtered or unexported fields
}

func (ApiShopware6GetActiveChannelsRequest) Execute

func (ApiShopware6GetActiveChannelsRequest) ShopId

type ApiShopware6ScheduleFullSyncRequest

type ApiShopware6ScheduleFullSyncRequest struct {
	ApiService Shopware6Api
	// contains filtered or unexported fields
}

func (ApiShopware6ScheduleFullSyncRequest) Execute

type ApiShopware6UpdateActiveChannelsRequest

type ApiShopware6UpdateActiveChannelsRequest struct {
	ApiService Shopware6Api
	// contains filtered or unexported fields
}

func (ApiShopware6UpdateActiveChannelsRequest) Execute

func (ApiShopware6UpdateActiveChannelsRequest) Model

func (ApiShopware6UpdateActiveChannelsRequest) ShopId

type ApiTaskGetStatusRequest

type ApiTaskGetStatusRequest struct {
	ApiService TaskApi
	// contains filtered or unexported fields
}

func (ApiTaskGetStatusRequest) Execute

func (r ApiTaskGetStatusRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

type ApiTaskStartRequest

type ApiTaskStartRequest struct {
	ApiService TaskApi
	// contains filtered or unexported fields
}

func (ApiTaskStartRequest) Execute

func (r ApiTaskStartRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

type ApiUserGetInstancesRequest

type ApiUserGetInstancesRequest struct {
	ApiService UserApi
	// contains filtered or unexported fields
}

func (ApiUserGetInstancesRequest) Execute

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

func (o *Category) GetCategoryId() int64

GetCategoryId returns the CategoryId field value if set, zero value otherwise.

func (*Category) GetCategoryIdOk

func (o *Category) 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 (*Category) GetKey

func (o *Category) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*Category) GetKeyOk

func (o *Category) 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 (*Category) GetName

func (o *Category) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Category) GetNameOk

func (o *Category) 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 (*Category) GetParents

func (o *Category) GetParents() []int64

GetParents returns the Parents field value if set, zero value otherwise.

func (*Category) GetParentsOk

func (o *Category) 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 (*Category) GetRank

func (o *Category) GetRank() int64

GetRank returns the Rank field value if set, zero value otherwise.

func (*Category) GetRankOk

func (o *Category) 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 (*Category) HasCategoryId

func (o *Category) HasCategoryId() bool

HasCategoryId returns a boolean if a field has been set.

func (*Category) HasKey

func (o *Category) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*Category) HasName

func (o *Category) HasName() bool

HasName returns a boolean if a field has been set.

func (*Category) HasParents

func (o *Category) HasParents() bool

HasParents returns a boolean if a field has been set.

func (*Category) HasRank

func (o *Category) HasRank() bool

HasRank returns a boolean if a field has been set.

func (Category) MarshalJSON

func (o Category) MarshalJSON() ([]byte, error)

func (*Category) SetCategoryId

func (o *Category) SetCategoryId(v int64)

SetCategoryId gets a reference to the given int64 and assigns it to the CategoryId field.

func (*Category) SetKey

func (o *Category) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*Category) SetName

func (o *Category) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Category) SetParents

func (o *Category) SetParents(v []int64)

SetParents gets a reference to the given []int64 and assigns it to the Parents field.

func (*Category) SetRank

func (o *Category) SetRank(v int64)

SetRank gets a reference to the given int64 and assigns it to the Rank 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

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

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

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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

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

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 (NullableActiveChannelModel) IsSet

func (v NullableActiveChannelModel) IsSet() bool

func (NullableActiveChannelModel) MarshalJSON

func (v NullableActiveChannelModel) MarshalJSON() ([]byte, error)

func (*NullableActiveChannelModel) Set

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 (NullableCategoryApiModel) IsSet

func (v NullableCategoryApiModel) IsSet() bool

func (NullableCategoryApiModel) MarshalJSON

func (v NullableCategoryApiModel) MarshalJSON() ([]byte, error)

func (*NullableCategoryApiModel) Set

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 (NullableCategoryDeltaApiModel) Get

func (NullableCategoryDeltaApiModel) IsSet

func (NullableCategoryDeltaApiModel) MarshalJSON

func (v NullableCategoryDeltaApiModel) MarshalJSON() ([]byte, error)

func (*NullableCategoryDeltaApiModel) Set

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 (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 (NullableProductApiModel) IsSet

func (v NullableProductApiModel) IsSet() bool

func (NullableProductApiModel) MarshalJSON

func (v NullableProductApiModel) MarshalJSON() ([]byte, error)

func (*NullableProductApiModel) Set

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 (NullableProductAttribute) IsSet

func (v NullableProductAttribute) IsSet() bool

func (NullableProductAttribute) MarshalJSON

func (v NullableProductAttribute) MarshalJSON() ([]byte, error)

func (*NullableProductAttribute) Set

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 (NullableProductAttributeApiModel) Get

func (NullableProductAttributeApiModel) IsSet

func (NullableProductAttributeApiModel) MarshalJSON

func (v NullableProductAttributeApiModel) MarshalJSON() ([]byte, error)

func (*NullableProductAttributeApiModel) Set

func (*NullableProductAttributeApiModel) UnmarshalJSON

func (v *NullableProductAttributeApiModel) UnmarshalJSON(src []byte) error

func (*NullableProductAttributeApiModel) Unset

type NullableProductDeltaApiModel

type NullableProductDeltaApiModel struct {
	// contains filtered or unexported fields
}

func NewNullableProductDeltaApiModel

func NewNullableProductDeltaApiModel(val *ProductDeltaApiModel) *NullableProductDeltaApiModel

func (NullableProductDeltaApiModel) Get

func (NullableProductDeltaApiModel) IsSet

func (NullableProductDeltaApiModel) MarshalJSON

func (v NullableProductDeltaApiModel) MarshalJSON() ([]byte, error)

func (*NullableProductDeltaApiModel) Set

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 (NullableProductSummary) IsSet

func (v NullableProductSummary) IsSet() bool

func (NullableProductSummary) MarshalJSON

func (v NullableProductSummary) MarshalJSON() ([]byte, error)

func (*NullableProductSummary) Set

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 (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 (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 (NullableValidationError) IsSet

func (v NullableValidationError) IsSet() bool

func (NullableValidationError) MarshalJSON

func (v NullableValidationError) MarshalJSON() ([]byte, error)

func (*NullableValidationError) Set

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 (NullableValidationErrorContainer) Get

func (NullableValidationErrorContainer) IsSet

func (NullableValidationErrorContainer) MarshalJSON

func (v NullableValidationErrorContainer) MarshalJSON() ([]byte, error)

func (*NullableValidationErrorContainer) Set

func (*NullableValidationErrorContainer) UnmarshalJSON

func (v *NullableValidationErrorContainer) UnmarshalJSON(src []byte) error

func (*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

func (o *Product) GetArticleNumber() string

GetArticleNumber returns the ArticleNumber field value if set, zero value otherwise.

func (*Product) GetArticleNumberOk

func (o *Product) 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 (*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) GetBrand

func (o *Product) GetBrand() string

GetBrand returns the Brand field value if set, zero value otherwise.

func (*Product) GetBrandOk

func (o *Product) 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 (*Product) GetCategories

func (o *Product) GetCategories() []int64

GetCategories returns the Categories field value if set, zero value otherwise.

func (*Product) GetCategoriesOk

func (o *Product) 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 (*Product) GetGroupCode

func (o *Product) GetGroupCode() string

GetGroupCode returns the GroupCode field value if set, zero value otherwise.

func (*Product) GetGroupCodeOk

func (o *Product) 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 (*Product) GetImage

func (o *Product) GetImage() string

GetImage returns the Image field value if set, zero value otherwise.

func (*Product) GetImageOk

func (o *Product) 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 (*Product) GetName

func (o *Product) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Product) GetNameOk

func (o *Product) 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 (*Product) GetPrice

func (o *Product) GetPrice() float64

GetPrice returns the Price field value if set, zero value otherwise.

func (*Product) GetPriceOk

func (o *Product) 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 (*Product) GetStock

func (o *Product) GetStock() int32

GetStock returns the Stock field value if set, zero value otherwise.

func (*Product) GetStockOk

func (o *Product) 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 (*Product) GetUrl

func (o *Product) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Product) GetUrlOk

func (o *Product) 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 (*Product) HasArticleNumber

func (o *Product) HasArticleNumber() bool

HasArticleNumber returns a boolean if a field has been set.

func (*Product) HasAttributes

func (o *Product) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*Product) HasBrand

func (o *Product) HasBrand() bool

HasBrand returns a boolean if a field has been set.

func (*Product) HasCategories

func (o *Product) HasCategories() bool

HasCategories returns a boolean if a field has been set.

func (*Product) HasGroupCode

func (o *Product) HasGroupCode() bool

HasGroupCode returns a boolean if a field has been set.

func (*Product) HasImage

func (o *Product) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*Product) HasName

func (o *Product) HasName() bool

HasName returns a boolean if a field has been set.

func (*Product) HasPrice

func (o *Product) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*Product) HasStock

func (o *Product) HasStock() bool

HasStock returns a boolean if a field has been set.

func (*Product) HasUrl

func (o *Product) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (Product) MarshalJSON

func (o Product) MarshalJSON() ([]byte, error)

func (*Product) SetArticleNumber

func (o *Product) SetArticleNumber(v string)

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

func (o *Product) SetBrand(v string)

SetBrand gets a reference to the given string and assigns it to the Brand field.

func (*Product) SetCategories

func (o *Product) SetCategories(v []int64)

SetCategories gets a reference to the given []int64 and assigns it to the Categories field.

func (*Product) SetGroupCode

func (o *Product) SetGroupCode(v string)

SetGroupCode gets a reference to the given string and assigns it to the GroupCode field.

func (*Product) SetImage

func (o *Product) SetImage(v string)

SetImage gets a reference to the given string and assigns it to the Image field.

func (*Product) SetName

func (o *Product) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Product) SetPrice

func (o *Product) SetPrice(v float64)

SetPrice gets a reference to the given float64 and assigns it to the Price field.

func (*Product) SetStock

func (o *Product) SetStock(v int32)

SetStock gets a reference to the given int32 and assigns it to the Stock field.

func (*Product) SetUrl

func (o *Product) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url 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

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

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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

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

Execute executes the request

@return []SalesChannel

func (*Shopware6ApiService) Shopware6CheckConnection

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL