client

package module
v0.0.0-...-4207e4e Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2025 License: MIT Imports: 20 Imported by: 0

README

Go API client for client

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: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.12.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/net/context

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

import client "github.com/dhimasan0206/adapter/sdk/client"

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 client.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), client.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 client.ContextOperationServerIndices and client.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to http://localhost:8080

Class Method HTTP request Description
DefaultAPI Accounts Post /accounts Accounts
DefaultAPI DeliveryOrders Post /delivery-orders Delivery Orders
DefaultAPI Products Post /products Products
DefaultAPI SalesOrders Post /sales-orders Sales Orders
InventoriesAPI UpdateStockLevel Post /inventories/update Update Stock Level

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

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 (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// 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 IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

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 {
	DefaultAPI *DefaultAPIService

	InventoriesAPI *InventoriesAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Integration Adapter API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

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 AccountsRequest

type AccountsRequest struct {
	Accounts []AccountsRequestAccountsInner `json:"accounts,omitempty"`
	Action   *string                        `json:"action,omitempty"`
	Id       *string                        `json:"id,omitempty"`
	Object   *string                        `json:"object,omitempty"`
}

AccountsRequest struct for AccountsRequest

func NewAccountsRequest

func NewAccountsRequest() *AccountsRequest

NewAccountsRequest instantiates a new AccountsRequest 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 NewAccountsRequestWithDefaults

func NewAccountsRequestWithDefaults() *AccountsRequest

NewAccountsRequestWithDefaults instantiates a new AccountsRequest 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 (*AccountsRequest) GetAccounts

func (o *AccountsRequest) GetAccounts() []AccountsRequestAccountsInner

GetAccounts returns the Accounts field value if set, zero value otherwise.

func (*AccountsRequest) GetAccountsOk

func (o *AccountsRequest) GetAccountsOk() ([]AccountsRequestAccountsInner, bool)

GetAccountsOk returns a tuple with the Accounts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountsRequest) GetAction

func (o *AccountsRequest) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*AccountsRequest) GetActionOk

func (o *AccountsRequest) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountsRequest) GetId

func (o *AccountsRequest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AccountsRequest) GetIdOk

func (o *AccountsRequest) 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 (*AccountsRequest) GetObject

func (o *AccountsRequest) GetObject() string

GetObject returns the Object field value if set, zero value otherwise.

func (*AccountsRequest) GetObjectOk

func (o *AccountsRequest) GetObjectOk() (*string, bool)

GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountsRequest) HasAccounts

func (o *AccountsRequest) HasAccounts() bool

HasAccounts returns a boolean if a field has been set.

func (*AccountsRequest) HasAction

func (o *AccountsRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*AccountsRequest) HasId

func (o *AccountsRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*AccountsRequest) HasObject

func (o *AccountsRequest) HasObject() bool

HasObject returns a boolean if a field has been set.

func (AccountsRequest) MarshalJSON

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

func (*AccountsRequest) SetAccounts

func (o *AccountsRequest) SetAccounts(v []AccountsRequestAccountsInner)

SetAccounts gets a reference to the given []AccountsRequestAccountsInner and assigns it to the Accounts field.

func (*AccountsRequest) SetAction

func (o *AccountsRequest) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*AccountsRequest) SetId

func (o *AccountsRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AccountsRequest) SetObject

func (o *AccountsRequest) SetObject(v string)

SetObject gets a reference to the given string and assigns it to the Object field.

func (AccountsRequest) ToMap

func (o AccountsRequest) ToMap() (map[string]interface{}, error)

type AccountsRequestAccountsInner

type AccountsRequestAccountsInner struct {
	Data *string `json:"data,omitempty"`
}

AccountsRequestAccountsInner struct for AccountsRequestAccountsInner

func NewAccountsRequestAccountsInner

func NewAccountsRequestAccountsInner() *AccountsRequestAccountsInner

NewAccountsRequestAccountsInner instantiates a new AccountsRequestAccountsInner 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 NewAccountsRequestAccountsInnerWithDefaults

func NewAccountsRequestAccountsInnerWithDefaults() *AccountsRequestAccountsInner

NewAccountsRequestAccountsInnerWithDefaults instantiates a new AccountsRequestAccountsInner 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 (*AccountsRequestAccountsInner) GetData

func (o *AccountsRequestAccountsInner) GetData() string

GetData returns the Data field value if set, zero value otherwise.

func (*AccountsRequestAccountsInner) GetDataOk

func (o *AccountsRequestAccountsInner) GetDataOk() (*string, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountsRequestAccountsInner) HasData

func (o *AccountsRequestAccountsInner) HasData() bool

HasData returns a boolean if a field has been set.

func (AccountsRequestAccountsInner) MarshalJSON

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

func (*AccountsRequestAccountsInner) SetData

func (o *AccountsRequestAccountsInner) SetData(v string)

SetData gets a reference to the given string and assigns it to the Data field.

func (AccountsRequestAccountsInner) ToMap

func (o AccountsRequestAccountsInner) ToMap() (map[string]interface{}, error)

type ApiAccountsRequest

type ApiAccountsRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiAccountsRequest) AccountsRequest

func (r ApiAccountsRequest) AccountsRequest(accountsRequest AccountsRequest) ApiAccountsRequest

func (ApiAccountsRequest) Execute

func (r ApiAccountsRequest) Execute() (*http.Response, error)

func (ApiAccountsRequest) Signature

func (r ApiAccountsRequest) Signature(signature string) ApiAccountsRequest

Request's signature

func (ApiAccountsRequest) SignatureTime

func (r ApiAccountsRequest) SignatureTime(signatureTime string) ApiAccountsRequest

Request's signature time

type ApiDeliveryOrdersRequest

type ApiDeliveryOrdersRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiDeliveryOrdersRequest) DeliveryOrdersRequest

func (r ApiDeliveryOrdersRequest) DeliveryOrdersRequest(deliveryOrdersRequest DeliveryOrdersRequest) ApiDeliveryOrdersRequest

func (ApiDeliveryOrdersRequest) Execute

func (r ApiDeliveryOrdersRequest) Execute() (*http.Response, error)

func (ApiDeliveryOrdersRequest) Signature

type ApiProductsRequest

type ApiProductsRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiProductsRequest) Execute

func (r ApiProductsRequest) Execute() (*http.Response, error)

func (ApiProductsRequest) ProductsRequest

func (r ApiProductsRequest) ProductsRequest(productsRequest ProductsRequest) ApiProductsRequest

type ApiSalesOrdersRequest

type ApiSalesOrdersRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiSalesOrdersRequest) Execute

func (r ApiSalesOrdersRequest) Execute() (*http.Response, error)

func (ApiSalesOrdersRequest) SalesOrdersRequest

func (r ApiSalesOrdersRequest) SalesOrdersRequest(salesOrdersRequest SalesOrdersRequest) ApiSalesOrdersRequest

type ApiUpdateStockLevelRequest

type ApiUpdateStockLevelRequest struct {
	ApiService *InventoriesAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateStockLevelRequest) Execute

func (ApiUpdateStockLevelRequest) Signature

Requests Signature

func (ApiUpdateStockLevelRequest) SignatureTime

func (r ApiUpdateStockLevelRequest) SignatureTime(signatureTime string) ApiUpdateStockLevelRequest

Requests Signature Time

func (ApiUpdateStockLevelRequest) UpdateStockLevelRequest

func (r ApiUpdateStockLevelRequest) UpdateStockLevelRequest(updateStockLevelRequest UpdateStockLevelRequest) ApiUpdateStockLevelRequest

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) 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 DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) Accounts

Accounts Accounts

| Field | Description | | --- | --- | | `id` | UUID. | | `object` | string. ACCOUNT | | action | string. CONNECT, DISCONNECT, RECONNECT | | accounts | account credential object |

account object

| **Field** | **Description** | | --- | --- | | data | encrypted credential data |

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAccountsRequest

func (*DefaultAPIService) AccountsExecute

func (a *DefaultAPIService) AccountsExecute(r ApiAccountsRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) DeliveryOrders

DeliveryOrders Delivery Orders

Top level

| **Field** | **Description** | | --- | --- | | id | string. UUID. | | object | string. DELIVERY_ORDER. | | action | string. CREATE. | | delivery_orders | An array of delivery_order object. |

delivery_order object

| **Field** | **Description** | | --- | --- | | | |

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDeliveryOrdersRequest

func (*DefaultAPIService) DeliveryOrdersExecute

func (a *DefaultAPIService) DeliveryOrdersExecute(r ApiDeliveryOrdersRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) Products

Products Products

Top level

| **Field** | **Description** | | --- | --- | | id | string. UUID. | | object | string. PRODUCT. | | action | string. CREATE. | | products | An array of product object. |

`product` object

| **Field** | **Description** | | --- | --- | | | |

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiProductsRequest

func (*DefaultAPIService) ProductsExecute

func (a *DefaultAPIService) ProductsExecute(r ApiProductsRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) SalesOrders

SalesOrders Sales Orders

Top level

| **Field** | **Description** | | --- | --- | | id | string. UUID. | | object | string. PRODUCT. | | action | string. CREATE. | | sales_orders | An array of sales order object. |

sales order object

| **Field** | **Description** | | --- | --- | | | |

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSalesOrdersRequest

func (*DefaultAPIService) SalesOrdersExecute

func (a *DefaultAPIService) SalesOrdersExecute(r ApiSalesOrdersRequest) (*http.Response, error)

Execute executes the request

type DeliveryOrdersRequest

type DeliveryOrdersRequest struct {
	Action         *string                                    `json:"action,omitempty"`
	DeliveryOrders []DeliveryOrdersRequestDeliveryOrdersInner `json:"delivery_orders,omitempty"`
	Id             *string                                    `json:"id,omitempty"`
	Object         *string                                    `json:"object,omitempty"`
}

DeliveryOrdersRequest struct for DeliveryOrdersRequest

func NewDeliveryOrdersRequest

func NewDeliveryOrdersRequest() *DeliveryOrdersRequest

NewDeliveryOrdersRequest instantiates a new DeliveryOrdersRequest 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 NewDeliveryOrdersRequestWithDefaults

func NewDeliveryOrdersRequestWithDefaults() *DeliveryOrdersRequest

NewDeliveryOrdersRequestWithDefaults instantiates a new DeliveryOrdersRequest 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 (*DeliveryOrdersRequest) GetAction

func (o *DeliveryOrdersRequest) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*DeliveryOrdersRequest) GetActionOk

func (o *DeliveryOrdersRequest) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeliveryOrdersRequest) GetDeliveryOrders

GetDeliveryOrders returns the DeliveryOrders field value if set, zero value otherwise.

func (*DeliveryOrdersRequest) GetDeliveryOrdersOk

GetDeliveryOrdersOk returns a tuple with the DeliveryOrders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeliveryOrdersRequest) GetId

func (o *DeliveryOrdersRequest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*DeliveryOrdersRequest) GetIdOk

func (o *DeliveryOrdersRequest) 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 (*DeliveryOrdersRequest) GetObject

func (o *DeliveryOrdersRequest) GetObject() string

GetObject returns the Object field value if set, zero value otherwise.

func (*DeliveryOrdersRequest) GetObjectOk

func (o *DeliveryOrdersRequest) GetObjectOk() (*string, bool)

GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeliveryOrdersRequest) HasAction

func (o *DeliveryOrdersRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*DeliveryOrdersRequest) HasDeliveryOrders

func (o *DeliveryOrdersRequest) HasDeliveryOrders() bool

HasDeliveryOrders returns a boolean if a field has been set.

func (*DeliveryOrdersRequest) HasId

func (o *DeliveryOrdersRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*DeliveryOrdersRequest) HasObject

func (o *DeliveryOrdersRequest) HasObject() bool

HasObject returns a boolean if a field has been set.

func (DeliveryOrdersRequest) MarshalJSON

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

func (*DeliveryOrdersRequest) SetAction

func (o *DeliveryOrdersRequest) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*DeliveryOrdersRequest) SetDeliveryOrders

SetDeliveryOrders gets a reference to the given []DeliveryOrdersRequestDeliveryOrdersInner and assigns it to the DeliveryOrders field.

func (*DeliveryOrdersRequest) SetId

func (o *DeliveryOrdersRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*DeliveryOrdersRequest) SetObject

func (o *DeliveryOrdersRequest) SetObject(v string)

SetObject gets a reference to the given string and assigns it to the Object field.

func (DeliveryOrdersRequest) ToMap

func (o DeliveryOrdersRequest) ToMap() (map[string]interface{}, error)

type DeliveryOrdersRequestDeliveryOrdersInner

type DeliveryOrdersRequestDeliveryOrdersInner struct {
	ChannelId           *string  `json:"channel_id,omitempty"`
	ChannelSalesOrderId *string  `json:"channel_sales_order_id,omitempty"`
	Date                *float32 `json:"date,omitempty"`
	Id                  *string  `json:"id,omitempty"`
	SalesOrderId        *string  `json:"sales_order_id,omitempty"`
}

DeliveryOrdersRequestDeliveryOrdersInner struct for DeliveryOrdersRequestDeliveryOrdersInner

func NewDeliveryOrdersRequestDeliveryOrdersInner

func NewDeliveryOrdersRequestDeliveryOrdersInner() *DeliveryOrdersRequestDeliveryOrdersInner

NewDeliveryOrdersRequestDeliveryOrdersInner instantiates a new DeliveryOrdersRequestDeliveryOrdersInner 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 NewDeliveryOrdersRequestDeliveryOrdersInnerWithDefaults

func NewDeliveryOrdersRequestDeliveryOrdersInnerWithDefaults() *DeliveryOrdersRequestDeliveryOrdersInner

NewDeliveryOrdersRequestDeliveryOrdersInnerWithDefaults instantiates a new DeliveryOrdersRequestDeliveryOrdersInner 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 (*DeliveryOrdersRequestDeliveryOrdersInner) GetChannelId

GetChannelId returns the ChannelId field value if set, zero value otherwise.

func (*DeliveryOrdersRequestDeliveryOrdersInner) GetChannelIdOk

func (o *DeliveryOrdersRequestDeliveryOrdersInner) GetChannelIdOk() (*string, bool)

GetChannelIdOk returns a tuple with the ChannelId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeliveryOrdersRequestDeliveryOrdersInner) GetChannelSalesOrderId

func (o *DeliveryOrdersRequestDeliveryOrdersInner) GetChannelSalesOrderId() string

GetChannelSalesOrderId returns the ChannelSalesOrderId field value if set, zero value otherwise.

func (*DeliveryOrdersRequestDeliveryOrdersInner) GetChannelSalesOrderIdOk

func (o *DeliveryOrdersRequestDeliveryOrdersInner) GetChannelSalesOrderIdOk() (*string, bool)

GetChannelSalesOrderIdOk returns a tuple with the ChannelSalesOrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeliveryOrdersRequestDeliveryOrdersInner) GetDate

GetDate returns the Date field value if set, zero value otherwise.

func (*DeliveryOrdersRequestDeliveryOrdersInner) GetDateOk

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeliveryOrdersRequestDeliveryOrdersInner) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*DeliveryOrdersRequestDeliveryOrdersInner) GetIdOk

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 (*DeliveryOrdersRequestDeliveryOrdersInner) GetSalesOrderId

func (o *DeliveryOrdersRequestDeliveryOrdersInner) GetSalesOrderId() string

GetSalesOrderId returns the SalesOrderId field value if set, zero value otherwise.

func (*DeliveryOrdersRequestDeliveryOrdersInner) GetSalesOrderIdOk

func (o *DeliveryOrdersRequestDeliveryOrdersInner) GetSalesOrderIdOk() (*string, bool)

GetSalesOrderIdOk returns a tuple with the SalesOrderId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeliveryOrdersRequestDeliveryOrdersInner) HasChannelId

HasChannelId returns a boolean if a field has been set.

func (*DeliveryOrdersRequestDeliveryOrdersInner) HasChannelSalesOrderId

func (o *DeliveryOrdersRequestDeliveryOrdersInner) HasChannelSalesOrderId() bool

HasChannelSalesOrderId returns a boolean if a field has been set.

func (*DeliveryOrdersRequestDeliveryOrdersInner) HasDate

HasDate returns a boolean if a field has been set.

func (*DeliveryOrdersRequestDeliveryOrdersInner) HasId

HasId returns a boolean if a field has been set.

func (*DeliveryOrdersRequestDeliveryOrdersInner) HasSalesOrderId

func (o *DeliveryOrdersRequestDeliveryOrdersInner) HasSalesOrderId() bool

HasSalesOrderId returns a boolean if a field has been set.

func (DeliveryOrdersRequestDeliveryOrdersInner) MarshalJSON

func (*DeliveryOrdersRequestDeliveryOrdersInner) SetChannelId

SetChannelId gets a reference to the given string and assigns it to the ChannelId field.

func (*DeliveryOrdersRequestDeliveryOrdersInner) SetChannelSalesOrderId

func (o *DeliveryOrdersRequestDeliveryOrdersInner) SetChannelSalesOrderId(v string)

SetChannelSalesOrderId gets a reference to the given string and assigns it to the ChannelSalesOrderId field.

func (*DeliveryOrdersRequestDeliveryOrdersInner) SetDate

SetDate gets a reference to the given float32 and assigns it to the Date field.

func (*DeliveryOrdersRequestDeliveryOrdersInner) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*DeliveryOrdersRequestDeliveryOrdersInner) SetSalesOrderId

func (o *DeliveryOrdersRequestDeliveryOrdersInner) SetSalesOrderId(v string)

SetSalesOrderId gets a reference to the given string and assigns it to the SalesOrderId field.

func (DeliveryOrdersRequestDeliveryOrdersInner) ToMap

func (o DeliveryOrdersRequestDeliveryOrdersInner) ToMap() (map[string]interface{}, error)

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 InventoriesAPIService

type InventoriesAPIService service

InventoriesAPIService InventoriesAPI service

func (*InventoriesAPIService) UpdateStockLevel

UpdateStockLevel Update Stock Level

Top level

| **Field** | **Description** | | --- | --- | | `id` | REQUIRED. string, UUID. | | `object` | `INVENTORY` | | `action` | `UPDATE` | | `metadata` | `metadata` object. | | `inventories` | An array of `inventory` object |

`metadata` Object

| **Field** | **Description** | | --- | --- | | `store_code` | string. | | merchant_code | string. |

`inventories`

| **Field** | **Description** | | --- | --- | | `product_id` | string. Company product id. | | `variant_id` | string. Company product's variant id. | | `sku` | string. Company product's variant sku. | | `channel_product_id` | string. Channel product id. | | `channel_variant_id` | string. Channel product's variant id. | | `channel_sku` | string. Channel product's variant sku. | | `location_code` | string. Company location code. | | `channel_location_code` | string. Channel location code. | | `exact_stock` | integer. exact stock. replace currently available stock value. | | `delta_stock` | integer. delta stock. positive add currently available stock, negative reduce currently available stock. |

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdateStockLevelRequest

func (*InventoriesAPIService) UpdateStockLevelExecute

Execute executes the request

@return UpdateStockLevel200Response

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableAccountsRequest

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

func NewNullableAccountsRequest

func NewNullableAccountsRequest(val *AccountsRequest) *NullableAccountsRequest

func (NullableAccountsRequest) Get

func (NullableAccountsRequest) IsSet

func (v NullableAccountsRequest) IsSet() bool

func (NullableAccountsRequest) MarshalJSON

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

func (*NullableAccountsRequest) Set

func (*NullableAccountsRequest) UnmarshalJSON

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

func (*NullableAccountsRequest) Unset

func (v *NullableAccountsRequest) Unset()

type NullableAccountsRequestAccountsInner

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

func (NullableAccountsRequestAccountsInner) Get

func (NullableAccountsRequestAccountsInner) IsSet

func (NullableAccountsRequestAccountsInner) MarshalJSON

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

func (*NullableAccountsRequestAccountsInner) Set

func (*NullableAccountsRequestAccountsInner) UnmarshalJSON

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

func (*NullableAccountsRequestAccountsInner) 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 NullableDeliveryOrdersRequest

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

func (NullableDeliveryOrdersRequest) Get

func (NullableDeliveryOrdersRequest) IsSet

func (NullableDeliveryOrdersRequest) MarshalJSON

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

func (*NullableDeliveryOrdersRequest) Set

func (*NullableDeliveryOrdersRequest) UnmarshalJSON

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

func (*NullableDeliveryOrdersRequest) Unset

func (v *NullableDeliveryOrdersRequest) Unset()

type NullableDeliveryOrdersRequestDeliveryOrdersInner

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

func (NullableDeliveryOrdersRequestDeliveryOrdersInner) Get

func (NullableDeliveryOrdersRequestDeliveryOrdersInner) IsSet

func (NullableDeliveryOrdersRequestDeliveryOrdersInner) MarshalJSON

func (*NullableDeliveryOrdersRequestDeliveryOrdersInner) Set

func (*NullableDeliveryOrdersRequestDeliveryOrdersInner) UnmarshalJSON

func (*NullableDeliveryOrdersRequestDeliveryOrdersInner) 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 NullableProductsRequest

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

func NewNullableProductsRequest

func NewNullableProductsRequest(val *ProductsRequest) *NullableProductsRequest

func (NullableProductsRequest) Get

func (NullableProductsRequest) IsSet

func (v NullableProductsRequest) IsSet() bool

func (NullableProductsRequest) MarshalJSON

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

func (*NullableProductsRequest) Set

func (*NullableProductsRequest) UnmarshalJSON

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

func (*NullableProductsRequest) Unset

func (v *NullableProductsRequest) Unset()

type NullableProductsRequestProductsInner

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

func (NullableProductsRequestProductsInner) Get

func (NullableProductsRequestProductsInner) IsSet

func (NullableProductsRequestProductsInner) MarshalJSON

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

func (*NullableProductsRequestProductsInner) Set

func (*NullableProductsRequestProductsInner) UnmarshalJSON

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

func (*NullableProductsRequestProductsInner) Unset

type NullableSalesOrdersRequest

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

func NewNullableSalesOrdersRequest

func NewNullableSalesOrdersRequest(val *SalesOrdersRequest) *NullableSalesOrdersRequest

func (NullableSalesOrdersRequest) Get

