wbgeneral

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 20 Imported by: 0

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 (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// 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 {
	NewsAPIAPI *NewsAPIAPIService

	SellerInformationAPI *SellerInformationAPIService

	SellerUserManagementAPI *SellerUserManagementAPIService

	WBAPIConnectionCheckAPI *WBAPIConnectionCheckAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the General API vgeneral 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 AccessInner

type AccessInner struct {
	// The code for the seller account section the user will get access to: * `balance` — View balance and withdraw funds * `brands` — Brands management * `changeJam` — Access to **Jam** subscription: **A/B tests**, photo tags, video autostarts, product card comparisons * `discountPrice` — Change product prices, manage discounts and promotions * `finance` — Financial analytics. Balance statistics, financial reports, payment history * `showcase` — Showcase management * `suppliersDocuments` — View and download documents related to platform operations * `supply` — Create and manage FBW supplies * `feedbacksQuestions` — Viewing and answering customer questions and reviews, complaints about reviews * `questions` — View and respond to customer questions * `pinFeedbacks` — Ability to pin and unpin reviews * `pointsForReviews` — Points for reviews * `feedbacks` — View and respond to customer reviews * `wbPoint` — WB Point * `oldAnalyticsReports` — Reports * `marketplace` — Seller Warehouse
	Code string `json:"code"`
	// * `true` — access to the section is disabled * `false` — access to the section is enabled
	Disabled bool `json:"disabled"`
}

AccessInner struct for AccessInner

func NewAccessInner

func NewAccessInner(code string, disabled bool) *AccessInner

NewAccessInner instantiates a new AccessInner 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 NewAccessInnerWithDefaults

func NewAccessInnerWithDefaults() *AccessInner

NewAccessInnerWithDefaults instantiates a new AccessInner 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 (*AccessInner) GetCode

func (o *AccessInner) GetCode() string

GetCode returns the Code field value

func (*AccessInner) GetCodeOk

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

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

func (*AccessInner) GetDisabled

func (o *AccessInner) GetDisabled() bool

GetDisabled returns the Disabled field value

func (*AccessInner) GetDisabledOk

func (o *AccessInner) GetDisabledOk() (*bool, bool)

GetDisabledOk returns a tuple with the Disabled field value and a boolean to check if the value has been set.

func (AccessInner) MarshalJSON

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

func (*AccessInner) SetCode

func (o *AccessInner) SetCode(v string)

SetCode sets field value

func (*AccessInner) SetDisabled

func (o *AccessInner) SetDisabled(v bool)

SetDisabled sets field value

func (AccessInner) ToMap

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

func (*AccessInner) UnmarshalJSON

func (o *AccessInner) UnmarshalJSON(data []byte) (err error)

type ApiApiCommunicationsV2NewsGetRequest

type ApiApiCommunicationsV2NewsGetRequest struct {
	ApiService *NewsAPIAPIService
	// contains filtered or unexported fields
}

func (ApiApiCommunicationsV2NewsGetRequest) Execute

func (ApiApiCommunicationsV2NewsGetRequest) From

Date from which to get news

func (ApiApiCommunicationsV2NewsGetRequest) FromID

The news ID, starting from which — including it — you need to get the list of news

type ApiApiV1InvitePostRequest

type ApiApiV1InvitePostRequest struct {
	ApiService *SellerUserManagementAPIService
	// contains filtered or unexported fields
}

func (ApiApiV1InvitePostRequest) CreateInviteRequest

func (r ApiApiV1InvitePostRequest) CreateInviteRequest(createInviteRequest CreateInviteRequest) ApiApiV1InvitePostRequest

func (ApiApiV1InvitePostRequest) Execute

type ApiApiV1SellerInfoGetRequest

type ApiApiV1SellerInfoGetRequest struct {
	ApiService *SellerInformationAPIService
	// contains filtered or unexported fields
}

func (ApiApiV1SellerInfoGetRequest) Execute

type ApiApiV1UserDeleteRequest

type ApiApiV1UserDeleteRequest struct {
	ApiService *SellerUserManagementAPIService
	// contains filtered or unexported fields
}

func (ApiApiV1UserDeleteRequest) DeletedUserID

func (r ApiApiV1UserDeleteRequest) DeletedUserID(deletedUserID int64) ApiApiV1UserDeleteRequest

ID of the user whose access will be revoked

func (ApiApiV1UserDeleteRequest) Execute

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

type ApiApiV1UsersAccessPutRequest

type ApiApiV1UsersAccessPutRequest struct {
	ApiService *SellerUserManagementAPIService
	// contains filtered or unexported fields
}

func (ApiApiV1UsersAccessPutRequest) Execute

func (ApiApiV1UsersAccessPutRequest) UpdateUserAccessRequest

func (r ApiApiV1UsersAccessPutRequest) UpdateUserAccessRequest(updateUserAccessRequest UpdateUserAccessRequest) ApiApiV1UsersAccessPutRequest

type ApiApiV1UsersGetRequest

type ApiApiV1UsersGetRequest struct {
	ApiService *SellerUserManagementAPIService
	// contains filtered or unexported fields
}

func (ApiApiV1UsersGetRequest) Execute

func (ApiApiV1UsersGetRequest) IsInviteOnly

func (r ApiApiV1UsersGetRequest) IsInviteOnly(isInviteOnly bool) ApiApiV1UsersGetRequest

- `true` — the list of invited users who have not yet activated access - `false` or not provided — the list of active users of the seller account

func (ApiApiV1UsersGetRequest) Limit

The number of active or invited users in the response

func (ApiApiV1UsersGetRequest) Offset

How many results to skip. For example, for the value 10, the response will start with the 11 element

type ApiCommunicationsV2NewsGet200Response

type ApiCommunicationsV2NewsGet200Response struct {
	// News data
	Data []ApiCommunicationsV2NewsGet200ResponseDataInner `json:"data,omitempty"`
}

ApiCommunicationsV2NewsGet200Response struct for ApiCommunicationsV2NewsGet200Response

func NewApiCommunicationsV2NewsGet200Response

func NewApiCommunicationsV2NewsGet200Response() *ApiCommunicationsV2NewsGet200Response

NewApiCommunicationsV2NewsGet200Response instantiates a new ApiCommunicationsV2NewsGet200Response 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 NewApiCommunicationsV2NewsGet200ResponseWithDefaults

func NewApiCommunicationsV2NewsGet200ResponseWithDefaults() *ApiCommunicationsV2NewsGet200Response

NewApiCommunicationsV2NewsGet200ResponseWithDefaults instantiates a new ApiCommunicationsV2NewsGet200Response 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 (*ApiCommunicationsV2NewsGet200Response) GetData

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

func (*ApiCommunicationsV2NewsGet200Response) GetDataOk

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 (*ApiCommunicationsV2NewsGet200Response) HasData

HasData returns a boolean if a field has been set.

func (ApiCommunicationsV2NewsGet200Response) MarshalJSON

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

func (*ApiCommunicationsV2NewsGet200Response) SetData

SetData gets a reference to the given []ApiCommunicationsV2NewsGet200ResponseDataInner and assigns it to the Data field.

func (ApiCommunicationsV2NewsGet200Response) ToMap

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

type ApiCommunicationsV2NewsGet200ResponseDataInner

type ApiCommunicationsV2NewsGet200ResponseDataInner struct {
	// News text
	Content *string `json:"content,omitempty"`
	// News publication date and time
	Date *time.Time `json:"date,omitempty"`
	// News header
	Header *string `json:"header,omitempty"`
	// News ID
	Id *int32 `json:"id,omitempty"`
	// News tags
	Types []ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner `json:"types,omitempty"`
}

ApiCommunicationsV2NewsGet200ResponseDataInner struct for ApiCommunicationsV2NewsGet200ResponseDataInner

func NewApiCommunicationsV2NewsGet200ResponseDataInner

func NewApiCommunicationsV2NewsGet200ResponseDataInner() *ApiCommunicationsV2NewsGet200ResponseDataInner

NewApiCommunicationsV2NewsGet200ResponseDataInner instantiates a new ApiCommunicationsV2NewsGet200ResponseDataInner 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 NewApiCommunicationsV2NewsGet200ResponseDataInnerWithDefaults

func NewApiCommunicationsV2NewsGet200ResponseDataInnerWithDefaults() *ApiCommunicationsV2NewsGet200ResponseDataInner

NewApiCommunicationsV2NewsGet200ResponseDataInnerWithDefaults instantiates a new ApiCommunicationsV2NewsGet200ResponseDataInner 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 (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetContent

GetContent returns the Content field value if set, zero value otherwise.

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetContentOk

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

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetDate

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

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) 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 (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetHeader

GetHeader returns the Header field value if set, zero value otherwise.

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetHeaderOk

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

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetId

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

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) 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 (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetTypes

GetTypes returns the Types field value if set, zero value otherwise.

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetTypesOk

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

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) HasContent

HasContent returns a boolean if a field has been set.

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) HasDate

HasDate returns a boolean if a field has been set.

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) HasHeader

HasHeader returns a boolean if a field has been set.

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) HasId

HasId returns a boolean if a field has been set.

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) HasTypes

HasTypes returns a boolean if a field has been set.

func (ApiCommunicationsV2NewsGet200ResponseDataInner) MarshalJSON

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) SetContent

SetContent gets a reference to the given string and assigns it to the Content field.

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) SetDate

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

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) SetHeader

SetHeader gets a reference to the given string and assigns it to the Header field.

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) SetId

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

func (*ApiCommunicationsV2NewsGet200ResponseDataInner) SetTypes

SetTypes gets a reference to the given []ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner and assigns it to the Types field.

func (ApiCommunicationsV2NewsGet200ResponseDataInner) ToMap

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

type ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner

type ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner struct {
	// Tag ID
	Id *int32 `json:"id,omitempty"`
	// Tag name
	Name *string `json:"name,omitempty"`
}

ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner struct for ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner

func NewApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner

func NewApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner() *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner

NewApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner instantiates a new ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner 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 NewApiCommunicationsV2NewsGet200ResponseDataInnerTypesInnerWithDefaults

func NewApiCommunicationsV2NewsGet200ResponseDataInnerTypesInnerWithDefaults() *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner

NewApiCommunicationsV2NewsGet200ResponseDataInnerTypesInnerWithDefaults instantiates a new ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner 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 (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetId

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

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

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

func (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetNameOk

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

func (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) HasId

HasId returns a boolean if a field has been set.

func (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) HasName

HasName returns a boolean if a field has been set.

func (ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) MarshalJSON

func (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) SetId

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

func (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) SetName

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

func (ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) ToMap

type ApiGetCommonV1RatingRequest

type ApiGetCommonV1RatingRequest struct {
	ApiService *SellerInformationAPIService
	// contains filtered or unexported fields
}

func (ApiGetCommonV1RatingRequest) Execute

type ApiGetCommonV1SubscriptionsRequest

type ApiGetCommonV1SubscriptionsRequest struct {
	ApiService *SellerInformationAPIService
	// contains filtered or unexported fields
}

func (ApiGetCommonV1SubscriptionsRequest) Execute

type ApiPingGetRequest

type ApiPingGetRequest struct {
	ApiService *WBAPIConnectionCheckAPIService
	// contains filtered or unexported fields
}

func (ApiPingGetRequest) Execute

type ApiV1SellerInfoGet200Response

type ApiV1SellerInfoGet200Response struct {
	// Seller's name
	Name *string `json:"name,omitempty"`
	// Wildberries Seller [ID](./api-information#tag/Avtorizaciya/Kak-ustroen-token)
	Sid *string `json:"sid,omitempty"`
	// Taxpayer identification number of the partner (INN in Russian)
	Tin *string `json:"tin,omitempty"`
	// Seller's trade name
	TradeMark *string `json:"tradeMark,omitempty"`
}

ApiV1SellerInfoGet200Response struct for ApiV1SellerInfoGet200Response

func NewApiV1SellerInfoGet200Response

func NewApiV1SellerInfoGet200Response() *ApiV1SellerInfoGet200Response

NewApiV1SellerInfoGet200Response instantiates a new ApiV1SellerInfoGet200Response 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 NewApiV1SellerInfoGet200ResponseWithDefaults

func NewApiV1SellerInfoGet200ResponseWithDefaults() *ApiV1SellerInfoGet200Response

NewApiV1SellerInfoGet200ResponseWithDefaults instantiates a new ApiV1SellerInfoGet200Response 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 (*ApiV1SellerInfoGet200Response) GetName

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

func (*ApiV1SellerInfoGet200Response) GetNameOk

func (o *ApiV1SellerInfoGet200Response) 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 (*ApiV1SellerInfoGet200Response) GetSid

GetSid returns the Sid field value if set, zero value otherwise.

func (*ApiV1SellerInfoGet200Response) GetSidOk

func (o *ApiV1SellerInfoGet200Response) GetSidOk() (*string, bool)

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

func (*ApiV1SellerInfoGet200Response) GetTin

GetTin returns the Tin field value if set, zero value otherwise.

func (*ApiV1SellerInfoGet200Response) GetTinOk

func (o *ApiV1SellerInfoGet200Response) GetTinOk() (*string, bool)

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

func (*ApiV1SellerInfoGet200Response) GetTradeMark

func (o *ApiV1SellerInfoGet200Response) GetTradeMark() string

GetTradeMark returns the TradeMark field value if set, zero value otherwise.

func (*ApiV1SellerInfoGet200Response) GetTradeMarkOk

func (o *ApiV1SellerInfoGet200Response) GetTradeMarkOk() (*string, bool)

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

func (*ApiV1SellerInfoGet200Response) HasName

func (o *ApiV1SellerInfoGet200Response) HasName() bool

HasName returns a boolean if a field has been set.

func (*ApiV1SellerInfoGet200Response) HasSid

func (o *ApiV1SellerInfoGet200Response) HasSid() bool

HasSid returns a boolean if a field has been set.

func (*ApiV1SellerInfoGet200Response) HasTin

func (o *ApiV1SellerInfoGet200Response) HasTin() bool

HasTin returns a boolean if a field has been set.

func (*ApiV1SellerInfoGet200Response) HasTradeMark

func (o *ApiV1SellerInfoGet200Response) HasTradeMark() bool

HasTradeMark returns a boolean if a field has been set.

func (ApiV1SellerInfoGet200Response) MarshalJSON

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

func (*ApiV1SellerInfoGet200Response) SetName

func (o *ApiV1SellerInfoGet200Response) SetName(v string)

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

func (*ApiV1SellerInfoGet200Response) SetSid

SetSid gets a reference to the given string and assigns it to the Sid field.

func (*ApiV1SellerInfoGet200Response) SetTin

SetTin gets a reference to the given string and assigns it to the Tin field.

func (*ApiV1SellerInfoGet200Response) SetTradeMark

func (o *ApiV1SellerInfoGet200Response) SetTradeMark(v string)

SetTradeMark gets a reference to the given string and assigns it to the TradeMark field.

func (ApiV1SellerInfoGet200Response) ToMap

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

type ApiV1SellerInfoGet402Response

type ApiV1SellerInfoGet402Response struct {
	// Error title
	Title *string `json:"title,omitempty"`
	// Error details. The error is only returned to services from the [Solutions for business Catalog](https://dev.wildberries.ru/business-solutions)
	Detail *string `json:"detail,omitempty"`
}

ApiV1SellerInfoGet402Response struct for ApiV1SellerInfoGet402Response

func NewApiV1SellerInfoGet402Response

func NewApiV1SellerInfoGet402Response() *ApiV1SellerInfoGet402Response

NewApiV1SellerInfoGet402Response instantiates a new ApiV1SellerInfoGet402Response 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 NewApiV1SellerInfoGet402ResponseWithDefaults

func NewApiV1SellerInfoGet402ResponseWithDefaults() *ApiV1SellerInfoGet402Response

NewApiV1SellerInfoGet402ResponseWithDefaults instantiates a new ApiV1SellerInfoGet402Response 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 (*ApiV1SellerInfoGet402Response) GetDetail

func (o *ApiV1SellerInfoGet402Response) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*ApiV1SellerInfoGet402Response) GetDetailOk

func (o *ApiV1SellerInfoGet402Response) GetDetailOk() (*string, bool)

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

func (*ApiV1SellerInfoGet402Response) GetTitle

func (o *ApiV1SellerInfoGet402Response) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ApiV1SellerInfoGet402Response) GetTitleOk

func (o *ApiV1SellerInfoGet402Response) GetTitleOk() (*string, bool)

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

func (*ApiV1SellerInfoGet402Response) HasDetail

func (o *ApiV1SellerInfoGet402Response) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*ApiV1SellerInfoGet402Response) HasTitle

func (o *ApiV1SellerInfoGet402Response) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (ApiV1SellerInfoGet402Response) MarshalJSON

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

func (*ApiV1SellerInfoGet402Response) SetDetail

func (o *ApiV1SellerInfoGet402Response) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*ApiV1SellerInfoGet402Response) SetTitle

func (o *ApiV1SellerInfoGet402Response) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (ApiV1SellerInfoGet402Response) ToMap

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

type BasicAuth

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

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

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

type CreateInviteRequest struct {
	// Access settings for seller account sections
	Access []AccessInner             `json:"access,omitempty"`
	Invite CreateInviteRequestInvite `json:"invite"`
}

CreateInviteRequest struct for CreateInviteRequest

func NewCreateInviteRequest

func NewCreateInviteRequest(invite CreateInviteRequestInvite) *CreateInviteRequest

NewCreateInviteRequest instantiates a new CreateInviteRequest 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 NewCreateInviteRequestWithDefaults

func NewCreateInviteRequestWithDefaults() *CreateInviteRequest

NewCreateInviteRequestWithDefaults instantiates a new CreateInviteRequest 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 (*CreateInviteRequest) GetAccess

func (o *CreateInviteRequest) GetAccess() []AccessInner

GetAccess returns the Access field value if set, zero value otherwise.

func (*CreateInviteRequest) GetAccessOk

func (o *CreateInviteRequest) GetAccessOk() ([]AccessInner, bool)

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

func (*CreateInviteRequest) GetInvite

GetInvite returns the Invite field value

func (*CreateInviteRequest) GetInviteOk

func (o *CreateInviteRequest) GetInviteOk() (*CreateInviteRequestInvite, bool)

GetInviteOk returns a tuple with the Invite field value and a boolean to check if the value has been set.

func (*CreateInviteRequest) HasAccess

func (o *CreateInviteRequest) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (CreateInviteRequest) MarshalJSON

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

func (*CreateInviteRequest) SetAccess

func (o *CreateInviteRequest) SetAccess(v []AccessInner)

SetAccess gets a reference to the given []AccessInner and assigns it to the Access field.

func (*CreateInviteRequest) SetInvite

SetInvite sets field value

func (CreateInviteRequest) ToMap

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

func (*CreateInviteRequest) UnmarshalJSON

func (o *CreateInviteRequest) UnmarshalJSON(data []byte) (err error)

type CreateInviteRequestInvite

type CreateInviteRequestInvite struct {
	// User's phone number for the invitation. <details><summary><strong>Phone numbers from the following countries are supported:</strong></summary>• Armenia<br>• Azerbaijan<br>• Barbados<br>• Belarus<br>• Brazil<br>• China<br>• Czech Republic<br>• Georgia<br>• Hong Kong<br>• Italy<br>• Kazakhstan<br>• Kyrgyzstan<br>• Macau<br>• Russia<br>• Serbia<br>• Sweden<br>• Tajikistan<br>• Turkey<br>• UAE<br>• Uzbekistan</details>
	PhoneNumber string `json:"phoneNumber"`
	// User's position
	Position *string `json:"position,omitempty"`
}

