BaseAsset.fromBuilder constructor

BaseAsset.fromBuilder(
  1. GeneralAsset builder
)

Implementation

BaseAsset.fromBuilder(GeneralAsset builder)
    : cloudConfig = builder.getCloudConfig()!,
      urlConfig = builder.getUrlConfig()!,
      version = builder.getVersion(),
      publicId = builder.getPublicId(),
      extension = builder.getExtension(),
      urlSuffix = builder.getUrlSuffix(),
      assetType = builder.getAssetType() ?? defaultAssetType,
      deliveryType = builder.getDeliveryType(),
      signature = builder.getSignature(),
      transformation = builder.getTransformation(),
      analytics = builder.getAnalytics();