func (NullableSalesOrdersRequest) IsSet

func (v NullableSalesOrdersRequest) IsSet() bool

func (NullableSalesOrdersRequest) MarshalJSON

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

func (*NullableSalesOrdersRequest) Set

func (*NullableSalesOrdersRequest) UnmarshalJSON

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

func (*NullableSalesOrdersRequest) Unset

func (v *NullableSalesOrdersRequest) Unset()

type NullableSalesOrdersRequestSalesOrdersInner

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

func (NullableSalesOrdersRequestSalesOrdersInner) Get

func (NullableSalesOrdersRequestSalesOrdersInner) IsSet

func (NullableSalesOrdersRequestSalesOrdersInner) MarshalJSON

func (*NullableSalesOrdersRequestSalesOrdersInner) Set

func (*NullableSalesOrdersRequestSalesOrdersInner) UnmarshalJSON

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

func (*NullableSalesOrdersRequestSalesOrdersInner) 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 NullableUpdateStockLevel200Response

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

func (NullableUpdateStockLevel200Response) Get

func (NullableUpdateStockLevel200Response) IsSet

func (NullableUpdateStockLevel200Response) MarshalJSON

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

func (*NullableUpdateStockLevel200Response) Set

func (*NullableUpdateStockLevel200Response) UnmarshalJSON

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

func (*NullableUpdateStockLevel200Response) Unset

type NullableUpdateStockLevel200ResponseError

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

func (NullableUpdateStockLevel200ResponseError) Get

func (NullableUpdateStockLevel200ResponseError) IsSet

func (NullableUpdateStockLevel200ResponseError) MarshalJSON

func (*NullableUpdateStockLevel200ResponseError) Set

func (*NullableUpdateStockLevel200ResponseError) UnmarshalJSON

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

func (*NullableUpdateStockLevel200ResponseError) Unset

type NullableUpdateStockLevel200ResponseResultsInner

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

func (NullableUpdateStockLevel200ResponseResultsInner) Get

func (NullableUpdateStockLevel200ResponseResultsInner) IsSet

func (NullableUpdateStockLevel200ResponseResultsInner) MarshalJSON

func (*NullableUpdateStockLevel200ResponseResultsInner) Set

func (*NullableUpdateStockLevel200ResponseResultsInner) UnmarshalJSON

func (*NullableUpdateStockLevel200ResponseResultsInner) Unset

type NullableUpdateStockLevel400Response

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

func (NullableUpdateStockLevel400Response) Get

func (NullableUpdateStockLevel400Response) IsSet

func (NullableUpdateStockLevel400Response) MarshalJSON

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

func (*NullableUpdateStockLevel400Response) Set

func (*NullableUpdateStockLevel400Response) UnmarshalJSON

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

func (*NullableUpdateStockLevel400Response) Unset

type NullableUpdateStockLevel400ResponseError

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

func (NullableUpdateStockLevel400ResponseError) Get

func (NullableUpdateStockLevel400ResponseError) IsSet

func (NullableUpdateStockLevel400ResponseError) MarshalJSON

func (*NullableUpdateStockLevel400ResponseError) Set

func (*NullableUpdateStockLevel400ResponseError) UnmarshalJSON

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

func (*NullableUpdateStockLevel400ResponseError) Unset

type NullableUpdateStockLevel429Response

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

func (NullableUpdateStockLevel429Response) Get

func (NullableUpdateStockLevel429Response) IsSet

func (NullableUpdateStockLevel429Response) MarshalJSON

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

func (*NullableUpdateStockLevel429Response) Set

func (*NullableUpdateStockLevel429Response) UnmarshalJSON

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

func (*NullableUpdateStockLevel429Response) Unset

type NullableUpdateStockLevel429ResponseError

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

func (NullableUpdateStockLevel429ResponseError) Get

func (NullableUpdateStockLevel429ResponseError) IsSet

func (NullableUpdateStockLevel429ResponseError) MarshalJSON

func (*NullableUpdateStockLevel429ResponseError) Set

func (*NullableUpdateStockLevel429ResponseError) UnmarshalJSON

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

func (*NullableUpdateStockLevel429ResponseError) Unset

type NullableUpdateStockLevel500Response

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

func (NullableUpdateStockLevel500Response) Get

func (NullableUpdateStockLevel500Response) IsSet

func (NullableUpdateStockLevel500Response) MarshalJSON

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

func (*NullableUpdateStockLevel500Response) Set

func (*NullableUpdateStockLevel500Response) UnmarshalJSON

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

func (*NullableUpdateStockLevel500Response) Unset

type NullableUpdateStockLevel500ResponseError

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

func (NullableUpdateStockLevel500ResponseError) Get

func (NullableUpdateStockLevel500ResponseError) IsSet

func (NullableUpdateStockLevel500ResponseError) MarshalJSON

func (*NullableUpdateStockLevel500ResponseError) Set

func (*NullableUpdateStockLevel500ResponseError) UnmarshalJSON

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

func (*NullableUpdateStockLevel500ResponseError) Unset

type NullableUpdateStockLevelRequest

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

func (NullableUpdateStockLevelRequest) Get

func (NullableUpdateStockLevelRequest) IsSet

func (NullableUpdateStockLevelRequest) MarshalJSON

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

func (*NullableUpdateStockLevelRequest) Set

func (*NullableUpdateStockLevelRequest) UnmarshalJSON

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

func (*NullableUpdateStockLevelRequest) Unset

type NullableUpdateStockLevelRequestRequestsInner

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

func (NullableUpdateStockLevelRequestRequestsInner) Get

func (NullableUpdateStockLevelRequestRequestsInner) IsSet

func (NullableUpdateStockLevelRequestRequestsInner) MarshalJSON

func (*NullableUpdateStockLevelRequestRequestsInner) Set

func (*NullableUpdateStockLevelRequestRequestsInner) UnmarshalJSON

func (*NullableUpdateStockLevelRequestRequestsInner) Unset

type NullableUpdateStockLevelRequestStore

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

func (NullableUpdateStockLevelRequestStore) Get

func (NullableUpdateStockLevelRequestStore) IsSet

func (NullableUpdateStockLevelRequestStore) MarshalJSON

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

func (*NullableUpdateStockLevelRequestStore) Set

func (*NullableUpdateStockLevelRequestStore) UnmarshalJSON

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

func (*NullableUpdateStockLevelRequestStore) Unset

type ProductsRequest

type ProductsRequest struct {
	Action   *string                        `json:"action,omitempty"`
	Id       *string                        `json:"id,omitempty"`
	Object   *string                        `json:"object,omitempty"`
	Products []ProductsRequestProductsInner `json:"products,omitempty"`
}

ProductsRequest struct for ProductsRequest

func NewProductsRequest

func NewProductsRequest() *ProductsRequest

NewProductsRequest instantiates a new ProductsRequest 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 NewProductsRequestWithDefaults

func NewProductsRequestWithDefaults() *ProductsRequest

NewProductsRequestWithDefaults instantiates a new ProductsRequest 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 (*ProductsRequest) GetAction

func (o *ProductsRequest) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*ProductsRequest) GetActionOk

func (o *ProductsRequest) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProductsRequest) GetId

func (o *ProductsRequest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ProductsRequest) GetIdOk

func (o *ProductsRequest) 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 (*ProductsRequest) GetObject

func (o *ProductsRequest) GetObject() string

GetObject returns the Object field value if set, zero value otherwise.

func (*ProductsRequest) GetObjectOk

func (o *ProductsRequest) GetObjectOk() (*string, bool)

GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProductsRequest) GetProducts

func (o *ProductsRequest) GetProducts() []ProductsRequestProductsInner

GetProducts returns the Products field value if set, zero value otherwise.

func (*ProductsRequest) GetProductsOk

func (o *ProductsRequest) GetProductsOk() ([]ProductsRequestProductsInner, bool)

GetProductsOk returns a tuple with the Products field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProductsRequest) HasAction

func (o *ProductsRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*ProductsRequest) HasId

func (o *ProductsRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*ProductsRequest) HasObject

func (o *ProductsRequest) HasObject() bool

HasObject returns a boolean if a field has been set.

func (*ProductsRequest) HasProducts

func (o *ProductsRequest) HasProducts() bool

HasProducts returns a boolean if a field has been set.

func (ProductsRequest) MarshalJSON

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

func (*ProductsRequest) SetAction

func (o *ProductsRequest) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*ProductsRequest) SetId

func (o *ProductsRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ProductsRequest) SetObject

func (o *ProductsRequest) SetObject(v string)

SetObject gets a reference to the given string and assigns it to the Object field.

func (*ProductsRequest) SetProducts

func (o *ProductsRequest) SetProducts(v []ProductsRequestProductsInner)

SetProducts gets a reference to the given []ProductsRequestProductsInner and assigns it to the Products field.

func (ProductsRequest) ToMap

func (o ProductsRequest) ToMap() (map[string]interface{}, error)

type ProductsRequestProductsInner

type ProductsRequestProductsInner struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

ProductsRequestProductsInner struct for ProductsRequestProductsInner

func NewProductsRequestProductsInner

func NewProductsRequestProductsInner() *ProductsRequestProductsInner

NewProductsRequestProductsInner instantiates a new ProductsRequestProductsInner 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 NewProductsRequestProductsInnerWithDefaults

func NewProductsRequestProductsInnerWithDefaults() *ProductsRequestProductsInner

NewProductsRequestProductsInnerWithDefaults instantiates a new ProductsRequestProductsInner 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 (*ProductsRequestProductsInner) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*ProductsRequestProductsInner) GetIdOk

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

func (o *ProductsRequestProductsInner) GetName() string

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

func (*ProductsRequestProductsInner) GetNameOk

func (o *ProductsRequestProductsInner) 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 (*ProductsRequestProductsInner) HasId

HasId returns a boolean if a field has been set.

func (*ProductsRequestProductsInner) HasName

func (o *ProductsRequestProductsInner) HasName() bool

HasName returns a boolean if a field has been set.

func (ProductsRequestProductsInner) MarshalJSON

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

func (*ProductsRequestProductsInner) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*ProductsRequestProductsInner) SetName

func (o *ProductsRequestProductsInner) SetName(v string)

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

func (ProductsRequestProductsInner) ToMap

func (o ProductsRequestProductsInner) ToMap() (map[string]interface{}, error)

type SalesOrdersRequest

type SalesOrdersRequest struct {
	Action      *string                              `json:"action,omitempty"`
	Id          *string                              `json:"id,omitempty"`
	Object      *string                              `json:"object,omitempty"`
	SalesOrders []SalesOrdersRequestSalesOrdersInner `json:"sales_orders,omitempty"`
}

SalesOrdersRequest struct for SalesOrdersRequest

func NewSalesOrdersRequest

func NewSalesOrdersRequest() *SalesOrdersRequest

NewSalesOrdersRequest instantiates a new SalesOrdersRequest 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 NewSalesOrdersRequestWithDefaults

func NewSalesOrdersRequestWithDefaults() *SalesOrdersRequest

NewSalesOrdersRequestWithDefaults instantiates a new SalesOrdersRequest 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 (*SalesOrdersRequest) GetAction

func (o *SalesOrdersRequest) GetAction() string

