2021-01-08 17:40:28 +00:00
|
|
|
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
|
2021-01-19 16:58:40 +00:00
|
|
|
// All Code Copyright(c) 2018-2021 by Taxnexus, Inc.
|
2021-01-08 17:40:28 +00:00
|
|
|
// All rights reserved worldwide.
|
|
|
|
// Proprietary product; unlicensed use is not allowed
|
|
|
|
|
|
|
|
package blaze_models
|
|
|
|
|
|
|
|
// This file was generated by the swagger tool.
|
|
|
|
// Editing this file might prove futile when you re-run the swagger generate command
|
|
|
|
|
|
|
|
import (
|
2021-02-09 16:56:57 +00:00
|
|
|
"context"
|
2021-01-08 17:40:28 +00:00
|
|
|
"strconv"
|
|
|
|
|
|
|
|
"github.com/go-openapi/errors"
|
|
|
|
"github.com/go-openapi/strfmt"
|
|
|
|
"github.com/go-openapi/swag"
|
|
|
|
)
|
|
|
|
|
|
|
|
// VendorResponse vendor response
|
|
|
|
//
|
|
|
|
// swagger:model VendorResponse
|
|
|
|
type VendorResponse struct {
|
|
|
|
|
|
|
|
// active
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: true
|
2021-01-08 17:40:28 +00:00
|
|
|
Active bool `json:"active,omitempty"`
|
|
|
|
|
|
|
|
// additional address list
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: ["string"]
|
2021-01-08 17:40:28 +00:00
|
|
|
AdditionalAddressList []string `json:"additionalAddressList"`
|
|
|
|
|
|
|
|
// address
|
|
|
|
Address *VendorResponseAddress `json:"address,omitempty"`
|
|
|
|
|
|
|
|
// arms length type
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: ARMS_LENGTH
|
2021-01-08 17:40:28 +00:00
|
|
|
ArmsLengthType string `json:"armsLengthType,omitempty"`
|
|
|
|
|
|
|
|
// assets
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: ["string"]
|
2021-01-08 17:40:28 +00:00
|
|
|
Assets []*VendorResponseAssetsItems0 `json:"assets"`
|
|
|
|
|
|
|
|
// back order enabled
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: false
|
2021-01-08 17:40:28 +00:00
|
|
|
BackOrderEnabled bool `json:"backOrderEnabled,omitempty"`
|
|
|
|
|
|
|
|
// brand list
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: ["string"]
|
2021-01-08 17:40:28 +00:00
|
|
|
BrandList []string `json:"brandList"`
|
|
|
|
|
|
|
|
// brands
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: ["string"]
|
2021-01-08 17:40:28 +00:00
|
|
|
Brands []string `json:"brands"`
|
|
|
|
|
|
|
|
// company Id
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 5cabd4ba6218d148395b402c
|
2021-01-08 17:40:28 +00:00
|
|
|
CompanyID string `json:"companyId,omitempty"`
|
|
|
|
|
|
|
|
// company licenses
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: ["string"]
|
2021-01-08 17:40:28 +00:00
|
|
|
CompanyLicenses []string `json:"companyLicenses"`
|
|
|
|
|
|
|
|
// company type
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: string
|
2021-01-08 17:40:28 +00:00
|
|
|
CompanyType string `json:"companyType,omitempty"`
|
|
|
|
|
|
|
|
// created
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 1554825414778
|
2021-01-08 17:40:28 +00:00
|
|
|
Created int64 `json:"created,omitempty"`
|
|
|
|
|
|
|
|
// credits
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 0
|
2021-01-08 17:40:28 +00:00
|
|
|
Credits float64 `json:"credits,omitempty"`
|
|
|
|
|
|
|
|
// dba name
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: string
|
2021-01-08 17:40:28 +00:00
|
|
|
DbaName string `json:"dbaName,omitempty"`
|
|
|
|
|
|
|
|
// deleted
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: false
|
2021-01-08 17:40:28 +00:00
|
|
|
Deleted bool `json:"deleted,omitempty"`
|
|
|
|
|
|
|
|
// description
|
|
|
|
Description string `json:"description,omitempty"`
|
|
|
|
|
|
|
|
// email
|
|
|
|
Email string `json:"email,omitempty"`
|
|
|
|
|
|
|
|
// fax
|
|
|
|
Fax string `json:"fax,omitempty"`
|
|
|
|
|
|
|
|
// first name
|
|
|
|
FirstName string `json:"firstName,omitempty"`
|
|
|
|
|
|
|
|
// id
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 5cacc0c66218d174d3f17b0d
|
2021-01-08 17:40:28 +00:00
|
|
|
ID string `json:"id,omitempty"`
|
|
|
|
|
|
|
|
// import Id
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: string
|
2021-01-08 17:40:28 +00:00
|
|
|
ImportID string `json:"importId,omitempty"`
|
|
|
|
|
|
|
|
// last name
|
|
|
|
LastName string `json:"lastName,omitempty"`
|
|
|
|
|
|
|
|
// licence type
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: string
|
2021-01-08 17:40:28 +00:00
|
|
|
LicenceType string `json:"licenceType,omitempty"`
|
|
|
|
|
|
|
|
// license expiration date
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 0
|
2021-01-08 17:40:28 +00:00
|
|
|
LicenseExpirationDate float64 `json:"licenseExpirationDate,omitempty"`
|
|
|
|
|
|
|
|
// license number
|
|
|
|
LicenseNumber string `json:"licenseNumber,omitempty"`
|
|
|
|
|
|
|
|
// mobile number
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: string
|
2021-01-08 17:40:28 +00:00
|
|
|
MobileNumber string `json:"mobileNumber,omitempty"`
|
|
|
|
|
|
|
|
// modified
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 1554825414778
|
2021-01-08 17:40:28 +00:00
|
|
|
Modified int64 `json:"modified,omitempty"`
|
|
|
|
|
|
|
|
// name
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: Binsky
|
2021-01-08 17:40:28 +00:00
|
|
|
Name string `json:"name,omitempty"`
|
|
|
|
|
|
|
|
// notes
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: ["string"]
|
2021-01-08 17:40:28 +00:00
|
|
|
Notes []string `json:"notes"`
|
|
|
|
|
|
|
|
// phone
|
|
|
|
Phone string `json:"phone,omitempty"`
|
|
|
|
|
|
|
|
// qb desktop ref
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: string
|
2021-01-08 17:40:28 +00:00
|
|
|
QbDesktopRef string `json:"qbDesktopRef,omitempty"`
|
|
|
|
|
|
|
|
// qb vendor ref
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: ["string"]
|
2021-01-08 17:40:28 +00:00
|
|
|
QbVendorRef []string `json:"qbVendorRef"`
|
|
|
|
|
|
|
|
// related entity
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: false
|
2021-01-08 17:40:28 +00:00
|
|
|
RelatedEntity bool `json:"relatedEntity,omitempty"`
|
|
|
|
|
|
|
|
// updated
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: false
|
2021-01-08 17:40:28 +00:00
|
|
|
Updated bool `json:"updated,omitempty"`
|
|
|
|
|
|
|
|
// vendor key
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: NWNhYmQ0YmE2MjE4ZDE0ODM5NWI0MDJjX2JpbnNreQ==
|
2021-01-08 17:40:28 +00:00
|
|
|
VendorKey string `json:"vendorKey,omitempty"`
|
|
|
|
|
|
|
|
// vendor type
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: VENDOR
|
2021-01-08 17:40:28 +00:00
|
|
|
VendorType string `json:"vendorType,omitempty"`
|
|
|
|
|
|
|
|
// website
|
|
|
|
Website string `json:"website,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// Validate validates this vendor response
|
|
|
|
func (m *VendorResponse) Validate(formats strfmt.Registry) error {
|
|
|
|
var res []error
|
|
|
|
|
|
|
|
if err := m.validateAddress(formats); err != nil {
|
|
|
|
res = append(res, err)
|
|
|
|
}
|
|
|
|
|
|
|
|
if err := m.validateAssets(formats); err != nil {
|
|
|
|
res = append(res, err)
|
|
|
|
}
|
|
|
|
|
|
|
|
if len(res) > 0 {
|
|
|
|
return errors.CompositeValidationError(res...)
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *VendorResponse) validateAddress(formats strfmt.Registry) error {
|
|
|
|
if swag.IsZero(m.Address) { // not required
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
if m.Address != nil {
|
|
|
|
if err := m.Address.Validate(formats); err != nil {
|
|
|
|
if ve, ok := err.(*errors.Validation); ok {
|
|
|
|
return ve.ValidateName("address")
|
|
|
|
}
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *VendorResponse) validateAssets(formats strfmt.Registry) error {
|
|
|
|
if swag.IsZero(m.Assets) { // not required
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
for i := 0; i < len(m.Assets); i++ {
|
|
|
|
if swag.IsZero(m.Assets[i]) { // not required
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
|
|
|
|
if m.Assets[i] != nil {
|
|
|
|
if err := m.Assets[i].Validate(formats); err != nil {
|
|
|
|
if ve, ok := err.(*errors.Validation); ok {
|
|
|
|
return ve.ValidateName("assets" + "." + strconv.Itoa(i))
|
|
|
|
}
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-02-09 16:56:57 +00:00
|
|
|
// ContextValidate validate this vendor response based on the context it is used
|
|
|
|
func (m *VendorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
|
|
var res []error
|
|
|
|
|
|
|
|
if err := m.contextValidateAddress(ctx, formats); err != nil {
|
|
|
|
res = append(res, err)
|
|
|
|
}
|
|
|
|
|
|
|
|
if err := m.contextValidateAssets(ctx, formats); err != nil {
|
|
|
|
res = append(res, err)
|
|
|
|
}
|
|
|
|
|
|
|
|
if len(res) > 0 {
|
|
|
|
return errors.CompositeValidationError(res...)
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *VendorResponse) contextValidateAddress(ctx context.Context, formats strfmt.Registry) error {
|
|
|
|
|
|
|
|
if m.Address != nil {
|
|
|
|
if err := m.Address.ContextValidate(ctx, formats); err != nil {
|
|
|
|
if ve, ok := err.(*errors.Validation); ok {
|
|
|
|
return ve.ValidateName("address")
|
|
|
|
}
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *VendorResponse) contextValidateAssets(ctx context.Context, formats strfmt.Registry) error {
|
|
|
|
|
|
|
|
for i := 0; i < len(m.Assets); i++ {
|
|
|
|
|
|
|
|
if m.Assets[i] != nil {
|
|
|
|
if err := m.Assets[i].ContextValidate(ctx, formats); err != nil {
|
|
|
|
if ve, ok := err.(*errors.Validation); ok {
|
|
|
|
return ve.ValidateName("assets" + "." + strconv.Itoa(i))
|
|
|
|
}
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-08 17:40:28 +00:00
|
|
|
// MarshalBinary interface implementation
|
|
|
|
func (m *VendorResponse) MarshalBinary() ([]byte, error) {
|
|
|
|
if m == nil {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
return swag.WriteJSON(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary interface implementation
|
|
|
|
func (m *VendorResponse) UnmarshalBinary(b []byte) error {
|
|
|
|
var res VendorResponse
|
|
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
*m = res
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// VendorResponseAddress vendor response address
|
|
|
|
//
|
|
|
|
// swagger:model VendorResponseAddress
|
|
|
|
type VendorResponseAddress struct {
|
|
|
|
|
|
|
|
// address
|
|
|
|
Address string `json:"address,omitempty"`
|
|
|
|
|
|
|
|
// city
|
|
|
|
City string `json:"city,omitempty"`
|
|
|
|
|
|
|
|
// company Id
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: string
|
2021-01-08 17:40:28 +00:00
|
|
|
CompanyID string `json:"companyId,omitempty"`
|
|
|
|
|
|
|
|
// country
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: US
|
2021-01-08 17:40:28 +00:00
|
|
|
Country string `json:"country,omitempty"`
|
|
|
|
|
|
|
|
// created
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 1554825414778
|
2021-01-08 17:40:28 +00:00
|
|
|
Created int64 `json:"created,omitempty"`
|
|
|
|
|
|
|
|
// deleted
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: false
|
2021-01-08 17:40:28 +00:00
|
|
|
Deleted bool `json:"deleted,omitempty"`
|
|
|
|
|
|
|
|
// id
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 5cacc0c66218d174d3f17b0c
|
2021-01-08 17:40:28 +00:00
|
|
|
ID string `json:"id,omitempty"`
|
|
|
|
|
|
|
|
// modified
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 1554825414778
|
2021-01-08 17:40:28 +00:00
|
|
|
Modified int64 `json:"modified,omitempty"`
|
|
|
|
|
|
|
|
// state
|
|
|
|
State string `json:"state,omitempty"`
|
|
|
|
|
|
|
|
// updated
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: false
|
2021-01-08 17:40:28 +00:00
|
|
|
Updated bool `json:"updated,omitempty"`
|
|
|
|
|
|
|
|
// zip code
|
|
|
|
ZipCode string `json:"zipCode,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// Validate validates this vendor response address
|
|
|
|
func (m *VendorResponseAddress) Validate(formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-02-09 16:56:57 +00:00
|
|
|
// ContextValidate validates this vendor response address based on context it is used
|
|
|
|
func (m *VendorResponseAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-08 17:40:28 +00:00
|
|
|
// MarshalBinary interface implementation
|
|
|
|
func (m *VendorResponseAddress) MarshalBinary() ([]byte, error) {
|
|
|
|
if m == nil {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
return swag.WriteJSON(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary interface implementation
|
|
|
|
func (m *VendorResponseAddress) UnmarshalBinary(b []byte) error {
|
|
|
|
var res VendorResponseAddress
|
|
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
*m = res
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// VendorResponseAssetsItems0 vendor response assets items0
|
|
|
|
//
|
|
|
|
// swagger:model VendorResponseAssetsItems0
|
|
|
|
type VendorResponseAssetsItems0 struct {
|
|
|
|
|
|
|
|
// active
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: true
|
2021-01-08 17:40:28 +00:00
|
|
|
Active bool `json:"active,omitempty"`
|
|
|
|
|
|
|
|
// asset type
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: Photo
|
2021-01-08 17:40:28 +00:00
|
|
|
AssetType string `json:"assetType,omitempty"`
|
|
|
|
|
|
|
|
// company Id
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 5c7e8c7b722ed607e61edb06
|
2021-01-08 17:40:28 +00:00
|
|
|
CompanyID string `json:"companyId,omitempty"`
|
|
|
|
|
|
|
|
// created
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 1556052368662
|
2021-01-08 17:40:28 +00:00
|
|
|
Created int64 `json:"created,omitempty"`
|
|
|
|
|
|
|
|
// deleted
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: false
|
2021-01-08 17:40:28 +00:00
|
|
|
Deleted bool `json:"deleted,omitempty"`
|
|
|
|
|
|
|
|
// id
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 5cbf79908a29f808183540e7
|
2021-01-08 17:40:28 +00:00
|
|
|
ID string `json:"id,omitempty"`
|
|
|
|
|
|
|
|
// key
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: c71adc95-bb07-47f2-b9f6-cc4db7936686.png
|
2021-01-08 17:40:28 +00:00
|
|
|
Key string `json:"key,omitempty"`
|
|
|
|
|
|
|
|
// large URL
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-800x800.png
|
2021-01-08 17:40:28 +00:00
|
|
|
LargeURL string `json:"largeURL,omitempty"`
|
|
|
|
|
|
|
|
// large x2 URL
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-1600x1600.png
|
2021-01-08 17:40:28 +00:00
|
|
|
LargeX2URL string `json:"largeX2URL,omitempty"`
|
|
|
|
|
|
|
|
// medium URL
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-500x500.png
|
2021-01-08 17:40:28 +00:00
|
|
|
MediumURL string `json:"mediumURL,omitempty"`
|
|
|
|
|
|
|
|
// modified
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 1556052368662
|
2021-01-08 17:40:28 +00:00
|
|
|
Modified int64 `json:"modified,omitempty"`
|
|
|
|
|
|
|
|
// name
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: Brian Main DL.png
|
2021-01-08 17:40:28 +00:00
|
|
|
Name string `json:"name,omitempty"`
|
|
|
|
|
|
|
|
// priority
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: 0
|
2021-01-08 17:40:28 +00:00
|
|
|
Priority float64 `json:"priority,omitempty"`
|
|
|
|
|
|
|
|
// secured
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: true
|
2021-01-08 17:40:28 +00:00
|
|
|
Secured bool `json:"secured,omitempty"`
|
|
|
|
|
|
|
|
// thumb URL
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: https://connect-files-p1.s3.amazonaws.com/c71adc95-bb07-47f2-b9f6-cc4db7936686-200x200.png
|
2021-01-08 17:40:28 +00:00
|
|
|
ThumbURL string `json:"thumbURL,omitempty"`
|
|
|
|
|
|
|
|
// type
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: Photo
|
2021-01-08 17:40:28 +00:00
|
|
|
Type string `json:"type,omitempty"`
|
|
|
|
|
|
|
|
// updated
|
2021-02-09 16:56:57 +00:00
|
|
|
// Example: false
|
2021-01-08 17:40:28 +00:00
|
|
|
Updated bool `json:"updated,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// Validate validates this vendor response assets items0
|
|
|
|
func (m *VendorResponseAssetsItems0) Validate(formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-02-09 16:56:57 +00:00
|
|
|
// ContextValidate validates this vendor response assets items0 based on context it is used
|
|
|
|
func (m *VendorResponseAssetsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-08 17:40:28 +00:00
|
|
|
// MarshalBinary interface implementation
|
|
|
|
func (m *VendorResponseAssetsItems0) MarshalBinary() ([]byte, error) {
|
|
|
|
if m == nil {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
return swag.WriteJSON(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary interface implementation
|
|
|
|
func (m *VendorResponseAssetsItems0) UnmarshalBinary(b []byte) error {
|
|
|
|
var res VendorResponseAssetsItems0
|
|
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
*m = res
|
|
|
|
return nil
|
|
|
|
}
|