Skip to content

Commit

Permalink
[DE-677] - Manual filename renaming due to not being handled by SDK a…
Browse files Browse the repository at this point in the history
…uto-generation
  • Loading branch information
patryk-grudzien-keen committed Feb 29, 2024
1 parent d5ba8c9 commit ba5643c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import com.maxio.advancedbilling.models.AllocateComponents;
import com.maxio.advancedbilling.models.AllocationPreviewResponse;
import com.maxio.advancedbilling.models.AllocationResponse;
import com.maxio.advancedbilling.models.BulkComponentSPricePointAssignment;
import com.maxio.advancedbilling.models.BulkComponentsPricePointAssignment;
import com.maxio.advancedbilling.models.CreateAllocationRequest;
import com.maxio.advancedbilling.models.CreateUsageRequest;
import com.maxio.advancedbilling.models.CreditSchemeRequest;
Expand Down Expand Up @@ -173,24 +173,24 @@ private ApiCall<List<SubscriptionComponentResponse>, ApiException> prepareListSu
* string, which will reset the price point to the component's current default price point.
* @param subscriptionId Required parameter: The Chargify id of the subscription
* @param body Optional parameter: Example:
* @return Returns the BulkComponentSPricePointAssignment response from the API call
* @return Returns the BulkComponentsPricePointAssignment response from the API call
* @throws ApiException Represents error response from the server.
* @throws IOException Signals that an I/O exception of some sort has occurred.
*/
public BulkComponentSPricePointAssignment bulkUpdateSubscriptionComponentsPricePoints(
public BulkComponentsPricePointAssignment bulkUpdateSubscriptionComponentsPricePoints(
final int subscriptionId,
final BulkComponentSPricePointAssignment body) throws ApiException, IOException {
final BulkComponentsPricePointAssignment body) throws ApiException, IOException {
return prepareBulkUpdateSubscriptionComponentsPricePointsRequest(subscriptionId,
body).execute();
}

/**
* Builds the ApiCall object for bulkUpdateSubscriptionComponentsPricePoints.
*/
private ApiCall<BulkComponentSPricePointAssignment, ApiException> prepareBulkUpdateSubscriptionComponentsPricePointsRequest(
private ApiCall<BulkComponentsPricePointAssignment, ApiException> prepareBulkUpdateSubscriptionComponentsPricePointsRequest(
final int subscriptionId,
final BulkComponentSPricePointAssignment body) throws JsonProcessingException, IOException {
return new ApiCall.Builder<BulkComponentSPricePointAssignment, ApiException>()
final BulkComponentsPricePointAssignment body) throws JsonProcessingException, IOException {
return new ApiCall.Builder<BulkComponentsPricePointAssignment, ApiException>()
.globalConfig(getGlobalConfiguration())
.requestBuilder(requestBuilder -> requestBuilder
.server(Server.ENUM_DEFAULT.value())
Expand All @@ -207,7 +207,7 @@ private ApiCall<BulkComponentSPricePointAssignment, ApiException> prepareBulkUpd
.httpMethod(HttpMethod.POST))
.responseHandler(responseHandler -> responseHandler
.deserializer(
response -> ApiHelper.deserialize(response, BulkComponentSPricePointAssignment.class))
response -> ApiHelper.deserialize(response, BulkComponentsPricePointAssignment.class))
.nullify404(false)
.localErrorCase("422",
ErrorCase.setTemplate("HTTP Response Not OK. Status code: {$statusCode}. Response: '{$response.body}'.",
Expand Down Expand Up @@ -1091,4 +1091,4 @@ private ApiCall<ListSubscriptionComponentsResponse, ApiException> prepareListSub
.arraySerializationFormat(ArraySerializationFormat.CSV))
.build();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@
import java.util.List;

/**
* This is a model class for BulkComponentSPricePointAssignment type.
* This is a model class for BulkComponentsPricePointAssignment type.
*/
public class BulkComponentSPricePointAssignment
public class BulkComponentsPricePointAssignment
extends BaseModel {
private List<ComponentSPricePointAssignment> components;

/**
* Default constructor.
*/
public BulkComponentSPricePointAssignment() {
public BulkComponentsPricePointAssignment() {
}

/**
* Initialization constructor.
* @param components List of ComponentSPricePointAssignment value for components.
*/
public BulkComponentSPricePointAssignment(
public BulkComponentsPricePointAssignment(
List<ComponentSPricePointAssignment> components) {
this.components = components;
}
Expand All @@ -54,19 +54,19 @@ public void setComponents(List<ComponentSPricePointAssignment> components) {
}

/**
* Converts this BulkComponentSPricePointAssignment into string format.
* Converts this BulkComponentsPricePointAssignment into string format.
* @return String representation of this class
*/
@Override
public String toString() {
return "BulkComponentSPricePointAssignment [" + "components=" + components
return "BulkComponentsPricePointAssignment [" + "components=" + components
+ ", additionalProperties=" + getAdditionalProperties() + "]";
}

/**
* Builds a new {@link BulkComponentSPricePointAssignment.Builder} object.
* Builds a new {@link BulkComponentsPricePointAssignment.Builder} object.
* Creates the instance with the state of the current model.
* @return a new {@link BulkComponentSPricePointAssignment.Builder} object
* @return a new {@link BulkComponentsPricePointAssignment.Builder} object
*/
public Builder toBuilder() {
Builder builder = new Builder()
Expand All @@ -75,7 +75,7 @@ public Builder toBuilder() {
}

/**
* Class to build instances of {@link BulkComponentSPricePointAssignment}.
* Class to build instances of {@link BulkComponentsPricePointAssignment}.
*/
public static class Builder {
private List<ComponentSPricePointAssignment> components;
Expand All @@ -93,11 +93,11 @@ public Builder components(List<ComponentSPricePointAssignment> components) {
}

/**
* Builds a new {@link BulkComponentSPricePointAssignment} object using the set fields.
* @return {@link BulkComponentSPricePointAssignment}
* Builds a new {@link BulkComponentsPricePointAssignment} object using the set fields.
* @return {@link BulkComponentsPricePointAssignment}
*/
public BulkComponentSPricePointAssignment build() {
return new BulkComponentSPricePointAssignment(components);
public BulkComponentsPricePointAssignment build() {
return new BulkComponentsPricePointAssignment(components);
}
}
}

0 comments on commit ba5643c

Please sign in to comment.