GetAction returns the Action field value if set, zero value otherwise.

func (*SalesOrdersRequest) GetActionOk

func (o *SalesOrdersRequest) GetActionOk() (*string, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SalesOrdersRequest) GetId

func (o *SalesOrdersRequest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SalesOrdersRequest) GetIdOk

func (o *SalesOrdersRequest) 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 (*SalesOrdersRequest) GetObject

func (o *SalesOrdersRequest) GetObject() string

GetObject returns the Object field value if set, zero value otherwise.

func (*SalesOrdersRequest) GetObjectOk

func (o *SalesOrdersRequest) GetObjectOk() (*string, bool)

GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SalesOrdersRequest) GetSalesOrders

GetSalesOrders returns the SalesOrders field value if set, zero value otherwise.

func (*SalesOrdersRequest) GetSalesOrdersOk

func (o *SalesOrdersRequest) GetSalesOrdersOk() ([]SalesOrdersRequestSalesOrdersInner, bool)

GetSalesOrdersOk returns a tuple with the SalesOrders field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SalesOrdersRequest) HasAction

func (o *SalesOrdersRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*SalesOrdersRequest) HasId

func (o *SalesOrdersRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*SalesOrdersRequest) HasObject

func (o *SalesOrdersRequest) HasObject() bool

HasObject returns a boolean if a field has been set.

func (*SalesOrdersRequest) HasSalesOrders

func (o *SalesOrdersRequest) HasSalesOrders() bool

HasSalesOrders returns a boolean if a field has been set.

func (SalesOrdersRequest) MarshalJSON

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

func (*SalesOrdersRequest) SetAction

func (o *SalesOrdersRequest) SetAction(v string)

SetAction gets a reference to the given string and assigns it to the Action field.

func (*SalesOrdersRequest) SetId

func (o *SalesOrdersRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SalesOrdersRequest) SetObject

func (o *SalesOrdersRequest) SetObject(v string)

SetObject gets a reference to the given string and assigns it to the Object field.

func (*SalesOrdersRequest) SetSalesOrders

SetSalesOrders gets a reference to the given []SalesOrdersRequestSalesOrdersInner and assigns it to the SalesOrders field.

func (SalesOrdersRequest) ToMap

func (o SalesOrdersRequest) ToMap() (map[string]interface{}, error)

type SalesOrdersRequestSalesOrdersInner

type SalesOrdersRequestSalesOrdersInner struct {
	ChannelId *string  `json:"channel_id,omitempty"`
	Date      *float32 `json:"date,omitempty"`
	Id        *string  `json:"id,omitempty"`
}

SalesOrdersRequestSalesOrdersInner struct for SalesOrdersRequestSalesOrdersInner

func NewSalesOrdersRequestSalesOrdersInner

func NewSalesOrdersRequestSalesOrdersInner() *SalesOrdersRequestSalesOrdersInner

NewSalesOrdersRequestSalesOrdersInner instantiates a new SalesOrdersRequestSalesOrdersInner 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 NewSalesOrdersRequestSalesOrdersInnerWithDefaults

func NewSalesOrdersRequestSalesOrdersInnerWithDefaults() *SalesOrdersRequestSalesOrdersInner

NewSalesOrdersRequestSalesOrdersInnerWithDefaults instantiates a new SalesOrdersRequestSalesOrdersInner 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 (*SalesOrdersRequestSalesOrdersInner) GetChannelId

func (o *SalesOrdersRequestSalesOrdersInner) GetChannelId() string

GetChannelId returns the ChannelId field value if set, zero value otherwise.

func (*SalesOrdersRequestSalesOrdersInner) GetChannelIdOk

func (o *SalesOrdersRequestSalesOrdersInner) GetChannelIdOk() (*string, bool)

GetChannelIdOk returns a tuple with the ChannelId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SalesOrdersRequestSalesOrdersInner) GetDate

GetDate returns the Date field value if set, zero value otherwise.

func (*SalesOrdersRequestSalesOrdersInner) GetDateOk

func (o *SalesOrdersRequestSalesOrdersInner) GetDateOk() (*float32, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SalesOrdersRequestSalesOrdersInner) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*SalesOrdersRequestSalesOrdersInner) GetIdOk

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 (*SalesOrdersRequestSalesOrdersInner) HasChannelId

func (o *SalesOrdersRequestSalesOrdersInner) HasChannelId() bool

HasChannelId returns a boolean if a field has been set.

func (*SalesOrdersRequestSalesOrdersInner) HasDate

HasDate returns a boolean if a field has been set.

func (*SalesOrdersRequestSalesOrdersInner) HasId

HasId returns a boolean if a field has been set.

func (SalesOrdersRequestSalesOrdersInner) MarshalJSON

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

func (*SalesOrdersRequestSalesOrdersInner) SetChannelId

func (o *SalesOrdersRequestSalesOrdersInner) SetChannelId(v string)

SetChannelId gets a reference to the given string and assigns it to the ChannelId field.

func (*SalesOrdersRequestSalesOrdersInner) SetDate

SetDate gets a reference to the given float32 and assigns it to the Date field.

func (*SalesOrdersRequestSalesOrdersInner) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (SalesOrdersRequestSalesOrdersInner) ToMap

func (o SalesOrdersRequestSalesOrdersInner) ToMap() (map[string]interface{}, error)

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 UpdateStockLevel200Response

type UpdateStockLevel200Response struct {
	Error     *UpdateStockLevel200ResponseError         `json:"error,omitempty"`
	Id        *string                                   `json:"id,omitempty"`
	Message   *string                                   `json:"message,omitempty"`
	Results   []UpdateStockLevel200ResponseResultsInner `json:"results,omitempty"`
	Status    *string                                   `json:"status,omitempty"`
	Store     *UpdateStockLevelRequestStore             `json:"store,omitempty"`
	Success   *bool                                     `json:"success,omitempty"`
	Timestamp *float32                                  `json:"timestamp,omitempty"`
}

UpdateStockLevel200Response struct for UpdateStockLevel200Response

func NewUpdateStockLevel200Response

func NewUpdateStockLevel200Response() *UpdateStockLevel200Response

NewUpdateStockLevel200Response instantiates a new UpdateStockLevel200Response 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 NewUpdateStockLevel200ResponseWithDefaults

func NewUpdateStockLevel200ResponseWithDefaults() *UpdateStockLevel200Response

NewUpdateStockLevel200ResponseWithDefaults instantiates a new UpdateStockLevel200Response 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 (*UpdateStockLevel200Response) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*UpdateStockLevel200Response) GetErrorOk

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 (*UpdateStockLevel200Response) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*UpdateStockLevel200Response) GetIdOk

func (o *UpdateStockLevel200Response) 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 (*UpdateStockLevel200Response) GetMessage

func (o *UpdateStockLevel200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*UpdateStockLevel200Response) GetMessageOk

func (o *UpdateStockLevel200Response) 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 (*UpdateStockLevel200Response) GetResults

GetResults returns the Results field value if set, zero value otherwise.

func (*UpdateStockLevel200Response) GetResultsOk

GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200Response) GetStatus

func (o *UpdateStockLevel200Response) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*UpdateStockLevel200Response) GetStatusOk

func (o *UpdateStockLevel200Response) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200Response) GetStore

GetStore returns the Store field value if set, zero value otherwise.

func (*UpdateStockLevel200Response) GetStoreOk

GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200Response) GetSuccess

func (o *UpdateStockLevel200Response) GetSuccess() bool

GetSuccess returns the Success field value if set, zero value otherwise.

func (*UpdateStockLevel200Response) GetSuccessOk

func (o *UpdateStockLevel200Response) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200Response) GetTimestamp

func (o *UpdateStockLevel200Response) GetTimestamp() float32

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*UpdateStockLevel200Response) GetTimestampOk

func (o *UpdateStockLevel200Response) GetTimestampOk() (*float32, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200Response) HasError

func (o *UpdateStockLevel200Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*UpdateStockLevel200Response) HasId

func (o *UpdateStockLevel200Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*UpdateStockLevel200Response) HasMessage

func (o *UpdateStockLevel200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*UpdateStockLevel200Response) HasResults

func (o *UpdateStockLevel200Response) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*UpdateStockLevel200Response) HasStatus

func (o *UpdateStockLevel200Response) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UpdateStockLevel200Response) HasStore

func (o *UpdateStockLevel200Response) HasStore() bool

HasStore returns a boolean if a field has been set.

func (*UpdateStockLevel200Response) HasSuccess

func (o *UpdateStockLevel200Response) HasSuccess() bool

HasSuccess returns a boolean if a field has been set.

func (*UpdateStockLevel200Response) HasTimestamp

func (o *UpdateStockLevel200Response) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (UpdateStockLevel200Response) MarshalJSON

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

func (*UpdateStockLevel200Response) SetError

SetError gets a reference to the given UpdateStockLevel200ResponseError and assigns it to the Error field.

func (*UpdateStockLevel200Response) SetId

func (o *UpdateStockLevel200Response) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UpdateStockLevel200Response) SetMessage

func (o *UpdateStockLevel200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*UpdateStockLevel200Response) SetResults

SetResults gets a reference to the given []UpdateStockLevel200ResponseResultsInner and assigns it to the Results field.

func (*UpdateStockLevel200Response) SetStatus

func (o *UpdateStockLevel200Response) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*UpdateStockLevel200Response) SetStore

SetStore gets a reference to the given UpdateStockLevelRequestStore and assigns it to the Store field.

func (*UpdateStockLevel200Response) SetSuccess

func (o *UpdateStockLevel200Response) SetSuccess(v bool)

SetSuccess gets a reference to the given bool and assigns it to the Success field.

func (*UpdateStockLevel200Response) SetTimestamp

func (o *UpdateStockLevel200Response) SetTimestamp(v float32)

SetTimestamp gets a reference to the given float32 and assigns it to the Timestamp field.

func (UpdateStockLevel200Response) ToMap

func (o UpdateStockLevel200Response) ToMap() (map[string]interface{}, error)

type UpdateStockLevel200ResponseError

type UpdateStockLevel200ResponseError struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

UpdateStockLevel200ResponseError struct for UpdateStockLevel200ResponseError

func NewUpdateStockLevel200ResponseError

func NewUpdateStockLevel200ResponseError() *UpdateStockLevel200ResponseError

NewUpdateStockLevel200ResponseError instantiates a new UpdateStockLevel200ResponseError 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 NewUpdateStockLevel200ResponseErrorWithDefaults

func NewUpdateStockLevel200ResponseErrorWithDefaults() *UpdateStockLevel200ResponseError

NewUpdateStockLevel200ResponseErrorWithDefaults instantiates a new UpdateStockLevel200ResponseError 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 (*UpdateStockLevel200ResponseError) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseError) GetCodeOk

func (o *UpdateStockLevel200ResponseError) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseError) GetMessage

func (o *UpdateStockLevel200ResponseError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseError) GetMessageOk

func (o *UpdateStockLevel200ResponseError) 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 (*UpdateStockLevel200ResponseError) HasCode

HasCode returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseError) HasMessage

