catalog_items_v0_models

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASINIdentifier

type ASINIdentifier struct {

	// The Amazon Standard Identification Number (ASIN) of the item.
	// Required: true
	ASIN *string `json:"ASIN"`

	// A marketplace identifier.
	// Required: true
	MarketplaceID *string `json:"MarketplaceId"`
}

ASINIdentifier a s i n identifier

swagger:model ASINIdentifier

func (*ASINIdentifier) ContextValidate

func (m *ASINIdentifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a s i n identifier based on context it is used

func (*ASINIdentifier) MarshalBinary

func (m *ASINIdentifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ASINIdentifier) UnmarshalBinary

func (m *ASINIdentifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ASINIdentifier) Validate

func (m *ASINIdentifier) Validate(formats strfmt.Registry) error

Validate validates this a s i n identifier

type AttributeSetList

type AttributeSetList []*AttributeSetListType

AttributeSetList A list of attributes for the item.

swagger:model AttributeSetList

func (AttributeSetList) ContextValidate

func (m AttributeSetList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this attribute set list based on the context it is used

func (AttributeSetList) Validate

func (m AttributeSetList) Validate(formats strfmt.Registry) error

Validate validates this attribute set list

type AttributeSetListType

type AttributeSetListType struct {

	// The actor attributes of the item.
	Actor []string `json:"Actor"`

	// The artist attributes of the item.
	Artist []string `json:"Artist"`

	// The aspect ratio attribute of the item.
	AspectRatio string `json:"AspectRatio,omitempty"`

	// The audience rating attribute of the item.
	AudienceRating string `json:"AudienceRating,omitempty"`

	// The author attributes of the item.
	Author []string `json:"Author"`

	// The back finding attribute of the item.
	BackFinding string `json:"BackFinding,omitempty"`

	// The band material type attribute of the item.
	BandMaterialType string `json:"BandMaterialType,omitempty"`

	// The binding attribute of the item.
	Binding string `json:"Binding,omitempty"`

	// The Bluray region attribute of the item.
	BlurayRegion string `json:"BlurayRegion,omitempty"`

	// The brand attribute of the item.
	Brand string `json:"Brand,omitempty"`

	// The CERO age rating attribute of the item.
	CeroAgeRating string `json:"CeroAgeRating,omitempty"`

	// The chain type attribute of the item.
	ChainType string `json:"ChainType,omitempty"`

	// The clasp type attribute of the item.
	ClaspType string `json:"ClaspType,omitempty"`

	// The color attribute of the item.
	Color string `json:"Color,omitempty"`

	// The CPU manufacturer attribute of the item.
	CPUManufacturer string `json:"CpuManufacturer,omitempty"`

	// The CPU speed attribute of the item.
	CPUSpeed *DecimalWithUnits `json:"CpuSpeed,omitempty"`

	// The CPU type attribute of the item.
	CPUType string `json:"CpuType,omitempty"`

	// The creator attributes of the item.
	Creator []*CreatorType `json:"Creator"`

	// The department attribute of the item.
	Department string `json:"Department,omitempty"`

	// The director attributes of the item.
	Director []string `json:"Director"`

	// The display size attribute of the item.
	DisplaySize *DecimalWithUnits `json:"DisplaySize,omitempty"`

	// The edition attribute of the item.
	Edition string `json:"Edition,omitempty"`

	// The episode sequence attribute of the item.
	EpisodeSequence string `json:"EpisodeSequence,omitempty"`

	// The ESRB age rating attribute of the item.
	EsrbAgeRating string `json:"EsrbAgeRating,omitempty"`

	// The feature attributes of the item
	Feature []string `json:"Feature"`

	// The flavor attribute of the item.
	Flavor string `json:"Flavor,omitempty"`

	// The format attributes of the item.
	Format []string `json:"Format"`

	// The gem type attributes of the item.
	GemType []string `json:"GemType"`

	// The genre attribute of the item.
	Genre string `json:"Genre,omitempty"`

	// The golf club flex attribute of the item.
	GolfClubFlex string `json:"GolfClubFlex,omitempty"`

	// The golf club loft attribute of the item.
	GolfClubLoft *DecimalWithUnits `json:"GolfClubLoft,omitempty"`

	// The hand orientation attribute of the item.
	HandOrientation string `json:"HandOrientation,omitempty"`

	// The hard disk interface attribute of the item.
	HardDiskInterface string `json:"HardDiskInterface,omitempty"`

	// The hard disk size attribute of the item.
	HardDiskSize *DecimalWithUnits `json:"HardDiskSize,omitempty"`

	// The hardware platform attribute of the item.
	HardwarePlatform string `json:"HardwarePlatform,omitempty"`

	// The hazardous material type attribute of the item.
	HazardousMaterialType string `json:"HazardousMaterialType,omitempty"`

	// The adult product attribute of the item.
	IsAdultProduct bool `json:"IsAdultProduct,omitempty"`

	// The autographed attribute of the item.
	IsAutographed bool `json:"IsAutographed,omitempty"`

	// The is eligible for trade in attribute of the item.
	IsEligibleForTradeIn bool `json:"IsEligibleForTradeIn,omitempty"`

	// The is memorabilia attribute of the item.
	IsMemorabilia bool `json:"IsMemorabilia,omitempty"`

	// The issues per year attribute of the item.
	IssuesPerYear string `json:"IssuesPerYear,omitempty"`

	// The item dimensions attribute of the item.
	ItemDimensions *DimensionType `json:"ItemDimensions,omitempty"`

	// The item part number attribute of the item.
	ItemPartNumber string `json:"ItemPartNumber,omitempty"`

	// The label attribute of the item.
	Label string `json:"Label,omitempty"`

	// The languages attribute of the item.
	Languages []*LanguageType `json:"Languages"`

	// The legal disclaimer attribute of the item.
	LegalDisclaimer string `json:"LegalDisclaimer,omitempty"`

	// The list price attribute of the item.
	ListPrice *Price `json:"ListPrice,omitempty"`

	// The manufacturer attribute of the item.
	Manufacturer string `json:"Manufacturer,omitempty"`

	// The manufacturer maximum age attribute of the item.
	ManufacturerMaximumAge *DecimalWithUnits `json:"ManufacturerMaximumAge,omitempty"`

	// The manufacturer minimum age attribute of the item.
	ManufacturerMinimumAge *DecimalWithUnits `json:"ManufacturerMinimumAge,omitempty"`

	// The manufacturer parts warranty description attribute of the item.
	ManufacturerPartsWarrantyDescription string `json:"ManufacturerPartsWarrantyDescription,omitempty"`

	// The material type attributes of the item.
	MaterialType []string `json:"MaterialType"`

	// The maximum resolution attribute of the item.
	MaximumResolution *DecimalWithUnits `json:"MaximumResolution,omitempty"`

	// The media type attributes of the item.
	MediaType []string `json:"MediaType"`

	// The metal stamp attribute of the item.
	MetalStamp string `json:"MetalStamp,omitempty"`

	// The metal type attribute of the item.
	MetalType string `json:"MetalType,omitempty"`

	// The model attribute of the item.
	Model string `json:"Model,omitempty"`

	// The number of discs attribute of the item.
	NumberOfDiscs int64 `json:"NumberOfDiscs,omitempty"`

	// The number of issues attribute of the item.
	NumberOfIssues int64 `json:"NumberOfIssues,omitempty"`

	// The number of items attribute of the item.
	NumberOfItems int64 `json:"NumberOfItems,omitempty"`

	// The number of pages attribute of the item.
	NumberOfPages int64 `json:"NumberOfPages,omitempty"`

	// The number of tracks attribute of the item.
	NumberOfTracks int64 `json:"NumberOfTracks,omitempty"`

	// The operating system attributes of the item.
	OperatingSystem []string `json:"OperatingSystem"`

	// The optical zoom attribute of the item.
	OpticalZoom *DecimalWithUnits `json:"OpticalZoom,omitempty"`

	// The package dimensions attribute of the item.
	PackageDimensions *DimensionType `json:"PackageDimensions,omitempty"`

	// The package quantity attribute of the item.
	PackageQuantity int64 `json:"PackageQuantity,omitempty"`

	// The part number attribute of the item.
	PartNumber string `json:"PartNumber,omitempty"`

	// The PEGI rating attribute of the item.
	PegiRating string `json:"PegiRating,omitempty"`

	// The platform attributes of the item.
	Platform []string `json:"Platform"`

	// The processor count attribute of the item.
	ProcessorCount int64 `json:"ProcessorCount,omitempty"`

	// The product group attribute of the item.
	ProductGroup string `json:"ProductGroup,omitempty"`

	// The product type name attribute of the item.
	ProductTypeName string `json:"ProductTypeName,omitempty"`

	// The product type subcategory attribute of the item.
	ProductTypeSubcategory string `json:"ProductTypeSubcategory,omitempty"`

	// The publication date attribute of the item.
	PublicationDate string `json:"PublicationDate,omitempty"`

	// The publisher attribute of the item.
	Publisher string `json:"Publisher,omitempty"`

	// The region code attribute of the item.
	RegionCode string `json:"RegionCode,omitempty"`

	// The release date attribute of the item.
	ReleaseDate string `json:"ReleaseDate,omitempty"`

	// The ring size attribute of the item.
	RingSize string `json:"RingSize,omitempty"`

	// The running time attribute of the item.
	RunningTime *DecimalWithUnits `json:"RunningTime,omitempty"`

	// The scent attribute of the item.
	Scent string `json:"Scent,omitempty"`

	// The season sequence attribute of the item.
	SeasonSequence string `json:"SeasonSequence,omitempty"`

	// The Seikodo product code attribute of the item.
	SeikodoProductCode string `json:"SeikodoProductCode,omitempty"`

	// The shaft material attribute of the item.
	ShaftMaterial string `json:"ShaftMaterial,omitempty"`

	// The size attribute of the item.
	Size string `json:"Size,omitempty"`

	// The size per pearl attribute of the item.
	SizePerPearl string `json:"SizePerPearl,omitempty"`

	// The small image attribute of the item.
	SmallImage *Image `json:"SmallImage,omitempty"`

	// The studio attribute of the item.
	Studio string `json:"Studio,omitempty"`

	// The subscription length attribute of the item.
	SubscriptionLength *DecimalWithUnits `json:"SubscriptionLength,omitempty"`

	// The system memory size attribute of the item.
	SystemMemorySize *DecimalWithUnits `json:"SystemMemorySize,omitempty"`

	// The system memory type attribute of the item.
	SystemMemoryType string `json:"SystemMemoryType,omitempty"`

	// The theatrical release date attribute of the item.
	TheatricalReleaseDate string `json:"TheatricalReleaseDate,omitempty"`

	// The title attribute of the item.
	Title string `json:"Title,omitempty"`

	// The total diamond weight attribute of the item.
	TotalDiamondWeight *DecimalWithUnits `json:"TotalDiamondWeight,omitempty"`

	// The total gem weight attribute of the item.
	TotalGemWeight *DecimalWithUnits `json:"TotalGemWeight,omitempty"`

	// The warranty attribute of the item.
	Warranty string `json:"Warranty,omitempty"`

	// The WEEE tax value attribute of the item.
	WeeeTaxValue *Price `json:"WeeeTaxValue,omitempty"`
}

AttributeSetListType The attributes of the item.

swagger:model AttributeSetListType

func (*AttributeSetListType) ContextValidate

func (m *AttributeSetListType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this attribute set list type based on the context it is used

func (*AttributeSetListType) MarshalBinary

func (m *AttributeSetListType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AttributeSetListType) UnmarshalBinary

func (m *AttributeSetListType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AttributeSetListType) Validate

func (m *AttributeSetListType) Validate(formats strfmt.Registry) error

Validate validates this attribute set list type

type Categories

type Categories struct {

	// The identifier for the product category (or browse node).
	ProductCategoryID string `json:"ProductCategoryId,omitempty"`

	// The name of the product category (or browse node).
	ProductCategoryName string `json:"ProductCategoryName,omitempty"`

	// The parent product category.
	Parent interface{} `json:"parent,omitempty"`
}

Categories categories

swagger:model Categories

func (*Categories) ContextValidate

func (m *Categories) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this categories based on context it is used

func (*Categories) MarshalBinary

func (m *Categories) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Categories) UnmarshalBinary

func (m *Categories) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Categories) Validate

func (m *Categories) Validate(formats strfmt.Registry) error

Validate validates this categories

type CreatorType

type CreatorType struct {

	// The role of the value.
	Role string `json:"Role,omitempty"`

	// The value of the attribute.
	Value string `json:"value,omitempty"`
}

CreatorType The creator type attribute of an item.

swagger:model CreatorType

func (*CreatorType) ContextValidate

func (m *CreatorType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this creator type based on context it is used

func (*CreatorType) MarshalBinary

func (m *CreatorType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatorType) UnmarshalBinary

func (m *CreatorType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatorType) Validate

func (m *CreatorType) Validate(formats strfmt.Registry) error

Validate validates this creator type

type DecimalWithUnits

type DecimalWithUnits struct {

	// The unit of the decimal value.
	Units string `json:"Units,omitempty"`

	// The decimal value.
	Value float64 `json:"value,omitempty"`
}

DecimalWithUnits The decimal value and unit.

swagger:model DecimalWithUnits

func (*DecimalWithUnits) ContextValidate

func (m *DecimalWithUnits) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this decimal with units based on context it is used

func (*DecimalWithUnits) MarshalBinary

func (m *DecimalWithUnits) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DecimalWithUnits) UnmarshalBinary

func (m *DecimalWithUnits) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DecimalWithUnits) Validate

