001 002package com.commercetools.api.client; 003 004import io.vrap.rmf.base.client.ApiHttpClient; 005import io.vrap.rmf.base.client.utils.Generated; 006 007@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") 008public class ByProjectKeyCustomObjectsByContainerByKeyRequestBuilder { 009 010 private final ApiHttpClient apiHttpClient; 011 private final String projectKey; 012 private final String container; 013 private final String key; 014 015 public ByProjectKeyCustomObjectsByContainerByKeyRequestBuilder(final ApiHttpClient apiHttpClient, 016 final String projectKey, final String container, final String key) { 017 this.apiHttpClient = apiHttpClient; 018 this.projectKey = projectKey; 019 this.container = container; 020 this.key = key; 021 } 022 023 public ByProjectKeyCustomObjectsByContainerByKeyGet get() { 024 return new ByProjectKeyCustomObjectsByContainerByKeyGet(apiHttpClient, projectKey, container, key); 025 } 026 027 public ByProjectKeyCustomObjectsByContainerByKeyDelete delete() { 028 return new ByProjectKeyCustomObjectsByContainerByKeyDelete(apiHttpClient, projectKey, container, key); 029 } 030 031 public <TValue> ByProjectKeyCustomObjectsByContainerByKeyDelete delete(TValue version) { 032 return delete().withVersion(version); 033 } 034 035}