Skip to content

Commit

Permalink
Merge pull request #514 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude authored Nov 8, 2023
2 parents ca21932 + dda2837 commit 9fe5e4e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions api-java-mixin.raml
Original file line number Diff line number Diff line change
Expand Up @@ -1399,10 +1399,10 @@ types:
MessageDeliveryPayload:
(java-extends): MessageDeliveryPayloadMixin
(java-impl-mixin): |
private MessagePayload messagePayload;
private com.commercetools.api.models.message.MessagePayload messagePayload;
@Override
public MessagePayload getMessagePayload() {
public com.commercetools.api.models.message.MessagePayload getMessagePayload() {
return messagePayload;
}
MessagePayload:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import javax.annotation.Nullable;
import javax.validation.constraints.NotNull;

import com.commercetools.api.models.subscription.MessagePayloadMixin;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.annotation.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import java.time.*;
import java.util.*;

import com.commercetools.api.models.message.MessagePayload;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -43,13 +42,6 @@ public class MessageDeliveryPayloadImpl implements MessageDeliveryPayload, Model

private com.commercetools.api.models.subscription.PayloadNotIncluded payloadNotIncluded;

private MessagePayload messagePayload;

@Override
public MessagePayload getMessagePayload() {
return messagePayload;
}

/**
* create instance with all properties
*/
Expand Down Expand Up @@ -264,4 +256,11 @@ public int hashCode() {
.toHashCode();
}

private com.commercetools.api.models.message.MessagePayload messagePayload;

@Override
public com.commercetools.api.models.message.MessagePayload getMessagePayload() {
return messagePayload;
}

}
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

package com.commercetools.api.models.subscription;

import com.commercetools.api.models.message.MessagePayload;
package com.commercetools.api.models.message;

public interface MessagePayloadMixin {
@SuppressWarnings("unchecked")
Expand Down
1 change: 1 addition & 0 deletions reference.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d2562db7ad2b2897ed593129939a767356606f31
2 changes: 2 additions & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,5 @@ c17d9815d8163758428e4d795d226da174d04a2f
a384c593b1d1c14c2f8d601afbe1b588521b860e
7942537a940b53819589e48a59e059ff708d5698
9401eca18a12c325fc8470a2a1996683a7c99b33
7b77469463c577a7ac4a7c1f8949d5a6398d5415
7b77469463c577a7ac4a7c1f8949d5a6398d5415

0 comments on commit 9fe5e4e

Please sign in to comment.