func (m *DecimalWithUnits) Validate(formats strfmt.Registry) error

Validate validates this decimal with units

type DimensionType

type DimensionType struct {

	// The height attribute of the dimension.
	Height *DecimalWithUnits `json:"Height,omitempty"`

	// The length attribute of the dimension.
	Length *DecimalWithUnits `json:"Length,omitempty"`

	// The weight attribute of the dimension.
	Weight *DecimalWithUnits `json:"Weight,omitempty"`

	// The width attribute of the dimension.
	Width *DecimalWithUnits `json:"Width,omitempty"`
}

DimensionType The dimension type attribute of an item.

swagger:model DimensionType

func (*DimensionType) ContextValidate

func (m *DimensionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dimension type based on the context it is used

func (*DimensionType) MarshalBinary

func (m *DimensionType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DimensionType) UnmarshalBinary

func (m *DimensionType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DimensionType) Validate

func (m *DimensionType) Validate(formats strfmt.Registry) error

Validate validates this dimension type

type Error

type Error struct {

	// An error code that identifies the type of error that occurred.
	// Required: true
	Code *string `json:"code"`

	// Additional information that can help the caller understand or fix the issue.
	Details string `json:"details,omitempty"`

	// A message that describes the error condition in a human-readable form.
	// Required: true
	Message *string `json:"message"`
}

Error Error response returned when the request is unsuccessful.

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type ErrorList

type ErrorList []*Error

ErrorList A list of error responses returned when a request is unsuccessful.

swagger:model ErrorList

func (ErrorList) ContextValidate

func (m ErrorList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this error list based on the context it is used

func (ErrorList) Validate

func (m ErrorList) Validate(formats strfmt.Registry) error

Validate validates this error list

type GetCatalogItemResponse

type GetCatalogItemResponse struct {

	// One or more unexpected errors occurred during the getCatalogItem operation.
	Errors ErrorList `json:"errors,omitempty"`

	// The payload for the getCatalogItem operation.
	Payload *Item `json:"payload,omitempty"`
}

GetCatalogItemResponse get catalog item response

swagger:model GetCatalogItemResponse

func (*GetCatalogItemResponse) ContextValidate

func (m *GetCatalogItemResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get catalog item response based on the context it is used

func (*GetCatalogItemResponse) MarshalBinary

func (m *GetCatalogItemResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetCatalogItemResponse) UnmarshalBinary

func (m *GetCatalogItemResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetCatalogItemResponse) Validate

func (m *GetCatalogItemResponse) Validate(formats strfmt.Registry) error

Validate validates this get catalog item response

type IdentifierType

type IdentifierType struct {

	// Indicates the item is identified by MarketPlaceId and ASIN.
	MarketplaceASIN *ASINIdentifier `json:"MarketplaceASIN,omitempty"`

	// Indicates the item is identified by MarketPlaceId, SellerId, and SellerSKU.
	SKUIdentifier *SellerSKUIdentifier `json:"SKUIdentifier,omitempty"`
}

IdentifierType identifier type

swagger:model IdentifierType

func (*IdentifierType) ContextValidate

func (m *IdentifierType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this identifier type based on the context it is used

func (*IdentifierType) MarshalBinary

func (m *IdentifierType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdentifierType) UnmarshalBinary

func (m *IdentifierType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdentifierType) Validate

func (m *IdentifierType) Validate(formats strfmt.Registry) error

Validate validates this identifier type

type Image

type Image struct {

	// The image height attribute of the item.
	Height *DecimalWithUnits `json:"Height,omitempty"`

	// The image URL attribute of the item.
	URL string `json:"URL,omitempty"`

	// The image width attribute of the item.
	Width *DecimalWithUnits `json:"Width,omitempty"`
}

Image The image attribute of the item.

swagger:model Image

func (*Image) ContextValidate

func (m *Image) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image based on the context it is used

func (*Image) MarshalBinary

func (m *Image) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Image) UnmarshalBinary

func (m *Image) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Image) Validate

func (m *Image) Validate(formats strfmt.Registry) error

Validate validates this image

type Item

type Item struct {

	// A list of attributes of the item.
	AttributeSets AttributeSetList `json:"AttributeSets,omitempty"`

	// The identifiers that uniquely identify the item.
	// Required: true
	Identifiers *IdentifierType `json:"Identifiers"`

	// A list of variation relationship information for the item.
	Relationships RelationshipList `json:"Relationships,omitempty"`

	// A list of sales rank information for the item by category.
	SalesRankings SalesRankList `json:"SalesRankings,omitempty"`
}

Item An item in the Amazon catalog.

swagger:model Item

func (*Item) ContextValidate

func (m *Item) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item based on the context it is used

func (*Item) MarshalBinary

func (m *Item) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Item) UnmarshalBinary

func (m *Item) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Item) Validate

