Documentation
¶
Index ¶
- type AplusPaginatedResponse
- func (m *AplusPaginatedResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AplusPaginatedResponse) MarshalBinary() ([]byte, error)
- func (m AplusPaginatedResponse) MarshalJSON() ([]byte, error)
- func (m *AplusPaginatedResponse) UnmarshalBinary(b []byte) error
- func (m *AplusPaginatedResponse) UnmarshalJSON(raw []byte) error
- func (m *AplusPaginatedResponse) Validate(formats strfmt.Registry) error
- type AplusResponse
- type Asin
- type AsinBadge
- type AsinBadgeSet
- type AsinMetadata
- type AsinMetadataSet
- type AsinSet
- type ColorType
- type ContentBadge
- type ContentBadgeSet
- type ContentDocument
- type ContentMetadata
- type ContentMetadataRecord
- type ContentMetadataRecordList
- type ContentModule
- type ContentModuleList
- type ContentModuleType
- type ContentRecord
- type ContentReferenceKey
- type ContentReferenceKeySet
- type ContentStatus
- type ContentSubType
- type ContentType
- type Decorator
- type DecoratorSet
- type DecoratorType
- type Error
- type ErrorList
- type GetContentDocumentResponse
- func (m *GetContentDocumentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetContentDocumentResponse) MarshalBinary() ([]byte, error)
- func (m GetContentDocumentResponse) MarshalJSON() ([]byte, error)
- func (m *GetContentDocumentResponse) UnmarshalBinary(b []byte) error
- func (m *GetContentDocumentResponse) UnmarshalJSON(raw []byte) error
- func (m *GetContentDocumentResponse) Validate(formats strfmt.Registry) error
- type ImageComponent
- type ImageCropSpecification
- func (m *ImageCropSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ImageCropSpecification) MarshalBinary() ([]byte, error)
- func (m *ImageCropSpecification) UnmarshalBinary(b []byte) error
- func (m *ImageCropSpecification) Validate(formats strfmt.Registry) error
- type ImageDimensions
- type ImageOffsets
- type IntegerWithUnits
- type LanguageTag
- type ListContentDocumentAsinRelationsResponse
- func (m *ListContentDocumentAsinRelationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListContentDocumentAsinRelationsResponse) MarshalBinary() ([]byte, error)
- func (m ListContentDocumentAsinRelationsResponse) MarshalJSON() ([]byte, error)
- func (m *ListContentDocumentAsinRelationsResponse) UnmarshalBinary(b []byte) error
- func (m *ListContentDocumentAsinRelationsResponse) UnmarshalJSON(raw []byte) error
- func (m *ListContentDocumentAsinRelationsResponse) Validate(formats strfmt.Registry) error
- type MarketplaceID
- type MessageSet
- type PageToken
- type ParagraphComponent
- type PlainTextItem
- type PositionType
- type PostContentDocumentApprovalSubmissionResponse
- func (m *PostContentDocumentApprovalSubmissionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostContentDocumentApprovalSubmissionResponse) MarshalBinary() ([]byte, error)
- func (m PostContentDocumentApprovalSubmissionResponse) MarshalJSON() ([]byte, error)
- func (m *PostContentDocumentApprovalSubmissionResponse) UnmarshalBinary(b []byte) error
- func (m *PostContentDocumentApprovalSubmissionResponse) UnmarshalJSON(raw []byte) error
- func (m *PostContentDocumentApprovalSubmissionResponse) Validate(formats strfmt.Registry) error
- type PostContentDocumentAsinRelationsRequest
- func (m *PostContentDocumentAsinRelationsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostContentDocumentAsinRelationsRequest) MarshalBinary() ([]byte, error)
- func (m *PostContentDocumentAsinRelationsRequest) UnmarshalBinary(b []byte) error
- func (m *PostContentDocumentAsinRelationsRequest) Validate(formats strfmt.Registry) error
- type PostContentDocumentAsinRelationsResponse
- func (m *PostContentDocumentAsinRelationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostContentDocumentAsinRelationsResponse) MarshalBinary() ([]byte, error)
- func (m PostContentDocumentAsinRelationsResponse) MarshalJSON() ([]byte, error)
- func (m *PostContentDocumentAsinRelationsResponse) UnmarshalBinary(b []byte) error
- func (m *PostContentDocumentAsinRelationsResponse) UnmarshalJSON(raw []byte) error
- func (m *PostContentDocumentAsinRelationsResponse) Validate(formats strfmt.Registry) error
- type PostContentDocumentRequest
- func (m *PostContentDocumentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostContentDocumentRequest) MarshalBinary() ([]byte, error)
- func (m *PostContentDocumentRequest) UnmarshalBinary(b []byte) error
- func (m *PostContentDocumentRequest) Validate(formats strfmt.Registry) error
- type PostContentDocumentResponse
- func (m *PostContentDocumentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostContentDocumentResponse) MarshalBinary() ([]byte, error)
- func (m PostContentDocumentResponse) MarshalJSON() ([]byte, error)
- func (m *PostContentDocumentResponse) UnmarshalBinary(b []byte) error
- func (m *PostContentDocumentResponse) UnmarshalJSON(raw []byte) error
- func (m *PostContentDocumentResponse) Validate(formats strfmt.Registry) error
- type PostContentDocumentSuspendSubmissionResponse
- func (m *PostContentDocumentSuspendSubmissionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostContentDocumentSuspendSubmissionResponse) MarshalBinary() ([]byte, error)
- func (m PostContentDocumentSuspendSubmissionResponse) MarshalJSON() ([]byte, error)
- func (m *PostContentDocumentSuspendSubmissionResponse) UnmarshalBinary(b []byte) error
- func (m *PostContentDocumentSuspendSubmissionResponse) UnmarshalJSON(raw []byte) error
- func (m *PostContentDocumentSuspendSubmissionResponse) Validate(formats strfmt.Registry) error
- type PublishRecord
- type PublishRecordList
- type SearchContentDocumentsResponse
- func (m *SearchContentDocumentsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SearchContentDocumentsResponse) MarshalBinary() ([]byte, error)
- func (m SearchContentDocumentsResponse) MarshalJSON() ([]byte, error)
- func (m *SearchContentDocumentsResponse) UnmarshalBinary(b []byte) error
- func (m *SearchContentDocumentsResponse) UnmarshalJSON(raw []byte) error
- func (m *SearchContentDocumentsResponse) Validate(formats strfmt.Registry) error
- type SearchContentPublishRecordsResponse
- func (m *SearchContentPublishRecordsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SearchContentPublishRecordsResponse) MarshalBinary() ([]byte, error)
- func (m SearchContentPublishRecordsResponse) MarshalJSON() ([]byte, error)
- func (m *SearchContentPublishRecordsResponse) UnmarshalBinary(b []byte) error
- func (m *SearchContentPublishRecordsResponse) UnmarshalJSON(raw []byte) error
- func (m *SearchContentPublishRecordsResponse) Validate(formats strfmt.Registry) error
- type StandardCompanyLogoModule
- func (m *StandardCompanyLogoModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardCompanyLogoModule) MarshalBinary() ([]byte, error)
- func (m *StandardCompanyLogoModule) UnmarshalBinary(b []byte) error
- func (m *StandardCompanyLogoModule) Validate(formats strfmt.Registry) error
- type StandardComparisonProductBlock
- func (m *StandardComparisonProductBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardComparisonProductBlock) MarshalBinary() ([]byte, error)
- func (m *StandardComparisonProductBlock) UnmarshalBinary(b []byte) error
- func (m *StandardComparisonProductBlock) Validate(formats strfmt.Registry) error
- type StandardComparisonTableModule
- func (m *StandardComparisonTableModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardComparisonTableModule) MarshalBinary() ([]byte, error)
- func (m *StandardComparisonTableModule) UnmarshalBinary(b []byte) error
- func (m *StandardComparisonTableModule) Validate(formats strfmt.Registry) error
- type StandardFourImageTextModule
- func (m *StandardFourImageTextModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardFourImageTextModule) MarshalBinary() ([]byte, error)
- func (m *StandardFourImageTextModule) UnmarshalBinary(b []byte) error
- func (m *StandardFourImageTextModule) Validate(formats strfmt.Registry) error
- type StandardFourImageTextQuadrantModule
- func (m *StandardFourImageTextQuadrantModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardFourImageTextQuadrantModule) MarshalBinary() ([]byte, error)
- func (m *StandardFourImageTextQuadrantModule) UnmarshalBinary(b []byte) error
- func (m *StandardFourImageTextQuadrantModule) Validate(formats strfmt.Registry) error
- type StandardHeaderImageTextModule
- func (m *StandardHeaderImageTextModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardHeaderImageTextModule) MarshalBinary() ([]byte, error)
- func (m *StandardHeaderImageTextModule) UnmarshalBinary(b []byte) error
- func (m *StandardHeaderImageTextModule) Validate(formats strfmt.Registry) error
- type StandardHeaderTextListBlock
- func (m *StandardHeaderTextListBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardHeaderTextListBlock) MarshalBinary() ([]byte, error)
- func (m *StandardHeaderTextListBlock) UnmarshalBinary(b []byte) error
- func (m *StandardHeaderTextListBlock) Validate(formats strfmt.Registry) error
- type StandardImageCaptionBlock
- func (m *StandardImageCaptionBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardImageCaptionBlock) MarshalBinary() ([]byte, error)
- func (m *StandardImageCaptionBlock) UnmarshalBinary(b []byte) error
- func (m *StandardImageCaptionBlock) Validate(formats strfmt.Registry) error
- type StandardImageSidebarModule
- func (m *StandardImageSidebarModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardImageSidebarModule) MarshalBinary() ([]byte, error)
- func (m *StandardImageSidebarModule) UnmarshalBinary(b []byte) error
- func (m *StandardImageSidebarModule) Validate(formats strfmt.Registry) error
- type StandardImageTextBlock
- func (m *StandardImageTextBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardImageTextBlock) MarshalBinary() ([]byte, error)
- func (m *StandardImageTextBlock) UnmarshalBinary(b []byte) error
- func (m *StandardImageTextBlock) Validate(formats strfmt.Registry) error
- type StandardImageTextCaptionBlock
- func (m *StandardImageTextCaptionBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardImageTextCaptionBlock) MarshalBinary() ([]byte, error)
- func (m *StandardImageTextCaptionBlock) UnmarshalBinary(b []byte) error
- func (m *StandardImageTextCaptionBlock) Validate(formats strfmt.Registry) error
- type StandardImageTextOverlayModule
- func (m *StandardImageTextOverlayModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardImageTextOverlayModule) MarshalBinary() ([]byte, error)
- func (m *StandardImageTextOverlayModule) UnmarshalBinary(b []byte) error
- func (m *StandardImageTextOverlayModule) Validate(formats strfmt.Registry) error
- type StandardMultipleImageTextModule
- func (m *StandardMultipleImageTextModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardMultipleImageTextModule) MarshalBinary() ([]byte, error)
- func (m *StandardMultipleImageTextModule) UnmarshalBinary(b []byte) error
- func (m *StandardMultipleImageTextModule) Validate(formats strfmt.Registry) error
- type StandardProductDescriptionModule
- func (m *StandardProductDescriptionModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardProductDescriptionModule) MarshalBinary() ([]byte, error)
- func (m *StandardProductDescriptionModule) UnmarshalBinary(b []byte) error
- func (m *StandardProductDescriptionModule) Validate(formats strfmt.Registry) error
- type StandardSingleImageHighlightsModule
- func (m *StandardSingleImageHighlightsModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardSingleImageHighlightsModule) MarshalBinary() ([]byte, error)
- func (m *StandardSingleImageHighlightsModule) UnmarshalBinary(b []byte) error
- func (m *StandardSingleImageHighlightsModule) Validate(formats strfmt.Registry) error
- type StandardSingleImageSpecsDetailModule
- func (m *StandardSingleImageSpecsDetailModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardSingleImageSpecsDetailModule) MarshalBinary() ([]byte, error)
- func (m *StandardSingleImageSpecsDetailModule) UnmarshalBinary(b []byte) error
- func (m *StandardSingleImageSpecsDetailModule) Validate(formats strfmt.Registry) error
- type StandardSingleSideImageModule
- func (m *StandardSingleSideImageModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardSingleSideImageModule) MarshalBinary() ([]byte, error)
- func (m *StandardSingleSideImageModule) UnmarshalBinary(b []byte) error
- func (m *StandardSingleSideImageModule) Validate(formats strfmt.Registry) error
- type StandardTechSpecsModule
- func (m *StandardTechSpecsModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardTechSpecsModule) MarshalBinary() ([]byte, error)
- func (m *StandardTechSpecsModule) UnmarshalBinary(b []byte) error
- func (m *StandardTechSpecsModule) Validate(formats strfmt.Registry) error
- type StandardTextBlock
- type StandardTextListBlock
- type StandardTextModule
- type StandardTextPairBlock
- type StandardThreeImageTextModule
- func (m *StandardThreeImageTextModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StandardThreeImageTextModule) MarshalBinary() ([]byte, error)
- func (m *StandardThreeImageTextModule) UnmarshalBinary(b []byte) error
- func (m *StandardThreeImageTextModule) Validate(formats strfmt.Registry) error
- type TextComponent
- type TextItem
- type ValidateContentDocumentAsinRelationsResponse
- func (m *ValidateContentDocumentAsinRelationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ValidateContentDocumentAsinRelationsResponse) MarshalBinary() ([]byte, error)
- func (m ValidateContentDocumentAsinRelationsResponse) MarshalJSON() ([]byte, error)
- func (m *ValidateContentDocumentAsinRelationsResponse) UnmarshalBinary(b []byte) error
- func (m *ValidateContentDocumentAsinRelationsResponse) UnmarshalJSON(raw []byte) error
- func (m *ValidateContentDocumentAsinRelationsResponse) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AplusPaginatedResponse ¶
type AplusPaginatedResponse struct { AplusResponse // next page token NextPageToken PageToken `json:"nextPageToken,omitempty"` }
AplusPaginatedResponse The base response data for paginated A+ Content operations. Individual operations may extend this with additional data. If nextPageToken is not returned, there are no more pages to return.
swagger:model AplusPaginatedResponse
func (*AplusPaginatedResponse) ContextValidate ¶
func (m *AplusPaginatedResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this aplus paginated response based on the context it is used
func (*AplusPaginatedResponse) MarshalBinary ¶
func (m *AplusPaginatedResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (AplusPaginatedResponse) MarshalJSON ¶
func (m AplusPaginatedResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*AplusPaginatedResponse) UnmarshalBinary ¶
func (m *AplusPaginatedResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AplusPaginatedResponse) UnmarshalJSON ¶
func (m *AplusPaginatedResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type AplusResponse ¶
type AplusResponse struct { // warnings Warnings MessageSet `json:"warnings,omitempty"` }
AplusResponse The base response data for all A+ Content operations when a request is successful or partially successful. Individual operations may extend this with additional data.
swagger:model AplusResponse
func (*AplusResponse) ContextValidate ¶
ContextValidate validate this aplus response based on the context it is used
func (*AplusResponse) MarshalBinary ¶
func (m *AplusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AplusResponse) UnmarshalBinary ¶
func (m *AplusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Asin ¶
type Asin string
Asin The Amazon Standard Identification Number (ASIN).
swagger:model Asin
func (Asin) ContextValidate ¶
ContextValidate validates this asin based on context it is used
type AsinBadge ¶
type AsinBadge string
AsinBadge A flag that provides additional information about an ASIN. This is contextual and may change depending on the request that generated it.
swagger:model AsinBadge
const ( // AsinBadgeBRANDNOTELIGIBLE captures enum value "BRAND_NOT_ELIGIBLE" AsinBadgeBRANDNOTELIGIBLE AsinBadge = "BRAND_NOT_ELIGIBLE" // AsinBadgeCATALOGNOTFOUND captures enum value "CATALOG_NOT_FOUND" AsinBadgeCATALOGNOTFOUND AsinBadge = "CATALOG_NOT_FOUND" // AsinBadgeCONTENTNOTPUBLISHED captures enum value "CONTENT_NOT_PUBLISHED" AsinBadgeCONTENTNOTPUBLISHED AsinBadge = "CONTENT_NOT_PUBLISHED" // AsinBadgeCONTENTPUBLISHED captures enum value "CONTENT_PUBLISHED" AsinBadgeCONTENTPUBLISHED AsinBadge = "CONTENT_PUBLISHED" )
func NewAsinBadge ¶
func (AsinBadge) ContextValidate ¶
ContextValidate validates this asin badge based on context it is used
type AsinBadgeSet ¶
type AsinBadgeSet []AsinBadge
AsinBadgeSet The set of ASIN badges.
swagger:model AsinBadgeSet
func (AsinBadgeSet) ContextValidate ¶
ContextValidate validate this asin badge set based on the context it is used
type AsinMetadata ¶
type AsinMetadata struct { // asin // Required: true Asin *Asin `json:"asin"` // badge set BadgeSet AsinBadgeSet `json:"badgeSet,omitempty"` // content reference key set ContentReferenceKeySet ContentReferenceKeySet `json:"contentReferenceKeySet,omitempty"` // The default image for the ASIN in the Amazon catalog. // Min Length: 1 ImageURL string `json:"imageUrl,omitempty"` // parent Parent Asin `json:"parent,omitempty"` // The title for the ASIN in the Amazon catalog. // Min Length: 1 Title string `json:"title,omitempty"` }
AsinMetadata The A+ Content ASIN with additional metadata for content management. If you don't include the `includedDataSet` parameter in a call to the listContentDocumentAsinRelations operation, the related ASINs are returned without metadata.
swagger:model AsinMetadata
func (*AsinMetadata) ContextValidate ¶
ContextValidate validate this asin metadata based on the context it is used
func (*AsinMetadata) MarshalBinary ¶
func (m *AsinMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AsinMetadata) UnmarshalBinary ¶
func (m *AsinMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AsinMetadataSet ¶
type AsinMetadataSet []*AsinMetadata
AsinMetadataSet The set of ASIN metadata.
swagger:model AsinMetadataSet
func (AsinMetadataSet) ContextValidate ¶
ContextValidate validate this asin metadata set based on the context it is used
type AsinSet ¶
type AsinSet []Asin
AsinSet The set of ASINs.
swagger:model AsinSet
func (AsinSet) ContextValidate ¶
ContextValidate validate this asin set based on the context it is used
type ColorType ¶
type ColorType string
ColorType The relative color scheme of content.
swagger:model ColorType
func NewColorType ¶
func (ColorType) ContextValidate ¶
ContextValidate validates this color type based on context it is used
type ContentBadge ¶
type ContentBadge string
ContentBadge A flag that provides additional information about an A+ Content document.
swagger:model ContentBadge
const ( // ContentBadgeBULK captures enum value "BULK" ContentBadgeBULK ContentBadge = "BULK" // ContentBadgeGENERATED captures enum value "GENERATED" ContentBadgeGENERATED ContentBadge = "GENERATED" // ContentBadgeLAUNCHPAD captures enum value "LAUNCHPAD" ContentBadgeLAUNCHPAD ContentBadge = "LAUNCHPAD" // ContentBadgePREMIUM captures enum value "PREMIUM" ContentBadgePREMIUM ContentBadge = "PREMIUM" // ContentBadgeSTANDARD captures enum value "STANDARD" ContentBadgeSTANDARD ContentBadge = "STANDARD" )
func NewContentBadge ¶
func NewContentBadge(value ContentBadge) *ContentBadge
func (ContentBadge) ContextValidate ¶
ContextValidate validates this content badge based on context it is used
func (ContentBadge) Pointer ¶
func (m ContentBadge) Pointer() *ContentBadge
Pointer returns a pointer to a freshly-allocated ContentBadge.
type ContentBadgeSet ¶
type ContentBadgeSet []ContentBadge
ContentBadgeSet The set of content badges.
swagger:model ContentBadgeSet
func (ContentBadgeSet) ContextValidate ¶
ContextValidate validate this content badge set based on the context it is used
type ContentDocument ¶
type ContentDocument struct { // content module list // Required: true ContentModuleList ContentModuleList `json:"contentModuleList"` // content sub type ContentSubType ContentSubType `json:"contentSubType,omitempty"` // content type // Required: true ContentType *ContentType `json:"contentType"` // locale // Required: true Locale *LanguageTag `json:"locale"` // The A+ Content document name. // Required: true // Max Length: 100 // Min Length: 1 Name *string `json:"name"` }
ContentDocument The A+ Content document. This is the enhanced content that is published to product detail pages.
swagger:model ContentDocument
func (*ContentDocument) ContextValidate ¶
ContextValidate validate this content document based on the context it is used
func (*ContentDocument) MarshalBinary ¶
func (m *ContentDocument) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContentDocument) UnmarshalBinary ¶
func (m *ContentDocument) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContentMetadata ¶
type ContentMetadata struct { // badge set // Required: true BadgeSet ContentBadgeSet `json:"badgeSet"` // marketplace Id // Required: true MarketplaceID *MarketplaceID `json:"marketplaceId"` // The A+ Content document name. // Required: true // Max Length: 100 // Min Length: 1 Name *string `json:"name"` // status // Required: true Status *ContentStatus `json:"status"` // The approximate age of the A+ Content document and metadata. // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"updateTime"` }
ContentMetadata The metadata of an A+ Content document.
swagger:model ContentMetadata
func (*ContentMetadata) ContextValidate ¶
ContextValidate validate this content metadata based on the context it is used
func (*ContentMetadata) MarshalBinary ¶
func (m *ContentMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContentMetadata) UnmarshalBinary ¶
func (m *ContentMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContentMetadataRecord ¶
type ContentMetadataRecord struct { // content metadata // Required: true ContentMetadata *ContentMetadata `json:"contentMetadata"` // content reference key // Required: true ContentReferenceKey *ContentReferenceKey `json:"contentReferenceKey"` }
ContentMetadataRecord The metadata for an A+ Content document, with additional information for content management.
swagger:model ContentMetadataRecord
func (*ContentMetadataRecord) ContextValidate ¶
ContextValidate validate this content metadata record based on the context it is used
func (*ContentMetadataRecord) MarshalBinary ¶
func (m *ContentMetadataRecord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContentMetadataRecord) UnmarshalBinary ¶
func (m *ContentMetadataRecord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContentMetadataRecordList ¶
type ContentMetadataRecordList []*ContentMetadataRecord
ContentMetadataRecordList A list of A+ Content metadata records.
swagger:model ContentMetadataRecordList
func (ContentMetadataRecordList) ContextValidate ¶
func (m ContentMetadataRecordList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this content metadata record list based on the context it is used
type ContentModule ¶
type ContentModule struct { // content module type // Required: true ContentModuleType *ContentModuleType `json:"contentModuleType"` // standard company logo StandardCompanyLogo *StandardCompanyLogoModule `json:"standardCompanyLogo,omitempty"` // standard comparison table StandardComparisonTable *StandardComparisonTableModule `json:"standardComparisonTable,omitempty"` // standard four image text StandardFourImageText *StandardFourImageTextModule `json:"standardFourImageText,omitempty"` // standard four image text quadrant StandardFourImageTextQuadrant *StandardFourImageTextQuadrantModule `json:"standardFourImageTextQuadrant,omitempty"` // standard header image text StandardHeaderImageText *StandardHeaderImageTextModule `json:"standardHeaderImageText,omitempty"` // standard image sidebar StandardImageSidebar *StandardImageSidebarModule `json:"standardImageSidebar,omitempty"` // standard image text overlay StandardImageTextOverlay *StandardImageTextOverlayModule `json:"standardImageTextOverlay,omitempty"` // standard multiple image text StandardMultipleImageText *StandardMultipleImageTextModule `json:"standardMultipleImageText,omitempty"` // standard product description StandardProductDescription *StandardProductDescriptionModule `json:"standardProductDescription,omitempty"` // standard single image highlights StandardSingleImageHighlights *StandardSingleImageHighlightsModule `json:"standardSingleImageHighlights,omitempty"` // standard single image specs detail StandardSingleImageSpecsDetail *StandardSingleImageSpecsDetailModule `json:"standardSingleImageSpecsDetail,omitempty"` // standard single side image StandardSingleSideImage *StandardSingleSideImageModule `json:"standardSingleSideImage,omitempty"` // standard tech specs StandardTechSpecs *StandardTechSpecsModule `json:"standardTechSpecs,omitempty"` // standard text StandardText *StandardTextModule `json:"standardText,omitempty"` // standard three image text StandardThreeImageText *StandardThreeImageTextModule `json:"standardThreeImageText,omitempty"` }
ContentModule An A+ Content module. An A+ Content document is composed of content modules. The contentModuleType property selects which content module types to use.
swagger:model ContentModule
func (*ContentModule) ContextValidate ¶
ContextValidate validate this content module based on the context it is used
func (*ContentModule) MarshalBinary ¶
func (m *ContentModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContentModule) UnmarshalBinary ¶
func (m *ContentModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContentModuleList ¶
type ContentModuleList []*ContentModule
ContentModuleList A list of A+ Content modules.
swagger:model ContentModuleList
func (ContentModuleList) ContextValidate ¶
ContextValidate validate this content module list based on the context it is used
type ContentModuleType ¶
type ContentModuleType string
ContentModuleType The type of A+ Content module.
swagger:model ContentModuleType
const ( // ContentModuleTypeSTANDARDCOMPANYLOGO captures enum value "STANDARD_COMPANY_LOGO" ContentModuleTypeSTANDARDCOMPANYLOGO ContentModuleType = "STANDARD_COMPANY_LOGO" // ContentModuleTypeSTANDARDCOMPARISONTABLE captures enum value "STANDARD_COMPARISON_TABLE" ContentModuleTypeSTANDARDCOMPARISONTABLE ContentModuleType = "STANDARD_COMPARISON_TABLE" // ContentModuleTypeSTANDARDFOURIMAGETEXT captures enum value "STANDARD_FOUR_IMAGE_TEXT" ContentModuleTypeSTANDARDFOURIMAGETEXT ContentModuleType = "STANDARD_FOUR_IMAGE_TEXT" // ContentModuleTypeSTANDARDFOURIMAGETEXTQUADRANT captures enum value "STANDARD_FOUR_IMAGE_TEXT_QUADRANT" ContentModuleTypeSTANDARDFOURIMAGETEXTQUADRANT ContentModuleType = "STANDARD_FOUR_IMAGE_TEXT_QUADRANT" // ContentModuleTypeSTANDARDHEADERIMAGETEXT captures enum value "STANDARD_HEADER_IMAGE_TEXT" ContentModuleTypeSTANDARDHEADERIMAGETEXT ContentModuleType = "STANDARD_HEADER_IMAGE_TEXT" // ContentModuleTypeSTANDARDIMAGESIDEBAR captures enum value "STANDARD_IMAGE_SIDEBAR" ContentModuleTypeSTANDARDIMAGESIDEBAR ContentModuleType = "STANDARD_IMAGE_SIDEBAR" // ContentModuleTypeSTANDARDIMAGETEXTOVERLAY captures enum value "STANDARD_IMAGE_TEXT_OVERLAY" ContentModuleTypeSTANDARDIMAGETEXTOVERLAY ContentModuleType = "STANDARD_IMAGE_TEXT_OVERLAY" // ContentModuleTypeSTANDARDMULTIPLEIMAGETEXT captures enum value "STANDARD_MULTIPLE_IMAGE_TEXT" ContentModuleTypeSTANDARDMULTIPLEIMAGETEXT ContentModuleType = "STANDARD_MULTIPLE_IMAGE_TEXT" // ContentModuleTypeSTANDARDPRODUCTDESCRIPTION captures enum value "STANDARD_PRODUCT_DESCRIPTION" ContentModuleTypeSTANDARDPRODUCTDESCRIPTION ContentModuleType = "STANDARD_PRODUCT_DESCRIPTION" // ContentModuleTypeSTANDARDSINGLEIMAGEHIGHLIGHTS captures enum value "STANDARD_SINGLE_IMAGE_HIGHLIGHTS" ContentModuleTypeSTANDARDSINGLEIMAGEHIGHLIGHTS ContentModuleType = "STANDARD_SINGLE_IMAGE_HIGHLIGHTS" // ContentModuleTypeSTANDARDSINGLEIMAGESPECSDETAIL captures enum value "STANDARD_SINGLE_IMAGE_SPECS_DETAIL" ContentModuleTypeSTANDARDSINGLEIMAGESPECSDETAIL ContentModuleType = "STANDARD_SINGLE_IMAGE_SPECS_DETAIL" // ContentModuleTypeSTANDARDSINGLESIDEIMAGE captures enum value "STANDARD_SINGLE_SIDE_IMAGE" ContentModuleTypeSTANDARDSINGLESIDEIMAGE ContentModuleType = "STANDARD_SINGLE_SIDE_IMAGE" // ContentModuleTypeSTANDARDTECHSPECS captures enum value "STANDARD_TECH_SPECS" ContentModuleTypeSTANDARDTECHSPECS ContentModuleType = "STANDARD_TECH_SPECS" // ContentModuleTypeSTANDARDTEXT captures enum value "STANDARD_TEXT" ContentModuleTypeSTANDARDTEXT ContentModuleType = "STANDARD_TEXT" // ContentModuleTypeSTANDARDTHREEIMAGETEXT captures enum value "STANDARD_THREE_IMAGE_TEXT" ContentModuleTypeSTANDARDTHREEIMAGETEXT ContentModuleType = "STANDARD_THREE_IMAGE_TEXT" )
func NewContentModuleType ¶
func NewContentModuleType(value ContentModuleType) *ContentModuleType
func (ContentModuleType) ContextValidate ¶
ContextValidate validates this content module type based on context it is used
func (ContentModuleType) Pointer ¶
func (m ContentModuleType) Pointer() *ContentModuleType
Pointer returns a pointer to a freshly-allocated ContentModuleType.
type ContentRecord ¶
type ContentRecord struct { // content document ContentDocument *ContentDocument `json:"contentDocument,omitempty"` // content metadata ContentMetadata *ContentMetadata `json:"contentMetadata,omitempty"` // content reference key // Required: true ContentReferenceKey *ContentReferenceKey `json:"contentReferenceKey"` }
ContentRecord A content document with additional information for content management.
swagger:model ContentRecord
func (*ContentRecord) ContextValidate ¶
ContextValidate validate this content record based on the context it is used
func (*ContentRecord) MarshalBinary ¶
func (m *ContentRecord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContentRecord) UnmarshalBinary ¶
func (m *ContentRecord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContentReferenceKey ¶
type ContentReferenceKey string
ContentReferenceKey A unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ content identifier.
swagger:model ContentReferenceKey
func (ContentReferenceKey) ContextValidate ¶
ContextValidate validates this content reference key based on context it is used
type ContentReferenceKeySet ¶
type ContentReferenceKeySet []ContentReferenceKey
ContentReferenceKeySet A set of content reference keys.
swagger:model ContentReferenceKeySet
func (ContentReferenceKeySet) ContextValidate ¶
ContextValidate validate this content reference key set based on the context it is used
type ContentStatus ¶
type ContentStatus string
ContentStatus The submission status of the content document.
swagger:model ContentStatus
const ( // ContentStatusAPPROVED captures enum value "APPROVED" ContentStatusAPPROVED ContentStatus = "APPROVED" // ContentStatusDRAFT captures enum value "DRAFT" ContentStatusDRAFT ContentStatus = "DRAFT" // ContentStatusREJECTED captures enum value "REJECTED" ContentStatusREJECTED ContentStatus = "REJECTED" // ContentStatusSUBMITTED captures enum value "SUBMITTED" ContentStatusSUBMITTED ContentStatus = "SUBMITTED" )
func NewContentStatus ¶
func NewContentStatus(value ContentStatus) *ContentStatus
func (ContentStatus) ContextValidate ¶
ContextValidate validates this content status based on context it is used
func (ContentStatus) Pointer ¶
func (m ContentStatus) Pointer() *ContentStatus
Pointer returns a pointer to a freshly-allocated ContentStatus.
type ContentSubType ¶
type ContentSubType string
ContentSubType The A+ Content document subtype. This represents a special-purpose type of an A+ Content document. Not every A+ Content document type will have a subtype, and subtypes may change at any time.
swagger:model ContentSubType
func (ContentSubType) ContextValidate ¶
ContextValidate validates this content sub type based on context it is used
type ContentType ¶
type ContentType string
ContentType The A+ Content document type.
swagger:model ContentType
const ( // ContentTypeEBC captures enum value "EBC" ContentTypeEBC ContentType = "EBC" // ContentTypeEMC captures enum value "EMC" ContentTypeEMC ContentType = "EMC" )
func NewContentType ¶
func NewContentType(value ContentType) *ContentType
func (ContentType) ContextValidate ¶
ContextValidate validates this content type based on context it is used
func (ContentType) Pointer ¶
func (m ContentType) Pointer() *ContentType
Pointer returns a pointer to a freshly-allocated ContentType.
type Decorator ¶
type Decorator struct { // The relative intensity or variation of this decorator. Decorators such as bullet-points, for example, can have multiple indentation depths. // Maximum: 100 // Minimum: 0 Depth *int64 `json:"depth,omitempty"` // The number of content characters to alter with this decorator. Decorators such as line breaks can have zero length and fit between characters. // Maximum: 10000 // Minimum: 0 Length *int64 `json:"length,omitempty"` // The starting character of this decorator within the content string. Use zero for the first character. // Maximum: 10000 // Minimum: 0 Offset *int64 `json:"offset,omitempty"` // type Type DecoratorType `json:"type,omitempty"` }
Decorator A decorator applied to a content string value in order to create rich text.
swagger:model Decorator
func (*Decorator) ContextValidate ¶
ContextValidate validate this decorator based on the context it is used
func (*Decorator) MarshalBinary ¶
MarshalBinary interface implementation
func (*Decorator) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DecoratorSet ¶
type DecoratorSet []*Decorator
DecoratorSet A set of content decorators.
swagger:model DecoratorSet
func (DecoratorSet) ContextValidate ¶
ContextValidate validate this decorator set based on the context it is used
type DecoratorType ¶
type DecoratorType string
DecoratorType The type of rich text decorator.
swagger:model DecoratorType
const ( // DecoratorTypeLISTITEM captures enum value "LIST_ITEM" DecoratorTypeLISTITEM DecoratorType = "LIST_ITEM" // DecoratorTypeLISTORDERED captures enum value "LIST_ORDERED" DecoratorTypeLISTORDERED DecoratorType = "LIST_ORDERED" // DecoratorTypeLISTUNORDERED captures enum value "LIST_UNORDERED" DecoratorTypeLISTUNORDERED DecoratorType = "LIST_UNORDERED" // DecoratorTypeSTYLEBOLD captures enum value "STYLE_BOLD" DecoratorTypeSTYLEBOLD DecoratorType = "STYLE_BOLD" // DecoratorTypeSTYLEITALIC captures enum value "STYLE_ITALIC" DecoratorTypeSTYLEITALIC DecoratorType = "STYLE_ITALIC" // DecoratorTypeSTYLELINEBREAK captures enum value "STYLE_LINEBREAK" DecoratorTypeSTYLELINEBREAK DecoratorType = "STYLE_LINEBREAK" // DecoratorTypeSTYLEPARAGRAPH captures enum value "STYLE_PARAGRAPH" DecoratorTypeSTYLEPARAGRAPH DecoratorType = "STYLE_PARAGRAPH" // DecoratorTypeSTYLEUNDERLINE captures enum value "STYLE_UNDERLINE" DecoratorTypeSTYLEUNDERLINE DecoratorType = "STYLE_UNDERLINE" )
func NewDecoratorType ¶
func NewDecoratorType(value DecoratorType) *DecoratorType
func (DecoratorType) ContextValidate ¶
ContextValidate validates this decorator type based on context it is used
func (DecoratorType) Pointer ¶
func (m DecoratorType) Pointer() *DecoratorType
Pointer returns a pointer to a freshly-allocated DecoratorType.
type Error ¶
type Error struct { // The code that identifies the type of error condition. // Required: true // Min Length: 1 Code *string `json:"code"` // Additional information, if available, to clarify the error condition. // Min Length: 1 Details string `json:"details,omitempty"` // A human readable description of the error condition. // Required: true // Min Length: 1 Message *string `json:"message"` }
Error Error response returned when the request is unsuccessful.
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorList ¶
type ErrorList struct { // A list of error responses returned when a request is unsuccessful. // Required: true Errors []*Error `json:"errors"` }
ErrorList The error response for when a request is unsuccessful.
swagger:model ErrorList
func (*ErrorList) ContextValidate ¶
ContextValidate validate this error list based on the context it is used
func (*ErrorList) MarshalBinary ¶
MarshalBinary interface implementation
func (*ErrorList) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GetContentDocumentResponse ¶
type GetContentDocumentResponse struct { AplusResponse // content record // Required: true ContentRecord *ContentRecord `json:"contentRecord"` }
GetContentDocumentResponse get content document response
swagger:model GetContentDocumentResponse
func (*GetContentDocumentResponse) ContextValidate ¶
func (m *GetContentDocumentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get content document response based on the context it is used
func (*GetContentDocumentResponse) MarshalBinary ¶
func (m *GetContentDocumentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetContentDocumentResponse) MarshalJSON ¶
func (m GetContentDocumentResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetContentDocumentResponse) UnmarshalBinary ¶
func (m *GetContentDocumentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetContentDocumentResponse) UnmarshalJSON ¶
func (m *GetContentDocumentResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ImageComponent ¶
type ImageComponent struct { // The alternative text for the image. // Required: true // Max Length: 100 // Min Length: 1 AltText *string `json:"altText"` // image crop specification // Required: true ImageCropSpecification *ImageCropSpecification `json:"imageCropSpecification"` // This identifier is provided by the Selling Partner API for Uploads. // Required: true // Min Length: 1 UploadDestinationID *string `json:"uploadDestinationId"` }
ImageComponent A reference to an image, hosted in the A+ Content media library.
swagger:model ImageComponent
func (*ImageComponent) ContextValidate ¶
ContextValidate validate this image component based on the context it is used
func (*ImageComponent) MarshalBinary ¶
func (m *ImageComponent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageComponent) UnmarshalBinary ¶
func (m *ImageComponent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageCropSpecification ¶
type ImageCropSpecification struct { // offset Offset *ImageOffsets `json:"offset,omitempty"` // size // Required: true Size *ImageDimensions `json:"size"` }
ImageCropSpecification The instructions for optionally cropping an image. If no cropping is desired, set the dimensions to the original image size. If the image is cropped and no offset values are provided, then the coordinates of the top left corner of the cropped image, relative to the original image, are defaulted to (0,0).
swagger:model ImageCropSpecification
func (*ImageCropSpecification) ContextValidate ¶
func (m *ImageCropSpecification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this image crop specification based on the context it is used
func (*ImageCropSpecification) MarshalBinary ¶
func (m *ImageCropSpecification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageCropSpecification) UnmarshalBinary ¶
func (m *ImageCropSpecification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageDimensions ¶
type ImageDimensions struct { // height // Required: true Height *IntegerWithUnits `json:"height"` // width // Required: true Width *IntegerWithUnits `json:"width"` }
ImageDimensions The dimensions extending from the top left corner of the cropped image, or the top left corner of the original image if there is no cropping. Only `pixels` is allowed as the units value for ImageDimensions.
swagger:model ImageDimensions
func (*ImageDimensions) ContextValidate ¶
ContextValidate validate this image dimensions based on the context it is used
func (*ImageDimensions) MarshalBinary ¶
func (m *ImageDimensions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageDimensions) UnmarshalBinary ¶
func (m *ImageDimensions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageOffsets ¶
type ImageOffsets struct { // x // Required: true X *IntegerWithUnits `json:"x"` // y // Required: true Y *IntegerWithUnits `json:"y"` }
ImageOffsets The top left corner of the cropped image, specified in the original image's coordinate space.
swagger:model ImageOffsets
func (*ImageOffsets) ContextValidate ¶
ContextValidate validate this image offsets based on the context it is used
func (*ImageOffsets) MarshalBinary ¶
func (m *ImageOffsets) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageOffsets) UnmarshalBinary ¶
func (m *ImageOffsets) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IntegerWithUnits ¶
type IntegerWithUnits struct { // The unit of measurement. // Required: true Units *string `json:"units"` // The dimension value. // Required: true Value *int64 `json:"value"` }
IntegerWithUnits A whole number dimension and its unit of measurement. For example, this can represent 100 pixels.
swagger:model IntegerWithUnits
func (*IntegerWithUnits) ContextValidate ¶
ContextValidate validates this integer with units based on context it is used
func (*IntegerWithUnits) MarshalBinary ¶
func (m *IntegerWithUnits) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IntegerWithUnits) UnmarshalBinary ¶
func (m *IntegerWithUnits) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LanguageTag ¶
type LanguageTag string
LanguageTag The IETF language tag. This only supports the primary language subtag with one secondary language subtag. The secondary language subtag is almost always a regional designation. This does not support additional subtags beyond the primary and secondary subtags. **Pattern:** ^[a-z]{2,}-[A-Z0-9]{2,}$
swagger:model LanguageTag
func (LanguageTag) ContextValidate ¶
ContextValidate validates this language tag based on context it is used
type ListContentDocumentAsinRelationsResponse ¶
type ListContentDocumentAsinRelationsResponse struct { AplusPaginatedResponse // asin metadata set // Required: true AsinMetadataSet AsinMetadataSet `json:"asinMetadataSet"` }
ListContentDocumentAsinRelationsResponse list content document asin relations response
swagger:model ListContentDocumentAsinRelationsResponse
func (*ListContentDocumentAsinRelationsResponse) ContextValidate ¶
func (m *ListContentDocumentAsinRelationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list content document asin relations response based on the context it is used
func (*ListContentDocumentAsinRelationsResponse) MarshalBinary ¶
func (m *ListContentDocumentAsinRelationsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ListContentDocumentAsinRelationsResponse) MarshalJSON ¶
func (m ListContentDocumentAsinRelationsResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ListContentDocumentAsinRelationsResponse) UnmarshalBinary ¶
func (m *ListContentDocumentAsinRelationsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ListContentDocumentAsinRelationsResponse) UnmarshalJSON ¶
func (m *ListContentDocumentAsinRelationsResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type MarketplaceID ¶
type MarketplaceID string
MarketplaceID The identifier for the marketplace where the A+ Content is published.
swagger:model MarketplaceId
func (MarketplaceID) ContextValidate ¶
ContextValidate validates this marketplace Id based on context it is used
type MessageSet ¶
type MessageSet []*Error
MessageSet A set of messages to the user, such as warnings or comments.
swagger:model MessageSet
func (MessageSet) ContextValidate ¶
ContextValidate validate this message set based on the context it is used
type PageToken ¶
type PageToken string
PageToken A page token that is returned when the results of the call exceed the page size. To get another page of results, call the operation again, passing in this value with the pageToken parameter.
swagger:model PageToken
func (PageToken) ContextValidate ¶
ContextValidate validates this page token based on context it is used
type ParagraphComponent ¶
type ParagraphComponent struct { // text list // Required: true // Max Items: 100 // Min Items: 1 TextList []*TextComponent `json:"textList"` }
ParagraphComponent A list of rich text content, usually presented in a text box.
swagger:model ParagraphComponent
func (*ParagraphComponent) ContextValidate ¶
ContextValidate validate this paragraph component based on the context it is used
func (*ParagraphComponent) MarshalBinary ¶
func (m *ParagraphComponent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ParagraphComponent) UnmarshalBinary ¶
func (m *ParagraphComponent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlainTextItem ¶
type PlainTextItem struct { // The rank or index of this text item within the collection. Different items cannot occupy the same position within a single collection. // Required: true // Maximum: 100 // Minimum: 1 Position *int64 `json:"position"` // The actual plain text. // Required: true // Max Length: 250 // Min Length: 1 Value *string `json:"value"` }
PlainTextItem Plain positional text, used in collections of brief labels and descriptors.
swagger:model PlainTextItem
func (*PlainTextItem) ContextValidate ¶
ContextValidate validates this plain text item based on context it is used
func (*PlainTextItem) MarshalBinary ¶
func (m *PlainTextItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlainTextItem) UnmarshalBinary ¶
func (m *PlainTextItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PositionType ¶
type PositionType string
PositionType The relative positioning of content.
swagger:model PositionType
const ( // PositionTypeLEFT captures enum value "LEFT" PositionTypeLEFT PositionType = "LEFT" // PositionTypeRIGHT captures enum value "RIGHT" PositionTypeRIGHT PositionType = "RIGHT" )
func NewPositionType ¶
func NewPositionType(value PositionType) *PositionType
func (PositionType) ContextValidate ¶
ContextValidate validates this position type based on context it is used
func (PositionType) Pointer ¶
func (m PositionType) Pointer() *PositionType
Pointer returns a pointer to a freshly-allocated PositionType.
type PostContentDocumentApprovalSubmissionResponse ¶
type PostContentDocumentApprovalSubmissionResponse struct {
AplusResponse
}
PostContentDocumentApprovalSubmissionResponse post content document approval submission response
swagger:model PostContentDocumentApprovalSubmissionResponse
func (*PostContentDocumentApprovalSubmissionResponse) ContextValidate ¶
func (m *PostContentDocumentApprovalSubmissionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post content document approval submission response based on the context it is used
func (*PostContentDocumentApprovalSubmissionResponse) MarshalBinary ¶
func (m *PostContentDocumentApprovalSubmissionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (PostContentDocumentApprovalSubmissionResponse) MarshalJSON ¶
func (m PostContentDocumentApprovalSubmissionResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*PostContentDocumentApprovalSubmissionResponse) UnmarshalBinary ¶
func (m *PostContentDocumentApprovalSubmissionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PostContentDocumentApprovalSubmissionResponse) UnmarshalJSON ¶
func (m *PostContentDocumentApprovalSubmissionResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type PostContentDocumentAsinRelationsRequest ¶
type PostContentDocumentAsinRelationsRequest struct { // asin set // Required: true AsinSet AsinSet `json:"asinSet"` }
PostContentDocumentAsinRelationsRequest post content document asin relations request
swagger:model PostContentDocumentAsinRelationsRequest
func (*PostContentDocumentAsinRelationsRequest) ContextValidate ¶
func (m *PostContentDocumentAsinRelationsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post content document asin relations request based on the context it is used
func (*PostContentDocumentAsinRelationsRequest) MarshalBinary ¶
func (m *PostContentDocumentAsinRelationsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostContentDocumentAsinRelationsRequest) UnmarshalBinary ¶
func (m *PostContentDocumentAsinRelationsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostContentDocumentAsinRelationsResponse ¶
type PostContentDocumentAsinRelationsResponse struct {
AplusResponse
}
PostContentDocumentAsinRelationsResponse post content document asin relations response
swagger:model PostContentDocumentAsinRelationsResponse
func (*PostContentDocumentAsinRelationsResponse) ContextValidate ¶
func (m *PostContentDocumentAsinRelationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post content document asin relations response based on the context it is used
func (*PostContentDocumentAsinRelationsResponse) MarshalBinary ¶
func (m *PostContentDocumentAsinRelationsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (PostContentDocumentAsinRelationsResponse) MarshalJSON ¶
func (m PostContentDocumentAsinRelationsResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*PostContentDocumentAsinRelationsResponse) UnmarshalBinary ¶
func (m *PostContentDocumentAsinRelationsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PostContentDocumentAsinRelationsResponse) UnmarshalJSON ¶
func (m *PostContentDocumentAsinRelationsResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type PostContentDocumentRequest ¶
type PostContentDocumentRequest struct { // content document // Required: true ContentDocument *ContentDocument `json:"contentDocument"` }
PostContentDocumentRequest post content document request
swagger:model PostContentDocumentRequest
func (*PostContentDocumentRequest) ContextValidate ¶
func (m *PostContentDocumentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post content document request based on the context it is used
func (*PostContentDocumentRequest) MarshalBinary ¶
func (m *PostContentDocumentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostContentDocumentRequest) UnmarshalBinary ¶
func (m *PostContentDocumentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostContentDocumentResponse ¶
type PostContentDocumentResponse struct { AplusResponse // content reference key // Required: true ContentReferenceKey *ContentReferenceKey `json:"contentReferenceKey"` }
PostContentDocumentResponse post content document response
swagger:model PostContentDocumentResponse
func (*PostContentDocumentResponse) ContextValidate ¶
func (m *PostContentDocumentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post content document response based on the context it is used
func (*PostContentDocumentResponse) MarshalBinary ¶
func (m *PostContentDocumentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (PostContentDocumentResponse) MarshalJSON ¶
func (m PostContentDocumentResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*PostContentDocumentResponse) UnmarshalBinary ¶
func (m *PostContentDocumentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PostContentDocumentResponse) UnmarshalJSON ¶
func (m *PostContentDocumentResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type PostContentDocumentSuspendSubmissionResponse ¶
type PostContentDocumentSuspendSubmissionResponse struct {
AplusResponse
}
PostContentDocumentSuspendSubmissionResponse post content document suspend submission response
swagger:model PostContentDocumentSuspendSubmissionResponse
func (*PostContentDocumentSuspendSubmissionResponse) ContextValidate ¶
func (m *PostContentDocumentSuspendSubmissionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this post content document suspend submission response based on the context it is used
func (*PostContentDocumentSuspendSubmissionResponse) MarshalBinary ¶
func (m *PostContentDocumentSuspendSubmissionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (PostContentDocumentSuspendSubmissionResponse) MarshalJSON ¶
func (m PostContentDocumentSuspendSubmissionResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*PostContentDocumentSuspendSubmissionResponse) UnmarshalBinary ¶
func (m *PostContentDocumentSuspendSubmissionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PostContentDocumentSuspendSubmissionResponse) UnmarshalJSON ¶
func (m *PostContentDocumentSuspendSubmissionResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type PublishRecord ¶
type PublishRecord struct { // asin // Required: true Asin *Asin `json:"asin"` // content reference key // Required: true ContentReferenceKey *ContentReferenceKey `json:"contentReferenceKey"` // content sub type ContentSubType ContentSubType `json:"contentSubType,omitempty"` // content type // Required: true ContentType *ContentType `json:"contentType"` // locale // Required: true Locale *LanguageTag `json:"locale"` // marketplace Id // Required: true MarketplaceID *MarketplaceID `json:"marketplaceId"` }
PublishRecord The full context for an A+ Content publishing event.
swagger:model PublishRecord
func (*PublishRecord) ContextValidate ¶
ContextValidate validate this publish record based on the context it is used
func (*PublishRecord) MarshalBinary ¶
func (m *PublishRecord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublishRecord) UnmarshalBinary ¶
func (m *PublishRecord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublishRecordList ¶
type PublishRecordList []*PublishRecord
PublishRecordList A list of A+ Content publishing records.
swagger:model PublishRecordList
func (PublishRecordList) ContextValidate ¶
ContextValidate validate this publish record list based on the context it is used
type SearchContentDocumentsResponse ¶
type SearchContentDocumentsResponse struct { AplusPaginatedResponse // The content metadata records. // Required: true ContentMetadataRecords ContentMetadataRecordList `json:"contentMetadataRecords"` }
SearchContentDocumentsResponse search content documents response
swagger:model SearchContentDocumentsResponse
func (*SearchContentDocumentsResponse) ContextValidate ¶
func (m *SearchContentDocumentsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this search content documents response based on the context it is used
func (*SearchContentDocumentsResponse) MarshalBinary ¶
func (m *SearchContentDocumentsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (SearchContentDocumentsResponse) MarshalJSON ¶
func (m SearchContentDocumentsResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*SearchContentDocumentsResponse) UnmarshalBinary ¶
func (m *SearchContentDocumentsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SearchContentDocumentsResponse) UnmarshalJSON ¶
func (m *SearchContentDocumentsResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type SearchContentPublishRecordsResponse ¶
type SearchContentPublishRecordsResponse struct { AplusPaginatedResponse // publish record list // Required: true PublishRecordList PublishRecordList `json:"publishRecordList"` }
SearchContentPublishRecordsResponse search content publish records response
swagger:model SearchContentPublishRecordsResponse
func (*SearchContentPublishRecordsResponse) ContextValidate ¶
func (m *SearchContentPublishRecordsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this search content publish records response based on the context it is used
func (*SearchContentPublishRecordsResponse) MarshalBinary ¶
func (m *SearchContentPublishRecordsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (SearchContentPublishRecordsResponse) MarshalJSON ¶
func (m SearchContentPublishRecordsResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*SearchContentPublishRecordsResponse) UnmarshalBinary ¶
func (m *SearchContentPublishRecordsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SearchContentPublishRecordsResponse) UnmarshalJSON ¶
func (m *SearchContentPublishRecordsResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type StandardCompanyLogoModule ¶
type StandardCompanyLogoModule struct { // company logo // Required: true CompanyLogo *ImageComponent `json:"companyLogo"` }
StandardCompanyLogoModule The standard company logo image.
swagger:model StandardCompanyLogoModule
func (*StandardCompanyLogoModule) ContextValidate ¶
func (m *StandardCompanyLogoModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard company logo module based on the context it is used
func (*StandardCompanyLogoModule) MarshalBinary ¶
func (m *StandardCompanyLogoModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardCompanyLogoModule) UnmarshalBinary ¶
func (m *StandardCompanyLogoModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardComparisonProductBlock ¶
type StandardComparisonProductBlock struct { // asin Asin Asin `json:"asin,omitempty"` // Determines whether this block of content is visually highlighted. Highlight bool `json:"highlight,omitempty"` // image Image *ImageComponent `json:"image,omitempty"` // Comparison metrics for the product. // Max Items: 10 // Min Items: 0 Metrics []*PlainTextItem `json:"metrics"` // The rank or index of this comparison product block within the module. Different blocks cannot occupy the same position within a single module. // Required: true // Maximum: 6 // Minimum: 1 Position *int64 `json:"position"` // The comparison product title. // Max Length: 80 // Min Length: 1 Title string `json:"title,omitempty"` }
StandardComparisonProductBlock The A+ Content standard comparison product block.
swagger:model StandardComparisonProductBlock
func (*StandardComparisonProductBlock) ContextValidate ¶
func (m *StandardComparisonProductBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard comparison product block based on the context it is used
func (*StandardComparisonProductBlock) MarshalBinary ¶
func (m *StandardComparisonProductBlock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardComparisonProductBlock) UnmarshalBinary ¶
func (m *StandardComparisonProductBlock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardComparisonTableModule ¶
type StandardComparisonTableModule struct { // metric row labels // Max Items: 10 // Min Items: 0 MetricRowLabels []*PlainTextItem `json:"metricRowLabels"` // product columns // Max Items: 6 // Min Items: 0 ProductColumns []*StandardComparisonProductBlock `json:"productColumns"` }
StandardComparisonTableModule The standard product comparison table.
swagger:model StandardComparisonTableModule
func (*StandardComparisonTableModule) ContextValidate ¶
func (m *StandardComparisonTableModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard comparison table module based on the context it is used
func (*StandardComparisonTableModule) MarshalBinary ¶
func (m *StandardComparisonTableModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardComparisonTableModule) UnmarshalBinary ¶
func (m *StandardComparisonTableModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardFourImageTextModule ¶
type StandardFourImageTextModule struct { // block1 Block1 *StandardImageTextBlock `json:"block1,omitempty"` // block2 Block2 *StandardImageTextBlock `json:"block2,omitempty"` // block3 Block3 *StandardImageTextBlock `json:"block3,omitempty"` // block4 Block4 *StandardImageTextBlock `json:"block4,omitempty"` // headline Headline *TextComponent `json:"headline,omitempty"` }
StandardFourImageTextModule Four standard images with text, presented across a single row.
swagger:model StandardFourImageTextModule
func (*StandardFourImageTextModule) ContextValidate ¶
func (m *StandardFourImageTextModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard four image text module based on the context it is used
func (*StandardFourImageTextModule) MarshalBinary ¶
func (m *StandardFourImageTextModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardFourImageTextModule) UnmarshalBinary ¶
func (m *StandardFourImageTextModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardFourImageTextQuadrantModule ¶
type StandardFourImageTextQuadrantModule struct { // block1 // Required: true Block1 *StandardImageTextBlock `json:"block1"` // block2 // Required: true Block2 *StandardImageTextBlock `json:"block2"` // block3 // Required: true Block3 *StandardImageTextBlock `json:"block3"` // block4 // Required: true Block4 *StandardImageTextBlock `json:"block4"` }
StandardFourImageTextQuadrantModule Four standard images with text, presented on a grid of four quadrants.
swagger:model StandardFourImageTextQuadrantModule
func (*StandardFourImageTextQuadrantModule) ContextValidate ¶
func (m *StandardFourImageTextQuadrantModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard four image text quadrant module based on the context it is used
func (*StandardFourImageTextQuadrantModule) MarshalBinary ¶
func (m *StandardFourImageTextQuadrantModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardFourImageTextQuadrantModule) UnmarshalBinary ¶
func (m *StandardFourImageTextQuadrantModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardHeaderImageTextModule ¶
type StandardHeaderImageTextModule struct { // block Block *StandardImageTextBlock `json:"block,omitempty"` // headline Headline *TextComponent `json:"headline,omitempty"` }
StandardHeaderImageTextModule Standard headline text, an image, and body text.
swagger:model StandardHeaderImageTextModule
func (*StandardHeaderImageTextModule) ContextValidate ¶
func (m *StandardHeaderImageTextModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard header image text module based on the context it is used
func (*StandardHeaderImageTextModule) MarshalBinary ¶
func (m *StandardHeaderImageTextModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardHeaderImageTextModule) UnmarshalBinary ¶
func (m *StandardHeaderImageTextModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardHeaderTextListBlock ¶
type StandardHeaderTextListBlock struct { // block Block *StandardTextListBlock `json:"block,omitempty"` // headline Headline *TextComponent `json:"headline,omitempty"` }
StandardHeaderTextListBlock The A+ standard fixed-length list of text, with a related headline.
swagger:model StandardHeaderTextListBlock
func (*StandardHeaderTextListBlock) ContextValidate ¶
func (m *StandardHeaderTextListBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard header text list block based on the context it is used
func (*StandardHeaderTextListBlock) MarshalBinary ¶
func (m *StandardHeaderTextListBlock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardHeaderTextListBlock) UnmarshalBinary ¶
func (m *StandardHeaderTextListBlock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardImageCaptionBlock ¶
type StandardImageCaptionBlock struct { // caption Caption *TextComponent `json:"caption,omitempty"` // image Image *ImageComponent `json:"image,omitempty"` }
StandardImageCaptionBlock The A+ Content standard image and caption block.
swagger:model StandardImageCaptionBlock
func (*StandardImageCaptionBlock) ContextValidate ¶
func (m *StandardImageCaptionBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard image caption block based on the context it is used
func (*StandardImageCaptionBlock) MarshalBinary ¶
func (m *StandardImageCaptionBlock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardImageCaptionBlock) UnmarshalBinary ¶
func (m *StandardImageCaptionBlock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardImageSidebarModule ¶
type StandardImageSidebarModule struct { // description list block DescriptionListBlock *StandardTextListBlock `json:"descriptionListBlock,omitempty"` // description text block DescriptionTextBlock *StandardTextBlock `json:"descriptionTextBlock,omitempty"` // headline Headline *TextComponent `json:"headline,omitempty"` // image caption block ImageCaptionBlock *StandardImageCaptionBlock `json:"imageCaptionBlock,omitempty"` // sidebar image text block SidebarImageTextBlock *StandardImageTextBlock `json:"sidebarImageTextBlock,omitempty"` // sidebar list block SidebarListBlock *StandardTextListBlock `json:"sidebarListBlock,omitempty"` }
StandardImageSidebarModule Two images, two paragraphs, and two bulleted lists. One image is smaller and displayed in the sidebar.
swagger:model StandardImageSidebarModule
func (*StandardImageSidebarModule) ContextValidate ¶
func (m *StandardImageSidebarModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard image sidebar module based on the context it is used
func (*StandardImageSidebarModule) MarshalBinary ¶
func (m *StandardImageSidebarModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardImageSidebarModule) UnmarshalBinary ¶
func (m *StandardImageSidebarModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardImageTextBlock ¶
type StandardImageTextBlock struct { // body Body *ParagraphComponent `json:"body,omitempty"` // headline Headline *TextComponent `json:"headline,omitempty"` // image Image *ImageComponent `json:"image,omitempty"` }
StandardImageTextBlock The A+ Content standard image and text box block.
swagger:model StandardImageTextBlock
func (*StandardImageTextBlock) ContextValidate ¶
func (m *StandardImageTextBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard image text block based on the context it is used
func (*StandardImageTextBlock) MarshalBinary ¶
func (m *StandardImageTextBlock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardImageTextBlock) UnmarshalBinary ¶
func (m *StandardImageTextBlock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardImageTextCaptionBlock ¶
type StandardImageTextCaptionBlock struct { // block Block *StandardImageTextBlock `json:"block,omitempty"` // caption Caption *TextComponent `json:"caption,omitempty"` }
StandardImageTextCaptionBlock The A+ Content standard image and text block, with a related caption. The caption may not display on all devices.
swagger:model StandardImageTextCaptionBlock
func (*StandardImageTextCaptionBlock) ContextValidate ¶
func (m *StandardImageTextCaptionBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard image text caption block based on the context it is used
func (*StandardImageTextCaptionBlock) MarshalBinary ¶
func (m *StandardImageTextCaptionBlock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardImageTextCaptionBlock) UnmarshalBinary ¶
func (m *StandardImageTextCaptionBlock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardImageTextOverlayModule ¶
type StandardImageTextOverlayModule struct { // block Block *StandardImageTextBlock `json:"block,omitempty"` // overlay color type // Required: true OverlayColorType *ColorType `json:"overlayColorType"` }
StandardImageTextOverlayModule A standard background image with a floating text box.
swagger:model StandardImageTextOverlayModule
func (*StandardImageTextOverlayModule) ContextValidate ¶
func (m *StandardImageTextOverlayModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard image text overlay module based on the context it is used
func (*StandardImageTextOverlayModule) MarshalBinary ¶
func (m *StandardImageTextOverlayModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardImageTextOverlayModule) UnmarshalBinary ¶
func (m *StandardImageTextOverlayModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardMultipleImageTextModule ¶
type StandardMultipleImageTextModule struct { // blocks Blocks []*StandardImageTextCaptionBlock `json:"blocks"` }
StandardMultipleImageTextModule Standard images with text, presented one at a time. The user clicks on thumbnails to view each block.
swagger:model StandardMultipleImageTextModule
func (*StandardMultipleImageTextModule) ContextValidate ¶
func (m *StandardMultipleImageTextModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard multiple image text module based on the context it is used
func (*StandardMultipleImageTextModule) MarshalBinary ¶
func (m *StandardMultipleImageTextModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardMultipleImageTextModule) UnmarshalBinary ¶
func (m *StandardMultipleImageTextModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardProductDescriptionModule ¶
type StandardProductDescriptionModule struct { // body // Required: true Body *ParagraphComponent `json:"body"` }
StandardProductDescriptionModule Standard product description text.
swagger:model StandardProductDescriptionModule
func (*StandardProductDescriptionModule) ContextValidate ¶
func (m *StandardProductDescriptionModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard product description module based on the context it is used
func (*StandardProductDescriptionModule) MarshalBinary ¶
func (m *StandardProductDescriptionModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardProductDescriptionModule) UnmarshalBinary ¶
func (m *StandardProductDescriptionModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardSingleImageHighlightsModule ¶
type StandardSingleImageHighlightsModule struct { // bulleted list block BulletedListBlock *StandardHeaderTextListBlock `json:"bulletedListBlock,omitempty"` // headline Headline *TextComponent `json:"headline,omitempty"` // image Image *ImageComponent `json:"image,omitempty"` // text block1 TextBlock1 *StandardTextBlock `json:"textBlock1,omitempty"` // text block2 TextBlock2 *StandardTextBlock `json:"textBlock2,omitempty"` // text block3 TextBlock3 *StandardTextBlock `json:"textBlock3,omitempty"` }
StandardSingleImageHighlightsModule A standard image with several paragraphs and a bulleted list.
swagger:model StandardSingleImageHighlightsModule
func (*StandardSingleImageHighlightsModule) ContextValidate ¶
func (m *StandardSingleImageHighlightsModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard single image highlights module based on the context it is used
func (*StandardSingleImageHighlightsModule) MarshalBinary ¶
func (m *StandardSingleImageHighlightsModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardSingleImageHighlightsModule) UnmarshalBinary ¶
func (m *StandardSingleImageHighlightsModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardSingleImageSpecsDetailModule ¶
type StandardSingleImageSpecsDetailModule struct { // description block1 DescriptionBlock1 *StandardTextBlock `json:"descriptionBlock1,omitempty"` // description block2 DescriptionBlock2 *StandardTextBlock `json:"descriptionBlock2,omitempty"` // description headline DescriptionHeadline *TextComponent `json:"descriptionHeadline,omitempty"` // headline Headline *TextComponent `json:"headline,omitempty"` // image Image *ImageComponent `json:"image,omitempty"` // specification headline SpecificationHeadline *TextComponent `json:"specificationHeadline,omitempty"` // specification list block SpecificationListBlock *StandardHeaderTextListBlock `json:"specificationListBlock,omitempty"` // specification text block SpecificationTextBlock *StandardTextBlock `json:"specificationTextBlock,omitempty"` }
StandardSingleImageSpecsDetailModule A standard image with paragraphs and a bulleted list, and extra space for technical details.
swagger:model StandardSingleImageSpecsDetailModule
func (*StandardSingleImageSpecsDetailModule) ContextValidate ¶
func (m *StandardSingleImageSpecsDetailModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard single image specs detail module based on the context it is used
func (*StandardSingleImageSpecsDetailModule) MarshalBinary ¶
func (m *StandardSingleImageSpecsDetailModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardSingleImageSpecsDetailModule) UnmarshalBinary ¶
func (m *StandardSingleImageSpecsDetailModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardSingleSideImageModule ¶
type StandardSingleSideImageModule struct { // block Block *StandardImageTextBlock `json:"block,omitempty"` // image position type // Required: true ImagePositionType *PositionType `json:"imagePositionType"` }
StandardSingleSideImageModule A standard headline and body text with an image on the side.
swagger:model StandardSingleSideImageModule
func (*StandardSingleSideImageModule) ContextValidate ¶
func (m *StandardSingleSideImageModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard single side image module based on the context it is used
func (*StandardSingleSideImageModule) MarshalBinary ¶
func (m *StandardSingleSideImageModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardSingleSideImageModule) UnmarshalBinary ¶
func (m *StandardSingleSideImageModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardTechSpecsModule ¶
type StandardTechSpecsModule struct { // headline Headline *TextComponent `json:"headline,omitempty"` // The specification list. // Required: true // Max Items: 16 // Min Items: 4 SpecificationList []*StandardTextPairBlock `json:"specificationList"` // The number of tables to present. Features are evenly divided between the tables. // Maximum: 2 // Minimum: 1 TableCount int64 `json:"tableCount,omitempty"` }
StandardTechSpecsModule The standard table of technical feature names and definitions.
swagger:model StandardTechSpecsModule
func (*StandardTechSpecsModule) ContextValidate ¶
func (m *StandardTechSpecsModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard tech specs module based on the context it is used
func (*StandardTechSpecsModule) MarshalBinary ¶
func (m *StandardTechSpecsModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardTechSpecsModule) UnmarshalBinary ¶
func (m *StandardTechSpecsModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardTextBlock ¶
type StandardTextBlock struct { // body Body *ParagraphComponent `json:"body,omitempty"` // headline Headline *TextComponent `json:"headline,omitempty"` }
StandardTextBlock The A+ Content standard text box block, comprised of a paragraph with a headline.
swagger:model StandardTextBlock
func (*StandardTextBlock) ContextValidate ¶
ContextValidate validate this standard text block based on the context it is used
func (*StandardTextBlock) MarshalBinary ¶
func (m *StandardTextBlock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardTextBlock) UnmarshalBinary ¶
func (m *StandardTextBlock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardTextListBlock ¶
type StandardTextListBlock struct { // text list // Required: true // Max Items: 8 // Min Items: 0 TextList []*TextItem `json:"textList"` }
StandardTextListBlock The A+ Content standard fixed length list of text, usually presented as bullet points.
swagger:model StandardTextListBlock
func (*StandardTextListBlock) ContextValidate ¶
ContextValidate validate this standard text list block based on the context it is used
func (*StandardTextListBlock) MarshalBinary ¶
func (m *StandardTextListBlock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardTextListBlock) UnmarshalBinary ¶
func (m *StandardTextListBlock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardTextModule ¶
type StandardTextModule struct { // body // Required: true Body *ParagraphComponent `json:"body"` // headline Headline *TextComponent `json:"headline,omitempty"` }
StandardTextModule A standard headline and body text.
swagger:model StandardTextModule
func (*StandardTextModule) ContextValidate ¶
ContextValidate validate this standard text module based on the context it is used
func (*StandardTextModule) MarshalBinary ¶
func (m *StandardTextModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardTextModule) UnmarshalBinary ¶
func (m *StandardTextModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardTextPairBlock ¶
type StandardTextPairBlock struct { // description Description *TextComponent `json:"description,omitempty"` // label Label *TextComponent `json:"label,omitempty"` }
StandardTextPairBlock The A+ Content standard label and description block, comprised of a pair of text components.
swagger:model StandardTextPairBlock
func (*StandardTextPairBlock) ContextValidate ¶
ContextValidate validate this standard text pair block based on the context it is used
func (*StandardTextPairBlock) MarshalBinary ¶
func (m *StandardTextPairBlock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardTextPairBlock) UnmarshalBinary ¶
func (m *StandardTextPairBlock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StandardThreeImageTextModule ¶
type StandardThreeImageTextModule struct { // block1 Block1 *StandardImageTextBlock `json:"block1,omitempty"` // block2 Block2 *StandardImageTextBlock `json:"block2,omitempty"` // block3 Block3 *StandardImageTextBlock `json:"block3,omitempty"` // headline Headline *TextComponent `json:"headline,omitempty"` }
StandardThreeImageTextModule Three standard images with text, presented across a single row.
swagger:model StandardThreeImageTextModule
func (*StandardThreeImageTextModule) ContextValidate ¶
func (m *StandardThreeImageTextModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this standard three image text module based on the context it is used
func (*StandardThreeImageTextModule) MarshalBinary ¶
func (m *StandardThreeImageTextModule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StandardThreeImageTextModule) UnmarshalBinary ¶
func (m *StandardThreeImageTextModule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TextComponent ¶
type TextComponent struct { // decorator set DecoratorSet DecoratorSet `json:"decoratorSet,omitempty"` // The actual plain text. // Required: true // Max Length: 10000 // Min Length: 1 Value *string `json:"value"` }
TextComponent Rich text content.
swagger:model TextComponent
func (*TextComponent) ContextValidate ¶
ContextValidate validate this text component based on the context it is used
func (*TextComponent) MarshalBinary ¶
func (m *TextComponent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TextComponent) UnmarshalBinary ¶
func (m *TextComponent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TextItem ¶
type TextItem struct { // The rank or index of this text item within the collection. Different items cannot occupy the same position within a single collection. // Required: true // Maximum: 100 // Minimum: 1 Position *int64 `json:"position"` // text // Required: true Text *TextComponent `json:"text"` }
TextItem Rich positional text, usually presented as a collection of bullet points.
swagger:model TextItem
func (*TextItem) ContextValidate ¶
ContextValidate validate this text item based on the context it is used
func (*TextItem) MarshalBinary ¶
MarshalBinary interface implementation
func (*TextItem) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ValidateContentDocumentAsinRelationsResponse ¶
type ValidateContentDocumentAsinRelationsResponse struct { AplusResponse ErrorList }
ValidateContentDocumentAsinRelationsResponse validate content document asin relations response
swagger:model ValidateContentDocumentAsinRelationsResponse
func (*ValidateContentDocumentAsinRelationsResponse) ContextValidate ¶
func (m *ValidateContentDocumentAsinRelationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this validate content document asin relations response based on the context it is used
func (*ValidateContentDocumentAsinRelationsResponse) MarshalBinary ¶
func (m *ValidateContentDocumentAsinRelationsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ValidateContentDocumentAsinRelationsResponse) MarshalJSON ¶
func (m ValidateContentDocumentAsinRelationsResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ValidateContentDocumentAsinRelationsResponse) UnmarshalBinary ¶
func (m *ValidateContentDocumentAsinRelationsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ValidateContentDocumentAsinRelationsResponse) UnmarshalJSON ¶
func (m *ValidateContentDocumentAsinRelationsResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
Source Files
¶
- aplus_paginated_response.go
- aplus_response.go
- asin.go
- asin_badge.go
- asin_badge_set.go
- asin_metadata.go
- asin_metadata_set.go
- asin_set.go
- color_type.go
- content_badge.go
- content_badge_set.go
- content_document.go
- content_metadata.go
- content_metadata_record.go
- content_metadata_record_list.go
- content_module.go
- content_module_list.go
- content_module_type.go
- content_record.go
- content_reference_key.go
- content_reference_key_set.go
- content_status.go
- content_sub_type.go
- content_type.go
- decorator.go
- decorator_set.go
- decorator_type.go
- error.go
- error_list.go
- get_content_document_response.go
- image_component.go
- image_crop_specification.go
- image_dimensions.go
- image_offsets.go
- integer_with_units.go
- language_tag.go
- list_content_document_asin_relations_response.go
- marketplace_id.go
- message_set.go
- page_token.go
- paragraph_component.go
- plain_text_item.go
- position_type.go
- post_content_document_approval_submission_response.go
- post_content_document_asin_relations_request.go
- post_content_document_asin_relations_response.go
- post_content_document_request.go
- post_content_document_response.go
- post_content_document_suspend_submission_response.go
- publish_record.go
- publish_record_list.go
- search_content_documents_response.go
- search_content_publish_records_response.go
- standard_company_logo_module.go
- standard_comparison_product_block.go
- standard_comparison_table_module.go
- standard_four_image_text_module.go
- standard_four_image_text_quadrant_module.go
- standard_header_image_text_module.go
- standard_header_text_list_block.go
- standard_image_caption_block.go
- standard_image_sidebar_module.go
- standard_image_text_block.go
- standard_image_text_caption_block.go
- standard_image_text_overlay_module.go
- standard_multiple_image_text_module.go
- standard_product_description_module.go
- standard_single_image_highlights_module.go
- standard_single_image_specs_detail_module.go
- standard_single_side_image_module.go
- standard_tech_specs_module.go
- standard_text_block.go
- standard_text_list_block.go
- standard_text_module.go
- standard_text_pair_block.go
- standard_three_image_text_module.go
- text_component.go
- text_item.go
- validate_content_document_asin_relations_response.go