Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Mation committed Nov 10, 2023
1 parent edffa6f commit 272b2c4
Show file tree
Hide file tree
Showing 77 changed files with 302 additions and 300 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import io.vrap.rmf.base.client.utils.Generated;

/**
* <p>ResourceIdentifier of an AssociateRole.</p>
* <p>ResourceIdentifier of an AssociateRole. Either <code>id</code> or <code>key</code> is required. If both are set, an InvalidJsonInput error is returned.</p>
*
* <hr>
* Example to create an instance using the builder pattern
Expand All @@ -36,30 +36,30 @@ public interface AssociateRoleResourceIdentifier
String ASSOCIATE_ROLE = "associate-role";

/**
* <p>Unique identifier of the referenced AssociateRole. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced AssociateRole. Required if <code>key</code> is absent.</p>
* @return id
*/

@JsonProperty("id")
public String getId();

/**
* <p>Unique key of the referenced AssociateRole. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique key of the referenced AssociateRole. Required if <code>id</code> is absent.</p>
* @return key
*/

@JsonProperty("key")
public String getKey();

/**
* <p>Unique identifier of the referenced AssociateRole. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced AssociateRole. Required if <code>key</code> is absent.</p>
* @param id value to be set
*/

public void setId(final String id);

/**
* <p>Unique key of the referenced AssociateRole. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique key of the referenced AssociateRole. Required if <code>id</code> is absent.</p>
* @param key value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class AssociateRoleResourceIdentifierBuilder implements Builder<Associate
private String key;

/**
* <p>Unique identifier of the referenced AssociateRole. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced AssociateRole. Required if <code>key</code> is absent.</p>
* @param id value to be set
* @return Builder
*/
Expand All @@ -40,7 +40,7 @@ public AssociateRoleResourceIdentifierBuilder id(@Nullable final String id) {
}

/**
* <p>Unique key of the referenced AssociateRole. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique key of the referenced AssociateRole. Required if <code>id</code> is absent.</p>
* @param key value to be set
* @return Builder
*/
Expand All @@ -51,7 +51,7 @@ public AssociateRoleResourceIdentifierBuilder key(@Nullable final String key) {
}

/**
* <p>Unique identifier of the referenced AssociateRole. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced AssociateRole. Required if <code>key</code> is absent.</p>
* @return id
*/

Expand All @@ -61,7 +61,7 @@ public String getId() {
}

/**
* <p>Unique key of the referenced AssociateRole. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique key of the referenced AssociateRole. Required if <code>id</code> is absent.</p>
* @return key
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>ResourceIdentifier of an AssociateRole.</p>
* <p>ResourceIdentifier of an AssociateRole. Either <code>id</code> or <code>key</code> is required. If both are set, an InvalidJsonInput error is returned.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class AssociateRoleResourceIdentifierImpl implements AssociateRoleResourceIdentifier, ModelBase {
Expand Down Expand Up @@ -53,15 +53,15 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() {
}

/**
* <p>Unique identifier of the referenced AssociateRole. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced AssociateRole. Required if <code>key</code> is absent.</p>
*/

public String getId() {
return this.id;
}

/**
* <p>Unique key of the referenced AssociateRole. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique key of the referenced AssociateRole. Required if <code>id</code> is absent.</p>
*/

public String getKey() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import io.vrap.rmf.base.client.utils.Generated;

/**
* <p>ResourceIdentifier to an AttributeGroup.</p>
* <p>ResourceIdentifier to an AttributeGroup. Either <code>id</code> or <code>key</code> is required. If both are set, an InvalidJsonInput error is returned.</p>
*
* <hr>
* Example to create an instance using the builder pattern
Expand All @@ -36,30 +36,30 @@ public interface AttributeGroupResourceIdentifier
String ATTRIBUTE_GROUP = "attribute-group";

/**
* <p>Platform-generated unique identifier of the referenced AttributeGroup. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Platform-generated unique identifier of the referenced AttributeGroup. Required if <code>key</code> is absent.</p>
* @return id
*/