func (o *UpdateStockLevel200ResponseError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (UpdateStockLevel200ResponseError) MarshalJSON

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

func (*UpdateStockLevel200ResponseError) SetCode

SetCode gets a reference to the given string and assigns it to the Code field.

func (*UpdateStockLevel200ResponseError) SetMessage

func (o *UpdateStockLevel200ResponseError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (UpdateStockLevel200ResponseError) ToMap

func (o UpdateStockLevel200ResponseError) ToMap() (map[string]interface{}, error)

type UpdateStockLevel200ResponseResultsInner

type UpdateStockLevel200ResponseResultsInner struct {
	ChannelLocationCode      *string  `json:"channel_location_code,omitempty"`
	ChannelLocationId        *string  `json:"channel_location_id,omitempty"`
	ChannelProductId         *string  `json:"channel_product_id,omitempty"`
	ChannelProductVariantId  *string  `json:"channel_product_variant_id,omitempty"`
	ChannelProductVariantSku *string  `json:"channel_product_variant_sku,omitempty"`
	LocationCode             *string  `json:"location_code,omitempty"`
	LocationId               *string  `json:"location_id,omitempty"`
	Message                  *string  `json:"message,omitempty"`
	ProductId                *string  `json:"product_id,omitempty"`
	ProductVariantId         *string  `json:"product_variant_id,omitempty"`
	ProductVariantSku        *string  `json:"product_variant_sku,omitempty"`
	Status                   *string  `json:"status,omitempty"`
	Success                  *bool    `json:"success,omitempty"`
	Timestamp                *float32 `json:"timestamp,omitempty"`
}

UpdateStockLevel200ResponseResultsInner struct for UpdateStockLevel200ResponseResultsInner

func NewUpdateStockLevel200ResponseResultsInner

func NewUpdateStockLevel200ResponseResultsInner() *UpdateStockLevel200ResponseResultsInner

NewUpdateStockLevel200ResponseResultsInner instantiates a new UpdateStockLevel200ResponseResultsInner 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 NewUpdateStockLevel200ResponseResultsInnerWithDefaults

func NewUpdateStockLevel200ResponseResultsInnerWithDefaults() *UpdateStockLevel200ResponseResultsInner

NewUpdateStockLevel200ResponseResultsInnerWithDefaults instantiates a new UpdateStockLevel200ResponseResultsInner 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 (*UpdateStockLevel200ResponseResultsInner) GetChannelLocationCode

func (o *UpdateStockLevel200ResponseResultsInner) GetChannelLocationCode() string

GetChannelLocationCode returns the ChannelLocationCode field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetChannelLocationCodeOk

func (o *UpdateStockLevel200ResponseResultsInner) GetChannelLocationCodeOk() (*string, bool)

GetChannelLocationCodeOk returns a tuple with the ChannelLocationCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetChannelLocationId

func (o *UpdateStockLevel200ResponseResultsInner) GetChannelLocationId() string

GetChannelLocationId returns the ChannelLocationId field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetChannelLocationIdOk

func (o *UpdateStockLevel200ResponseResultsInner) GetChannelLocationIdOk() (*string, bool)

GetChannelLocationIdOk returns a tuple with the ChannelLocationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetChannelProductId

func (o *UpdateStockLevel200ResponseResultsInner) GetChannelProductId() string

GetChannelProductId returns the ChannelProductId field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetChannelProductIdOk

func (o *UpdateStockLevel200ResponseResultsInner) GetChannelProductIdOk() (*string, bool)

GetChannelProductIdOk returns a tuple with the ChannelProductId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetChannelProductVariantId

func (o *UpdateStockLevel200ResponseResultsInner) GetChannelProductVariantId() string

GetChannelProductVariantId returns the ChannelProductVariantId field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetChannelProductVariantIdOk

func (o *UpdateStockLevel200ResponseResultsInner) GetChannelProductVariantIdOk() (*string, bool)

GetChannelProductVariantIdOk returns a tuple with the ChannelProductVariantId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetChannelProductVariantSku

func (o *UpdateStockLevel200ResponseResultsInner) GetChannelProductVariantSku() string

GetChannelProductVariantSku returns the ChannelProductVariantSku field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetChannelProductVariantSkuOk

func (o *UpdateStockLevel200ResponseResultsInner) GetChannelProductVariantSkuOk() (*string, bool)

GetChannelProductVariantSkuOk returns a tuple with the ChannelProductVariantSku field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetLocationCode

func (o *UpdateStockLevel200ResponseResultsInner) GetLocationCode() string

GetLocationCode returns the LocationCode field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetLocationCodeOk

func (o *UpdateStockLevel200ResponseResultsInner) GetLocationCodeOk() (*string, bool)

GetLocationCodeOk returns a tuple with the LocationCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetLocationId

GetLocationId returns the LocationId field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetLocationIdOk

func (o *UpdateStockLevel200ResponseResultsInner) GetLocationIdOk() (*string, bool)

GetLocationIdOk returns a tuple with the LocationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetMessageOk

func (o *UpdateStockLevel200ResponseResultsInner) 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 (*UpdateStockLevel200ResponseResultsInner) GetProductId

GetProductId returns the ProductId field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetProductIdOk

func (o *UpdateStockLevel200ResponseResultsInner) GetProductIdOk() (*string, bool)

GetProductIdOk returns a tuple with the ProductId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetProductVariantId

func (o *UpdateStockLevel200ResponseResultsInner) GetProductVariantId() string

GetProductVariantId returns the ProductVariantId field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetProductVariantIdOk

func (o *UpdateStockLevel200ResponseResultsInner) GetProductVariantIdOk() (*string, bool)

GetProductVariantIdOk returns a tuple with the ProductVariantId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetProductVariantSku

func (o *UpdateStockLevel200ResponseResultsInner) GetProductVariantSku() string

GetProductVariantSku returns the ProductVariantSku field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetProductVariantSkuOk

func (o *UpdateStockLevel200ResponseResultsInner) GetProductVariantSkuOk() (*string, bool)

GetProductVariantSkuOk returns a tuple with the ProductVariantSku field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetStatusOk

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetSuccess

GetSuccess returns the Success field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetSuccessOk

func (o *UpdateStockLevel200ResponseResultsInner) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) GetTimestamp

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*UpdateStockLevel200ResponseResultsInner) GetTimestampOk

func (o *UpdateStockLevel200ResponseResultsInner) GetTimestampOk() (*float32, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasChannelLocationCode

func (o *UpdateStockLevel200ResponseResultsInner) HasChannelLocationCode() bool

HasChannelLocationCode returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasChannelLocationId

func (o *UpdateStockLevel200ResponseResultsInner) HasChannelLocationId() bool

HasChannelLocationId returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasChannelProductId

func (o *UpdateStockLevel200ResponseResultsInner) HasChannelProductId() bool

HasChannelProductId returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasChannelProductVariantId

func (o *UpdateStockLevel200ResponseResultsInner) HasChannelProductVariantId() bool

HasChannelProductVariantId returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasChannelProductVariantSku

func (o *UpdateStockLevel200ResponseResultsInner) HasChannelProductVariantSku() bool

HasChannelProductVariantSku returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasLocationCode

func (o *UpdateStockLevel200ResponseResultsInner) HasLocationCode() bool

HasLocationCode returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasLocationId

func (o *UpdateStockLevel200ResponseResultsInner) HasLocationId() bool

HasLocationId returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasMessage

HasMessage returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasProductId

HasProductId returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasProductVariantId

func (o *UpdateStockLevel200ResponseResultsInner) HasProductVariantId() bool

HasProductVariantId returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasProductVariantSku

func (o *UpdateStockLevel200ResponseResultsInner) HasProductVariantSku() bool

HasProductVariantSku returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasStatus

HasStatus returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasSuccess

HasSuccess returns a boolean if a field has been set.

func (*UpdateStockLevel200ResponseResultsInner) HasTimestamp

HasTimestamp returns a boolean if a field has been set.

func (UpdateStockLevel200ResponseResultsInner) MarshalJSON

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

func (*UpdateStockLevel200ResponseResultsInner) SetChannelLocationCode

func (o *UpdateStockLevel200ResponseResultsInner) SetChannelLocationCode(v string)

SetChannelLocationCode gets a reference to the given string and assigns it to the ChannelLocationCode field.

func (*UpdateStockLevel200ResponseResultsInner) SetChannelLocationId

func (o *UpdateStockLevel200ResponseResultsInner) SetChannelLocationId(v string)

SetChannelLocationId gets a reference to the given string and assigns it to the ChannelLocationId field.

func (*UpdateStockLevel200ResponseResultsInner) SetChannelProductId

func (o *UpdateStockLevel200ResponseResultsInner) SetChannelProductId(v string)

SetChannelProductId gets a reference to the given string and assigns it to the ChannelProductId field.

func (*UpdateStockLevel200ResponseResultsInner) SetChannelProductVariantId

func (o *UpdateStockLevel200ResponseResultsInner) SetChannelProductVariantId(v string)

SetChannelProductVariantId gets a reference to the given string and assigns it to the ChannelProductVariantId field.

func (*UpdateStockLevel200ResponseResultsInner) SetChannelProductVariantSku

func (o *UpdateStockLevel200ResponseResultsInner) SetChannelProductVariantSku(v string)

SetChannelProductVariantSku gets a reference to the given string and assigns it to the ChannelProductVariantSku field.

func (*UpdateStockLevel200ResponseResultsInner) SetLocationCode

func (o *UpdateStockLevel200ResponseResultsInner) SetLocationCode(v string)

SetLocationCode gets a reference to the given string and assigns it to the LocationCode field.

func (*UpdateStockLevel200ResponseResultsInner) SetLocationId

func (o *UpdateStockLevel200ResponseResultsInner) SetLocationId(v string)

SetLocationId gets a reference to the given string and assigns it to the LocationId field.

func (*UpdateStockLevel200ResponseResultsInner) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*UpdateStockLevel200ResponseResultsInner) SetProductId

SetProductId gets a reference to the given string and assigns it to the ProductId field.

func (*UpdateStockLevel200ResponseResultsInner) SetProductVariantId

func (o *UpdateStockLevel200ResponseResultsInner) SetProductVariantId(v string)

SetProductVariantId gets a reference to the given string and assigns it to the ProductVariantId field.

func (*UpdateStockLevel200ResponseResultsInner) SetProductVariantSku

func (o *UpdateStockLevel200ResponseResultsInner) SetProductVariantSku(v string)

SetProductVariantSku gets a reference to the given string and assigns it to the ProductVariantSku field.

func (*UpdateStockLevel200ResponseResultsInner) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*UpdateStockLevel200ResponseResultsInner) SetSuccess

SetSuccess gets a reference to the given bool and assigns it to the Success field.

func (*UpdateStockLevel200ResponseResultsInner) SetTimestamp

SetTimestamp gets a reference to the given float32 and assigns it to the Timestamp field.

func (UpdateStockLevel200ResponseResultsInner) ToMap

func (o UpdateStockLevel200ResponseResultsInner) ToMap() (map[string]interface{}, error)

type UpdateStockLevel400Response

type UpdateStockLevel400Response struct {
	Error     *UpdateStockLevel400ResponseError `json:"error,omitempty"`
	Id        *string                           `json:"id,omitempty"`
	Message   *string                           `json:"message,omitempty"`
	Status    *string                           `json:"status,omitempty"`
	Store     *UpdateStockLevelRequestStore     `json:"store,omitempty"`
	Success   *bool                             `json:"success,omitempty"`
	Timestamp *float32                          `json:"timestamp,omitempty"`
}

