Git Product home page Git Product logo

Comments (6)

Swastik-Chakravorty avatar Swastik-Chakravorty commented on May 22, 2024

I want to contribute, to add empty constructors to DTOs. But please suggest me which DTO classes are where can I find those. This will be my first contribution if you kindly help.

from java.

lreto avatar lreto commented on May 22, 2024

The following classes caused troubles in our case:

  • src/main/java/com/pubnub/api/models/SubscriptionItem.java
  • src/main/java/com/pubnub/api/models/consumer/PNBoundedPage.java
  • src/main/java/com/pubnub/api/models/consumer/PNErrorData.java
  • src/main/java/com/pubnub/api/models/consumer/PNPage.java
  • src/main/java/com/pubnub/api/models/consumer/PNPublishResult.java
  • src/main/java/com/pubnub/api/models/consumer/PNStatus.java
  • src/main/java/com/pubnub/api/models/consumer/PNTimeResult.java
  • src/main/java/com/pubnub/api/models/consumer/access_manager/PNAccessManagerGrantResult.java
  • src/main/java/com/pubnub/api/models/consumer/access_manager/PNAccessManagerKeyData.java
  • src/main/java/com/pubnub/api/models/consumer/access_manager/PNAccessManagerKeysData.java
  • src/main/java/com/pubnub/api/models/consumer/access_manager/sum/SpacePermissions.java
  • src/main/java/com/pubnub/api/models/consumer/access_manager/v3/PNGrantTokenResult.java
  • src/main/java/com/pubnub/api/models/server/DeleteMessagesEnvelope.java
  • src/main/java/com/pubnub/api/models/server/Envelope.java
  • src/main/java/com/pubnub/api/models/server/FetchMessagesEnvelope.java
  • src/main/java/com/pubnub/api/models/server/OriginationMetaData.java
  • src/main/java/com/pubnub/api/models/server/PresenceEnvelope.java
  • src/main/java/com/pubnub/api/models/server/PublishMetaData.java
  • src/main/java/com/pubnub/api/models/server/SubscribeEnvelope.java
  • src/main/java/com/pubnub/api/models/server/SubscribeMessage.java
  • src/main/java/com/pubnub/api/models/server/SubscribeMetadata.java
  • src/main/java/com/pubnub/api/models/server/presence/WhereNowPayload.java

from java.

Swastik-Chakravorty avatar Swastik-Chakravorty commented on May 22, 2024

Do you mean to do this only in all files?

public class SubscriptionItem {

private String name;
private Object state;    

public SubscriptionItem();

}

from java.

lreto avatar lreto commented on May 22, 2024

It would also be possible to do this with a Lombok annotation. This would look something like this

@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SubscribeMessage {

@AllArgsConstructor is needed for the @Builder I think.

from java.

kleewho avatar kleewho commented on May 22, 2024

Thank you all. We will look into it

from java.

r1shhh1 avatar r1shhh1 commented on May 22, 2024

Is this issue still open? I would like to work on this if it is.

from java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.