CreateInviteRequestInvite struct for CreateInviteRequestInvite

func NewCreateInviteRequestInvite

func NewCreateInviteRequestInvite(phoneNumber string) *CreateInviteRequestInvite

NewCreateInviteRequestInvite instantiates a new CreateInviteRequestInvite 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 NewCreateInviteRequestInviteWithDefaults

func NewCreateInviteRequestInviteWithDefaults() *CreateInviteRequestInvite

NewCreateInviteRequestInviteWithDefaults instantiates a new CreateInviteRequestInvite 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 (*CreateInviteRequestInvite) GetPhoneNumber

func (o *CreateInviteRequestInvite) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value

func (*CreateInviteRequestInvite) GetPhoneNumberOk

func (o *CreateInviteRequestInvite) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value and a boolean to check if the value has been set.

func (*CreateInviteRequestInvite) GetPosition

func (o *CreateInviteRequestInvite) GetPosition() string

GetPosition returns the Position field value if set, zero value otherwise.

func (*CreateInviteRequestInvite) GetPositionOk

func (o *CreateInviteRequestInvite) GetPositionOk() (*string, bool)

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

func (*CreateInviteRequestInvite) HasPosition

func (o *CreateInviteRequestInvite) HasPosition() bool

HasPosition returns a boolean if a field has been set.

func (CreateInviteRequestInvite) MarshalJSON

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

func (*CreateInviteRequestInvite) SetPhoneNumber

func (o *CreateInviteRequestInvite) SetPhoneNumber(v string)

SetPhoneNumber sets field value

func (*CreateInviteRequestInvite) SetPosition

func (o *CreateInviteRequestInvite) SetPosition(v string)

SetPosition gets a reference to the given string and assigns it to the Position field.

func (CreateInviteRequestInvite) ToMap

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

func (*CreateInviteRequestInvite) UnmarshalJSON

func (o *CreateInviteRequestInvite) UnmarshalJSON(data []byte) (err error)

type CreateInviteResponse

type CreateInviteResponse struct {
	// Invitation ID
	InviteID string `json:"inviteID"`
	// Date and time of expiration of the invitation
	ExpiredAt time.Time `json:"expiredAt"`
	// - `true` — the invitation was created successfully - `false` — retry the request
	IsSuccess bool `json:"isSuccess"`
	// The invitation URL that the user should follow
	InviteUrl string `json:"inviteUrl"`
}

CreateInviteResponse Invitation details

func NewCreateInviteResponse

func NewCreateInviteResponse(inviteID string, expiredAt time.Time, isSuccess bool, inviteUrl string) *CreateInviteResponse

NewCreateInviteResponse instantiates a new CreateInviteResponse 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 NewCreateInviteResponseWithDefaults

func NewCreateInviteResponseWithDefaults() *CreateInviteResponse

NewCreateInviteResponseWithDefaults instantiates a new CreateInviteResponse 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 (*CreateInviteResponse) GetExpiredAt

func (o *CreateInviteResponse) GetExpiredAt() time.Time

GetExpiredAt returns the ExpiredAt field value

func (*CreateInviteResponse) GetExpiredAtOk

func (o *CreateInviteResponse) GetExpiredAtOk() (*time.Time, bool)

GetExpiredAtOk returns a tuple with the ExpiredAt field value and a boolean to check if the value has been set.

func (*CreateInviteResponse) GetInviteID

func (o *CreateInviteResponse) GetInviteID() string

GetInviteID returns the InviteID field value

func (*CreateInviteResponse) GetInviteIDOk

func (o *CreateInviteResponse) GetInviteIDOk() (*string, bool)

GetInviteIDOk returns a tuple with the InviteID field value and a boolean to check if the value has been set.

func (*CreateInviteResponse) GetInviteUrl

func (o *CreateInviteResponse) GetInviteUrl() string

GetInviteUrl returns the InviteUrl field value

func (*CreateInviteResponse) GetInviteUrlOk

func (o *CreateInviteResponse) GetInviteUrlOk() (*string, bool)

GetInviteUrlOk returns a tuple with the InviteUrl field value and a boolean to check if the value has been set.

func (*CreateInviteResponse) GetIsSuccess

func (o *CreateInviteResponse) GetIsSuccess() bool

GetIsSuccess returns the IsSuccess field value

func (*CreateInviteResponse) GetIsSuccessOk

func (o *CreateInviteResponse) GetIsSuccessOk() (*bool, bool)

GetIsSuccessOk returns a tuple with the IsSuccess field value and a boolean to check if the value has been set.

func (CreateInviteResponse) MarshalJSON

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

func (*CreateInviteResponse) SetExpiredAt

func (o *CreateInviteResponse) SetExpiredAt(v time.Time)

SetExpiredAt sets field value

func (*CreateInviteResponse) SetInviteID

func (o *CreateInviteResponse) SetInviteID(v string)

SetInviteID sets field value

func (*CreateInviteResponse) SetInviteUrl

func (o *CreateInviteResponse) SetInviteUrl(v string)

SetInviteUrl sets field value

func (*CreateInviteResponse) SetIsSuccess

func (o *CreateInviteResponse) SetIsSuccess(v bool)

SetIsSuccess sets field value

func (CreateInviteResponse) ToMap

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

func (*CreateInviteResponse) UnmarshalJSON

func (o *CreateInviteResponse) UnmarshalJSON(data []byte) (err error)

type ErrorResponse