func (m *Item) Validate(formats strfmt.Registry) error

Validate validates this item

type ItemList

type ItemList []*Item

ItemList A list of items.

swagger:model ItemList

func (ItemList) ContextValidate

func (m ItemList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item list based on the context it is used

func (ItemList) Validate

func (m ItemList) Validate(formats strfmt.Registry) error

Validate validates this item list

type LanguageType

type LanguageType struct {

	// The audio format attribute of the item.
	AudioFormat string `json:"AudioFormat,omitempty"`

	// The name attribute of the item.
	Name string `json:"Name,omitempty"`

	// The type attribute of the item.
	Type string `json:"Type,omitempty"`
}

LanguageType The language type attribute of an item.

swagger:model LanguageType

func (*LanguageType) ContextValidate

func (m *LanguageType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this language type based on context it is used

func (*LanguageType) MarshalBinary

func (m *LanguageType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LanguageType) UnmarshalBinary

func (m *LanguageType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LanguageType) Validate

func (m *LanguageType) Validate(formats strfmt.Registry) error

Validate validates this language type

type ListCatalogCategoriesResponse

type ListCatalogCategoriesResponse struct {

	// One or more unexpected errors occurred during the listCatalogCategories operation.
	Errors ErrorList `json:"errors,omitempty"`

	// The payload for the listCatalogCategories operation.
	Payload ListOfCategories `json:"payload,omitempty"`
}

ListCatalogCategoriesResponse list catalog categories response

swagger:model ListCatalogCategoriesResponse

func (*ListCatalogCategoriesResponse) ContextValidate

func (m *ListCatalogCategoriesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list catalog categories response based on the context it is used

func (*ListCatalogCategoriesResponse) MarshalBinary

func (m *ListCatalogCategoriesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListCatalogCategoriesResponse) UnmarshalBinary

func (m *ListCatalogCategoriesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListCatalogCategoriesResponse) Validate

func (m *ListCatalogCategoriesResponse) Validate(formats strfmt.Registry) error

Validate validates this list catalog categories response

type ListCatalogItemsResponse

type ListCatalogItemsResponse struct {

	// One or more unexpected errors occurred during the listCatalogItems operation.
	Errors ErrorList `json:"errors,omitempty"`

	// The payload for the listCatalogItems operation.
	Payload *ListMatchingItemsResponse `json:"payload,omitempty"`
}

ListCatalogItemsResponse list catalog items response

swagger:model ListCatalogItemsResponse

func (*ListCatalogItemsResponse) ContextValidate

func (m *ListCatalogItemsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list catalog items response based on the context it is used

func (*ListCatalogItemsResponse) MarshalBinary

func (m *ListCatalogItemsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListCatalogItemsResponse) UnmarshalBinary

func (m *ListCatalogItemsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListCatalogItemsResponse) Validate

func (m *ListCatalogItemsResponse) Validate(formats strfmt.Registry) error

Validate validates this list catalog items response

type ListMatchingItemsResponse

type ListMatchingItemsResponse struct {

	// items
	Items ItemList `json:"Items,omitempty"`
}

ListMatchingItemsResponse list matching items response

swagger:model ListMatchingItemsResponse

func (*ListMatchingItemsResponse) ContextValidate

func (m *ListMatchingItemsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list matching items response based on the context it is used

func (*ListMatchingItemsResponse) MarshalBinary

func (m *ListMatchingItemsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListMatchingItemsResponse) UnmarshalBinary

func (m *ListMatchingItemsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListMatchingItemsResponse) Validate

func (m *ListMatchingItemsResponse) Validate(formats strfmt.Registry) error

Validate validates this list matching items response

type ListOfCategories

type ListOfCategories []*Categories

ListOfCategories list of categories

swagger:model ListOfCategories

func (ListOfCategories) ContextValidate

func (m ListOfCategories) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list of categories based on the context it is used

func (ListOfCategories) Validate

func (m ListOfCategories) Validate(formats strfmt.Registry) error

Validate validates this list of categories

type Price

type Price struct {

	// The amount.
	Amount float64 `json:"Amount,omitempty"`

	// The currency code of the amount.
	CurrencyCode string `json:"CurrencyCode,omitempty"`
}

Price The price attribute of the item.

swagger:model Price

func (*Price) ContextValidate

func (m *Price) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this price based on context it is used

func (*Price) MarshalBinary

func (m *Price) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Price) UnmarshalBinary

func (m *Price) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Price) Validate

func (m *Price) Validate(formats strfmt.Registry) error

Validate validates this price

type RelationshipList

type RelationshipList []*RelationshipType

RelationshipList A list of variation relationship information, if applicable for the item.

swagger:model RelationshipList

func (RelationshipList) ContextValidate

func (m RelationshipList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this relationship list based on the context it is used

func (RelationshipList) Validate

func (m RelationshipList) Validate(formats strfmt.Registry) error

Validate validates this relationship list

type RelationshipType

type RelationshipType struct {

	// The color variation of the item.
	Color string `json:"Color,omitempty"`

	// The edition variation of the item.
	Edition string `json:"Edition,omitempty"`

	// The flavor variation of the item.
	Flavor string `json:"Flavor,omitempty"`

	// The gem type variations of the item.
	GemType []string `json:"GemType"`

	// The golf club flex variation of an item.
	GolfClubFlex string `json:"GolfClubFlex,omitempty"`

	// The golf club loft variation of an item.
	GolfClubLoft *DecimalWithUnits `json:"GolfClubLoft,omitempty"`

	// The hand orientation variation of an item.
	HandOrientation string `json:"HandOrientation,omitempty"`

	// The hardware platform variation of an item.
	HardwarePlatform string `json:"HardwarePlatform,omitempty"`

	// The identifiers that uniquely identify the item that is related.
	Identifiers *IdentifierType `json:"Identifiers,omitempty"`

	// The item dimensions relationship of an item.
	ItemDimensions *DimensionType `json:"ItemDimensions,omitempty"`

	// The material type variations of an item.
	MaterialType []string `json:"MaterialType"`

	// The metal type variation of an item.
	MetalType string `json:"MetalType,omitempty"`

	// The model variation of an item.
	Model string `json:"Model,omitempty"`

	// The operating system variations of an item.
	OperatingSystem []string `json:"OperatingSystem"`

	// The package quantity variation of an item.
	PackageQuantity int64 `json:"PackageQuantity,omitempty"`

	// The product type subcategory variation of an item.
	ProductTypeSubcategory string `json:"ProductTypeSubcategory,omitempty"`

	// The ring size variation of an item.
	RingSize string `json:"RingSize,omitempty"`

	// The scent variation of an item.
	Scent string `json:"Scent,omitempty"`

	// The shaft material variation of an item.
	ShaftMaterial string `json:"ShaftMaterial,omitempty"`

	// The size variation of an item.
	Size string `json:"Size,omitempty"`

	// The size per pearl variation of an item.
	SizePerPearl string `json:"SizePerPearl,omitempty"`

	// The total diamond weight variation of an item.
	TotalDiamondWeight *DecimalWithUnits `json:"TotalDiamondWeight,omitempty"`

	// The total gem weight variation of an item.
	TotalGemWeight *DecimalWithUnits `json:"TotalGemWeight,omitempty"`
}

RelationshipType Specific variations of the item.

swagger:model RelationshipType

func (*RelationshipType) ContextValidate

func (m *RelationshipType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this relationship type based on the context it is used

func (*RelationshipType) MarshalBinary

func (m *RelationshipType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RelationshipType) UnmarshalBinary

func (m *RelationshipType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RelationshipType) Validate

func (m *RelationshipType) Validate(formats strfmt.Registry) error

Validate validates this relationship type

type SalesRankList

type SalesRankList []*SalesRankType

SalesRankList A list of sales rank information for the item by category.

swagger:model SalesRankList

func (SalesRankList) ContextValidate

func (m SalesRankList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sales rank list based on the context it is used

func (SalesRankList) Validate

func (m SalesRankList) Validate(formats strfmt.Registry) error

Validate validates this sales rank list

type SalesRankType

type SalesRankType struct {

	// Identifies the item category from which the sales rank is taken.
	// Required: true
	ProductCategoryID *string `json:"ProductCategoryId"`

	// The sales rank of the item within the item category.
	// Required: true
	Rank *int32 `json:"Rank"`
}

SalesRankType sales rank type

swagger:model SalesRankType

func (*SalesRankType) ContextValidate

func (m *SalesRankType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sales rank type based on context it is used

func (*SalesRankType) MarshalBinary

func (m *SalesRankType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SalesRankType) UnmarshalBinary

func (m *SalesRankType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SalesRankType) Validate

func (m *SalesRankType) Validate(formats strfmt.Registry) error

Validate validates this sales rank type

type SellerSKUIdentifier

type SellerSKUIdentifier struct {

	// A marketplace identifier.
	// Required: true
	MarketplaceID *string `json:"MarketplaceId"`

	// The seller identifier submitted for the operation.
	// Required: true
	SellerID *string `json:"SellerId"`

	// The seller stock keeping unit (SKU) of the item.
	// Required: true
	SellerSKU *string `json:"SellerSKU"`
}

SellerSKUIdentifier seller s k u identifier

swagger:model SellerSKUIdentifier

func (*SellerSKUIdentifier) ContextValidate

func (m *SellerSKUIdentifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this seller s k u identifier based on context it is used

func (*SellerSKUIdentifier) MarshalBinary

func (m *SellerSKUIdentifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SellerSKUIdentifier) UnmarshalBinary

func (m *SellerSKUIdentifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SellerSKUIdentifier) Validate

func (m *SellerSKUIdentifier) Validate(formats strfmt.Registry) error

Validate validates this seller s k u identifier

Jump to

Keyboard shortcuts

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