aplus_content_2020_11_01_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: 7 Imported by: 0

Documentation

Index

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

func (*AplusPaginatedResponse) Validate

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

Validate validates this aplus paginated response

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

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

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

func (*AplusResponse) Validate

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

Validate validates this aplus response

type Asin

type Asin string

Asin The Amazon Standard Identification Number (ASIN).

swagger:model Asin

func (Asin) ContextValidate

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

ContextValidate validates this asin based on context it is used

func (Asin) Validate

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

Validate validates this asin

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 NewAsinBadge(value AsinBadge) *AsinBadge

func (AsinBadge) ContextValidate

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

ContextValidate validates this asin badge based on context it is used

func (AsinBadge) Pointer

func (m AsinBadge) Pointer() *AsinBadge

Pointer returns a pointer to a freshly-allocated AsinBadge.

func (AsinBadge) Validate

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

Validate validates this asin badge

type AsinBadgeSet

type AsinBadgeSet []AsinBadge

AsinBadgeSet The set of ASIN badges.

swagger:model AsinBadgeSet

func (AsinBadgeSet) ContextValidate

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

ContextValidate validate this asin badge set based on the context it is used

func (AsinBadgeSet) Validate

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

Validate validates this asin badge set

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

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

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

func (*AsinMetadata) Validate

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

Validate validates this asin metadata

type AsinMetadataSet

type AsinMetadataSet []*AsinMetadata

AsinMetadataSet The set of ASIN metadata.

swagger:model AsinMetadataSet

func (AsinMetadataSet) ContextValidate

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

ContextValidate validate this asin metadata set based on the context it is used

func (AsinMetadataSet) Validate

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

Validate validates this asin metadata set

type AsinSet

type AsinSet []Asin

AsinSet The set of ASINs.

swagger:model AsinSet

func (AsinSet) ContextValidate

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

ContextValidate validate this asin set based on the context it is used

func (AsinSet) Validate

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

Validate validates this asin set

type ColorType

type ColorType string

ColorType The relative color scheme of content.

swagger:model ColorType

const (

	// ColorTypeDARK captures enum value "DARK"
	ColorTypeDARK ColorType = "DARK"

	// ColorTypeLIGHT captures enum value "LIGHT"
	ColorTypeLIGHT ColorType = "LIGHT"
)

func NewColorType

func NewColorType(value ColorType) *ColorType

func (ColorType) ContextValidate

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

ContextValidate validates this color type based on context it is used

func (ColorType) Pointer

func (m ColorType) Pointer() *ColorType

Pointer returns a pointer to a freshly-allocated ColorType.

func (ColorType) Validate

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

Validate validates this color type

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

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

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.

func (ContentBadge) Validate

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

Validate validates this content badge

type ContentBadgeSet

type ContentBadgeSet []ContentBadge

ContentBadgeSet The set of content badges.

swagger:model ContentBadgeSet

func (ContentBadgeSet) ContextValidate

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

ContextValidate validate this content badge set based on the context it is used

func (ContentBadgeSet) Validate

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

Validate validates this content badge set

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

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

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

func (*ContentDocument) Validate

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

Validate validates this content document

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

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

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

func (*ContentMetadata) Validate

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

Validate validates this content metadata

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

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

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

func (*ContentMetadataRecord) Validate

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

Validate validates this content metadata record

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

func (ContentMetadataRecordList) Validate

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

Validate validates this content metadata record list

type ContentModule

type ContentModule struct {

	// content module type
	// Required: true
	ContentModuleType *ContentModuleType `json:"contentModuleType"`

	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

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

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

func (*ContentModule) Validate

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

Validate validates this content module

type ContentModuleList

type ContentModuleList []*ContentModule

ContentModuleList A list of A+ Content modules.

swagger:model ContentModuleList

func (ContentModuleList) ContextValidate

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

ContextValidate validate this content module list based on the context it is used

func (ContentModuleList) Validate

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

Validate validates this content module list

type ContentModuleType

type ContentModuleType string

ContentModuleType The type of A+ Content module.

swagger:model ContentModuleType

const (

	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

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

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.

func (ContentModuleType) Validate

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

Validate validates this content module type

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

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

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

func (*ContentRecord) Validate

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

Validate validates this content record

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

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

ContextValidate validates this content reference key based on context it is used

func (ContentReferenceKey) Validate

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

Validate validates this content reference key

type ContentReferenceKeySet

type ContentReferenceKeySet []ContentReferenceKey

ContentReferenceKeySet A set of content reference keys.

swagger:model ContentReferenceKeySet

func (ContentReferenceKeySet) ContextValidate

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

ContextValidate validate this content reference key set based on the context it is used

func (ContentReferenceKeySet) Validate

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

Validate validates this content reference key set

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

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

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.

func (ContentStatus) Validate

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

Validate validates this content status

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

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

ContextValidate validates this content sub type based on context it is used

func (ContentSubType) Validate

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

Validate validates this content sub type

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

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

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.

func (ContentType) Validate

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

Validate validates this content type

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

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

ContextValidate validate this decorator based on the context it is used

func (*Decorator) MarshalBinary

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

MarshalBinary interface implementation

func (*Decorator) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Decorator) Validate

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

Validate validates this decorator

type DecoratorSet

type DecoratorSet []*Decorator

DecoratorSet A set of content decorators.

swagger:model DecoratorSet

func (DecoratorSet) ContextValidate

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

ContextValidate validate this decorator set based on the context it is used

func (DecoratorSet) Validate

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

Validate validates this decorator set

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

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

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.

func (DecoratorType) Validate

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

Validate validates this decorator type

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

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 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

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) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorList) Validate

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

