Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AccessInner
- func (o *AccessInner) GetCode() string
- func (o *AccessInner) GetCodeOk() (*string, bool)
- func (o *AccessInner) GetDisabled() bool
- func (o *AccessInner) GetDisabledOk() (*bool, bool)
- func (o AccessInner) MarshalJSON() ([]byte, error)
- func (o *AccessInner) SetCode(v string)
- func (o *AccessInner) SetDisabled(v bool)
- func (o AccessInner) ToMap() (map[string]interface{}, error)
- func (o *AccessInner) UnmarshalJSON(data []byte) (err error)
- type ApiApiCommunicationsV2NewsGetRequest
- func (r ApiApiCommunicationsV2NewsGetRequest) Execute() (*ApiCommunicationsV2NewsGet200Response, *http.Response, error)
- func (r ApiApiCommunicationsV2NewsGetRequest) From(from string) ApiApiCommunicationsV2NewsGetRequest
- func (r ApiApiCommunicationsV2NewsGetRequest) FromID(fromID int32) ApiApiCommunicationsV2NewsGetRequest
- type ApiApiV1InvitePostRequest
- type ApiApiV1SellerInfoGetRequest
- type ApiApiV1UserDeleteRequest
- type ApiApiV1UsersAccessPutRequest
- type ApiApiV1UsersGetRequest
- func (r ApiApiV1UsersGetRequest) Execute() (*GetUsersResponse, *http.Response, error)
- func (r ApiApiV1UsersGetRequest) IsInviteOnly(isInviteOnly bool) ApiApiV1UsersGetRequest
- func (r ApiApiV1UsersGetRequest) Limit(limit int64) ApiApiV1UsersGetRequest
- func (r ApiApiV1UsersGetRequest) Offset(offset int64) ApiApiV1UsersGetRequest
- type ApiCommunicationsV2NewsGet200Response
- func (o *ApiCommunicationsV2NewsGet200Response) GetData() []ApiCommunicationsV2NewsGet200ResponseDataInner
- func (o *ApiCommunicationsV2NewsGet200Response) GetDataOk() ([]ApiCommunicationsV2NewsGet200ResponseDataInner, bool)
- func (o *ApiCommunicationsV2NewsGet200Response) HasData() bool
- func (o ApiCommunicationsV2NewsGet200Response) MarshalJSON() ([]byte, error)
- func (o *ApiCommunicationsV2NewsGet200Response) SetData(v []ApiCommunicationsV2NewsGet200ResponseDataInner)
- func (o ApiCommunicationsV2NewsGet200Response) ToMap() (map[string]interface{}, error)
- type ApiCommunicationsV2NewsGet200ResponseDataInner
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetContent() string
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetContentOk() (*string, bool)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetDate() time.Time
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetDateOk() (*time.Time, bool)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetHeader() string
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetHeaderOk() (*string, bool)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetId() int32
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetIdOk() (*int32, bool)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetTypes() []ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetTypesOk() ([]ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner, bool)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) HasContent() bool
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) HasDate() bool
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) HasHeader() bool
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) HasId() bool
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) HasTypes() bool
- func (o ApiCommunicationsV2NewsGet200ResponseDataInner) MarshalJSON() ([]byte, error)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) SetContent(v string)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) SetDate(v time.Time)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) SetHeader(v string)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) SetId(v int32)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) SetTypes(v []ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner)
- func (o ApiCommunicationsV2NewsGet200ResponseDataInner) ToMap() (map[string]interface{}, error)
- type ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetId() int32
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetIdOk() (*int32, bool)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetName() string
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetNameOk() (*string, bool)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) HasId() bool
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) HasName() bool
- func (o ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) MarshalJSON() ([]byte, error)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) SetId(v int32)
- func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) SetName(v string)
- func (o ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) ToMap() (map[string]interface{}, error)
- type ApiGetCommonV1RatingRequest
- type ApiGetCommonV1SubscriptionsRequest
- type ApiPingGetRequest
- type ApiV1SellerInfoGet200Response
- func (o *ApiV1SellerInfoGet200Response) GetName() string
- func (o *ApiV1SellerInfoGet200Response) GetNameOk() (*string, bool)
- func (o *ApiV1SellerInfoGet200Response) GetSid() string
- func (o *ApiV1SellerInfoGet200Response) GetSidOk() (*string, bool)
- func (o *ApiV1SellerInfoGet200Response) GetTin() string
- func (o *ApiV1SellerInfoGet200Response) GetTinOk() (*string, bool)
- func (o *ApiV1SellerInfoGet200Response) GetTradeMark() string
- func (o *ApiV1SellerInfoGet200Response) GetTradeMarkOk() (*string, bool)
- func (o *ApiV1SellerInfoGet200Response) HasName() bool
- func (o *ApiV1SellerInfoGet200Response) HasSid() bool
- func (o *ApiV1SellerInfoGet200Response) HasTin() bool
- func (o *ApiV1SellerInfoGet200Response) HasTradeMark() bool
- func (o ApiV1SellerInfoGet200Response) MarshalJSON() ([]byte, error)
- func (o *ApiV1SellerInfoGet200Response) SetName(v string)
- func (o *ApiV1SellerInfoGet200Response) SetSid(v string)
- func (o *ApiV1SellerInfoGet200Response) SetTin(v string)
- func (o *ApiV1SellerInfoGet200Response) SetTradeMark(v string)
- func (o ApiV1SellerInfoGet200Response) ToMap() (map[string]interface{}, error)
- type ApiV1SellerInfoGet402Response
- func (o *ApiV1SellerInfoGet402Response) GetDetail() string
- func (o *ApiV1SellerInfoGet402Response) GetDetailOk() (*string, bool)
- func (o *ApiV1SellerInfoGet402Response) GetTitle() string
- func (o *ApiV1SellerInfoGet402Response) GetTitleOk() (*string, bool)
- func (o *ApiV1SellerInfoGet402Response) HasDetail() bool
- func (o *ApiV1SellerInfoGet402Response) HasTitle() bool
- func (o ApiV1SellerInfoGet402Response) MarshalJSON() ([]byte, error)
- func (o *ApiV1SellerInfoGet402Response) SetDetail(v string)
- func (o *ApiV1SellerInfoGet402Response) SetTitle(v string)
- func (o ApiV1SellerInfoGet402Response) ToMap() (map[string]interface{}, error)
- type BasicAuth
- type Configuration
- type CreateInviteRequest
- func (o *CreateInviteRequest) GetAccess() []AccessInner
- func (o *CreateInviteRequest) GetAccessOk() ([]AccessInner, bool)
- func (o *CreateInviteRequest) GetInvite() CreateInviteRequestInvite
- func (o *CreateInviteRequest) GetInviteOk() (*CreateInviteRequestInvite, bool)
- func (o *CreateInviteRequest) HasAccess() bool
- func (o CreateInviteRequest) MarshalJSON() ([]byte, error)
- func (o *CreateInviteRequest) SetAccess(v []AccessInner)
- func (o *CreateInviteRequest) SetInvite(v CreateInviteRequestInvite)
- func (o CreateInviteRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateInviteRequest) UnmarshalJSON(data []byte) (err error)
- type CreateInviteRequestInvite
- func (o *CreateInviteRequestInvite) GetPhoneNumber() string
- func (o *CreateInviteRequestInvite) GetPhoneNumberOk() (*string, bool)
- func (o *CreateInviteRequestInvite) GetPosition() string
- func (o *CreateInviteRequestInvite) GetPositionOk() (*string, bool)
- func (o *CreateInviteRequestInvite) HasPosition() bool
- func (o CreateInviteRequestInvite) MarshalJSON() ([]byte, error)
- func (o *CreateInviteRequestInvite) SetPhoneNumber(v string)
- func (o *CreateInviteRequestInvite) SetPosition(v string)
- func (o CreateInviteRequestInvite) ToMap() (map[string]interface{}, error)
- func (o *CreateInviteRequestInvite) UnmarshalJSON(data []byte) (err error)
- type CreateInviteResponse
- func (o *CreateInviteResponse) GetExpiredAt() time.Time
- func (o *CreateInviteResponse) GetExpiredAtOk() (*time.Time, bool)
- func (o *CreateInviteResponse) GetInviteID() string
- func (o *CreateInviteResponse) GetInviteIDOk() (*string, bool)
- func (o *CreateInviteResponse) GetInviteUrl() string
- func (o *CreateInviteResponse) GetInviteUrlOk() (*string, bool)
- func (o *CreateInviteResponse) GetIsSuccess() bool
- func (o *CreateInviteResponse) GetIsSuccessOk() (*bool, bool)
- func (o CreateInviteResponse) MarshalJSON() ([]byte, error)
- func (o *CreateInviteResponse) SetExpiredAt(v time.Time)
- func (o *CreateInviteResponse) SetInviteID(v string)
- func (o *CreateInviteResponse) SetInviteUrl(v string)
- func (o *CreateInviteResponse) SetIsSuccess(v bool)
- func (o CreateInviteResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateInviteResponse) UnmarshalJSON(data []byte) (err error)
- type ErrorResponse
- func (o *ErrorResponse) GetDetail() string
- func (o *ErrorResponse) GetDetailOk() (*string, bool)
- func (o *ErrorResponse) GetOrigin() string
- func (o *ErrorResponse) GetOriginOk() (*string, bool)
- func (o *ErrorResponse) GetRequestId() string
- func (o *ErrorResponse) GetRequestIdOk() (*string, bool)
- func (o *ErrorResponse) GetStatus() float32
- func (o *ErrorResponse) GetStatusOk() (*float32, bool)
- func (o *ErrorResponse) GetTitle() string
- func (o *ErrorResponse) GetTitleOk() (*string, bool)
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetDetail(v string)
- func (o *ErrorResponse) SetOrigin(v string)
- func (o *ErrorResponse) SetRequestId(v string)
- func (o *ErrorResponse) SetStatus(v float32)
- func (o *ErrorResponse) SetTitle(v string)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type GetUsersResponse
- func (o *GetUsersResponse) GetCountInResponse() int32
- func (o *GetUsersResponse) GetCountInResponseOk() (*int32, bool)
- func (o *GetUsersResponse) GetTotal() int32
- func (o *GetUsersResponse) GetTotalOk() (*int32, bool)
- func (o *GetUsersResponse) GetUsers() []GetUsersResponseUsersInner
- func (o *GetUsersResponse) GetUsersOk() ([]GetUsersResponseUsersInner, bool)
- func (o GetUsersResponse) MarshalJSON() ([]byte, error)
- func (o *GetUsersResponse) SetCountInResponse(v int32)
- func (o *GetUsersResponse) SetTotal(v int32)
- func (o *GetUsersResponse) SetUsers(v []GetUsersResponseUsersInner)
- func (o GetUsersResponse) ToMap() (map[string]interface{}, error)
- func (o *GetUsersResponse) UnmarshalJSON(data []byte) (err error)
- type GetUsersResponseUsersInner
- func (o *GetUsersResponseUsersInner) GetAccess() []AccessInner
- func (o *GetUsersResponseUsersInner) GetAccessOk() ([]AccessInner, bool)
- func (o *GetUsersResponseUsersInner) GetEmail() string
- func (o *GetUsersResponseUsersInner) GetEmailOk() (*string, bool)
- func (o *GetUsersResponseUsersInner) GetFirstName() string
- func (o *GetUsersResponseUsersInner) GetFirstNameOk() (*string, bool)
- func (o *GetUsersResponseUsersInner) GetGoodsReturn() bool
- func (o *GetUsersResponseUsersInner) GetGoodsReturnOk() (*bool, bool)
- func (o *GetUsersResponseUsersInner) GetId() int32
- func (o *GetUsersResponseUsersInner) GetIdOk() (*int32, bool)
- func (o *GetUsersResponseUsersInner) GetInviteeInfo() GetUsersResponseUsersInnerInviteeInfo
- func (o *GetUsersResponseUsersInner) GetInviteeInfoOk() (*GetUsersResponseUsersInnerInviteeInfo, bool)
- func (o *GetUsersResponseUsersInner) GetIsInvitee() bool
- func (o *GetUsersResponseUsersInner) GetIsInviteeOk() (*bool, bool)
- func (o *GetUsersResponseUsersInner) GetIsOwner() bool
- func (o *GetUsersResponseUsersInner) GetIsOwnerOk() (*bool, bool)
- func (o *GetUsersResponseUsersInner) GetPatronymic() string
- func (o *GetUsersResponseUsersInner) GetPatronymicOk() (*string, bool)
- func (o *GetUsersResponseUsersInner) GetPhone() string
- func (o *GetUsersResponseUsersInner) GetPhoneOk() (*string, bool)
- func (o *GetUsersResponseUsersInner) GetPosition() string
- func (o *GetUsersResponseUsersInner) GetPositionOk() (*string, bool)
- func (o *GetUsersResponseUsersInner) GetRole() string
- func (o *GetUsersResponseUsersInner) GetRoleOk() (*string, bool)
- func (o *GetUsersResponseUsersInner) GetSecondName() string
- func (o *GetUsersResponseUsersInner) GetSecondNameOk() (*string, bool)
- func (o GetUsersResponseUsersInner) MarshalJSON() ([]byte, error)
- func (o *GetUsersResponseUsersInner) SetAccess(v []AccessInner)
- func (o *GetUsersResponseUsersInner) SetEmail(v string)
- func (o *GetUsersResponseUsersInner) SetFirstName(v string)
- func (o *GetUsersResponseUsersInner) SetGoodsReturn(v bool)
- func (o *GetUsersResponseUsersInner) SetId(v int32)
- func (o *GetUsersResponseUsersInner) SetInviteeInfo(v GetUsersResponseUsersInnerInviteeInfo)
- func (o *GetUsersResponseUsersInner) SetIsInvitee(v bool)
- func (o *GetUsersResponseUsersInner) SetIsOwner(v bool)
- func (o *GetUsersResponseUsersInner) SetPatronymic(v string)
- func (o *GetUsersResponseUsersInner) SetPhone(v string)
- func (o *GetUsersResponseUsersInner) SetPosition(v string)
- func (o *GetUsersResponseUsersInner) SetRole(v string)
- func (o *GetUsersResponseUsersInner) SetSecondName(v string)
- func (o GetUsersResponseUsersInner) ToMap() (map[string]interface{}, error)
- func (o *GetUsersResponseUsersInner) UnmarshalJSON(data []byte) (err error)
- type GetUsersResponseUsersInnerInviteeInfo
- func (o *GetUsersResponseUsersInnerInviteeInfo) GetExpiredAt() time.Time
- func (o *GetUsersResponseUsersInnerInviteeInfo) GetExpiredAtOk() (*time.Time, bool)
- func (o *GetUsersResponseUsersInnerInviteeInfo) GetInviteUuid() string
- func (o *GetUsersResponseUsersInnerInviteeInfo) GetInviteUuidOk() (*string, bool)
- func (o *GetUsersResponseUsersInnerInviteeInfo) GetIsActive() bool
- func (o *GetUsersResponseUsersInnerInviteeInfo) GetIsActiveOk() (*bool, bool)
- func (o *GetUsersResponseUsersInnerInviteeInfo) GetPhoneNumber() string
- func (o *GetUsersResponseUsersInnerInviteeInfo) GetPhoneNumberOk() (*string, bool)
- func (o *GetUsersResponseUsersInnerInviteeInfo) GetPosition() string
- func (o *GetUsersResponseUsersInnerInviteeInfo) GetPositionOk() (*string, bool)
- func (o *GetUsersResponseUsersInnerInviteeInfo) HasExpiredAt() bool
- func (o *GetUsersResponseUsersInnerInviteeInfo) HasInviteUuid() bool
- func (o *GetUsersResponseUsersInnerInviteeInfo) HasIsActive() bool
- func (o *GetUsersResponseUsersInnerInviteeInfo) HasPhoneNumber() bool
- func (o *GetUsersResponseUsersInnerInviteeInfo) HasPosition() bool
- func (o GetUsersResponseUsersInnerInviteeInfo) MarshalJSON() ([]byte, error)
- func (o *GetUsersResponseUsersInnerInviteeInfo) SetExpiredAt(v time.Time)
- func (o *GetUsersResponseUsersInnerInviteeInfo) SetInviteUuid(v string)
- func (o *GetUsersResponseUsersInnerInviteeInfo) SetIsActive(v bool)
- func (o *GetUsersResponseUsersInnerInviteeInfo) SetPhoneNumber(v string)
- func (o *GetUsersResponseUsersInnerInviteeInfo) SetPosition(v string)
- func (o GetUsersResponseUsersInnerInviteeInfo) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NewsAPIAPIService
- type NullableAccessInner
- func (v NullableAccessInner) Get() *AccessInner
- func (v NullableAccessInner) IsSet() bool
- func (v NullableAccessInner) MarshalJSON() ([]byte, error)
- func (v *NullableAccessInner) Set(val *AccessInner)
- func (v *NullableAccessInner) UnmarshalJSON(src []byte) error
- func (v *NullableAccessInner) Unset()
- type NullableApiCommunicationsV2NewsGet200Response
- func (v NullableApiCommunicationsV2NewsGet200Response) Get() *ApiCommunicationsV2NewsGet200Response
- func (v NullableApiCommunicationsV2NewsGet200Response) IsSet() bool
- func (v NullableApiCommunicationsV2NewsGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableApiCommunicationsV2NewsGet200Response) Set(val *ApiCommunicationsV2NewsGet200Response)
- func (v *NullableApiCommunicationsV2NewsGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableApiCommunicationsV2NewsGet200Response) Unset()
- type NullableApiCommunicationsV2NewsGet200ResponseDataInner
- func (v NullableApiCommunicationsV2NewsGet200ResponseDataInner) Get() *ApiCommunicationsV2NewsGet200ResponseDataInner
- func (v NullableApiCommunicationsV2NewsGet200ResponseDataInner) IsSet() bool
- func (v NullableApiCommunicationsV2NewsGet200ResponseDataInner) MarshalJSON() ([]byte, error)
- func (v *NullableApiCommunicationsV2NewsGet200ResponseDataInner) Set(val *ApiCommunicationsV2NewsGet200ResponseDataInner)
- func (v *NullableApiCommunicationsV2NewsGet200ResponseDataInner) UnmarshalJSON(src []byte) error
- func (v *NullableApiCommunicationsV2NewsGet200ResponseDataInner) Unset()
- type NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner
- func (v NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) Get() *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner
- func (v NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) IsSet() bool
- func (v NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) MarshalJSON() ([]byte, error)
- func (v *NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) Set(val *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner)
- func (v *NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) UnmarshalJSON(src []byte) error
- func (v *NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) Unset()
- type NullableApiV1SellerInfoGet200Response
- func (v NullableApiV1SellerInfoGet200Response) Get() *ApiV1SellerInfoGet200Response
- func (v NullableApiV1SellerInfoGet200Response) IsSet() bool
- func (v NullableApiV1SellerInfoGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullableApiV1SellerInfoGet200Response) Set(val *ApiV1SellerInfoGet200Response)
- func (v *NullableApiV1SellerInfoGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullableApiV1SellerInfoGet200Response) Unset()
- type NullableApiV1SellerInfoGet402Response
- func (v NullableApiV1SellerInfoGet402Response) Get() *ApiV1SellerInfoGet402Response
- func (v NullableApiV1SellerInfoGet402Response) IsSet() bool
- func (v NullableApiV1SellerInfoGet402Response) MarshalJSON() ([]byte, error)
- func (v *NullableApiV1SellerInfoGet402Response) Set(val *ApiV1SellerInfoGet402Response)
- func (v *NullableApiV1SellerInfoGet402Response) UnmarshalJSON(src []byte) error
- func (v *NullableApiV1SellerInfoGet402Response) Unset()
- type NullableBool
- type NullableCreateInviteRequest
- func (v NullableCreateInviteRequest) Get() *CreateInviteRequest
- func (v NullableCreateInviteRequest) IsSet() bool
- func (v NullableCreateInviteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInviteRequest) Set(val *CreateInviteRequest)
- func (v *NullableCreateInviteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInviteRequest) Unset()
- type NullableCreateInviteRequestInvite
- func (v NullableCreateInviteRequestInvite) Get() *CreateInviteRequestInvite
- func (v NullableCreateInviteRequestInvite) IsSet() bool
- func (v NullableCreateInviteRequestInvite) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInviteRequestInvite) Set(val *CreateInviteRequestInvite)
- func (v *NullableCreateInviteRequestInvite) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInviteRequestInvite) Unset()
- type NullableCreateInviteResponse
- func (v NullableCreateInviteResponse) Get() *CreateInviteResponse
- func (v NullableCreateInviteResponse) IsSet() bool
- func (v NullableCreateInviteResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateInviteResponse) Set(val *CreateInviteResponse)
- func (v *NullableCreateInviteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateInviteResponse) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetUsersResponse
- func (v NullableGetUsersResponse) Get() *GetUsersResponse
- func (v NullableGetUsersResponse) IsSet() bool
- func (v NullableGetUsersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetUsersResponse) Set(val *GetUsersResponse)
- func (v *NullableGetUsersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetUsersResponse) Unset()
- type NullableGetUsersResponseUsersInner
- func (v NullableGetUsersResponseUsersInner) Get() *GetUsersResponseUsersInner
- func (v NullableGetUsersResponseUsersInner) IsSet() bool
- func (v NullableGetUsersResponseUsersInner) MarshalJSON() ([]byte, error)
- func (v *NullableGetUsersResponseUsersInner) Set(val *GetUsersResponseUsersInner)
- func (v *NullableGetUsersResponseUsersInner) UnmarshalJSON(src []byte) error
- func (v *NullableGetUsersResponseUsersInner) Unset()
- type NullableGetUsersResponseUsersInnerInviteeInfo
- func (v NullableGetUsersResponseUsersInnerInviteeInfo) Get() *GetUsersResponseUsersInnerInviteeInfo
- func (v NullableGetUsersResponseUsersInnerInviteeInfo) IsSet() bool
- func (v NullableGetUsersResponseUsersInnerInviteeInfo) MarshalJSON() ([]byte, error)
- func (v *NullableGetUsersResponseUsersInnerInviteeInfo) Set(val *GetUsersResponseUsersInnerInviteeInfo)
- func (v *NullableGetUsersResponseUsersInnerInviteeInfo) UnmarshalJSON(src []byte) error
- func (v *NullableGetUsersResponseUsersInnerInviteeInfo) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullablePingGet200Response
- func (v NullablePingGet200Response) Get() *PingGet200Response
- func (v NullablePingGet200Response) IsSet() bool
- func (v NullablePingGet200Response) MarshalJSON() ([]byte, error)
- func (v *NullablePingGet200Response) Set(val *PingGet200Response)
- func (v *NullablePingGet200Response) UnmarshalJSON(src []byte) error
- func (v *NullablePingGet200Response) Unset()
- type NullablePingGet401Response
- func (v NullablePingGet401Response) Get() *PingGet401Response
- func (v NullablePingGet401Response) IsSet() bool
- func (v NullablePingGet401Response) MarshalJSON() ([]byte, error)
- func (v *NullablePingGet401Response) Set(val *PingGet401Response)
- func (v *NullablePingGet401Response) UnmarshalJSON(src []byte) error
- func (v *NullablePingGet401Response) Unset()
- type NullableString
- type NullableSubscriptionsJamInfo
- func (v NullableSubscriptionsJamInfo) Get() *SubscriptionsJamInfo
- func (v NullableSubscriptionsJamInfo) IsSet() bool
- func (v NullableSubscriptionsJamInfo) MarshalJSON() ([]byte, error)
- func (v *NullableSubscriptionsJamInfo) Set(val *SubscriptionsJamInfo)
- func (v *NullableSubscriptionsJamInfo) UnmarshalJSON(src []byte) error
- func (v *NullableSubscriptionsJamInfo) Unset()
- type NullableSupplierRatingModel
- func (v NullableSupplierRatingModel) Get() *SupplierRatingModel
- func (v NullableSupplierRatingModel) IsSet() bool
- func (v NullableSupplierRatingModel) MarshalJSON() ([]byte, error)
- func (v *NullableSupplierRatingModel) Set(val *SupplierRatingModel)
- func (v *NullableSupplierRatingModel) UnmarshalJSON(src []byte) error
- func (v *NullableSupplierRatingModel) Unset()
- type NullableTime
- type NullableUpdateUserAccessRequest
- func (v NullableUpdateUserAccessRequest) Get() *UpdateUserAccessRequest
- func (v NullableUpdateUserAccessRequest) IsSet() bool
- func (v NullableUpdateUserAccessRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateUserAccessRequest) Set(val *UpdateUserAccessRequest)
- func (v *NullableUpdateUserAccessRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateUserAccessRequest) Unset()
- type NullableUserAccess
- type PingGet200Response
- func (o *PingGet200Response) GetStatus() string
- func (o *PingGet200Response) GetStatusOk() (*string, bool)
- func (o *PingGet200Response) GetTS() string
- func (o *PingGet200Response) GetTSOk() (*string, bool)
- func (o *PingGet200Response) HasStatus() bool
- func (o *PingGet200Response) HasTS() bool
- func (o PingGet200Response) MarshalJSON() ([]byte, error)
- func (o *PingGet200Response) SetStatus(v string)
- func (o *PingGet200Response) SetTS(v string)
- func (o PingGet200Response) ToMap() (map[string]interface{}, error)
- type PingGet401Response
- func (o *PingGet401Response) GetCode() string
- func (o *PingGet401Response) GetCodeOk() (*string, bool)
- func (o *PingGet401Response) GetDetail() string
- func (o *PingGet401Response) GetDetailOk() (*string, bool)
- func (o *PingGet401Response) GetOrigin() string
- func (o *PingGet401Response) GetOriginOk() (*string, bool)
- func (o *PingGet401Response) GetRequestId() string
- func (o *PingGet401Response) GetRequestIdOk() (*string, bool)
- func (o *PingGet401Response) GetStatus() float32
- func (o *PingGet401Response) GetStatusOk() (*float32, bool)
- func (o *PingGet401Response) GetStatusText() string
- func (o *PingGet401Response) GetStatusTextOk() (*string, bool)
- func (o *PingGet401Response) GetTimestamp() time.Time
- func (o *PingGet401Response) GetTimestampOk() (*time.Time, bool)
- func (o *PingGet401Response) GetTitle() string
- func (o *PingGet401Response) GetTitleOk() (*string, bool)
- func (o *PingGet401Response) HasCode() bool
- func (o *PingGet401Response) HasDetail() bool
- func (o *PingGet401Response) HasOrigin() bool
- func (o *PingGet401Response) HasRequestId() bool
- func (o *PingGet401Response) HasStatus() bool
- func (o *PingGet401Response) HasStatusText() bool
- func (o *PingGet401Response) HasTimestamp() bool
- func (o *PingGet401Response) HasTitle() bool
- func (o PingGet401Response) MarshalJSON() ([]byte, error)
- func (o *PingGet401Response) SetCode(v string)
- func (o *PingGet401Response) SetDetail(v string)
- func (o *PingGet401Response) SetOrigin(v string)
- func (o *PingGet401Response) SetRequestId(v string)
- func (o *PingGet401Response) SetStatus(v float32)
- func (o *PingGet401Response) SetStatusText(v string)
- func (o *PingGet401Response) SetTimestamp(v time.Time)
- func (o *PingGet401Response) SetTitle(v string)
- func (o PingGet401Response) ToMap() (map[string]interface{}, error)
- type SellerInformationAPIService
- func (a *SellerInformationAPIService) ApiV1SellerInfoGet(ctx context.Context) ApiApiV1SellerInfoGetRequest
- func (a *SellerInformationAPIService) ApiV1SellerInfoGetExecute(r ApiApiV1SellerInfoGetRequest) (*ApiV1SellerInfoGet200Response, *http.Response, error)
- func (a *SellerInformationAPIService) GetCommonV1Rating(ctx context.Context) ApiGetCommonV1RatingRequest
- func (a *SellerInformationAPIService) GetCommonV1RatingExecute(r ApiGetCommonV1RatingRequest) (*SupplierRatingModel, *http.Response, error)
- func (a *SellerInformationAPIService) GetCommonV1Subscriptions(ctx context.Context) ApiGetCommonV1SubscriptionsRequest
- func (a *SellerInformationAPIService) GetCommonV1SubscriptionsExecute(r ApiGetCommonV1SubscriptionsRequest) (*SubscriptionsJamInfo, *http.Response, error)
- type SellerUserManagementAPIService
- func (a *SellerUserManagementAPIService) ApiV1InvitePost(ctx context.Context) ApiApiV1InvitePostRequest
- func (a *SellerUserManagementAPIService) ApiV1InvitePostExecute(r ApiApiV1InvitePostRequest) (*CreateInviteResponse, *http.Response, error)
- func (a *SellerUserManagementAPIService) ApiV1UserDelete(ctx context.Context) ApiApiV1UserDeleteRequest
- func (a *SellerUserManagementAPIService) ApiV1UserDeleteExecute(r ApiApiV1UserDeleteRequest) (*http.Response, error)
- func (a *SellerUserManagementAPIService) ApiV1UsersAccessPut(ctx context.Context) ApiApiV1UsersAccessPutRequest
- func (a *SellerUserManagementAPIService) ApiV1UsersAccessPutExecute(r ApiApiV1UsersAccessPutRequest) (*http.Response, error)
- func (a *SellerUserManagementAPIService) ApiV1UsersGet(ctx context.Context) ApiApiV1UsersGetRequest
- func (a *SellerUserManagementAPIService) ApiV1UsersGetExecute(r ApiApiV1UsersGetRequest) (*GetUsersResponse, *http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SubscriptionsJamInfo
- func (o *SubscriptionsJamInfo) GetActivationSource() string
- func (o *SubscriptionsJamInfo) GetActivationSourceOk() (*string, bool)
- func (o *SubscriptionsJamInfo) GetLevel() string
- func (o *SubscriptionsJamInfo) GetLevelOk() (*string, bool)
- func (o *SubscriptionsJamInfo) GetSince() time.Time
- func (o *SubscriptionsJamInfo) GetSinceOk() (*time.Time, bool)
- func (o *SubscriptionsJamInfo) GetState() string
- func (o *SubscriptionsJamInfo) GetStateOk() (*string, bool)
- func (o *SubscriptionsJamInfo) GetTill() time.Time
- func (o *SubscriptionsJamInfo) GetTillOk() (*time.Time, bool)
- func (o SubscriptionsJamInfo) MarshalJSON() ([]byte, error)
- func (o *SubscriptionsJamInfo) SetActivationSource(v string)
- func (o *SubscriptionsJamInfo) SetLevel(v string)
- func (o *SubscriptionsJamInfo) SetSince(v time.Time)
- func (o *SubscriptionsJamInfo) SetState(v string)
- func (o *SubscriptionsJamInfo) SetTill(v time.Time)
- func (o SubscriptionsJamInfo) ToMap() (map[string]interface{}, error)
- func (o *SubscriptionsJamInfo) UnmarshalJSON(data []byte) (err error)
- type SupplierRatingModel
- func (o *SupplierRatingModel) GetFeedbackCount() int32
- func (o *SupplierRatingModel) GetFeedbackCountOk() (*int32, bool)
- func (o *SupplierRatingModel) GetValuation() float32
- func (o *SupplierRatingModel) GetValuationOk() (*float32, bool)
- func (o *SupplierRatingModel) HasFeedbackCount() bool
- func (o *SupplierRatingModel) HasValuation() bool
- func (o SupplierRatingModel) MarshalJSON() ([]byte, error)
- func (o *SupplierRatingModel) SetFeedbackCount(v int32)
- func (o *SupplierRatingModel) SetValuation(v float32)
- func (o SupplierRatingModel) ToMap() (map[string]interface{}, error)
- type UpdateUserAccessRequest
- func (o *UpdateUserAccessRequest) GetUsersAccesses() []UserAccess
- func (o *UpdateUserAccessRequest) GetUsersAccessesOk() ([]UserAccess, bool)
- func (o UpdateUserAccessRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateUserAccessRequest) SetUsersAccesses(v []UserAccess)
- func (o UpdateUserAccessRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateUserAccessRequest) UnmarshalJSON(data []byte) (err error)
- type UserAccess
- func (o *UserAccess) GetAccess() []AccessInner
- func (o *UserAccess) GetAccessOk() ([]AccessInner, bool)
- func (o *UserAccess) GetUserId() int32
- func (o *UserAccess) GetUserIdOk() (*int32, bool)
- func (o *UserAccess) HasAccess() bool
- func (o *UserAccess) HasUserId() bool
- func (o UserAccess) MarshalJSON() ([]byte, error)
- func (o *UserAccess) SetAccess(v []AccessInner)
- func (o *UserAccess) SetUserId(v int32)
- func (o UserAccess) ToMap() (map[string]interface{}, error)
- type WBAPIConnectionCheckAPIService
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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 ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
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 ¶
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) 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 (r ApiApiCommunicationsV2NewsGetRequest) Execute() (*ApiCommunicationsV2NewsGet200Response, *http.Response, error)
func (ApiApiCommunicationsV2NewsGetRequest) From ¶
func (r ApiApiCommunicationsV2NewsGetRequest) From(from string) ApiApiCommunicationsV2NewsGetRequest
Date from which to get news
func (ApiApiCommunicationsV2NewsGetRequest) FromID ¶
func (r ApiApiCommunicationsV2NewsGetRequest) FromID(fromID int32) ApiApiCommunicationsV2NewsGetRequest
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 ¶
func (r ApiApiV1InvitePostRequest) Execute() (*CreateInviteResponse, *http.Response, error)
type ApiApiV1SellerInfoGetRequest ¶
type ApiApiV1SellerInfoGetRequest struct {
ApiService *SellerInformationAPIService
// contains filtered or unexported fields
}
func (ApiApiV1SellerInfoGetRequest) Execute ¶
func (r ApiApiV1SellerInfoGetRequest) Execute() (*ApiV1SellerInfoGet200Response, *http.Response, error)
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
type ApiApiV1UsersAccessPutRequest ¶
type ApiApiV1UsersAccessPutRequest struct {
ApiService *SellerUserManagementAPIService
// contains filtered or unexported fields
}
func (ApiApiV1UsersAccessPutRequest) Execute ¶
func (r ApiApiV1UsersAccessPutRequest) Execute() (*http.Response, error)
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 (r ApiApiV1UsersGetRequest) Execute() (*GetUsersResponse, *http.Response, error)
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 ¶
func (r ApiApiV1UsersGetRequest) Limit(limit int64) ApiApiV1UsersGetRequest
The number of active or invited users in the response
func (ApiApiV1UsersGetRequest) Offset ¶
func (r ApiApiV1UsersGetRequest) Offset(offset int64) ApiApiV1UsersGetRequest
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 ¶
func (o *ApiCommunicationsV2NewsGet200Response) GetData() []ApiCommunicationsV2NewsGet200ResponseDataInner
GetData returns the Data field value if set, zero value otherwise.
func (*ApiCommunicationsV2NewsGet200Response) GetDataOk ¶
func (o *ApiCommunicationsV2NewsGet200Response) GetDataOk() ([]ApiCommunicationsV2NewsGet200ResponseDataInner, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiCommunicationsV2NewsGet200Response) HasData ¶
func (o *ApiCommunicationsV2NewsGet200Response) HasData() bool
HasData returns a boolean if a field has been set.
func (ApiCommunicationsV2NewsGet200Response) MarshalJSON ¶
func (o ApiCommunicationsV2NewsGet200Response) MarshalJSON() ([]byte, error)
func (*ApiCommunicationsV2NewsGet200Response) SetData ¶
func (o *ApiCommunicationsV2NewsGet200Response) SetData(v []ApiCommunicationsV2NewsGet200ResponseDataInner)
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 ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetContentOk ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetContentOk() (*string, bool)
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 ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetDate() time.Time
GetDate returns the Date field value if set, zero value otherwise.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetDateOk ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetDateOk() (*time.Time, bool)
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetHeader ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetHeader() string
GetHeader returns the Header field value if set, zero value otherwise.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetHeaderOk ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetHeaderOk() (*string, bool)
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 ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetIdOk ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetTypes ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetTypes() []ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner
GetTypes returns the Types field value if set, zero value otherwise.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) GetTypesOk ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) GetTypesOk() ([]ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner, bool)
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 ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) HasDate ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) HasDate() bool
HasDate returns a boolean if a field has been set.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) HasHeader ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) HasHeader() bool
HasHeader returns a boolean if a field has been set.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) HasId ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) HasId() bool
HasId returns a boolean if a field has been set.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) HasTypes ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) HasTypes() bool
HasTypes returns a boolean if a field has been set.
func (ApiCommunicationsV2NewsGet200ResponseDataInner) MarshalJSON ¶
func (o ApiCommunicationsV2NewsGet200ResponseDataInner) MarshalJSON() ([]byte, error)
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) SetContent ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) SetDate ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) SetDate(v time.Time)
SetDate gets a reference to the given time.Time and assigns it to the Date field.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) SetHeader ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) SetHeader(v string)
SetHeader gets a reference to the given string and assigns it to the Header field.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) SetId ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*ApiCommunicationsV2NewsGet200ResponseDataInner) SetTypes ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInner) SetTypes(v []ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner)
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 ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetIdOk ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetName ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) GetNameOk ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) 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 (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) HasId ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) HasId() bool
HasId returns a boolean if a field has been set.
func (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) HasName ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) HasName() bool
HasName returns a boolean if a field has been set.
func (ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) MarshalJSON ¶
func (o ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) MarshalJSON() ([]byte, error)
func (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) SetId ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) SetName ¶
func (o *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) ToMap ¶
func (o ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) ToMap() (map[string]interface{}, error)
type ApiGetCommonV1RatingRequest ¶
type ApiGetCommonV1RatingRequest struct {
ApiService *SellerInformationAPIService
// contains filtered or unexported fields
}
func (ApiGetCommonV1RatingRequest) Execute ¶
func (r ApiGetCommonV1RatingRequest) Execute() (*SupplierRatingModel, *http.Response, error)
type ApiGetCommonV1SubscriptionsRequest ¶
type ApiGetCommonV1SubscriptionsRequest struct {
ApiService *SellerInformationAPIService
// contains filtered or unexported fields
}
func (ApiGetCommonV1SubscriptionsRequest) Execute ¶
func (r ApiGetCommonV1SubscriptionsRequest) Execute() (*SubscriptionsJamInfo, *http.Response, error)
type ApiPingGetRequest ¶
type ApiPingGetRequest struct {
ApiService *WBAPIConnectionCheckAPIService
// contains filtered or unexported fields
}
func (ApiPingGetRequest) Execute ¶
func (r ApiPingGetRequest) Execute() (*PingGet200Response, *http.Response, error)
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 ¶
func (o *ApiV1SellerInfoGet200Response) GetName() string
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 ¶
func (o *ApiV1SellerInfoGet200Response) GetSid() string
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 ¶
func (o *ApiV1SellerInfoGet200Response) GetTin() string
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 ¶
func (o *ApiV1SellerInfoGet200Response) SetSid(v string)
SetSid gets a reference to the given string and assigns it to the Sid field.
func (*ApiV1SellerInfoGet200Response) SetTin ¶
func (o *ApiV1SellerInfoGet200Response) SetTin(v string)
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) ServerURLWithContext ¶
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 ¶
func (o *CreateInviteRequest) GetInvite() CreateInviteRequestInvite
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 ¶
func (o *CreateInviteRequest) SetInvite(v CreateInviteRequestInvite)
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 ¶
func (o *GetUsersResponse) GetUsers() []GetUsersResponseUsersInner
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 ¶
func (o *GetUsersResponse) SetUsers(v []GetUsersResponseUsersInner)
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 ¶
func (o *GetUsersResponseUsersInner) GetInviteeInfo() GetUsersResponseUsersInnerInviteeInfo
GetInviteeInfo returns the InviteeInfo field value If the value is explicit nil, the zero value for GetUsersResponseUsersInnerInviteeInfo will be returned
func (*GetUsersResponseUsersInner) GetInviteeInfoOk ¶
func (o *GetUsersResponseUsersInner) GetInviteeInfoOk() (*GetUsersResponseUsersInnerInviteeInfo, bool)
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 ¶
func (o *GetUsersResponseUsersInner) SetInviteeInfo(v GetUsersResponseUsersInnerInviteeInfo)
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 ¶
func (o *GetUsersResponseUsersInnerInviteeInfo) GetExpiredAt() time.Time
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 ¶
func (o *GetUsersResponseUsersInnerInviteeInfo) GetIsActive() bool
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 ¶
func (o *GetUsersResponseUsersInnerInviteeInfo) GetPosition() string
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 ¶
func (o *GetUsersResponseUsersInnerInviteeInfo) HasIsActive() bool
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 ¶
func (o *GetUsersResponseUsersInnerInviteeInfo) HasPosition() bool
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 ¶
func (o *GetUsersResponseUsersInnerInviteeInfo) SetPosition(v string)
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 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 ¶
func (a *NewsAPIAPIService) ApiCommunicationsV2NewsGetExecute(r ApiApiCommunicationsV2NewsGetRequest) (*ApiCommunicationsV2NewsGet200Response, *http.Response, error)
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 (v NullableAccessInner) Get() *AccessInner
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 NewNullableApiCommunicationsV2NewsGet200Response ¶
func NewNullableApiCommunicationsV2NewsGet200Response(val *ApiCommunicationsV2NewsGet200Response) *NullableApiCommunicationsV2NewsGet200Response
func (NullableApiCommunicationsV2NewsGet200Response) IsSet ¶
func (v NullableApiCommunicationsV2NewsGet200Response) IsSet() bool
func (NullableApiCommunicationsV2NewsGet200Response) MarshalJSON ¶
func (v NullableApiCommunicationsV2NewsGet200Response) MarshalJSON() ([]byte, error)
func (*NullableApiCommunicationsV2NewsGet200Response) Set ¶
func (v *NullableApiCommunicationsV2NewsGet200Response) Set(val *ApiCommunicationsV2NewsGet200Response)
func (*NullableApiCommunicationsV2NewsGet200Response) UnmarshalJSON ¶
func (v *NullableApiCommunicationsV2NewsGet200Response) UnmarshalJSON(src []byte) error
func (*NullableApiCommunicationsV2NewsGet200Response) Unset ¶
func (v *NullableApiCommunicationsV2NewsGet200Response) Unset()
type NullableApiCommunicationsV2NewsGet200ResponseDataInner ¶
type NullableApiCommunicationsV2NewsGet200ResponseDataInner struct {
// contains filtered or unexported fields
}
func NewNullableApiCommunicationsV2NewsGet200ResponseDataInner ¶
func NewNullableApiCommunicationsV2NewsGet200ResponseDataInner(val *ApiCommunicationsV2NewsGet200ResponseDataInner) *NullableApiCommunicationsV2NewsGet200ResponseDataInner
func (NullableApiCommunicationsV2NewsGet200ResponseDataInner) IsSet ¶
func (v NullableApiCommunicationsV2NewsGet200ResponseDataInner) IsSet() bool
func (NullableApiCommunicationsV2NewsGet200ResponseDataInner) MarshalJSON ¶
func (v NullableApiCommunicationsV2NewsGet200ResponseDataInner) MarshalJSON() ([]byte, error)
func (*NullableApiCommunicationsV2NewsGet200ResponseDataInner) UnmarshalJSON ¶
func (v *NullableApiCommunicationsV2NewsGet200ResponseDataInner) UnmarshalJSON(src []byte) error
func (*NullableApiCommunicationsV2NewsGet200ResponseDataInner) Unset ¶
func (v *NullableApiCommunicationsV2NewsGet200ResponseDataInner) Unset()
type NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner ¶
type NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner struct {
// contains filtered or unexported fields
}
func NewNullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner ¶
func NewNullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner(val *ApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) *NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner
func (NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) IsSet ¶
func (v NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) IsSet() bool
func (NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) MarshalJSON ¶
func (v NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) MarshalJSON() ([]byte, error)
func (*NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) UnmarshalJSON ¶
func (v *NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) UnmarshalJSON(src []byte) error
func (*NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) Unset ¶
func (v *NullableApiCommunicationsV2NewsGet200ResponseDataInnerTypesInner) Unset()
type NullableApiV1SellerInfoGet200Response ¶
type NullableApiV1SellerInfoGet200Response struct {
// contains filtered or unexported fields
}
func NewNullableApiV1SellerInfoGet200Response ¶
func NewNullableApiV1SellerInfoGet200Response(val *ApiV1SellerInfoGet200Response) *NullableApiV1SellerInfoGet200Response
func (NullableApiV1SellerInfoGet200Response) Get ¶
func (v NullableApiV1SellerInfoGet200Response) Get() *ApiV1SellerInfoGet200Response
func (NullableApiV1SellerInfoGet200Response) IsSet ¶
func (v NullableApiV1SellerInfoGet200Response) IsSet() bool
func (NullableApiV1SellerInfoGet200Response) MarshalJSON ¶
func (v NullableApiV1SellerInfoGet200Response) MarshalJSON() ([]byte, error)
func (*NullableApiV1SellerInfoGet200Response) Set ¶
func (v *NullableApiV1SellerInfoGet200Response) Set(val *ApiV1SellerInfoGet200Response)
func (*NullableApiV1SellerInfoGet200Response) UnmarshalJSON ¶
func (v *NullableApiV1SellerInfoGet200Response) UnmarshalJSON(src []byte) error
func (*NullableApiV1SellerInfoGet200Response) Unset ¶
func (v *NullableApiV1SellerInfoGet200Response) Unset()
type NullableApiV1SellerInfoGet402Response ¶
type NullableApiV1SellerInfoGet402Response struct {
// contains filtered or unexported fields
}
func NewNullableApiV1SellerInfoGet402Response ¶
func NewNullableApiV1SellerInfoGet402Response(val *ApiV1SellerInfoGet402Response) *NullableApiV1SellerInfoGet402Response
func (NullableApiV1SellerInfoGet402Response) Get ¶
func (v NullableApiV1SellerInfoGet402Response) Get() *ApiV1SellerInfoGet402Response
func (NullableApiV1SellerInfoGet402Response) IsSet ¶
func (v NullableApiV1SellerInfoGet402Response) IsSet() bool
func (NullableApiV1SellerInfoGet402Response) MarshalJSON ¶
func (v NullableApiV1SellerInfoGet402Response) MarshalJSON() ([]byte, error)
func (*NullableApiV1SellerInfoGet402Response) Set ¶
func (v *NullableApiV1SellerInfoGet402Response) Set(val *ApiV1SellerInfoGet402Response)
func (*NullableApiV1SellerInfoGet402Response) UnmarshalJSON ¶
func (v *NullableApiV1SellerInfoGet402Response) UnmarshalJSON(src []byte) error
func (*NullableApiV1SellerInfoGet402Response) Unset ¶
func (v *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 (v NullableCreateInviteRequest) Get() *CreateInviteRequest
func (NullableCreateInviteRequest) IsSet ¶
func (v NullableCreateInviteRequest) IsSet() bool
func (NullableCreateInviteRequest) MarshalJSON ¶
func (v NullableCreateInviteRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateInviteRequest) Set ¶
func (v *NullableCreateInviteRequest) Set(val *CreateInviteRequest)
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 NewNullableCreateInviteRequestInvite ¶
func NewNullableCreateInviteRequestInvite(val *CreateInviteRequestInvite) *NullableCreateInviteRequestInvite
func (NullableCreateInviteRequestInvite) Get ¶
func (v NullableCreateInviteRequestInvite) Get() *CreateInviteRequestInvite
func (NullableCreateInviteRequestInvite) IsSet ¶
func (v NullableCreateInviteRequestInvite) IsSet() bool
func (NullableCreateInviteRequestInvite) MarshalJSON ¶
func (v NullableCreateInviteRequestInvite) MarshalJSON() ([]byte, error)
func (*NullableCreateInviteRequestInvite) Set ¶
func (v *NullableCreateInviteRequestInvite) Set(val *CreateInviteRequestInvite)
func (*NullableCreateInviteRequestInvite) UnmarshalJSON ¶
func (v *NullableCreateInviteRequestInvite) UnmarshalJSON(src []byte) error
func (*NullableCreateInviteRequestInvite) Unset ¶
func (v *NullableCreateInviteRequestInvite) Unset()
type NullableCreateInviteResponse ¶
type NullableCreateInviteResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateInviteResponse ¶
func NewNullableCreateInviteResponse(val *CreateInviteResponse) *NullableCreateInviteResponse
func (NullableCreateInviteResponse) Get ¶
func (v NullableCreateInviteResponse) Get() *CreateInviteResponse
func (NullableCreateInviteResponse) IsSet ¶
func (v NullableCreateInviteResponse) IsSet() bool
func (NullableCreateInviteResponse) MarshalJSON ¶
func (v NullableCreateInviteResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateInviteResponse) Set ¶
func (v *NullableCreateInviteResponse) Set(val *CreateInviteResponse)
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 (v NullableErrorResponse) Get() *ErrorResponse
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 (v NullableGetUsersResponse) Get() *GetUsersResponse
func (NullableGetUsersResponse) IsSet ¶
func (v NullableGetUsersResponse) IsSet() bool
func (NullableGetUsersResponse) MarshalJSON ¶
func (v NullableGetUsersResponse) MarshalJSON() ([]byte, error)
func (*NullableGetUsersResponse) Set ¶
func (v *NullableGetUsersResponse) Set(val *GetUsersResponse)
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 NewNullableGetUsersResponseUsersInner ¶
func NewNullableGetUsersResponseUsersInner(val *GetUsersResponseUsersInner) *NullableGetUsersResponseUsersInner
func (NullableGetUsersResponseUsersInner) Get ¶
func (v NullableGetUsersResponseUsersInner) Get() *GetUsersResponseUsersInner
func (NullableGetUsersResponseUsersInner) IsSet ¶
func (v NullableGetUsersResponseUsersInner) IsSet() bool
func (NullableGetUsersResponseUsersInner) MarshalJSON ¶
func (v NullableGetUsersResponseUsersInner) MarshalJSON() ([]byte, error)
func (*NullableGetUsersResponseUsersInner) Set ¶
func (v *NullableGetUsersResponseUsersInner) Set(val *GetUsersResponseUsersInner)
func (*NullableGetUsersResponseUsersInner) UnmarshalJSON ¶
func (v *NullableGetUsersResponseUsersInner) UnmarshalJSON(src []byte) error
func (*NullableGetUsersResponseUsersInner) Unset ¶
func (v *NullableGetUsersResponseUsersInner) Unset()
type NullableGetUsersResponseUsersInnerInviteeInfo ¶
type NullableGetUsersResponseUsersInnerInviteeInfo struct {
// contains filtered or unexported fields
}
func NewNullableGetUsersResponseUsersInnerInviteeInfo ¶
func NewNullableGetUsersResponseUsersInnerInviteeInfo(val *GetUsersResponseUsersInnerInviteeInfo) *NullableGetUsersResponseUsersInnerInviteeInfo
func (NullableGetUsersResponseUsersInnerInviteeInfo) IsSet ¶
func (v NullableGetUsersResponseUsersInnerInviteeInfo) IsSet() bool
func (NullableGetUsersResponseUsersInnerInviteeInfo) MarshalJSON ¶
func (v NullableGetUsersResponseUsersInnerInviteeInfo) MarshalJSON() ([]byte, error)
func (*NullableGetUsersResponseUsersInnerInviteeInfo) Set ¶
func (v *NullableGetUsersResponseUsersInnerInviteeInfo) Set(val *GetUsersResponseUsersInnerInviteeInfo)
func (*NullableGetUsersResponseUsersInnerInviteeInfo) UnmarshalJSON ¶
func (v *NullableGetUsersResponseUsersInnerInviteeInfo) UnmarshalJSON(src []byte) error
func (*NullableGetUsersResponseUsersInnerInviteeInfo) Unset ¶
func (v *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 (v NullablePingGet200Response) Get() *PingGet200Response
func (NullablePingGet200Response) IsSet ¶
func (v NullablePingGet200Response) IsSet() bool
func (NullablePingGet200Response) MarshalJSON ¶
func (v NullablePingGet200Response) MarshalJSON() ([]byte, error)
func (*NullablePingGet200Response) Set ¶
func (v *NullablePingGet200Response) Set(val *PingGet200Response)
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 (v NullablePingGet401Response) Get() *PingGet401Response
func (NullablePingGet401Response) IsSet ¶
func (v NullablePingGet401Response) IsSet() bool
func (NullablePingGet401Response) MarshalJSON ¶
func (v NullablePingGet401Response) MarshalJSON() ([]byte, error)
func (*NullablePingGet401Response) Set ¶
func (v *NullablePingGet401Response) Set(val *PingGet401Response)
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 (v NullableSubscriptionsJamInfo) Get() *SubscriptionsJamInfo
func (NullableSubscriptionsJamInfo) IsSet ¶
func (v NullableSubscriptionsJamInfo) IsSet() bool
func (NullableSubscriptionsJamInfo) MarshalJSON ¶
func (v NullableSubscriptionsJamInfo) MarshalJSON() ([]byte, error)
func (*NullableSubscriptionsJamInfo) Set ¶
func (v *NullableSubscriptionsJamInfo) Set(val *SubscriptionsJamInfo)
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 (v NullableSupplierRatingModel) Get() *SupplierRatingModel
func (NullableSupplierRatingModel) IsSet ¶
func (v NullableSupplierRatingModel) IsSet() bool
func (NullableSupplierRatingModel) MarshalJSON ¶
func (v NullableSupplierRatingModel) MarshalJSON() ([]byte, error)
func (*NullableSupplierRatingModel) Set ¶
func (v *NullableSupplierRatingModel) Set(val *SupplierRatingModel)
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 NewNullableUpdateUserAccessRequest ¶
func NewNullableUpdateUserAccessRequest(val *UpdateUserAccessRequest) *NullableUpdateUserAccessRequest
func (NullableUpdateUserAccessRequest) Get ¶
func (v NullableUpdateUserAccessRequest) Get() *UpdateUserAccessRequest
func (NullableUpdateUserAccessRequest) IsSet ¶
func (v NullableUpdateUserAccessRequest) IsSet() bool
func (NullableUpdateUserAccessRequest) MarshalJSON ¶
func (v NullableUpdateUserAccessRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateUserAccessRequest) Set ¶
func (v *NullableUpdateUserAccessRequest) Set(val *UpdateUserAccessRequest)
func (*NullableUpdateUserAccessRequest) UnmarshalJSON ¶
func (v *NullableUpdateUserAccessRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateUserAccessRequest) Unset ¶
func (v *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 ¶
func (a *SellerInformationAPIService) ApiV1SellerInfoGet(ctx context.Context) ApiApiV1SellerInfoGetRequest
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 ¶
func (a *SellerInformationAPIService) ApiV1SellerInfoGetExecute(r ApiApiV1SellerInfoGetRequest) (*ApiV1SellerInfoGet200Response, *http.Response, error)
Execute executes the request
@return ApiV1SellerInfoGet200Response
func (*SellerInformationAPIService) GetCommonV1Rating ¶
func (a *SellerInformationAPIService) GetCommonV1Rating(ctx context.Context) ApiGetCommonV1RatingRequest
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 ¶
func (a *SellerInformationAPIService) GetCommonV1RatingExecute(r ApiGetCommonV1RatingRequest) (*SupplierRatingModel, *http.Response, error)
Execute executes the request
@return SupplierRatingModel
func (*SellerInformationAPIService) GetCommonV1Subscriptions ¶
func (a *SellerInformationAPIService) GetCommonV1Subscriptions(ctx context.Context) ApiGetCommonV1SubscriptionsRequest
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 ¶
func (a *SellerInformationAPIService) GetCommonV1SubscriptionsExecute(r ApiGetCommonV1SubscriptionsRequest) (*SubscriptionsJamInfo, *http.Response, error)
Execute executes the request
@return SubscriptionsJamInfo
type SellerUserManagementAPIService ¶
type SellerUserManagementAPIService service
SellerUserManagementAPIService SellerUserManagementAPI service
func (*SellerUserManagementAPIService) ApiV1InvitePost ¶
func (a *SellerUserManagementAPIService) ApiV1InvitePost(ctx context.Context) ApiApiV1InvitePostRequest
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 ¶
func (a *SellerUserManagementAPIService) ApiV1InvitePostExecute(r ApiApiV1InvitePostRequest) (*CreateInviteResponse, *http.Response, error)
Execute executes the request
@return CreateInviteResponse
func (*SellerUserManagementAPIService) ApiV1UserDelete ¶
func (a *SellerUserManagementAPIService) ApiV1UserDelete(ctx context.Context) ApiApiV1UserDeleteRequest
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 ¶
func (a *SellerUserManagementAPIService) ApiV1UserDeleteExecute(r ApiApiV1UserDeleteRequest) (*http.Response, error)
Execute executes the request
func (*SellerUserManagementAPIService) ApiV1UsersAccessPut ¶
func (a *SellerUserManagementAPIService) ApiV1UsersAccessPut(ctx context.Context) ApiApiV1UsersAccessPutRequest
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 ¶
func (a *SellerUserManagementAPIService) ApiV1UsersAccessPutExecute(r ApiApiV1UsersAccessPutRequest) (*http.Response, error)
Execute executes the request
func (*SellerUserManagementAPIService) ApiV1UsersGet ¶
func (a *SellerUserManagementAPIService) ApiV1UsersGet(ctx context.Context) ApiApiV1UsersGetRequest
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 ¶
func (a *SellerUserManagementAPIService) ApiV1UsersGetExecute(r ApiApiV1UsersGetRequest) (*GetUsersResponse, *http.Response, error)
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
type ServerVariable ¶
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 ¶
func (a *WBAPIConnectionCheckAPIService) PingGet(ctx context.Context) ApiPingGetRequest
PingGet Connection Check
Checks:
- Whether the request successfully reaches the WB API.
- The validity of the authorization token and request URL.
- 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 ¶
func (a *WBAPIConnectionCheckAPIService) PingGetExecute(r ApiPingGetRequest) (*PingGet200Response, *http.Response, error)
Execute executes the request
@return PingGet200Response
Source Files
¶
- api_news_api.go
- api_seller_information.go
- api_seller_user_management.go
- api_wbapi_connection_check.go
- client.go
- configuration.go
- model__api_communications_v2_news_get_200_response.go
- model__api_communications_v2_news_get_200_response_data_inner.go
- model__api_communications_v2_news_get_200_response_data_inner_types_inner.go
- model__api_v1_seller_info_get_200_response.go
- model__api_v1_seller_info_get_402_response.go
- model__ping_get_200_response.go
- model__ping_get_401_response.go
- model_access_inner.go
- model_create_invite_request.go
- model_create_invite_request_invite.go
- model_create_invite_response.go
- model_error_response.go
- model_get_users_response.go
- model_get_users_response_users_inner.go
- model_get_users_response_users_inner_invitee_info.go
- model_subscriptions_jam_info.go
- model_supplier_rating_model.go
- model_update_user_access_request.go
- model_user_access.go
- response.go
- utils.go