UpdateStockLevel400Response struct for UpdateStockLevel400Response

func NewUpdateStockLevel400Response

func NewUpdateStockLevel400Response() *UpdateStockLevel400Response

NewUpdateStockLevel400Response instantiates a new UpdateStockLevel400Response 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 NewUpdateStockLevel400ResponseWithDefaults

func NewUpdateStockLevel400ResponseWithDefaults() *UpdateStockLevel400Response

NewUpdateStockLevel400ResponseWithDefaults instantiates a new UpdateStockLevel400Response 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 (*UpdateStockLevel400Response) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*UpdateStockLevel400Response) GetErrorOk

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 (*UpdateStockLevel400Response) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*UpdateStockLevel400Response) GetIdOk

func (o *UpdateStockLevel400Response) 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 (*UpdateStockLevel400Response) GetMessage

func (o *UpdateStockLevel400Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*UpdateStockLevel400Response) GetMessageOk

func (o *UpdateStockLevel400Response) 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 (*UpdateStockLevel400Response) GetStatus

func (o *UpdateStockLevel400Response) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*UpdateStockLevel400Response) GetStatusOk

func (o *UpdateStockLevel400Response) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel400Response) GetStore

GetStore returns the Store field value if set, zero value otherwise.

func (*UpdateStockLevel400Response) GetStoreOk

GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel400Response) GetSuccess

func (o *UpdateStockLevel400Response) GetSuccess() bool

GetSuccess returns the Success field value if set, zero value otherwise.

func (*UpdateStockLevel400Response) GetSuccessOk

func (o *UpdateStockLevel400Response) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel400Response) GetTimestamp

func (o *UpdateStockLevel400Response) GetTimestamp() float32

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*UpdateStockLevel400Response) GetTimestampOk

func (o *UpdateStockLevel400Response) GetTimestampOk() (*float32, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel400Response) HasError

func (o *UpdateStockLevel400Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*UpdateStockLevel400Response) HasId

func (o *UpdateStockLevel400Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*UpdateStockLevel400Response) HasMessage

func (o *UpdateStockLevel400Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*UpdateStockLevel400Response) HasStatus

func (o *UpdateStockLevel400Response) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UpdateStockLevel400Response) HasStore

func (o *UpdateStockLevel400Response) HasStore() bool

HasStore returns a boolean if a field has been set.

func (*UpdateStockLevel400Response) HasSuccess

func (o *UpdateStockLevel400Response) HasSuccess() bool

HasSuccess returns a boolean if a field has been set.

func (*UpdateStockLevel400Response) HasTimestamp

func (o *UpdateStockLevel400Response) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (UpdateStockLevel400Response) MarshalJSON

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

func (*UpdateStockLevel400Response) SetError

SetError gets a reference to the given UpdateStockLevel400ResponseError and assigns it to the Error field.

func (*UpdateStockLevel400Response) SetId

func (o *UpdateStockLevel400Response) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UpdateStockLevel400Response) SetMessage

func (o *UpdateStockLevel400Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*UpdateStockLevel400Response) SetStatus

func (o *UpdateStockLevel400Response) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*UpdateStockLevel400Response) SetStore

SetStore gets a reference to the given UpdateStockLevelRequestStore and assigns it to the Store field.

func (*UpdateStockLevel400Response) SetSuccess

func (o *UpdateStockLevel400Response) SetSuccess(v bool)

SetSuccess gets a reference to the given bool and assigns it to the Success field.

func (*UpdateStockLevel400Response) SetTimestamp

func (o *UpdateStockLevel400Response) SetTimestamp(v float32)

SetTimestamp gets a reference to the given float32 and assigns it to the Timestamp field.

func (UpdateStockLevel400Response) ToMap

func (o UpdateStockLevel400Response) ToMap() (map[string]interface{}, error)

type UpdateStockLevel400ResponseError

type UpdateStockLevel400ResponseError struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

UpdateStockLevel400ResponseError struct for UpdateStockLevel400ResponseError

func NewUpdateStockLevel400ResponseError

func NewUpdateStockLevel400ResponseError() *UpdateStockLevel400ResponseError

NewUpdateStockLevel400ResponseError instantiates a new UpdateStockLevel400ResponseError 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 NewUpdateStockLevel400ResponseErrorWithDefaults

func NewUpdateStockLevel400ResponseErrorWithDefaults() *UpdateStockLevel400ResponseError

NewUpdateStockLevel400ResponseErrorWithDefaults instantiates a new UpdateStockLevel400ResponseError 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 (*UpdateStockLevel400ResponseError) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*UpdateStockLevel400ResponseError) GetCodeOk

func (o *UpdateStockLevel400ResponseError) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel400ResponseError) GetMessage

func (o *UpdateStockLevel400ResponseError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*UpdateStockLevel400ResponseError) GetMessageOk

func (o *UpdateStockLevel400ResponseError) 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 (*UpdateStockLevel400ResponseError) HasCode

HasCode returns a boolean if a field has been set.

func (*UpdateStockLevel400ResponseError) HasMessage

func (o *UpdateStockLevel400ResponseError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (UpdateStockLevel400ResponseError) MarshalJSON

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

func (*UpdateStockLevel400ResponseError) SetCode

SetCode gets a reference to the given string and assigns it to the Code field.

func (*UpdateStockLevel400ResponseError) SetMessage

func (o *UpdateStockLevel400ResponseError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (UpdateStockLevel400ResponseError) ToMap

func (o UpdateStockLevel400ResponseError) ToMap() (map[string]interface{}, error)

type UpdateStockLevel429Response

type UpdateStockLevel429Response struct {
	Error     *UpdateStockLevel429ResponseError `json:"error,omitempty"`
	Id        *string                           `json:"id,omitempty"`
	Message   *string                           `json:"message,omitempty"`
	Status    *string                           `json:"status,omitempty"`
	Store     *UpdateStockLevelRequestStore     `json:"store,omitempty"`
	Success   *bool                             `json:"success,omitempty"`
	Timestamp *float32                          `json:"timestamp,omitempty"`
}

UpdateStockLevel429Response struct for UpdateStockLevel429Response

func NewUpdateStockLevel429Response

func NewUpdateStockLevel429Response() *UpdateStockLevel429Response

NewUpdateStockLevel429Response instantiates a new UpdateStockLevel429Response 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 NewUpdateStockLevel429ResponseWithDefaults

func NewUpdateStockLevel429ResponseWithDefaults() *UpdateStockLevel429Response

NewUpdateStockLevel429ResponseWithDefaults instantiates a new UpdateStockLevel429Response 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 (*UpdateStockLevel429Response) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*UpdateStockLevel429Response) GetErrorOk

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 (*UpdateStockLevel429Response) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*UpdateStockLevel429Response) GetIdOk

func (o *UpdateStockLevel429Response) 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 (*UpdateStockLevel429Response) GetMessage

func (o *UpdateStockLevel429Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*UpdateStockLevel429Response) GetMessageOk

func (o *UpdateStockLevel429Response) 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 (*UpdateStockLevel429Response) GetStatus

func (o *UpdateStockLevel429Response) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*UpdateStockLevel429Response) GetStatusOk

func (o *UpdateStockLevel429Response) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel429Response) GetStore

GetStore returns the Store field value if set, zero value otherwise.

func (*UpdateStockLevel429Response) GetStoreOk

GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel429Response) GetSuccess

func (o *UpdateStockLevel429Response) GetSuccess() bool

GetSuccess returns the Success field value if set, zero value otherwise.

func (*UpdateStockLevel429Response) GetSuccessOk

func (o *UpdateStockLevel429Response) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel429Response) GetTimestamp

func (o *UpdateStockLevel429Response) GetTimestamp() float32

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*UpdateStockLevel429Response) GetTimestampOk

func (o *UpdateStockLevel429Response) GetTimestampOk() (*float32, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel429Response) HasError

func (o *UpdateStockLevel429Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*UpdateStockLevel429Response) HasId

func (o *UpdateStockLevel429Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*UpdateStockLevel429Response) HasMessage

func (o *UpdateStockLevel429Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*UpdateStockLevel429Response) HasStatus

func (o *UpdateStockLevel429Response) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UpdateStockLevel429Response) HasStore

func (o *UpdateStockLevel429Response) HasStore() bool

HasStore returns a boolean if a field has been set.

func (*UpdateStockLevel429Response) HasSuccess

func (o *UpdateStockLevel429Response) HasSuccess() bool

HasSuccess returns a boolean if a field has been set.

func (*UpdateStockLevel429Response) HasTimestamp

func (o *UpdateStockLevel429Response) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (UpdateStockLevel429Response) MarshalJSON

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

func (*UpdateStockLevel429Response) SetError

SetError gets a reference to the given UpdateStockLevel429ResponseError and assigns it to the Error field.

func (*UpdateStockLevel429Response) SetId

func (o *UpdateStockLevel429Response) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UpdateStockLevel429Response) SetMessage

func (o *UpdateStockLevel429Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*UpdateStockLevel429Response) SetStatus

func (o *UpdateStockLevel429Response) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*UpdateStockLevel429Response) SetStore

SetStore gets a reference to the given UpdateStockLevelRequestStore and assigns it to the Store field.

func (*UpdateStockLevel429Response) SetSuccess

func (o *UpdateStockLevel429Response) SetSuccess(v bool)

SetSuccess gets a reference to the given bool and assigns it to the Success field.

func (*UpdateStockLevel429Response) SetTimestamp

func (o *UpdateStockLevel429Response) SetTimestamp(v float32)

SetTimestamp gets a reference to the given float32 and assigns it to the Timestamp field.

func (UpdateStockLevel429Response) ToMap

func (o UpdateStockLevel429Response) ToMap() (map[string]interface{}, error)

type UpdateStockLevel429ResponseError

type UpdateStockLevel429ResponseError struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

UpdateStockLevel429ResponseError struct for UpdateStockLevel429ResponseError

func NewUpdateStockLevel429ResponseError

func NewUpdateStockLevel429ResponseError() *UpdateStockLevel429ResponseError

NewUpdateStockLevel429ResponseError instantiates a new UpdateStockLevel429ResponseError 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 NewUpdateStockLevel429ResponseErrorWithDefaults

func NewUpdateStockLevel429ResponseErrorWithDefaults() *UpdateStockLevel429ResponseError

NewUpdateStockLevel429ResponseErrorWithDefaults instantiates a new UpdateStockLevel429ResponseError 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 (*UpdateStockLevel429ResponseError) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*UpdateStockLevel429ResponseError) GetCodeOk

func (o *UpdateStockLevel429ResponseError) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel429ResponseError) GetMessage

func (o *UpdateStockLevel429ResponseError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*UpdateStockLevel429ResponseError) GetMessageOk

func (o *UpdateStockLevel429ResponseError) 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 (*UpdateStockLevel429ResponseError) HasCode

HasCode returns a boolean if a field has been set.

func (*UpdateStockLevel429ResponseError) HasMessage

