-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Greengrass V2 IPC models #290
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! The only minor thing I noticed is on this PR there are some fields marked deprecated. I do not remember seeing them on the other PRs, but maybe I missed it? Regardless, this one looks good to go.
@Expose( | ||
serialize = true, | ||
deserialize = true | ||
) | ||
@Deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be deprecated? I didn't noticed deprecation warnings on the other PRs (though maybe I missed it?)
private Optional<String> topicName; | ||
|
||
public SubscribeToTopicResponse() { | ||
this.topicName = Optional.empty(); | ||
} | ||
|
||
@Deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be deprecated? I didn't noticed deprecation warnings on the other PRs (though maybe I missed it?)
public String getTopicName() { | ||
if (topicName.isPresent()) { | ||
return topicName.get(); | ||
} | ||
return null; | ||
} | ||
|
||
@Deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be deprecated? I didn't noticed deprecation warnings on the other PRs (though maybe I missed it?)
public void setTopicName(final String topicName) { | ||
this.topicName = Optional.ofNullable(topicName); | ||
} | ||
|
||
@Deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be deprecated? I didn't noticed deprecation warnings on the other PRs (though maybe I missed it?)
Thank you for the changes! Merging into |
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.