Validate validates this error list

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

func (*GetContentDocumentResponse) Validate

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

Validate validates this get content document response

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

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

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

func (*ImageComponent) Validate

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

Validate validates this image component

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

func (*ImageCropSpecification) Validate

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

Validate validates this image crop specification

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

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

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

func (*ImageDimensions) Validate

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

Validate validates this image dimensions

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

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

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

func (*ImageOffsets) Validate

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

Validate validates this image offsets

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

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

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

func (*IntegerWithUnits) Validate

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

Validate validates this integer with units

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

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

ContextValidate validates this language tag based on context it is used

func (LanguageTag) Validate

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

Validate validates this language tag

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

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

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

func (*ListContentDocumentAsinRelationsResponse) Validate

Validate validates this list content document asin relations response

type MarketplaceID

type MarketplaceID string

MarketplaceID The identifier for the marketplace where the A+ Content is published.

swagger:model MarketplaceId

func (MarketplaceID) ContextValidate

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

ContextValidate validates this marketplace Id based on context it is used

func (MarketplaceID) Validate

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

Validate validates this marketplace Id

type MessageSet

type MessageSet []*Error

MessageSet A set of messages to the user, such as warnings or comments.

swagger:model MessageSet

func (MessageSet) ContextValidate

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

ContextValidate validate this message set based on the context it is used

func (MessageSet) Validate

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

Validate validates this message set

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

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

ContextValidate validates this page token based on context it is used

func (PageToken) Validate

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

Validate validates this page token

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

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

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

func (*ParagraphComponent) Validate

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

Validate validates this paragraph component

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

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

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

func (*PlainTextItem) Validate

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

Validate validates this plain text item

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

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

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.

func (PositionType) Validate

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

Validate validates this position type

type PostContentDocumentApprovalSubmissionResponse

type PostContentDocumentApprovalSubmissionResponse struct {
	AplusResponse
}

PostContentDocumentApprovalSubmissionResponse post content document approval submission response

swagger:model PostContentDocumentApprovalSubmissionResponse

func (*PostContentDocumentApprovalSubmissionResponse) ContextValidate

ContextValidate validate this post content document approval submission response based on the context it is used

func (*PostContentDocumentApprovalSubmissionResponse) MarshalBinary

MarshalBinary interface implementation

func (PostContentDocumentApprovalSubmissionResponse) MarshalJSON

MarshalJSON marshals this object to a JSON structure

func (*PostContentDocumentApprovalSubmissionResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PostContentDocumentApprovalSubmissionResponse) UnmarshalJSON

UnmarshalJSON unmarshals this object from a JSON structure

func (*PostContentDocumentApprovalSubmissionResponse) Validate

Validate validates this post content document approval submission response

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

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

func (*PostContentDocumentAsinRelationsRequest) Validate

Validate validates this post content document asin relations request

type PostContentDocumentAsinRelationsResponse

type PostContentDocumentAsinRelationsResponse struct {
	AplusResponse
}

PostContentDocumentAsinRelationsResponse post content document asin relations response

swagger:model PostContentDocumentAsinRelationsResponse

func (*PostContentDocumentAsinRelationsResponse) ContextValidate

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

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

func (*PostContentDocumentAsinRelationsResponse) Validate

Validate validates this post content document asin relations response

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

func (*PostContentDocumentRequest) Validate

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

Validate validates this post content document request

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

func (*PostContentDocumentResponse) Validate

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

Validate validates this post content document response

type PostContentDocumentSuspendSubmissionResponse

type PostContentDocumentSuspendSubmissionResponse struct {
	AplusResponse
}

PostContentDocumentSuspendSubmissionResponse post content document suspend submission response

swagger:model PostContentDocumentSuspendSubmissionResponse

func (*PostContentDocumentSuspendSubmissionResponse) ContextValidate

