public class ProductVideoQuery extends AbstractQuery<ProductVideoQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
ProductVideoQuery |
addFragmentReference(Fragment<ProductVideoQuery> fragment)
Adds a
ProductVideoQuery fragment reference at the current position of the query. |
ProductVideoQuery |
addMediaGalleryInterfaceFragmentReference(Fragment<MediaGalleryInterfaceQuery> fragment)
Adds a
MediaGalleryInterfaceQuery fragment reference at the current position of the query. |
static Fragment<ProductVideoQuery> |
createFragment(String name,
ProductVideoQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
ProductVideoQuery |
disabled()
Whether the image is hidden from view.
|
ProductVideoQuery |
label()
The label of the product image or video.
|
ProductVideoQuery |
position()
The media item's position after it has been sorted.
|
ProductVideoQuery |
url()
The URL of the product image or video.
|
ProductVideoQuery |
videoContent(ProductMediaGalleryEntriesVideoContentQueryDefinition queryDef)
Contains a ProductMediaGalleryEntriesVideoContent object.
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic ProductVideoQuery disabled()
public ProductVideoQuery label()
public ProductVideoQuery position()
public ProductVideoQuery url()
public ProductVideoQuery videoContent(ProductMediaGalleryEntriesVideoContentQueryDefinition queryDef)
public static Fragment<ProductVideoQuery> createFragment(String name, ProductVideoQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public ProductVideoQuery addFragmentReference(Fragment<ProductVideoQuery> fragment)
ProductVideoQuery fragment reference at the current position of the query.
For example for a fragment named test, calling this method will add the
reference ...test in the query. For GraphQL types implementing an interface, there
will be some similar methods using the Query type of each implemented interface.fragment - The fragment to reference.public ProductVideoQuery addMediaGalleryInterfaceFragmentReference(Fragment<MediaGalleryInterfaceQuery> fragment)
MediaGalleryInterfaceQuery fragment reference at the current position of the query.
For example for a fragment named test, calling this method will add the
reference ...test in the query.fragment - The fragment to reference.Copyright © 2022 Adobe. All rights reserved.