@JsonProperty("id")
public String getId();

/**
* <p>User-generated unique identifier of the referenced AttributeGroup. Either <code>id</code> or <code>key</code> is required.</p>
* <p>User-generated unique identifier of the referenced AttributeGroup. Required if <code>id</code> is absent.</p>
* @return key
*/

@JsonProperty("key")
public String getKey();

/**
* <p>Platform-generated unique identifier of the referenced AttributeGroup. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Platform-generated unique identifier of the referenced AttributeGroup. Required if <code>key</code> is absent.</p>
* @param id value to be set
*/

public void setId(final String id);

/**
* <p>User-generated unique identifier of the referenced AttributeGroup. Either <code>id</code> or <code>key</code> is required.</p>
* <p>User-generated unique identifier of the referenced AttributeGroup. Required if <code>id</code> is absent.</p>
* @param key value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class AttributeGroupResourceIdentifierBuilder implements Builder<Attribut
private String key;

/**
* <p>Platform-generated unique identifier of the referenced AttributeGroup. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Platform-generated unique identifier of the referenced AttributeGroup. Required if <code>key</code> is absent.</p>
* @param id value to be set
* @return Builder
*/
Expand All @@ -40,7 +40,7 @@ public AttributeGroupResourceIdentifierBuilder id(@Nullable final String id) {
}

/**
* <p>User-generated unique identifier of the referenced AttributeGroup. Either <code>id</code> or <code>key</code> is required.</p>
* <p>User-generated unique identifier of the referenced AttributeGroup. Required if <code>id</code> is absent.</p>
* @param key value to be set
* @return Builder
*/
Expand All @@ -51,7 +51,7 @@ public AttributeGroupResourceIdentifierBuilder key(@Nullable final String key) {
}

/**
* <p>Platform-generated unique identifier of the referenced AttributeGroup. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Platform-generated unique identifier of the referenced AttributeGroup. Required if <code>key</code> is absent.</p>
* @return id
*/

Expand All @@ -61,7 +61,7 @@ public String getId() {
}

/**
* <p>User-generated unique identifier of the referenced AttributeGroup. Either <code>id</code> or <code>key</code> is required.</p>
* <p>User-generated unique identifier of the referenced AttributeGroup. Required if <code>id</code> is absent.</p>
* @return key
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>ResourceIdentifier to an AttributeGroup.</p>
* <p>ResourceIdentifier to an AttributeGroup. Either <code>id</code> or <code>key</code> is required. If both are set, an InvalidJsonInput error is returned.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class AttributeGroupResourceIdentifierImpl implements AttributeGroupResourceIdentifier, ModelBase {
Expand Down Expand Up @@ -53,15 +53,15 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() {
}

/**
* <p>Platform-generated unique identifier of the referenced AttributeGroup. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Platform-generated unique identifier of the referenced AttributeGroup. Required if <code>key</code> is absent.</p>
*/

public String getId() {
return this.id;
}

/**
* <p>User-generated unique identifier of the referenced AttributeGroup. Either <code>id</code> or <code>key</code> is required.</p>
* <p>User-generated unique identifier of the referenced AttributeGroup. Required if <code>id</code> is absent.</p>
*/

public String getKey() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import io.vrap.rmf.base.client.utils.Generated;

/**
* <p>ResourceIdentifier to a BusinessUnit.</p>
* <p>ResourceIdentifier to a BusinessUnit. Either <code>id</code> or <code>key</code> is required. If both are set, an InvalidJsonInput error is returned.</p>
*
* <hr>
* Example to create an instance using the builder pattern
Expand All @@ -36,30 +36,30 @@ public interface BusinessUnitResourceIdentifier
String BUSINESS_UNIT = "business-unit";

/**
* <p>Unique identifier of the referenced BusinessUnit. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced BusinessUnit. Required if <code>key</code> is absent.</p>
* @return id
*/

@JsonProperty("id")
public String getId();

/**
* <p>Unique key of the referenced BusinessUnit. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique key of the referenced BusinessUnit. Required if <code>id</code> is absent.</p>
* @return key
*/