ContextValidate validate this post content document suspend submission response based on the context it is used

func (*PostContentDocumentSuspendSubmissionResponse) MarshalBinary

MarshalBinary interface implementation

func (PostContentDocumentSuspendSubmissionResponse) MarshalJSON

MarshalJSON marshals this object to a JSON structure

func (*PostContentDocumentSuspendSubmissionResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PostContentDocumentSuspendSubmissionResponse) UnmarshalJSON

UnmarshalJSON unmarshals this object from a JSON structure

func (*PostContentDocumentSuspendSubmissionResponse) Validate

Validate validates this post content document suspend submission response

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

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

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

func (*PublishRecord) Validate

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

Validate validates this publish record

type PublishRecordList

type PublishRecordList []*PublishRecord

PublishRecordList A list of A+ Content publishing records.

swagger:model PublishRecordList

func (PublishRecordList) ContextValidate

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

ContextValidate validate this publish record list based on the context it is used

func (PublishRecordList) Validate

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

Validate validates this publish record list

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

func (*SearchContentDocumentsResponse) Validate

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

Validate validates this search content documents response

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

func (*SearchContentPublishRecordsResponse) Validate

Validate validates this search content publish records response

type StandardCompanyLogoModule

type StandardCompanyLogoModule struct {

	// 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

func (*StandardCompanyLogoModule) Validate

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

Validate validates this standard company logo module

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

func (*StandardComparisonProductBlock) Validate

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

Validate validates this standard comparison product block

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

func (*StandardComparisonTableModule) Validate

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

Validate validates this standard comparison table module

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

func (*StandardFourImageTextModule) Validate

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

Validate validates this standard four image text module

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

func (*StandardFourImageTextQuadrantModule) Validate

Validate validates this standard four image text quadrant module

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

func (*StandardHeaderImageTextModule) Validate

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

Validate validates this standard header image text module

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

func (*StandardHeaderTextListBlock) Validate

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

Validate validates this standard header text list block

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

func (*StandardImageCaptionBlock) Validate

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

Validate validates this standard image caption block

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

func (*StandardImageSidebarModule) Validate

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

Validate validates this standard image sidebar module

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

func (*StandardImageTextBlock) Validate

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

Validate validates this standard image text block

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

func (*StandardImageTextCaptionBlock) Validate

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

Validate validates this standard image text caption block

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

func (*StandardImageTextOverlayModule) Validate

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

Validate validates this standard image text overlay module

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

func (*StandardMultipleImageTextModule) Validate

Validate validates this standard multiple image text module

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

func (*StandardProductDescriptionModule) Validate

Validate validates this standard product description module

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

func (*StandardSingleImageHighlightsModule) Validate

Validate validates this standard single image highlights module

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

func (*StandardSingleImageSpecsDetailModule) Validate

Validate validates this standard single image specs detail module

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

func (*StandardSingleSideImageModule) Validate

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

Validate validates this standard single side image module

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

func (*StandardTechSpecsModule) Validate

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

Validate validates this standard tech specs module

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

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

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

func (*StandardTextBlock) Validate

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

Validate validates this standard text block

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

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

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

func (*StandardTextListBlock) Validate

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

Validate validates this standard text list block

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

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

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

func (*StandardTextModule) Validate

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

Validate validates this standard text module

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

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

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

func (*StandardTextPairBlock) Validate

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

Validate validates this standard text pair block

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

func (*StandardThreeImageTextModule) Validate

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

Validate validates this standard three image text module

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

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

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

func (*TextComponent) Validate

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

Validate validates this text component

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

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

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

func (*TextItem) MarshalBinary

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

MarshalBinary interface implementation

func (*TextItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TextItem) Validate

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

Validate validates this text item

type ValidateContentDocumentAsinRelationsResponse

type ValidateContentDocumentAsinRelationsResponse struct {
	AplusResponse

	ErrorList
}

ValidateContentDocumentAsinRelationsResponse validate content document asin relations response

swagger:model ValidateContentDocumentAsinRelationsResponse

func (*ValidateContentDocumentAsinRelationsResponse) ContextValidate

ContextValidate validate this validate content document asin relations response based on the context it is used

func (*ValidateContentDocumentAsinRelationsResponse) MarshalBinary

MarshalBinary interface implementation

func (ValidateContentDocumentAsinRelationsResponse) MarshalJSON

MarshalJSON marshals this object to a JSON structure

func (*ValidateContentDocumentAsinRelationsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ValidateContentDocumentAsinRelationsResponse) UnmarshalJSON

UnmarshalJSON unmarshals this object from a JSON structure

func (*ValidateContentDocumentAsinRelationsResponse) Validate

Validate validates this validate content document asin relations response

Source Files

Jump to

Keyboard shortcuts

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