use of com.graphql_java_generator.samples.forum.client.graphql.forum.client.TopicPostInput in project graphql-maven-plugin-project by graphql-java-generator.
the class AbstractIT method getTopicPostInput.
private TopicPostInput getTopicPostInput(Member author, String content, Date date, boolean publiclyAvailable, String title) {
TopicPostInput input = new TopicPostInput();
input.setAuthorId(author.getId());
input.setContent(content);
input.setDate(date);
input.setPubliclyAvailable(publiclyAvailable);
input.setTitle(title);
return input;
}
use of com.graphql_java_generator.samples.forum.client.graphql.forum.client.TopicPostInput in project graphql-maven-plugin-project by graphql-java-generator.
the class SubscriptionRequests method getTopicPostInput.
private TopicPostInput getTopicPostInput(Member author, String content, Date date, boolean publiclyAvailable, String title) {
TopicPostInput input = new TopicPostInput();
input.setAuthorId(author.getId());
input.setContent(content);
input.setDate(date);
input.setPubliclyAvailable(publiclyAvailable);
input.setTitle(title);
return input;
}
use of com.graphql_java_generator.samples.forum.client.graphql.forum.client.TopicPostInput in project graphql-maven-plugin-project by graphql-java-generator.
the class Queries method getTopicPostInput.
/**
* A utility method to create the TopicPostInput Type, from its values
*/
default TopicPostInput getTopicPostInput(Member author, Date date, boolean publiclyAvailable, String title, String content) {
TopicPostInput input = new TopicPostInput();
input.setAuthorId(author.getId());
input.setDate(date);
input.setPubliclyAvailable(publiclyAvailable);
input.setTitle(title);
input.setContent(content);
return input;
}
use of com.graphql_java_generator.samples.forum.client.graphql.forum.client.TopicPostInput in project graphql-maven-plugin-project by graphql-java-generator.
the class SubscriptionIT method getTopicPostInput.
private TopicPostInput getTopicPostInput(Member author, String content, Date date, boolean publiclyAvailable, String title) {
TopicPostInput input = new TopicPostInput();
input.setAuthorId(author.getId());
input.setContent(content);
input.setDate(date);
input.setPubliclyAvailable(publiclyAvailable);
input.setTitle(title);
return input;
}
use of com.graphql_java_generator.samples.forum.client.graphql.forum.client.TopicPostInput in project graphql-maven-plugin-project by graphql-java-generator.
the class SubscriptionNewTestIT method getTopicPostInput.
private TopicPostInput getTopicPostInput(Member author, String content, Date date, boolean publiclyAvailable, String title) {
TopicPostInput input = new TopicPostInput();
input.setAuthorId(author.getId());
input.setContent(content);
input.setDate(date);
input.setPubliclyAvailable(publiclyAvailable);
input.setTitle(title);
return input;
}
Aggregations