func (o *UpdateStockLevel429ResponseError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (UpdateStockLevel429ResponseError) MarshalJSON

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

func (*UpdateStockLevel429ResponseError) SetCode

SetCode gets a reference to the given string and assigns it to the Code field.

func (*UpdateStockLevel429ResponseError) SetMessage

func (o *UpdateStockLevel429ResponseError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (UpdateStockLevel429ResponseError) ToMap

func (o UpdateStockLevel429ResponseError) ToMap() (map[string]interface{}, error)

type UpdateStockLevel500Response

type UpdateStockLevel500Response struct {
	Error     *UpdateStockLevel500ResponseError `json:"error,omitempty"`
	Id        *string                           `json:"id,omitempty"`
	Message   *string                           `json:"message,omitempty"`
	Status    *string                           `json:"status,omitempty"`
	Store     *UpdateStockLevelRequestStore     `json:"store,omitempty"`
	Success   *bool                             `json:"success,omitempty"`
	Timestamp *float32                          `json:"timestamp,omitempty"`
}

UpdateStockLevel500Response struct for UpdateStockLevel500Response

func NewUpdateStockLevel500Response

func NewUpdateStockLevel500Response() *UpdateStockLevel500Response

NewUpdateStockLevel500Response instantiates a new UpdateStockLevel500Response 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 NewUpdateStockLevel500ResponseWithDefaults

func NewUpdateStockLevel500ResponseWithDefaults() *UpdateStockLevel500Response

NewUpdateStockLevel500ResponseWithDefaults instantiates a new UpdateStockLevel500Response 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 (*UpdateStockLevel500Response) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*UpdateStockLevel500Response) GetErrorOk

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 (*UpdateStockLevel500Response) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*UpdateStockLevel500Response) GetIdOk

func (o *UpdateStockLevel500Response) 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 (*UpdateStockLevel500Response) GetMessage

func (o *UpdateStockLevel500Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*UpdateStockLevel500Response) GetMessageOk

func (o *UpdateStockLevel500Response) 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 (*UpdateStockLevel500Response) GetStatus

func (o *UpdateStockLevel500Response) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*UpdateStockLevel500Response) GetStatusOk

func (o *UpdateStockLevel500Response) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel500Response) GetStore

GetStore returns the Store field value if set, zero value otherwise.

func (*UpdateStockLevel500Response) GetStoreOk

GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel500Response) GetSuccess

func (o *UpdateStockLevel500Response) GetSuccess() bool

GetSuccess returns the Success field value if set, zero value otherwise.

func (*UpdateStockLevel500Response) GetSuccessOk

func (o *UpdateStockLevel500Response) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel500Response) GetTimestamp

func (o *UpdateStockLevel500Response) GetTimestamp() float32

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*UpdateStockLevel500Response) GetTimestampOk

func (o *UpdateStockLevel500Response) GetTimestampOk() (*float32, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel500Response) HasError

func (o *UpdateStockLevel500Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*UpdateStockLevel500Response) HasId

func (o *UpdateStockLevel500Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*UpdateStockLevel500Response) HasMessage

func (o *UpdateStockLevel500Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*UpdateStockLevel500Response) HasStatus

func (o *UpdateStockLevel500Response) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*UpdateStockLevel500Response) HasStore

func (o *UpdateStockLevel500Response) HasStore() bool

HasStore returns a boolean if a field has been set.

func (*UpdateStockLevel500Response) HasSuccess

func (o *UpdateStockLevel500Response) HasSuccess() bool

HasSuccess returns a boolean if a field has been set.

func (*UpdateStockLevel500Response) HasTimestamp

func (o *UpdateStockLevel500Response) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (UpdateStockLevel500Response) MarshalJSON

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

func (*UpdateStockLevel500Response) SetError

SetError gets a reference to the given UpdateStockLevel500ResponseError and assigns it to the Error field.

func (*UpdateStockLevel500Response) SetId

func (o *UpdateStockLevel500Response) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UpdateStockLevel500Response) SetMessage

func (o *UpdateStockLevel500Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*UpdateStockLevel500Response) SetStatus

func (o *UpdateStockLevel500Response) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*UpdateStockLevel500Response) SetStore

SetStore gets a reference to the given UpdateStockLevelRequestStore and assigns it to the Store field.

func (*UpdateStockLevel500Response) SetSuccess

func (o *UpdateStockLevel500Response) SetSuccess(v bool)

SetSuccess gets a reference to the given bool and assigns it to the Success field.

func (*UpdateStockLevel500Response) SetTimestamp

func (o *UpdateStockLevel500Response) SetTimestamp(v float32)

SetTimestamp gets a reference to the given float32 and assigns it to the Timestamp field.

func (UpdateStockLevel500Response) ToMap

func (o UpdateStockLevel500Response) ToMap() (map[string]interface{}, error)

type UpdateStockLevel500ResponseError

type UpdateStockLevel500ResponseError struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

UpdateStockLevel500ResponseError struct for UpdateStockLevel500ResponseError

func NewUpdateStockLevel500ResponseError

func NewUpdateStockLevel500ResponseError() *UpdateStockLevel500ResponseError

NewUpdateStockLevel500ResponseError instantiates a new UpdateStockLevel500ResponseError 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 NewUpdateStockLevel500ResponseErrorWithDefaults

func NewUpdateStockLevel500ResponseErrorWithDefaults() *UpdateStockLevel500ResponseError

NewUpdateStockLevel500ResponseErrorWithDefaults instantiates a new UpdateStockLevel500ResponseError 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 (*UpdateStockLevel500ResponseError) GetCode

GetCode returns the Code field value if set, zero value otherwise.

func (*UpdateStockLevel500ResponseError) GetCodeOk

func (o *UpdateStockLevel500ResponseError) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevel500ResponseError) GetMessage

func (o *UpdateStockLevel500ResponseError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*UpdateStockLevel500ResponseError) GetMessageOk

func (o *UpdateStockLevel500ResponseError) 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 (*UpdateStockLevel500ResponseError) HasCode

HasCode returns a boolean if a field has been set.

func (*UpdateStockLevel500ResponseError) HasMessage

func (o *UpdateStockLevel500ResponseError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (UpdateStockLevel500ResponseError) MarshalJSON

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

func (*UpdateStockLevel500ResponseError) SetCode

SetCode gets a reference to the given string and assigns it to the Code field.

func (*UpdateStockLevel500ResponseError) SetMessage

func (o *UpdateStockLevel500ResponseError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (UpdateStockLevel500ResponseError) ToMap

func (o UpdateStockLevel500ResponseError) ToMap() (map[string]interface{}, error)

type UpdateStockLevelRequest

type UpdateStockLevelRequest struct {
	Id       *string                                `json:"id,omitempty"`
	Requests []UpdateStockLevelRequestRequestsInner `json:"requests,omitempty"`
	Store    *UpdateStockLevelRequestStore          `json:"store,omitempty"`
}

UpdateStockLevelRequest struct for UpdateStockLevelRequest

func NewUpdateStockLevelRequest

func NewUpdateStockLevelRequest() *UpdateStockLevelRequest

NewUpdateStockLevelRequest instantiates a new UpdateStockLevelRequest 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 NewUpdateStockLevelRequestWithDefaults

func NewUpdateStockLevelRequestWithDefaults() *UpdateStockLevelRequest

NewUpdateStockLevelRequestWithDefaults instantiates a new UpdateStockLevelRequest 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 (*UpdateStockLevelRequest) GetId

func (o *UpdateStockLevelRequest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UpdateStockLevelRequest) GetIdOk

func (o *UpdateStockLevelRequest) 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 (*UpdateStockLevelRequest) GetRequests

GetRequests returns the Requests field value if set, zero value otherwise.

func (*UpdateStockLevelRequest) GetRequestsOk

GetRequestsOk returns a tuple with the Requests field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequest) GetStore

GetStore returns the Store field value if set, zero value otherwise.

func (*UpdateStockLevelRequest) GetStoreOk

GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequest) HasId

func (o *UpdateStockLevelRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*UpdateStockLevelRequest) HasRequests

func (o *UpdateStockLevelRequest) HasRequests() bool

HasRequests returns a boolean if a field has been set.

func (*UpdateStockLevelRequest) HasStore

func (o *UpdateStockLevelRequest) HasStore() bool

HasStore returns a boolean if a field has been set.

func (UpdateStockLevelRequest) MarshalJSON

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

func (*UpdateStockLevelRequest) SetId

func (o *UpdateStockLevelRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UpdateStockLevelRequest) SetRequests

SetRequests gets a reference to the given []UpdateStockLevelRequestRequestsInner and assigns it to the Requests field.

func (*UpdateStockLevelRequest) SetStore

SetStore gets a reference to the given UpdateStockLevelRequestStore and assigns it to the Store field.

func (UpdateStockLevelRequest) ToMap

func (o UpdateStockLevelRequest) ToMap() (map[string]interface{}, error)

type UpdateStockLevelRequestRequestsInner

type UpdateStockLevelRequestRequestsInner struct {
	ChannelLocationCode      *string  `json:"channel_location_code,omitempty"`
	ChannelLocationId        *string  `json:"channel_location_id,omitempty"`
	ChannelProductId         *string  `json:"channel_product_id,omitempty"`
	ChannelProductVariantId  *string  `json:"channel_product_variant_id,omitempty"`
	ChannelProductVariantSku *string  `json:"channel_product_variant_sku,omitempty"`
	DeltaStock               *float32 `json:"delta_stock,omitempty"`
	ExactStock               *float32 `json:"exact_stock,omitempty"`
	LocationCode             *string  `json:"location_code,omitempty"`
	LocationId               *string  `json:"location_id,omitempty"`
	ProductId                *string  `json:"product_id,omitempty"`
	ProductVariantId         *string  `json:"product_variant_id,omitempty"`
	ProductVariantSku        *string  `json:"product_variant_sku,omitempty"`
}

UpdateStockLevelRequestRequestsInner struct for UpdateStockLevelRequestRequestsInner

func NewUpdateStockLevelRequestRequestsInner

func NewUpdateStockLevelRequestRequestsInner() *UpdateStockLevelRequestRequestsInner

NewUpdateStockLevelRequestRequestsInner instantiates a new UpdateStockLevelRequestRequestsInner 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 NewUpdateStockLevelRequestRequestsInnerWithDefaults

func NewUpdateStockLevelRequestRequestsInnerWithDefaults() *UpdateStockLevelRequestRequestsInner

NewUpdateStockLevelRequestRequestsInnerWithDefaults instantiates a new UpdateStockLevelRequestRequestsInner 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 (*UpdateStockLevelRequestRequestsInner) GetChannelLocationCode

func (o *UpdateStockLevelRequestRequestsInner) GetChannelLocationCode() string

GetChannelLocationCode returns the ChannelLocationCode field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetChannelLocationCodeOk

func (o *UpdateStockLevelRequestRequestsInner) GetChannelLocationCodeOk() (*string, bool)

GetChannelLocationCodeOk returns a tuple with the ChannelLocationCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) GetChannelLocationId

func (o *UpdateStockLevelRequestRequestsInner) GetChannelLocationId() string

GetChannelLocationId returns the ChannelLocationId field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetChannelLocationIdOk

func (o *UpdateStockLevelRequestRequestsInner) GetChannelLocationIdOk() (*string, bool)

