All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.models.AssetSource Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.models;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

import javax.annotation.Nullable;

/**
 * An AssetSource is a representation of an {@link Asset} in a specific format, e.g. a video in a certain encoding, or an image in a certain resolution.
 *
 * @see AssetSourceBuilder
 */
@JsonDeserialize(as = AssetSourceImpl.class)
public interface AssetSource {
    String getUri();

    @Nullable
    String getKey();

    @Nullable
    AssetDimensions getDimensions();

    @Nullable
    String getContentType();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy