Search in sources :

Example 1 with TopicPostInput

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;
}
Also used : TopicPostInput(com.graphql_java_generator.samples.forum.client.graphql.forum.client.TopicPostInput)

Example 2 with TopicPostInput

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;
}
Also used : TopicPostInput(com.graphql_java_generator.samples.forum.client.graphql.forum.client.TopicPostInput)

Example 3 with TopicPostInput

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;
}
Also used : TopicPostInput(com.graphql_java_generator.samples.forum.client.graphql.forum.client.TopicPostInput)

Example 4 with TopicPostInput

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;
}
Also used : TopicPostInput(com.graphql_java_generator.samples.forum.client.graphql.forum.client.TopicPostInput)

Example 5 with TopicPostInput

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;
}
Also used : TopicPostInput(com.graphql_java_generator.samples.forum.client.graphql.forum.client.TopicPostInput)

Aggregations

TopicPostInput (com.graphql_java_generator.samples.forum.client.graphql.forum.client.TopicPostInput)5