Class Asset
java.lang.Object
com.commercetools.graphql.api.types.Asset
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAsset()Asset(String id, String key, List<AssetSource> sources, String name, List<LocalizedString> nameAllLocales, String description, List<LocalizedString> descriptionAllLocales, List<String> tags, CustomFieldsType custom) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getKey()getName()getTags()inthashCode()static Asset.BuildervoidsetCustom(CustomFieldsType custom) voidsetDescription(String description) voidsetDescriptionAllLocales(List<LocalizedString> descriptionAllLocales) voidvoidvoidvoidsetNameAllLocales(List<LocalizedString> nameAllLocales) voidsetSources(List<AssetSource> sources) voidtoString()
-
Constructor Details
-
Asset
public Asset() -
Asset
public Asset(String id, String key, List<AssetSource> sources, String name, List<LocalizedString> nameAllLocales, String description, List<LocalizedString> descriptionAllLocales, List<String> tags, CustomFieldsType custom)
-
-
Method Details
-
getId
-
setId
-
getKey
-
setKey
-
getSources
-
setSources
-
getName
-
setName
-
getNameAllLocales
-
setNameAllLocales
-
getDescription
-
setDescription
-
getDescriptionAllLocales
-
setDescriptionAllLocales
-
getTags
-
setTags
-
getCustom
-
setCustom
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-