type ErrorResponse struct {
	// Error title
	Title string `json:"title"`
	// Error details
	Detail string `json:"detail"`
	// Request ID
	RequestId string `json:"requestId"`
	// Internal service name
	Origin string `json:"origin"`
	// HTTP status code
	Status float32 `json:"status"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse(title string, detail string, requestId string, origin string, status float32) *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetDetail

func (o *ErrorResponse) GetDetail() string

GetDetail returns the Detail field value

func (*ErrorResponse) GetDetailOk

func (o *ErrorResponse) GetDetailOk() (*string, bool)

GetDetailOk returns a tuple with the Detail field value and a boolean to check if the value has been set.

func (*ErrorResponse) GetOrigin

func (o *ErrorResponse) GetOrigin() string

GetOrigin returns the Origin field value

func (*ErrorResponse) GetOriginOk

func (o *ErrorResponse) GetOriginOk() (*string, bool)

GetOriginOk returns a tuple with the Origin field value and a boolean to check if the value has been set.

func (*ErrorResponse) GetRequestId

func (o *ErrorResponse) GetRequestId() string

GetRequestId returns the RequestId field value

func (*ErrorResponse) GetRequestIdOk

func (o *ErrorResponse) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value and a boolean to check if the value has been set.

func (*ErrorResponse) GetStatus

func (o *ErrorResponse) GetStatus() float32

GetStatus returns the Status field value

func (*ErrorResponse) GetStatusOk

func (o *ErrorResponse) GetStatusOk() (*float32, bool)

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

func (*ErrorResponse) GetTitle

func (o *ErrorResponse) GetTitle() string

GetTitle returns the Title field value

func (*ErrorResponse) GetTitleOk

func (o *ErrorResponse) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetDetail

func (o *ErrorResponse) SetDetail(v string)

SetDetail sets field value

func (*ErrorResponse) SetOrigin

func (o *ErrorResponse) SetOrigin(v string)

SetOrigin sets field value

func (*ErrorResponse) SetRequestId

func (o *ErrorResponse) SetRequestId(v string)

SetRequestId sets field value

func (*ErrorResponse) SetStatus

func (o *ErrorResponse) SetStatus(v float32)

SetStatus sets field value

func (*ErrorResponse) SetTitle

func (o *ErrorResponse) SetTitle(v string)

SetTitle sets field value

func (ErrorResponse) ToMap

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

func (*ErrorResponse) UnmarshalJSON

func (o *ErrorResponse) UnmarshalJSON(data []byte) (err 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 GetUsersResponse

type GetUsersResponse struct {
	// The total number of active or invited users in the list
	Total int32 `json:"total"`
	// The number of active or invited users on the current page
	CountInResponse int32 `json:"countInResponse"`
	// User information
	Users []GetUsersResponseUsersInner `json:"users"`
}

GetUsersResponse struct for GetUsersResponse

func NewGetUsersResponse

func NewGetUsersResponse(total int32, countInResponse int32, users []GetUsersResponseUsersInner) *GetUsersResponse

NewGetUsersResponse instantiates a new GetUsersResponse 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 NewGetUsersResponseWithDefaults

func NewGetUsersResponseWithDefaults() *GetUsersResponse

NewGetUsersResponseWithDefaults instantiates a new GetUsersResponse 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 (*GetUsersResponse) GetCountInResponse

func (o *GetUsersResponse) GetCountInResponse() int32

GetCountInResponse returns the CountInResponse field value

func (*GetUsersResponse) GetCountInResponseOk

func (o *GetUsersResponse) GetCountInResponseOk() (*int32, bool)

GetCountInResponseOk returns a tuple with the CountInResponse field value and a boolean to check if the value has been set.

func (*GetUsersResponse) GetTotal

func (o *GetUsersResponse) GetTotal() int32

GetTotal returns the Total field value

func (*GetUsersResponse) GetTotalOk

func (o *GetUsersResponse) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.

func (*GetUsersResponse) GetUsers

GetUsers returns the Users field value

func (*GetUsersResponse) GetUsersOk

func (o *GetUsersResponse) GetUsersOk() ([]GetUsersResponseUsersInner, bool)

GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.

func (GetUsersResponse) MarshalJSON

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

func (*GetUsersResponse) SetCountInResponse

func (o *GetUsersResponse) SetCountInResponse(v int32)

SetCountInResponse sets field value

func (*GetUsersResponse) SetTotal

func (o *GetUsersResponse) SetTotal(v int32)

SetTotal sets field value

func (*GetUsersResponse) SetUsers

SetUsers sets field value

func (GetUsersResponse) ToMap

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

func (*GetUsersResponse) UnmarshalJSON

func (o *GetUsersResponse) UnmarshalJSON(data []byte) (err error)

type GetUsersResponseUsersInner

type GetUsersResponseUsersInner struct {
	// User ID
	Id int32 `json:"id"`
	// User role: * `user` — user who have activated access * ` ` (empty string) — user who have not yet activated access
	Role string `json:"role"`
	// User's position
	Position string `json:"position"`
	// User's phone number
	Phone string `json:"phone"`
	// User's email
	Email string `json:"email"`
	// Is the user the seller account's owner
	IsOwner bool `json:"isOwner"`
	// User's first name
	FirstName string `json:"firstName"`
	// User's last name
	SecondName string `json:"secondName"`
	// User's patronymic
	Patronymic string `json:"patronymic"`
	// Can user approve product returns
	GoodsReturn bool `json:"goodsReturn"`
	// Is the user invited
	IsInvitee   bool                                          `json:"isInvitee"`
	InviteeInfo NullableGetUsersResponseUsersInnerInviteeInfo `json:"inviteeInfo"`
	// Access settings for seller account sections
	Access []AccessInner `json:"access"`
}

GetUsersResponseUsersInner struct for GetUsersResponseUsersInner

func NewGetUsersResponseUsersInner

func NewGetUsersResponseUsersInner(id int32, role string, position string, phone string, email string, isOwner bool, firstName string, secondName string, patronymic string, goodsReturn bool, isInvitee bool, inviteeInfo NullableGetUsersResponseUsersInnerInviteeInfo, access []AccessInner) *GetUsersResponseUsersInner

NewGetUsersResponseUsersInner instantiates a new GetUsersResponseUsersInner 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 NewGetUsersResponseUsersInnerWithDefaults

func NewGetUsersResponseUsersInnerWithDefaults() *GetUsersResponseUsersInner

NewGetUsersResponseUsersInnerWithDefaults instantiates a new GetUsersResponseUsersInner 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 (*GetUsersResponseUsersInner) GetAccess

func (o *GetUsersResponseUsersInner) GetAccess() []AccessInner

GetAccess returns the Access field value

func (*GetUsersResponseUsersInner) GetAccessOk

func (o *GetUsersResponseUsersInner) GetAccessOk() ([]AccessInner, bool)

GetAccessOk returns a tuple with the Access field value and a boolean to check if the value has been set.

func (*GetUsersResponseUsersInner) GetEmail

func (o *GetUsersResponseUsersInner) GetEmail() string

GetEmail returns the Email field value

func (*GetUsersResponseUsersInner) GetEmailOk

func (o *GetUsersResponseUsersInner) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*GetUsersResponseUsersInner) GetFirstName

func (o *GetUsersResponseUsersInner) GetFirstName() string

GetFirstName returns the FirstName field value

func (*GetUsersResponseUsersInner) GetFirstNameOk

func (o *GetUsersResponseUsersInner) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value and a boolean to check if the value has been set.

func (*GetUsersResponseUsersInner) GetGoodsReturn

func (o *GetUsersResponseUsersInner) GetGoodsReturn() bool

GetGoodsReturn returns the GoodsReturn field value

func (*GetUsersResponseUsersInner) GetGoodsReturnOk

func (o *GetUsersResponseUsersInner) GetGoodsReturnOk() (*bool, bool)

GetGoodsReturnOk returns a tuple with the GoodsReturn field value and a boolean to check if the value has been set.

func (*GetUsersResponseUsersInner) GetId

func (o *GetUsersResponseUsersInner) GetId() int32

GetId returns the Id field value

func (*GetUsersResponseUsersInner) GetIdOk

func (o *GetUsersResponseUsersInner) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*GetUsersResponseUsersInner) GetInviteeInfo

GetInviteeInfo returns the InviteeInfo field value If the value is explicit nil, the zero value for GetUsersResponseUsersInnerInviteeInfo will be returned

func (*GetUsersResponseUsersInner) GetInviteeInfoOk

GetInviteeInfoOk returns a tuple with the InviteeInfo field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetUsersResponseUsersInner) GetIsInvitee

func (o *GetUsersResponseUsersInner) GetIsInvitee() bool

GetIsInvitee returns the IsInvitee field value

func (*GetUsersResponseUsersInner) GetIsInviteeOk

func (o *GetUsersResponseUsersInner) GetIsInviteeOk() (*bool, bool)

GetIsInviteeOk returns a tuple with the IsInvitee field value and a boolean to check if the value has been set.

func (*GetUsersResponseUsersInner) GetIsOwner

func (o *GetUsersResponseUsersInner) GetIsOwner() bool

GetIsOwner returns the IsOwner field value

func (*GetUsersResponseUsersInner) GetIsOwnerOk

func (o *GetUsersResponseUsersInner) GetIsOwnerOk() (*bool, bool)

GetIsOwnerOk returns a tuple with the IsOwner field value and a boolean to check if the value has been set.

func (*GetUsersResponseUsersInner) GetPatronymic

func (o *GetUsersResponseUsersInner) GetPatronymic() string

GetPatronymic returns the Patronymic field value

func (*GetUsersResponseUsersInner) GetPatronymicOk

func (o *GetUsersResponseUsersInner) GetPatronymicOk() (*string, bool)

GetPatronymicOk returns a tuple with the Patronymic field value and a boolean to check if the value has been set.

func (*GetUsersResponseUsersInner) GetPhone

func (o *GetUsersResponseUsersInner) GetPhone() string

GetPhone returns the Phone field value

func (*GetUsersResponseUsersInner) GetPhoneOk

func (o *GetUsersResponseUsersInner) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value and a boolean to check if the value has been set.

func (*GetUsersResponseUsersInner) GetPosition

func (o *GetUsersResponseUsersInner) GetPosition() string

GetPosition returns the Position field value

func (*GetUsersResponseUsersInner) GetPositionOk

func (o *GetUsersResponseUsersInner) GetPositionOk() (*string, bool)

GetPositionOk returns a tuple with the Position field value and a boolean to check if the value has been set.

func (*GetUsersResponseUsersInner) GetRole

func (o *GetUsersResponseUsersInner) GetRole() string

GetRole returns the Role field value

func (*GetUsersResponseUsersInner) GetRoleOk

func (o *GetUsersResponseUsersInner) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (*GetUsersResponseUsersInner) GetSecondName

func (o *GetUsersResponseUsersInner) GetSecondName() string

GetSecondName returns the SecondName field value

func (*GetUsersResponseUsersInner) GetSecondNameOk

func (o *GetUsersResponseUsersInner) GetSecondNameOk() (*string, bool)

GetSecondNameOk returns a tuple with the SecondName field value and a boolean to check if the value has been set.

func (GetUsersResponseUsersInner) MarshalJSON

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

func (*GetUsersResponseUsersInner) SetAccess

func (o *GetUsersResponseUsersInner) SetAccess(v []AccessInner)

SetAccess sets field value

func (*GetUsersResponseUsersInner) SetEmail

func (o *GetUsersResponseUsersInner) SetEmail(v string)

SetEmail sets field value

func (*GetUsersResponseUsersInner) SetFirstName

func (o *GetUsersResponseUsersInner) SetFirstName(v string)

SetFirstName sets field value

func (*GetUsersResponseUsersInner) SetGoodsReturn

func (o *GetUsersResponseUsersInner) SetGoodsReturn(v bool)

SetGoodsReturn sets field value

func (*GetUsersResponseUsersInner) SetId

func (o *GetUsersResponseUsersInner) SetId(v int32)

SetId sets field value

func (*GetUsersResponseUsersInner) SetInviteeInfo

SetInviteeInfo sets field value

func (*GetUsersResponseUsersInner) SetIsInvitee

func (o *GetUsersResponseUsersInner) SetIsInvitee(v bool)

SetIsInvitee sets field value

func (*GetUsersResponseUsersInner) SetIsOwner

func (o *GetUsersResponseUsersInner) SetIsOwner(v bool)

SetIsOwner sets field value

func (*GetUsersResponseUsersInner) SetPatronymic

func (o *GetUsersResponseUsersInner) SetPatronymic(v string)

SetPatronymic sets field value

func (*GetUsersResponseUsersInner) SetPhone

func (o *GetUsersResponseUsersInner) SetPhone(v string)

SetPhone sets field value

func (*GetUsersResponseUsersInner) SetPosition

func (o *GetUsersResponseUsersInner) SetPosition(v string)

SetPosition sets field value

func (*GetUsersResponseUsersInner) SetRole

func (o *GetUsersResponseUsersInner) SetRole(v string)

SetRole sets field value

func (*GetUsersResponseUsersInner) SetSecondName

func (o *GetUsersResponseUsersInner) SetSecondName(v string)

SetSecondName sets field value

func (GetUsersResponseUsersInner) ToMap

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

func (*GetUsersResponseUsersInner) UnmarshalJSON

func (o *GetUsersResponseUsersInner) UnmarshalJSON(data []byte) (err error)

type GetUsersResponseUsersInnerInviteeInfo

type GetUsersResponseUsersInnerInviteeInfo struct {
	// Invited user's phone number
	PhoneNumber *string `json:"phoneNumber,omitempty"`
	// Invited user's position
	Position *string `json:"position,omitempty"`
	// Invitation ID
	InviteUuid *string `json:"inviteUuid,omitempty"`
	// Invitation expiration date and time
	ExpiredAt *time.Time `json:"expiredAt,omitempty"`
	// - `true` — the invitation is active - `false` — the invitation is inactive
	IsActive *bool `json:"isActive,omitempty"`
}

GetUsersResponseUsersInnerInviteeInfo Invitation information, if the user is invited

func NewGetUsersResponseUsersInnerInviteeInfo

func NewGetUsersResponseUsersInnerInviteeInfo() *GetUsersResponseUsersInnerInviteeInfo

NewGetUsersResponseUsersInnerInviteeInfo instantiates a new GetUsersResponseUsersInnerInviteeInfo 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 NewGetUsersResponseUsersInnerInviteeInfoWithDefaults

func NewGetUsersResponseUsersInnerInviteeInfoWithDefaults() *GetUsersResponseUsersInnerInviteeInfo

NewGetUsersResponseUsersInnerInviteeInfoWithDefaults instantiates a new GetUsersResponseUsersInnerInviteeInfo 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 (*GetUsersResponseUsersInnerInviteeInfo) GetExpiredAt

GetExpiredAt returns the ExpiredAt field value if set, zero value otherwise.

func (*GetUsersResponseUsersInnerInviteeInfo) GetExpiredAtOk

func (o *GetUsersResponseUsersInnerInviteeInfo) GetExpiredAtOk() (*time.Time, bool)

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

func (*GetUsersResponseUsersInnerInviteeInfo) GetInviteUuid

func (o *GetUsersResponseUsersInnerInviteeInfo) GetInviteUuid() string

GetInviteUuid returns the InviteUuid field value if set, zero value otherwise.

func (*GetUsersResponseUsersInnerInviteeInfo) GetInviteUuidOk

func (o *GetUsersResponseUsersInnerInviteeInfo) GetInviteUuidOk() (*string, bool)

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

func (*GetUsersResponseUsersInnerInviteeInfo) GetIsActive

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*GetUsersResponseUsersInnerInviteeInfo) GetIsActiveOk

func (o *GetUsersResponseUsersInnerInviteeInfo) GetIsActiveOk() (*bool, bool)

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

func (*GetUsersResponseUsersInnerInviteeInfo) GetPhoneNumber

func (o *GetUsersResponseUsersInnerInviteeInfo) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*GetUsersResponseUsersInnerInviteeInfo) GetPhoneNumberOk

func (o *GetUsersResponseUsersInnerInviteeInfo) GetPhoneNumberOk() (*string, bool)

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

func (*GetUsersResponseUsersInnerInviteeInfo) GetPosition

GetPosition returns the Position field value if set, zero value otherwise.

func (*GetUsersResponseUsersInnerInviteeInfo) GetPositionOk

func (o *GetUsersResponseUsersInnerInviteeInfo) GetPositionOk() (*string, bool)

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

func (*GetUsersResponseUsersInnerInviteeInfo) HasExpiredAt

func (o *GetUsersResponseUsersInnerInviteeInfo) HasExpiredAt() bool

HasExpiredAt returns a boolean if a field has been set.

func (*GetUsersResponseUsersInnerInviteeInfo) HasInviteUuid

func (o *GetUsersResponseUsersInnerInviteeInfo) HasInviteUuid() bool

HasInviteUuid returns a boolean if a field has been set.

func (*GetUsersResponseUsersInnerInviteeInfo) HasIsActive

HasIsActive returns a boolean if a field has been set.

func (*GetUsersResponseUsersInnerInviteeInfo) HasPhoneNumber

func (o *GetUsersResponseUsersInnerInviteeInfo) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*GetUsersResponseUsersInnerInviteeInfo) HasPosition

HasPosition returns a boolean if a field has been set.

func (GetUsersResponseUsersInnerInviteeInfo) MarshalJSON

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

func (*GetUsersResponseUsersInnerInviteeInfo) SetExpiredAt

func (o *GetUsersResponseUsersInnerInviteeInfo) SetExpiredAt(v time.Time)

SetExpiredAt gets a reference to the given time.Time and assigns it to the ExpiredAt field.

func (*GetUsersResponseUsersInnerInviteeInfo) SetInviteUuid

func (o *GetUsersResponseUsersInnerInviteeInfo) SetInviteUuid(v string)

SetInviteUuid gets a reference to the given string and assigns it to the InviteUuid field.

func (*GetUsersResponseUsersInnerInviteeInfo) SetIsActive

func (o *GetUsersResponseUsersInnerInviteeInfo) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*GetUsersResponseUsersInnerInviteeInfo) SetPhoneNumber

func (o *GetUsersResponseUsersInnerInviteeInfo) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*GetUsersResponseUsersInnerInviteeInfo) SetPosition

SetPosition gets a reference to the given string and assigns it to the Position field.

func (GetUsersResponseUsersInnerInviteeInfo) ToMap

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

type MappedNullable

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

type NewsAPIAPIService

type NewsAPIAPIService service

NewsAPIAPIService NewsAPIAPI service

func (*NewsAPIAPIService) ApiCommunicationsV2NewsGet

func (a *NewsAPIAPIService) ApiCommunicationsV2NewsGet(ctx context.Context) ApiApiCommunicationsV2NewsGetRequest

ApiCommunicationsV2NewsGet Getting Seller Portal News

The method allows getting news from the seller portal. <br> To receive a successful response, one of the parameters `from` or `fromID` must be specified. <br> You can get up to 100 news items per request.

<div class="description_limit"> <a href="/openapi/api-information#tag/Introduction/Rate-Limits">Request limit</a> per one seller's account:

| Period | Limit | Interval | Burst | | --- | --- | --- | --- | | 1 min | 1 request | 1 min | 10 requests | </div>

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

func (*NewsAPIAPIService) ApiCommunicationsV2NewsGetExecute

Execute executes the request

@return ApiCommunicationsV2NewsGet200Response

type NullableAccessInner

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

func NewNullableAccessInner

func NewNullableAccessInner(val *AccessInner) *NullableAccessInner

func (NullableAccessInner) Get

func (NullableAccessInner) IsSet

func (v NullableAccessInner) IsSet() bool

func (NullableAccessInner) MarshalJSON

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

func (*NullableAccessInner) Set

func (v *NullableAccessInner) Set(val *AccessInner)

func (*NullableAccessInner) UnmarshalJSON

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

func (*NullableAccessInner) Unset

func (v *NullableAccessInner) Unset()

type NullableApiCommunicationsV2NewsGet200Response

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

func (NullableApiCommunicationsV2NewsGet200Response) Get

func (NullableApiCommunicationsV2NewsGet200Response) IsSet

func (NullableApiCommunicationsV2NewsGet200Response) MarshalJSON

func (*NullableApiCommunicationsV2NewsGet200Response) Set

func (*NullableApiCommunicationsV2NewsGet200Response) UnmarshalJSON

func (*NullableApiCommunicationsV2NewsGet200Response) Unset

type NullableApiCommunicationsV2NewsGet200ResponseDataInner

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

func (NullableApiCommunicationsV2NewsGet200ResponseDataInner) Get

func (NullableApiCommunicationsV2NewsGet200ResponseDataInner) IsSet

func (NullableApiCommunicationsV2NewsGet200ResponseDataInner) MarshalJSON

func (*NullableApiCommunicationsV2NewsGet200ResponseDataInner) Set

func (*NullableApiCommunicationsV2NewsGet200ResponseDataInner) UnmarshalJSON

func (*NullableApiCommunicationsV2NewsGet200ResponseDataInner) Unset

type NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner

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

func (NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) Get

func (NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) IsSet

func (NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) MarshalJSON

func (*NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) Set

func (*NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) UnmarshalJSON

func (*NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) Unset

type NullableApiV1SellerInfoGet200Response

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

func (NullableApiV1SellerInfoGet200Response) Get

func (NullableApiV1SellerInfoGet200Response) IsSet

func (NullableApiV1SellerInfoGet200Response) MarshalJSON

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

func (*NullableApiV1SellerInfoGet200Response) Set

func (*NullableApiV1SellerInfoGet200Response) UnmarshalJSON

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

func (*NullableApiV1SellerInfoGet200Response) Unset

type NullableApiV1SellerInfoGet402Response

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

func (NullableApiV1SellerInfoGet402Response) Get

func (NullableApiV1SellerInfoGet402Response) IsSet

func (NullableApiV1SellerInfoGet402Response) MarshalJSON

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

func (*NullableApiV1SellerInfoGet402Response) Set

func (*NullableApiV1SellerInfoGet402Response) UnmarshalJSON

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

func (*NullableApiV1SellerInfoGet402Response) 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 NullableCreateInviteRequest

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

func NewNullableCreateInviteRequest

func NewNullableCreateInviteRequest(val *CreateInviteRequest) *NullableCreateInviteRequest

func (NullableCreateInviteRequest) Get

func (NullableCreateInviteRequest) IsSet

func (NullableCreateInviteRequest) MarshalJSON

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

func (*NullableCreateInviteRequest) Set

func (*NullableCreateInviteRequest) UnmarshalJSON

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

func (*NullableCreateInviteRequest) Unset

func (v *NullableCreateInviteRequest) Unset()

type NullableCreateInviteRequestInvite

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

func (NullableCreateInviteRequestInvite) Get

func (NullableCreateInviteRequestInvite) IsSet

func (NullableCreateInviteRequestInvite) MarshalJSON

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

func (*NullableCreateInviteRequestInvite) Set

func (*NullableCreateInviteRequestInvite) UnmarshalJSON

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

func (*NullableCreateInviteRequestInvite) Unset

type NullableCreateInviteResponse

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

func NewNullableCreateInviteResponse

func NewNullableCreateInviteResponse(val *CreateInviteResponse) *NullableCreateInviteResponse

func (NullableCreateInviteResponse) Get

func (NullableCreateInviteResponse) IsSet

func (NullableCreateInviteResponse) MarshalJSON

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

func (*NullableCreateInviteResponse) Set

func (*NullableCreateInviteResponse) UnmarshalJSON

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

func (*NullableCreateInviteResponse) Unset

func (v *NullableCreateInviteResponse) Unset()

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) 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 NullableGetUsersResponse

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

func NewNullableGetUsersResponse

func NewNullableGetUsersResponse(val *GetUsersResponse) *NullableGetUsersResponse

func (NullableGetUsersResponse) Get

func (NullableGetUsersResponse) IsSet

func (v NullableGetUsersResponse) IsSet() bool

func (NullableGetUsersResponse) MarshalJSON

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

func (*NullableGetUsersResponse) Set

func (*NullableGetUsersResponse) UnmarshalJSON

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

func (*NullableGetUsersResponse) Unset

func (v *NullableGetUsersResponse) Unset()

type NullableGetUsersResponseUsersInner

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

func (NullableGetUsersResponseUsersInner) Get

func (NullableGetUsersResponseUsersInner) IsSet

func (NullableGetUsersResponseUsersInner) MarshalJSON

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

func (*NullableGetUsersResponseUsersInner) Set

func (*NullableGetUsersResponseUsersInner) UnmarshalJSON

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

func (*NullableGetUsersResponseUsersInner) Unset

type NullableGetUsersResponseUsersInnerInviteeInfo

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

func (NullableGetUsersResponseUsersInnerInviteeInfo) Get

func (NullableGetUsersResponseUsersInnerInviteeInfo) IsSet

func (NullableGetUsersResponseUsersInnerInviteeInfo) MarshalJSON

func (*NullableGetUsersResponseUsersInnerInviteeInfo) Set

func (*NullableGetUsersResponseUsersInnerInviteeInfo) UnmarshalJSON

func (*NullableGetUsersResponseUsersInnerInviteeInfo) 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 NullablePingGet200Response

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

func NewNullablePingGet200Response

func NewNullablePingGet200Response(val *PingGet200Response) *NullablePingGet200Response

func (NullablePingGet200Response) Get

func (NullablePingGet200Response) IsSet

func (v NullablePingGet200Response) IsSet() bool

func (NullablePingGet200Response) MarshalJSON

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

func (*NullablePingGet200Response) Set

func (*NullablePingGet200Response) UnmarshalJSON

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

func (*NullablePingGet200Response) Unset

func (v *NullablePingGet200Response) Unset()

type NullablePingGet401Response

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

func NewNullablePingGet401Response

func NewNullablePingGet401Response(val *PingGet401Response) *NullablePingGet401Response

func (NullablePingGet401Response) Get

func (NullablePingGet401Response) IsSet

func (v NullablePingGet401Response) IsSet() bool

func (NullablePingGet401Response) MarshalJSON

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

func (*NullablePingGet401Response) Set

func (*NullablePingGet401Response) UnmarshalJSON

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

func (*NullablePingGet401Response) Unset

func (v *NullablePingGet401Response) 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 NullableSubscriptionsJamInfo

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

func NewNullableSubscriptionsJamInfo

func NewNullableSubscriptionsJamInfo(val *SubscriptionsJamInfo) *NullableSubscriptionsJamInfo

func (NullableSubscriptionsJamInfo) Get

func (NullableSubscriptionsJamInfo) IsSet

func (NullableSubscriptionsJamInfo) MarshalJSON

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

func (*NullableSubscriptionsJamInfo) Set

func (*NullableSubscriptionsJamInfo) UnmarshalJSON

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

func (*NullableSubscriptionsJamInfo) Unset

func (v *NullableSubscriptionsJamInfo) Unset()

type NullableSupplierRatingModel

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

func NewNullableSupplierRatingModel

func NewNullableSupplierRatingModel(val *SupplierRatingModel) *NullableSupplierRatingModel

func (NullableSupplierRatingModel) Get

func (NullableSupplierRatingModel) IsSet

func (NullableSupplierRatingModel) MarshalJSON

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

func (*NullableSupplierRatingModel) Set

func (*NullableSupplierRatingModel) UnmarshalJSON

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

func (*NullableSupplierRatingModel) Unset

func (v *NullableSupplierRatingModel) 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 NullableUpdateUserAccessRequest

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

func (NullableUpdateUserAccessRequest) Get

func (NullableUpdateUserAccessRequest) IsSet

func (NullableUpdateUserAccessRequest) MarshalJSON

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

func (*NullableUpdateUserAccessRequest) Set

func (*NullableUpdateUserAccessRequest) UnmarshalJSON

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

func (*NullableUpdateUserAccessRequest) Unset

type NullableUserAccess

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

func NewNullableUserAccess

func NewNullableUserAccess(val *UserAccess) *NullableUserAccess

func (NullableUserAccess) Get

func (v NullableUserAccess) Get() *UserAccess

func (NullableUserAccess) IsSet

func (v NullableUserAccess) IsSet() bool

func (NullableUserAccess) MarshalJSON

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

func (*NullableUserAccess) Set

func (v *NullableUserAccess) Set(val *UserAccess)

func (*NullableUserAccess) UnmarshalJSON

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

func (*NullableUserAccess) Unset

func (v *NullableUserAccess) Unset()

type PingGet200Response

type PingGet200Response struct {
	// Request timestamp
	TS *string `json:"TS,omitempty"`
	// Status
	Status *string `json:"Status,omitempty"`
}

PingGet200Response struct for PingGet200Response

func NewPingGet200Response

func NewPingGet200Response() *PingGet200Response

NewPingGet200Response instantiates a new PingGet200Response 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 NewPingGet200ResponseWithDefaults

func NewPingGet200ResponseWithDefaults() *PingGet200Response

NewPingGet200ResponseWithDefaults instantiates a new PingGet200Response 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 (*PingGet200Response) GetStatus

func (o *PingGet200Response) GetStatus() string

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

func (*PingGet200Response) GetStatusOk

func (o *PingGet200Response) 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 (*PingGet200Response) GetTS

func (o *PingGet200Response) GetTS() string

GetTS returns the TS field value if set, zero value otherwise.

func (*PingGet200Response) GetTSOk

func (o *PingGet200Response) GetTSOk() (*string, bool)

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

func (*PingGet200Response) HasStatus

func (o *PingGet200Response) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*PingGet200Response) HasTS

func (o *PingGet200Response) HasTS() bool

HasTS returns a boolean if a field has been set.

func (PingGet200Response) MarshalJSON

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

func (*PingGet200Response) SetStatus

func (o *PingGet200Response) SetStatus(v string)

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

func (*PingGet200Response) SetTS

func (o *PingGet200Response) SetTS(v string)

SetTS gets a reference to the given string and assigns it to the TS field.

func (PingGet200Response) ToMap

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

type PingGet401Response

type PingGet401Response struct {
	// Error title
	Title *string `json:"title,omitempty"`
	// Error details
	Detail *string `json:"detail,omitempty"`
	// Internal error code
	Code *string `json:"code,omitempty"`
	// Unique request ID
	RequestId *string `json:"requestId,omitempty"`
	// WB internal service ID
	Origin *string `json:"origin,omitempty"`
	// HTTP status code
	Status *float32 `json:"status,omitempty"`
	// Text of the HTTP status code
	StatusText *string `json:"statusText,omitempty"`
	// Request date and time
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

PingGet401Response struct for PingGet401Response

func NewPingGet401Response

func NewPingGet401Response() *PingGet401Response

NewPingGet401Response instantiates a new PingGet401Response 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 NewPingGet401ResponseWithDefaults

func NewPingGet401ResponseWithDefaults() *PingGet401Response

NewPingGet401ResponseWithDefaults instantiates a new PingGet401Response 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 (*PingGet401Response) GetCode

func (o *PingGet401Response) GetCode() string

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

func (*PingGet401Response) GetCodeOk

func (o *PingGet401Response) 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 (*PingGet401Response) GetDetail

func (o *PingGet401Response) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*PingGet401Response) GetDetailOk

func (o *PingGet401Response) GetDetailOk() (*string, bool)

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

func (*PingGet401Response) GetOrigin

func (o *PingGet401Response) GetOrigin() string

GetOrigin returns the Origin field value if set, zero value otherwise.

func (*PingGet401Response) GetOriginOk

func (o *PingGet401Response) GetOriginOk() (*string, bool)

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

func (*PingGet401Response) GetRequestId

func (o *PingGet401Response) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*PingGet401Response) GetRequestIdOk

func (o *PingGet401Response) GetRequestIdOk() (*string, bool)

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

func (*PingGet401Response) GetStatus

func (o *PingGet401Response) GetStatus() float32

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

func (*PingGet401Response) GetStatusOk

func (o *PingGet401Response) GetStatusOk() (*float32, 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 (*PingGet401Response) GetStatusText

func (o *PingGet401Response) GetStatusText() string

GetStatusText returns the StatusText field value if set, zero value otherwise.

func (*PingGet401Response) GetStatusTextOk

func (o *PingGet401Response) GetStatusTextOk() (*string, bool)

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

func (*PingGet401Response) GetTimestamp

func (o *PingGet401Response) GetTimestamp() time.Time

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

func (*PingGet401Response) GetTimestampOk

func (o *PingGet401Response) GetTimestampOk() (*time.Time, 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 (*PingGet401Response) GetTitle

func (o *PingGet401Response) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*PingGet401Response) GetTitleOk

func (o *PingGet401Response) GetTitleOk() (*string, bool)

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

func (*PingGet401Response) HasCode

func (o *PingGet401Response) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*PingGet401Response) HasDetail

func (o *PingGet401Response) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*PingGet401Response) HasOrigin

func (o *PingGet401Response) HasOrigin() bool

HasOrigin returns a boolean if a field has been set.

func (*PingGet401Response) HasRequestId

func (o *PingGet401Response) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*PingGet401Response) HasStatus

func (o *PingGet401Response) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*PingGet401Response) HasStatusText

func (o *PingGet401Response) HasStatusText() bool

HasStatusText returns a boolean if a field has been set.

func (*PingGet401Response) HasTimestamp

func (o *PingGet401Response) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*PingGet401Response) HasTitle

func (o *PingGet401Response) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (PingGet401Response) MarshalJSON

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

func (*PingGet401Response) SetCode

func (o *PingGet401Response) SetCode(v string)

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

func (*PingGet401Response) SetDetail

func (o *PingGet401Response) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*PingGet401Response) SetOrigin

func (o *PingGet401Response) SetOrigin(v string)

SetOrigin gets a reference to the given string and assigns it to the Origin field.

func (*PingGet401Response) SetRequestId

func (o *PingGet401Response) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*PingGet401Response) SetStatus

func (o *PingGet401Response) SetStatus(v float32)

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

func (*PingGet401Response) SetStatusText

func (o *PingGet401Response) SetStatusText(v string)

SetStatusText gets a reference to the given string and assigns it to the StatusText field.

func (*PingGet401Response) SetTimestamp

func (o *PingGet401Response) SetTimestamp(v time.Time)

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

func (*PingGet401Response) SetTitle

func (o *PingGet401Response) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (PingGet401Response) ToMap

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

type SellerInformationAPIService

type SellerInformationAPIService service

SellerInformationAPIService SellerInformationAPI service

func (*SellerInformationAPIService) ApiV1SellerInfoGet

ApiV1SellerInfoGet Get Seller Information

<div class="description_auth">

You can get seller information with a <a href="/openapi/api-information#tag/Authorization/How-to-create-a-personal-access-base-or-test-token">token</a> of any category.

</div>

This method allows you to obtain the seller's name and account ID.

<div class="description_limit"> <a href="/openapi/api-information#tag/Introduction/Rate-Limits">Request limit</a> per one seller's account:

| Period | Limit | Interval | Burst | | --- | --- | --- | --- | | 1 min | 1 request | 1 min | 10 requests | </div>

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

func (*SellerInformationAPIService) ApiV1SellerInfoGetExecute

Execute executes the request

@return ApiV1SellerInfoGet200Response

func (*SellerInformationAPIService) GetCommonV1Rating

GetCommonV1Rating Get Seller Rating

<div class="description_auth">

To access the method, use a <a href="/openapi/api-information#tag/Authorization/How-to-create-a-personal-access-base-or-test-token">token</a> for the <strong>Feedbacks and Questions</strong> category

</div>

<div class="description_token"> Method is available by<strong> Service</strong> <a href="/openapi/api-information#tag/Authorization/Rules-for-using-API-access-tokens">token</a> </div>

The method returns the seller user rating and feedbacks count.

<div class="description_limit"> <a href="/openapi/api-information#tag/Introduction/Rate-Limits">Request limit</a> per one seller's account:

| Period | Limit | Interval | Burst | | --- | --- | --- | --- | | 1 min | 1 request | 1 min | 1 request | </div>

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

func (*SellerInformationAPIService) GetCommonV1RatingExecute

Execute executes the request

@return SupplierRatingModel

func (*SellerInformationAPIService) GetCommonV1Subscriptions

GetCommonV1Subscriptions Get Jam Subscription Information

<div class="description_auth">

You can get Jam subscription information with a <a href="/openapi/api-information#tag/Authorization/How-to-create-a-personal-access-base-or-test-token">token</a> of any category.

</div>

<div class="description_token"> Method is available by<strong> Service</strong> <a href="/openapi/api-information#tag/Authorization/Rules-for-using-API-access-tokens">token</a> </div>

The method returns [Jam](https://seller.wildberries.ru/monetization/jam) subscription information:

  • If seller has never activated the Jam subscription, an empty `200` response is returned.
  • If seller activated the subscription and never canceled it, the following is returned:
  • subscription activation date `since`
  • end date of the current paid period `till`
  • If the subscription expired or was canceled but seller reactivated it, the following is returned:
  • date of the first subscription activation `since`
  • end date of the current paid period `till`
  • If the subscription is inactive, the following is returned:
  • date of the first subscription activation `since`
  • end date of the last paid period `till`

<div class="description_limit"> <a href="/openapi/api-information#tag/Introduction/Rate-Limits">Request limit</a> per one seller's account:

| Period | Limit | Interval | Burst | | --- | --- | --- | --- | | 1 min | 1 request | 1 min | 10 requests | </div>

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

func (*SellerInformationAPIService) GetCommonV1SubscriptionsExecute

Execute executes the request

@return SubscriptionsJamInfo

type SellerUserManagementAPIService

type SellerUserManagementAPIService service

SellerUserManagementAPIService SellerUserManagementAPI service

func (*SellerUserManagementAPIService) ApiV1InvitePost

ApiV1InvitePost Create an Invitation for a New User

<div class="description_token"> Method is available by<strong> Personal</strong> <a href="/openapi/api-information#tag/Authorization/Rules-for-using-API-access-tokens">token</a> </div>

The method creates an invitation for a new user with access settings to the seller account sections.<br> How access rights are assigned: - If `access` is empty (`[]`) or not provided — by default, all access is granted, except for access to the showcase (`showcase`) and **Jam** (`changeJam`) - If `access` specifies some of the account sections, then in addition to the access rights specified in the request, all default access rights are also granted - If `access` lists all possible sections, access rights will be granted according to the request, without the default access rights - If the same section (`code`) is specified twice in `access`:

  • with different `disabled` values (`true` and `false`), access will not be granted
  • with identical values of `"disabled": true`, access will not be granted
  • with identical values of `"disabled": false`, access will be granted

<div class="description_limit"> <a href="/openapi/api-information#tag/Introduction/Rate-Limits">Request limit</a> per one seller's account:

| Period | Limit | Interval | Burst | | --- | --- | --- | --- | | 1 s | 1 request | 1 s | 5 requests | </div>

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

func (*SellerUserManagementAPIService) ApiV1InvitePostExecute

Execute executes the request

@return CreateInviteResponse

func (*SellerUserManagementAPIService) ApiV1UserDelete

ApiV1UserDelete Delete User

<div class="description_token"> Method is available by<strong> Personal</strong> <a href="/openapi/api-information#tag/Authorization/Rules-for-using-API-access-tokens">token</a> </div>

The method removes a user from [the seller user list](/openapi/api-information#tag/Seller-User-Management/paths/~1api~1v1~1users/get). This user will no longer have access to the seller account.

<div class="description_limit"> <a href="/openapi/api-information#tag/Introduction/Rate-Limits">Request limit</a> per one seller's account:

| Period | Limit | Interval | Burst | | --- | --- | --- | --- | | 1 s | 1 request | 1 s | 10 requests | </div>

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

func (*SellerUserManagementAPIService) ApiV1UserDeleteExecute

Execute executes the request

func (*SellerUserManagementAPIService) ApiV1UsersAccessPut

ApiV1UsersAccessPut Update User's Access Permissions

<div class="description_token"> Method is available by<strong> Personal</strong> <a href="/openapi/api-information#tag/Authorization/Rules-for-using-API-access-tokens">token</a> </div>

The method changes the access rights for one or more users.<br> <br> Only the data passed in the request parameters will be updated. The other fields will remain unchanged.

<div class="description_limit"> <a href="/openapi/api-information#tag/Introduction/Rate-Limits">Request limit</a> per one seller's account:

| Period | Limit | Interval | Burst | | --- | --- | --- | --- | | 1 s | 1 request | 1 s | 5 requests | </div>

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

func (*SellerUserManagementAPIService) ApiV1UsersAccessPutExecute

Execute executes the request

func (*SellerUserManagementAPIService) ApiV1UsersGet

ApiV1UsersGet Get a List of Seller Active or Invited Users

<div class="description_token"> Method is available by<strong> Personal</strong> <a href="/openapi/api-information#tag/Authorization/Rules-for-using-API-access-tokens">token</a> </div>

The method returns a list of seller account active or invited users.<br><br>

Specify the value of the `isInviteOnly` parameter to select the list:

  • `isInviteOnly=true` — invited users list who have not yet activated access
  • `isInviteOnly=false` or is not provided — active users list

For each user, you can get:

  • user's role
  • accessible sections
  • invitation status

The list of invited users in the response is always sorted by creation date: from newest to oldest.

<div class="description_limit"> <a href="/openapi/api-information#tag/Introduction/Rate-Limits">Request limit</a> per one seller's account:

| Period | Limit | Interval | Burst | | --- | --- | --- | --- | | 1 s | 1 request | 1 s | 5 requests | </div>

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

func (*SellerUserManagementAPIService) ApiV1UsersGetExecute

Execute executes the request

@return GetUsersResponse

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 SubscriptionsJamInfo

type SubscriptionsJamInfo struct {
	// Subscription state:   - `active` — active   - `inactive` — expired or canceled
	State string `json:"state"`
	// Subscription activation source:   - `constructor` — purchased via the **Plan Builder** section   - `jam` — purchased via the **Jam Subscription** section
	ActivationSource string `json:"activationSource"`
	// Subscription level:   - `standard`   - `advanced`   - `premium`
	Level string `json:"level"`
	// The date and time when the subscription was first activated. Does not change upon renewal or reactivation
	Since time.Time `json:"since"`
	// Subscription end date and time
	Till time.Time `json:"till"`
}

SubscriptionsJamInfo Jam subscription information

func NewSubscriptionsJamInfo

func NewSubscriptionsJamInfo(state string, activationSource string, level string, since time.Time, till time.Time) *SubscriptionsJamInfo

NewSubscriptionsJamInfo instantiates a new SubscriptionsJamInfo 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 NewSubscriptionsJamInfoWithDefaults

func NewSubscriptionsJamInfoWithDefaults() *SubscriptionsJamInfo

NewSubscriptionsJamInfoWithDefaults instantiates a new SubscriptionsJamInfo 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 (*SubscriptionsJamInfo) GetActivationSource

func (o *SubscriptionsJamInfo) GetActivationSource() string

GetActivationSource returns the ActivationSource field value

func (*SubscriptionsJamInfo) GetActivationSourceOk

func (o *SubscriptionsJamInfo) GetActivationSourceOk() (*string, bool)

GetActivationSourceOk returns a tuple with the ActivationSource field value and a boolean to check if the value has been set.

func (*SubscriptionsJamInfo) GetLevel

func (o *SubscriptionsJamInfo) GetLevel() string

GetLevel returns the Level field value

func (*SubscriptionsJamInfo) GetLevelOk

func (o *SubscriptionsJamInfo) GetLevelOk() (*string, bool)

GetLevelOk returns a tuple with the Level field value and a boolean to check if the value has been set.

func (*SubscriptionsJamInfo) GetSince

func (o *SubscriptionsJamInfo) GetSince() time.Time

GetSince returns the Since field value

func (*SubscriptionsJamInfo) GetSinceOk

func (o *SubscriptionsJamInfo) GetSinceOk() (*time.Time, bool)

GetSinceOk returns a tuple with the Since field value and a boolean to check if the value has been set.

func (*SubscriptionsJamInfo) GetState

func (o *SubscriptionsJamInfo) GetState() string

GetState returns the State field value

func (*SubscriptionsJamInfo) GetStateOk

func (o *SubscriptionsJamInfo) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*SubscriptionsJamInfo) GetTill

func (o *SubscriptionsJamInfo) GetTill() time.Time

GetTill returns the Till field value

func (*SubscriptionsJamInfo) GetTillOk

func (o *SubscriptionsJamInfo) GetTillOk() (*time.Time, bool)

GetTillOk returns a tuple with the Till field value and a boolean to check if the value has been set.

func (SubscriptionsJamInfo) MarshalJSON

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

func (*SubscriptionsJamInfo) SetActivationSource

func (o *SubscriptionsJamInfo) SetActivationSource(v string)

SetActivationSource sets field value

func (*SubscriptionsJamInfo) SetLevel

func (o *SubscriptionsJamInfo) SetLevel(v string)

SetLevel sets field value

func (*SubscriptionsJamInfo) SetSince

func (o *SubscriptionsJamInfo) SetSince(v time.Time)

SetSince sets field value

func (*SubscriptionsJamInfo) SetState

func (o *SubscriptionsJamInfo) SetState(v string)

SetState sets field value

func (*SubscriptionsJamInfo) SetTill

func (o *SubscriptionsJamInfo) SetTill(v time.Time)

SetTill sets field value

func (SubscriptionsJamInfo) ToMap

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

func (*SubscriptionsJamInfo) UnmarshalJSON

func (o *SubscriptionsJamInfo) UnmarshalJSON(data []byte) (err error)

type SupplierRatingModel

type SupplierRatingModel struct {
	// Feedbacks number
	FeedbackCount *int32 `json:"feedbackCount,omitempty"`
	// Seller rating
	Valuation *float32 `json:"valuation,omitempty"`
}

SupplierRatingModel struct for SupplierRatingModel

func NewSupplierRatingModel

func NewSupplierRatingModel() *SupplierRatingModel

NewSupplierRatingModel instantiates a new SupplierRatingModel 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 NewSupplierRatingModelWithDefaults

func NewSupplierRatingModelWithDefaults() *SupplierRatingModel

NewSupplierRatingModelWithDefaults instantiates a new SupplierRatingModel 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 (*SupplierRatingModel) GetFeedbackCount

func (o *SupplierRatingModel) GetFeedbackCount() int32

GetFeedbackCount returns the FeedbackCount field value if set, zero value otherwise.

func (*SupplierRatingModel) GetFeedbackCountOk

func (o *SupplierRatingModel) GetFeedbackCountOk() (*int32, bool)

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

func (*SupplierRatingModel) GetValuation

func (o *SupplierRatingModel) GetValuation() float32

GetValuation returns the Valuation field value if set, zero value otherwise.

func (*SupplierRatingModel) GetValuationOk

func (o *SupplierRatingModel) GetValuationOk() (*float32, bool)

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

func (*SupplierRatingModel) HasFeedbackCount

func (o *SupplierRatingModel) HasFeedbackCount() bool

HasFeedbackCount returns a boolean if a field has been set.

func (*SupplierRatingModel) HasValuation

func (o *SupplierRatingModel) HasValuation() bool

HasValuation returns a boolean if a field has been set.

func (SupplierRatingModel) MarshalJSON

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

func (*SupplierRatingModel) SetFeedbackCount

func (o *SupplierRatingModel) SetFeedbackCount(v int32)

SetFeedbackCount gets a reference to the given int32 and assigns it to the FeedbackCount field.

func (*SupplierRatingModel) SetValuation

func (o *SupplierRatingModel) SetValuation(v float32)

SetValuation gets a reference to the given float32 and assigns it to the Valuation field.

func (SupplierRatingModel) ToMap

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

type UpdateUserAccessRequest

type UpdateUserAccessRequest struct {
	// Access settings for user
	UsersAccesses []UserAccess `json:"usersAccesses"`
}

UpdateUserAccessRequest struct for UpdateUserAccessRequest

func NewUpdateUserAccessRequest

func NewUpdateUserAccessRequest(usersAccesses []UserAccess) *UpdateUserAccessRequest

NewUpdateUserAccessRequest instantiates a new UpdateUserAccessRequest 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 NewUpdateUserAccessRequestWithDefaults

func NewUpdateUserAccessRequestWithDefaults() *UpdateUserAccessRequest

NewUpdateUserAccessRequestWithDefaults instantiates a new UpdateUserAccessRequest 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 (*UpdateUserAccessRequest) GetUsersAccesses

func (o *UpdateUserAccessRequest) GetUsersAccesses() []UserAccess

GetUsersAccesses returns the UsersAccesses field value

func (*UpdateUserAccessRequest) GetUsersAccessesOk

func (o *UpdateUserAccessRequest) GetUsersAccessesOk() ([]UserAccess, bool)

GetUsersAccessesOk returns a tuple with the UsersAccesses field value and a boolean to check if the value has been set.

func (UpdateUserAccessRequest) MarshalJSON

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

func (*UpdateUserAccessRequest) SetUsersAccesses

func (o *UpdateUserAccessRequest) SetUsersAccesses(v []UserAccess)

SetUsersAccesses sets field value

func (UpdateUserAccessRequest) ToMap

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

func (*UpdateUserAccessRequest) UnmarshalJSON

func (o *UpdateUserAccessRequest) UnmarshalJSON(data []byte) (err error)

type UserAccess

type UserAccess struct {
	// User ID
	UserId *int32 `json:"userId,omitempty"`
	// Access settings for seller account sections
	Access []AccessInner `json:"access,omitempty"`
}

UserAccess struct for UserAccess

func NewUserAccess

func NewUserAccess() *UserAccess

NewUserAccess instantiates a new UserAccess 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 NewUserAccessWithDefaults

func NewUserAccessWithDefaults() *UserAccess

NewUserAccessWithDefaults instantiates a new UserAccess 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 (*UserAccess) GetAccess

func (o *UserAccess) GetAccess() []AccessInner

GetAccess returns the Access field value if set, zero value otherwise.

func (*UserAccess) GetAccessOk

func (o *UserAccess) GetAccessOk() ([]AccessInner, bool)

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

func (*UserAccess) GetUserId

func (o *UserAccess) GetUserId() int32

GetUserId returns the UserId field value if set, zero value otherwise.

func (*UserAccess) GetUserIdOk

func (o *UserAccess) GetUserIdOk() (*int32, bool)

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

func (*UserAccess) HasAccess

func (o *UserAccess) HasAccess() bool

HasAccess returns a boolean if a field has been set.

func (*UserAccess) HasUserId

func (o *UserAccess) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (UserAccess) MarshalJSON

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

func (*UserAccess) SetAccess

func (o *UserAccess) SetAccess(v []AccessInner)

SetAccess gets a reference to the given []AccessInner and assigns it to the Access field.

func (*UserAccess) SetUserId

func (o *UserAccess) SetUserId(v int32)

SetUserId gets a reference to the given int32 and assigns it to the UserId field.

func (UserAccess) ToMap

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

type WBAPIConnectionCheckAPIService

type WBAPIConnectionCheckAPIService service

WBAPIConnectionCheckAPIService WBAPIConnectionCheckAPI service

func (*WBAPIConnectionCheckAPIService) PingGet

PingGet Connection Check

Checks:

  1. Whether the request successfully reaches the WB API.
  2. The validity of the authorization token and request URL.
  3. Whether the token category matches the service.

<div class="description_important">

This method is not intended to check the availability of WB services

</div>

Each service has its own version of the method depending on the domain:

| Category | Request URL | |---------------|-----------------------| | Content | `https://content-api.wildberries.ru/ping`<br>`https://content-api-sandbox.wildberries.ru/ping` | | Analytics | `https://seller-analytics-api.wildberries.ru/ping` | | Prices and Discounts | `https://discounts-prices-api.wildberries.ru/ping`<br>`https://discounts-prices-api-sandbox.wildberries.ru/ping` | | Marketplace | `https://marketplace-api.wildberries.ru/ping` | | Statistics | `https://statistics-api.wildberries.ru/ping`<br>`https://statistics-api-sandbox.wildberries.ru/ping` | | Promotion | `https://advert-api.wildberries.ru/ping`<br>`https://advert-api-sandbox.wildberries.ru/ping` | | Feedbacks and Questions | `https://feedbacks-api.wildberries.ru/ping`<br>`https://feedbacks-api-sandbox.wildberries.ru/ping` | | Buyers Chat | `https://buyer-chat-api.wildberries.ru/ping` | | Supplies | `https://supplies-api.wildberries.ru/ping` | | Buyers Returns | `https://returns-api.wildberries.ru/ping` | | Documents | `https://documents-api.wildberries.ru/ping` | | Finance | `https://finance-api.wildberries.ru/ping` | | Tariffs, News, Get Seller Information | `https://common-api.wildberries.ru/ping` | | Seller User Management | `https://user-management-api.wildberries.ru/ping` |

<div class="description_limit">

A maximum of 3 requests every 30 <a href="/openapi/api-information#tag/Introduction/Rate-Limits">seconds</a>. If you try to use this method programmatically, the method will be temporarily blocked. The rate limit applies individually to each instance of the method on each host

</div>

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

func (*WBAPIConnectionCheckAPIService) PingGetExecute

Execute executes the request

@return PingGet200Response

Jump to

Keyboard shortcuts

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