@JsonProperty("key")
public String getKey();

/**
* <p>Unique identifier of the referenced BusinessUnit. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced BusinessUnit. Required if <code>key</code> is absent.</p>
* @param id value to be set
*/

public void setId(final String id);

/**
* <p>Unique key of the referenced BusinessUnit. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique key of the referenced BusinessUnit. Required if <code>id</code> is absent.</p>
* @param key value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class BusinessUnitResourceIdentifierBuilder implements Builder<BusinessUn
private String key;

/**
* <p>Unique identifier of the referenced BusinessUnit. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced BusinessUnit. Required if <code>key</code> is absent.</p>
* @param id value to be set
* @return Builder
*/
Expand All @@ -40,7 +40,7 @@ public BusinessUnitResourceIdentifierBuilder id(@Nullable final String id) {
}

/**
* <p>Unique key of the referenced BusinessUnit. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique key of the referenced BusinessUnit. Required if <code>id</code> is absent.</p>
* @param key value to be set
* @return Builder
*/
Expand All @@ -51,7 +51,7 @@ public BusinessUnitResourceIdentifierBuilder key(@Nullable final String key) {
}

/**
* <p>Unique identifier of the referenced BusinessUnit. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced BusinessUnit. Required if <code>key</code> is absent.</p>
* @return id
*/

Expand All @@ -61,7 +61,7 @@ public String getId() {
}

/**
* <p>Unique key of the referenced BusinessUnit. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique key of the referenced BusinessUnit. Required if <code>id</code> is absent.</p>
* @return key
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>ResourceIdentifier to a BusinessUnit.</p>
* <p>ResourceIdentifier to a BusinessUnit. Either <code>id</code> or <code>key</code> is required. If both are set, an InvalidJsonInput error is returned.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class BusinessUnitResourceIdentifierImpl implements BusinessUnitResourceIdentifier, ModelBase {
Expand Down Expand Up @@ -53,15 +53,15 @@ public com.commercetools.api.models.common.ReferenceTypeId getTypeId() {
}

/**
* <p>Unique identifier of the referenced BusinessUnit. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced BusinessUnit. Required if <code>key</code> is absent.</p>
*/

public String getId() {
return this.id;
}

/**
* <p>Unique key of the referenced BusinessUnit. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique key of the referenced BusinessUnit. Required if <code>id</code> is absent.</p>
*/

public String getKey() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import io.vrap.rmf.base.client.utils.Generated;

/**
* <p>ResourceIdentifier to a Cart.</p>
* <p>ResourceIdentifier to a Cart. Either <code>id</code> or <code>key</code> is required. If both are set, an InvalidJsonInput error is returned.</p>
*
* <hr>
* Example to create an instance using the builder pattern
Expand All @@ -35,30 +35,30 @@ public interface CartResourceIdentifier extends ResourceIdentifier, com.commerce
String CART = "cart";

/**
* <p>Unique identifier of the referenced Cart. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced Cart. Required if <code>key</code> is absent.</p>
* @return id
*/

@JsonProperty("id")
public String getId();

/**
* <p>User-defined unique identifier of the referenced Cart. Either <code>id</code> or <code>key</code> is required.</p>
* <p>User-defined unique identifier of the referenced Cart. Required if <code>id</code> is absent.</p>
* @return key
*/

@JsonProperty("key")
public String getKey();

/**
* <p>Unique identifier of the referenced Cart. Either <code>id</code> or <code>key</code> is required.</p>
* <p>Unique identifier of the referenced Cart. Required if <code>key</code> is absent.</p>
* @param id value to be set
*/

public void setId(final String id);

/**
* <p>User-defined unique identifier of the referenced Cart. Either <code>id</code> or <code>key</code> is required.</p>
* <p>User-defined unique identifier of the referenced Cart. Required if <code>id</code> is absent.</p>
* @param key value to be set
*/

Expand Down
Loading

0 comments on commit 272b2c4

Please sign in to comment.