GetChannelLocationIdOk returns a tuple with the ChannelLocationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) GetChannelProductId

func (o *UpdateStockLevelRequestRequestsInner) GetChannelProductId() string

GetChannelProductId returns the ChannelProductId field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetChannelProductIdOk

func (o *UpdateStockLevelRequestRequestsInner) GetChannelProductIdOk() (*string, bool)

GetChannelProductIdOk returns a tuple with the ChannelProductId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) GetChannelProductVariantId

func (o *UpdateStockLevelRequestRequestsInner) GetChannelProductVariantId() string

GetChannelProductVariantId returns the ChannelProductVariantId field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetChannelProductVariantIdOk

func (o *UpdateStockLevelRequestRequestsInner) GetChannelProductVariantIdOk() (*string, bool)

GetChannelProductVariantIdOk returns a tuple with the ChannelProductVariantId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) GetChannelProductVariantSku

func (o *UpdateStockLevelRequestRequestsInner) GetChannelProductVariantSku() string

GetChannelProductVariantSku returns the ChannelProductVariantSku field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetChannelProductVariantSkuOk

func (o *UpdateStockLevelRequestRequestsInner) GetChannelProductVariantSkuOk() (*string, bool)

GetChannelProductVariantSkuOk returns a tuple with the ChannelProductVariantSku field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) GetDeltaStock

func (o *UpdateStockLevelRequestRequestsInner) GetDeltaStock() float32

GetDeltaStock returns the DeltaStock field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetDeltaStockOk

func (o *UpdateStockLevelRequestRequestsInner) GetDeltaStockOk() (*float32, bool)

GetDeltaStockOk returns a tuple with the DeltaStock field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) GetExactStock

func (o *UpdateStockLevelRequestRequestsInner) GetExactStock() float32

GetExactStock returns the ExactStock field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetExactStockOk

func (o *UpdateStockLevelRequestRequestsInner) GetExactStockOk() (*float32, bool)

GetExactStockOk returns a tuple with the ExactStock field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) GetLocationCode

func (o *UpdateStockLevelRequestRequestsInner) GetLocationCode() string

GetLocationCode returns the LocationCode field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetLocationCodeOk

func (o *UpdateStockLevelRequestRequestsInner) GetLocationCodeOk() (*string, bool)

GetLocationCodeOk returns a tuple with the LocationCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) GetLocationId

func (o *UpdateStockLevelRequestRequestsInner) GetLocationId() string

GetLocationId returns the LocationId field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetLocationIdOk

func (o *UpdateStockLevelRequestRequestsInner) GetLocationIdOk() (*string, bool)

GetLocationIdOk returns a tuple with the LocationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) GetProductId

func (o *UpdateStockLevelRequestRequestsInner) GetProductId() string

GetProductId returns the ProductId field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetProductIdOk

func (o *UpdateStockLevelRequestRequestsInner) GetProductIdOk() (*string, bool)

GetProductIdOk returns a tuple with the ProductId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) GetProductVariantId

func (o *UpdateStockLevelRequestRequestsInner) GetProductVariantId() string

GetProductVariantId returns the ProductVariantId field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetProductVariantIdOk

func (o *UpdateStockLevelRequestRequestsInner) GetProductVariantIdOk() (*string, bool)

GetProductVariantIdOk returns a tuple with the ProductVariantId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) GetProductVariantSku

func (o *UpdateStockLevelRequestRequestsInner) GetProductVariantSku() string

GetProductVariantSku returns the ProductVariantSku field value if set, zero value otherwise.

func (*UpdateStockLevelRequestRequestsInner) GetProductVariantSkuOk

func (o *UpdateStockLevelRequestRequestsInner) GetProductVariantSkuOk() (*string, bool)

GetProductVariantSkuOk returns a tuple with the ProductVariantSku field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestRequestsInner) HasChannelLocationCode

func (o *UpdateStockLevelRequestRequestsInner) HasChannelLocationCode() bool

HasChannelLocationCode returns a boolean if a field has been set.

func (*UpdateStockLevelRequestRequestsInner) HasChannelLocationId

func (o *UpdateStockLevelRequestRequestsInner) HasChannelLocationId() bool

HasChannelLocationId returns a boolean if a field has been set.

func (*UpdateStockLevelRequestRequestsInner) HasChannelProductId

func (o *UpdateStockLevelRequestRequestsInner) HasChannelProductId() bool

HasChannelProductId returns a boolean if a field has been set.

func (*UpdateStockLevelRequestRequestsInner) HasChannelProductVariantId

func (o *UpdateStockLevelRequestRequestsInner) HasChannelProductVariantId() bool

HasChannelProductVariantId returns a boolean if a field has been set.

func (*UpdateStockLevelRequestRequestsInner) HasChannelProductVariantSku

func (o *UpdateStockLevelRequestRequestsInner) HasChannelProductVariantSku() bool

HasChannelProductVariantSku returns a boolean if a field has been set.

func (*UpdateStockLevelRequestRequestsInner) HasDeltaStock

func (o *UpdateStockLevelRequestRequestsInner) HasDeltaStock() bool

HasDeltaStock returns a boolean if a field has been set.

func (*UpdateStockLevelRequestRequestsInner) HasExactStock

func (o *UpdateStockLevelRequestRequestsInner) HasExactStock() bool

HasExactStock returns a boolean if a field has been set.

func (*UpdateStockLevelRequestRequestsInner) HasLocationCode

func (o *UpdateStockLevelRequestRequestsInner) HasLocationCode() bool

HasLocationCode returns a boolean if a field has been set.

func (*UpdateStockLevelRequestRequestsInner) HasLocationId

func (o *UpdateStockLevelRequestRequestsInner) HasLocationId() bool

HasLocationId returns a boolean if a field has been set.

func (*UpdateStockLevelRequestRequestsInner) HasProductId

func (o *UpdateStockLevelRequestRequestsInner) HasProductId() bool

HasProductId returns a boolean if a field has been set.

func (*UpdateStockLevelRequestRequestsInner) HasProductVariantId

func (o *UpdateStockLevelRequestRequestsInner) HasProductVariantId() bool

HasProductVariantId returns a boolean if a field has been set.

func (*UpdateStockLevelRequestRequestsInner) HasProductVariantSku

func (o *UpdateStockLevelRequestRequestsInner) HasProductVariantSku() bool

HasProductVariantSku returns a boolean if a field has been set.

func (UpdateStockLevelRequestRequestsInner) MarshalJSON

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

func (*UpdateStockLevelRequestRequestsInner) SetChannelLocationCode

func (o *UpdateStockLevelRequestRequestsInner) SetChannelLocationCode(v string)

SetChannelLocationCode gets a reference to the given string and assigns it to the ChannelLocationCode field.

func (*UpdateStockLevelRequestRequestsInner) SetChannelLocationId

func (o *UpdateStockLevelRequestRequestsInner) SetChannelLocationId(v string)

SetChannelLocationId gets a reference to the given string and assigns it to the ChannelLocationId field.

func (*UpdateStockLevelRequestRequestsInner) SetChannelProductId

func (o *UpdateStockLevelRequestRequestsInner) SetChannelProductId(v string)

SetChannelProductId gets a reference to the given string and assigns it to the ChannelProductId field.

func (*UpdateStockLevelRequestRequestsInner) SetChannelProductVariantId

func (o *UpdateStockLevelRequestRequestsInner) SetChannelProductVariantId(v string)

SetChannelProductVariantId gets a reference to the given string and assigns it to the ChannelProductVariantId field.

func (*UpdateStockLevelRequestRequestsInner) SetChannelProductVariantSku

func (o *UpdateStockLevelRequestRequestsInner) SetChannelProductVariantSku(v string)

SetChannelProductVariantSku gets a reference to the given string and assigns it to the ChannelProductVariantSku field.

func (*UpdateStockLevelRequestRequestsInner) SetDeltaStock

func (o *UpdateStockLevelRequestRequestsInner) SetDeltaStock(v float32)

SetDeltaStock gets a reference to the given float32 and assigns it to the DeltaStock field.

func (*UpdateStockLevelRequestRequestsInner) SetExactStock

func (o *UpdateStockLevelRequestRequestsInner) SetExactStock(v float32)

SetExactStock gets a reference to the given float32 and assigns it to the ExactStock field.

func (*UpdateStockLevelRequestRequestsInner) SetLocationCode

func (o *UpdateStockLevelRequestRequestsInner) SetLocationCode(v string)

SetLocationCode gets a reference to the given string and assigns it to the LocationCode field.

func (*UpdateStockLevelRequestRequestsInner) SetLocationId

func (o *UpdateStockLevelRequestRequestsInner) SetLocationId(v string)

SetLocationId gets a reference to the given string and assigns it to the LocationId field.

func (*UpdateStockLevelRequestRequestsInner) SetProductId

func (o *UpdateStockLevelRequestRequestsInner) SetProductId(v string)

SetProductId gets a reference to the given string and assigns it to the ProductId field.

func (*UpdateStockLevelRequestRequestsInner) SetProductVariantId

func (o *UpdateStockLevelRequestRequestsInner) SetProductVariantId(v string)

SetProductVariantId gets a reference to the given string and assigns it to the ProductVariantId field.

func (*UpdateStockLevelRequestRequestsInner) SetProductVariantSku

func (o *UpdateStockLevelRequestRequestsInner) SetProductVariantSku(v string)

SetProductVariantSku gets a reference to the given string and assigns it to the ProductVariantSku field.

func (UpdateStockLevelRequestRequestsInner) ToMap

func (o UpdateStockLevelRequestRequestsInner) ToMap() (map[string]interface{}, error)

type UpdateStockLevelRequestStore

type UpdateStockLevelRequestStore struct {
	Code *string `json:"code,omitempty"`
	Id   *string `json:"id,omitempty"`
}

UpdateStockLevelRequestStore struct for UpdateStockLevelRequestStore

func NewUpdateStockLevelRequestStore

func NewUpdateStockLevelRequestStore() *UpdateStockLevelRequestStore

NewUpdateStockLevelRequestStore instantiates a new UpdateStockLevelRequestStore 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 NewUpdateStockLevelRequestStoreWithDefaults

func NewUpdateStockLevelRequestStoreWithDefaults() *UpdateStockLevelRequestStore

NewUpdateStockLevelRequestStoreWithDefaults instantiates a new UpdateStockLevelRequestStore 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 (*UpdateStockLevelRequestStore) GetCode

func (o *UpdateStockLevelRequestStore) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*UpdateStockLevelRequestStore) GetCodeOk

func (o *UpdateStockLevelRequestStore) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateStockLevelRequestStore) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*UpdateStockLevelRequestStore) GetIdOk

func (o *UpdateStockLevelRequestStore) 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 (*UpdateStockLevelRequestStore) HasCode

func (o *UpdateStockLevelRequestStore) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*UpdateStockLevelRequestStore) HasId

HasId returns a boolean if a field has been set.

func (UpdateStockLevelRequestStore) MarshalJSON

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

func (*UpdateStockLevelRequestStore) SetCode

func (o *UpdateStockLevelRequestStore) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*UpdateStockLevelRequestStore) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (UpdateStockLevelRequestStore) ToMap

func (o UpdateStockLevelRequestStore) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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