1 /*
2  *  Make.org Core API
3  *  Copyright (C) 2021 Make.org
4  *
5  * This program is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU Affero General Public License as
7  *  published by the Free Software Foundation, either version 3 of the
8  *  License, or (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU Affero General Public License for more details.
14  *
15  *  You should have received a copy of the GNU Affero General Public License
16  *  along with this program.  If not, see <https://www.gnu.org/licenses/>.
17  *
18  */
19 
20 package org.make.api.operation
21 
22 import cats.data.NonEmptyList
23 import io.circe.Codec
24 import io.circe.generic.semiauto.deriveCodec
25 import io.swagger.annotations.ApiModelProperty
26 import org.make.api.question.SimpleQuestionWordingResponse
27 import org.make.core.technical.MultilingualType
28 import org.make.core.operation.indexed.IndexedOperationOfQuestion
29 import org.make.core.question.QuestionId
30 import org.make.core.reference.{Country, Language}
31 
32 import java.time.ZonedDateTime
33 import scala.annotation.meta.field
34 
35 final case class ModerationOperationOfQuestionInfosResponse(
36   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
37   questionId: QuestionId,
38   slug: String,
39   @(ApiModelProperty @field)(dataType = "org.make.api.question.SimpleQuestionWordingResponse", required = true)
40   wording: SimpleQuestionWordingResponse,
41   @(ApiModelProperty @field)(dataType = "list[string]", example = "FR", required = true)
42   countries: NonEmptyList[Country],
43   @(ApiModelProperty @field)(dataType = "string", example = "fr", required = true)
44   override val defaultLanguage: Language,
45   override val languages: NonEmptyList[Language],
46   startDate: ZonedDateTime,
47   endDate: ZonedDateTime,
48   totalProposalCount: Int,
49   proposalToModerateCount: Int,
50   hasTags: Boolean
51 ) extends MultilingualType
52 
53 object ModerationOperationOfQuestionInfosResponse {
54   def apply(
55     question: IndexedOperationOfQuestion,
56     proposalToModerateCount: Int,
57     totalProposalCount: Int,
58     hasTags: Boolean
59   ): ModerationOperationOfQuestionInfosResponse = {
60 
61     ModerationOperationOfQuestionInfosResponse(
62       questionId = question.questionId,
63       slug = question.slug,
64       wording = SimpleQuestionWordingResponse(
65         question.operationTitles.getTranslationUnsafe(question.defaultLanguage),
66         question.questions.getTranslationUnsafe(question.defaultLanguage)
67       ),
68       countries = question.countries,
69       defaultLanguage = question.defaultLanguage,
70       languages = question.languages,
71       startDate = question.startDate,
72       endDate = question.endDate,
73       totalProposalCount = totalProposalCount,
74       proposalToModerateCount = proposalToModerateCount,
75       hasTags = hasTags
76     )
77   }
78 
79   implicit val codec: Codec[ModerationOperationOfQuestionInfosResponse] = deriveCodec
80 }
Line Stmt Id Pos Tree Symbol Tests Code
61 30219 2336 - 2990 Apply org.make.api.operation.ModerationOperationOfQuestionInfosResponse.apply org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest ModerationOperationOfQuestionInfosResponse.apply(question.questionId, question.slug, org.make.api.question.SimpleQuestionWordingResponse.apply(question.operationTitles.getTranslationUnsafe(question.defaultLanguage), question.questions.getTranslationUnsafe(question.defaultLanguage)), question.countries, question.defaultLanguage, question.languages, question.startDate, question.endDate, totalProposalCount, proposalToModerateCount, hasTags)
62 30057 2399 - 2418 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.questionId org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest question.questionId
63 29327 2433 - 2446 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.slug org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest question.slug
64 30009 2464 - 2657 Apply org.make.api.question.SimpleQuestionWordingResponse.apply org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest org.make.api.question.SimpleQuestionWordingResponse.apply(question.operationTitles.getTranslationUnsafe(question.defaultLanguage), question.questions.getTranslationUnsafe(question.defaultLanguage))
65 28401 2549 - 2573 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.defaultLanguage org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest question.defaultLanguage
65 30216 2503 - 2574 Apply org.make.core.technical.Multilingual.getTranslationUnsafe org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest question.operationTitles.getTranslationUnsafe(question.defaultLanguage)
66 29448 2624 - 2648 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.defaultLanguage org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest question.defaultLanguage
66 28583 2584 - 2649 Apply org.make.core.technical.Multilingual.getTranslationUnsafe org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest question.questions.getTranslationUnsafe(question.defaultLanguage)
68 29605 2677 - 2695 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.countries org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest question.countries
69 28704 2721 - 2745 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.defaultLanguage org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest question.defaultLanguage
70 30149 2765 - 2783 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.languages org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest question.languages
71 29333 2803 - 2821 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.startDate org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest question.startDate
72 28495 2839 - 2855 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.endDate org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest question.endDate
79 29452 3070 - 3081 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]({ val inst$macro$48: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.operation.ModerationOperationOfQuestionInfosResponse] = { final class anon$lazy$macro$47 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$47 = { anon$lazy$macro$47.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.operation.ModerationOperationOfQuestionInfosResponse] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.operation.ModerationOperationOfQuestionInfosResponse, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.operation.ModerationOperationOfQuestionInfosResponse, (Symbol @@ String("questionId")) :: (Symbol @@ String("slug")) :: (Symbol @@ String("wording")) :: (Symbol @@ String("countries")) :: (Symbol @@ String("defaultLanguage")) :: (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil, org.make.core.question.QuestionId :: String :: org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.operation.ModerationOperationOfQuestionInfosResponse, (Symbol @@ String("questionId")) :: (Symbol @@ String("slug")) :: (Symbol @@ String("wording")) :: (Symbol @@ String("countries")) :: (Symbol @@ String("defaultLanguage")) :: (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil](::.apply[Symbol @@ String("questionId"), (Symbol @@ String("slug")) :: (Symbol @@ String("wording")) :: (Symbol @@ String("countries")) :: (Symbol @@ String("defaultLanguage")) :: (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], ::.apply[Symbol @@ String("slug"), (Symbol @@ String("wording")) :: (Symbol @@ String("countries")) :: (Symbol @@ String("defaultLanguage")) :: (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil.type](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")], ::.apply[Symbol @@ String("wording"), (Symbol @@ String("countries")) :: (Symbol @@ String("defaultLanguage")) :: (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil.type](scala.Symbol.apply("wording").asInstanceOf[Symbol @@ String("wording")], ::.apply[Symbol @@ String("countries"), (Symbol @@ String("defaultLanguage")) :: (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil.type](scala.Symbol.apply("countries").asInstanceOf[Symbol @@ String("countries")], ::.apply[Symbol @@ String("defaultLanguage"), (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil.type](scala.Symbol.apply("defaultLanguage").asInstanceOf[Symbol @@ String("defaultLanguage")], ::.apply[Symbol @@ String("languages"), (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil.type](scala.Symbol.apply("languages").asInstanceOf[Symbol @@ String("languages")], ::.apply[Symbol @@ String("startDate"), (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil.type](scala.Symbol.apply("startDate").asInstanceOf[Symbol @@ String("startDate")], ::.apply[Symbol @@ String("endDate"), (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil.type](scala.Symbol.apply("endDate").asInstanceOf[Symbol @@ String("endDate")], ::.apply[Symbol @@ String("totalProposalCount"), (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil.type](scala.Symbol.apply("totalProposalCount").asInstanceOf[Symbol @@ String("totalProposalCount")], ::.apply[Symbol @@ String("proposalToModerateCount"), (Symbol @@ String("hasTags")) :: shapeless.HNil.type](scala.Symbol.apply("proposalToModerateCount").asInstanceOf[Symbol @@ String("proposalToModerateCount")], ::.apply[Symbol @@ String("hasTags"), shapeless.HNil.type](scala.Symbol.apply("hasTags").asInstanceOf[Symbol @@ String("hasTags")], HNil)))))))))))), Generic.instance[org.make.api.operation.ModerationOperationOfQuestionInfosResponse, org.make.core.question.QuestionId :: String :: org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil](((x0$3: org.make.api.operation.ModerationOperationOfQuestionInfosResponse) => x0$3 match { case (questionId: org.make.core.question.QuestionId, slug: String, wording: org.make.api.question.SimpleQuestionWordingResponse, countries: cats.data.NonEmptyList[org.make.core.reference.Country], defaultLanguage: org.make.core.reference.Language, languages: cats.data.NonEmptyList[org.make.core.reference.Language], startDate: java.time.ZonedDateTime, endDate: java.time.ZonedDateTime, totalProposalCount: Int, proposalToModerateCount: Int, hasTags: Boolean): org.make.api.operation.ModerationOperationOfQuestionInfosResponse((questionId$macro$35 @ _), (slug$macro$36 @ _), (wording$macro$37 @ _), (countries$macro$38 @ _), (defaultLanguage$macro$39 @ _), (languages$macro$40 @ _), (startDate$macro$41 @ _), (endDate$macro$42 @ _), (totalProposalCount$macro$43 @ _), (proposalToModerateCount$macro$44 @ _), (hasTags$macro$45 @ _)) => ::.apply[org.make.core.question.QuestionId, String :: org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil.type](questionId$macro$35, ::.apply[String, org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil.type](slug$macro$36, ::.apply[org.make.api.question.SimpleQuestionWordingResponse, cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil.type](wording$macro$37, ::.apply[cats.data.NonEmptyList[org.make.core.reference.Country], org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil.type](countries$macro$38, ::.apply[org.make.core.reference.Language, cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil.type](defaultLanguage$macro$39, ::.apply[cats.data.NonEmptyList[org.make.core.reference.Language], java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil.type](languages$macro$40, ::.apply[java.time.ZonedDateTime, java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil.type](startDate$macro$41, ::.apply[java.time.ZonedDateTime, Int :: Int :: Boolean :: shapeless.HNil.type](endDate$macro$42, ::.apply[Int, Int :: Boolean :: shapeless.HNil.type](totalProposalCount$macro$43, ::.apply[Int, Boolean :: shapeless.HNil.type](proposalToModerateCount$macro$44, ::.apply[Boolean, shapeless.HNil.type](hasTags$macro$45, HNil))))))))))).asInstanceOf[org.make.core.question.QuestionId :: String :: org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil] }), ((x0$4: org.make.core.question.QuestionId :: String :: org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil) => x0$4 match { case (head: org.make.core.question.QuestionId, tail: String :: org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil): org.make.core.question.QuestionId :: String :: org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil((questionId$macro$24 @ _), (head: String, tail: org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil): String :: org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil((slug$macro$25 @ _), (head: org.make.api.question.SimpleQuestionWordingResponse, tail: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil): org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil((wording$macro$26 @ _), (head: cats.data.NonEmptyList[org.make.core.reference.Country], tail: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil): cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil((countries$macro$27 @ _), (head: org.make.core.reference.Language, tail: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil): org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil((defaultLanguage$macro$28 @ _), (head: cats.data.NonEmptyList[org.make.core.reference.Language], tail: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil): cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil((languages$macro$29 @ _), (head: java.time.ZonedDateTime, tail: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil): java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil((startDate$macro$30 @ _), (head: java.time.ZonedDateTime, tail: Int :: Int :: Boolean :: shapeless.HNil): java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil((endDate$macro$31 @ _), (head: Int, tail: Int :: Boolean :: shapeless.HNil): Int :: Int :: Boolean :: shapeless.HNil((totalProposalCount$macro$32 @ _), (head: Int, tail: Boolean :: shapeless.HNil): Int :: Boolean :: shapeless.HNil((proposalToModerateCount$macro$33 @ _), (head: Boolean, tail: shapeless.HNil): Boolean :: shapeless.HNil((hasTags$macro$34 @ _), HNil))))))))))) => operation.this.ModerationOperationOfQuestionInfosResponse.apply(questionId$macro$24, slug$macro$25, wording$macro$26, countries$macro$27, defaultLanguage$macro$28, languages$macro$29, startDate$macro$30, endDate$macro$31, totalProposalCount$macro$32, proposalToModerateCount$macro$33, hasTags$macro$34) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), org.make.core.question.QuestionId, (Symbol @@ String("slug")) :: (Symbol @@ String("wording")) :: (Symbol @@ String("countries")) :: (Symbol @@ String("defaultLanguage")) :: (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil, String :: org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("slug"), String, (Symbol @@ String("wording")) :: (Symbol @@ String("countries")) :: (Symbol @@ String("defaultLanguage")) :: (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil, org.make.api.question.SimpleQuestionWordingResponse :: cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("wording"), org.make.api.question.SimpleQuestionWordingResponse, (Symbol @@ String("countries")) :: (Symbol @@ String("defaultLanguage")) :: (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil, cats.data.NonEmptyList[org.make.core.reference.Country] :: org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("countries"), cats.data.NonEmptyList[org.make.core.reference.Country], (Symbol @@ String("defaultLanguage")) :: (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil, org.make.core.reference.Language :: cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("defaultLanguage"), org.make.core.reference.Language, (Symbol @@ String("languages")) :: (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil, cats.data.NonEmptyList[org.make.core.reference.Language] :: java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("languages"), cats.data.NonEmptyList[org.make.core.reference.Language], (Symbol @@ String("startDate")) :: (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil, java.time.ZonedDateTime :: java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("startDate"), java.time.ZonedDateTime, (Symbol @@ String("endDate")) :: (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil, java.time.ZonedDateTime :: Int :: Int :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("endDate"), java.time.ZonedDateTime, (Symbol @@ String("totalProposalCount")) :: (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil, Int :: Int :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("totalProposalCount"), Int, (Symbol @@ String("proposalToModerateCount")) :: (Symbol @@ String("hasTags")) :: shapeless.HNil, Int :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("proposalToModerateCount"), Int, (Symbol @@ String("hasTags")) :: shapeless.HNil, Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("hasTags"), Boolean, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("hasTags")]](scala.Symbol.apply("hasTags").asInstanceOf[Symbol @@ String("hasTags")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("hasTags")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("proposalToModerateCount")]](scala.Symbol.apply("proposalToModerateCount").asInstanceOf[Symbol @@ String("proposalToModerateCount")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("proposalToModerateCount")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("totalProposalCount")]](scala.Symbol.apply("totalProposalCount").asInstanceOf[Symbol @@ String("totalProposalCount")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("totalProposalCount")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("endDate")]](scala.Symbol.apply("endDate").asInstanceOf[Symbol @@ String("endDate")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("endDate")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("startDate")]](scala.Symbol.apply("startDate").asInstanceOf[Symbol @@ String("startDate")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("startDate")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("languages")]](scala.Symbol.apply("languages").asInstanceOf[Symbol @@ String("languages")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("languages")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("defaultLanguage")]](scala.Symbol.apply("defaultLanguage").asInstanceOf[Symbol @@ String("defaultLanguage")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("defaultLanguage")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("countries")]](scala.Symbol.apply("countries").asInstanceOf[Symbol @@ String("countries")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("countries")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("wording")]](scala.Symbol.apply("wording").asInstanceOf[Symbol @@ String("wording")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("wording")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("slug")]](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("slug")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$47.this.inst$macro$46)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]]; <stable> <accessor> lazy val inst$macro$46: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForquestionId: io.circe.Decoder[org.make.core.question.QuestionId] = question.this.QuestionId.QuestionIdDecoder; private[this] val circeGenericDecoderForslug: io.circe.Decoder[String] = circe.this.Decoder.decodeString; private[this] val circeGenericDecoderForwording: io.circe.Codec[org.make.api.question.SimpleQuestionWordingResponse] = question.this.SimpleQuestionWordingResponse.codec; private[this] val circeGenericDecoderForcountries: io.circe.Decoder[cats.data.NonEmptyList[org.make.core.reference.Country]] = circe.this.Decoder.decodeNonEmptyList[org.make.core.reference.Country](reference.this.Country.countryDecoder); private[this] val circeGenericDecoderFordefaultLanguage: io.circe.Decoder[org.make.core.reference.Language] = reference.this.Language.LanguageDecoder; private[this] val circeGenericDecoderForlanguages: io.circe.Decoder[cats.data.NonEmptyList[org.make.core.reference.Language]] = circe.this.Decoder.decodeNonEmptyList[org.make.core.reference.Language](reference.this.Language.LanguageDecoder); private[this] val circeGenericDecoderForendDate: io.circe.Decoder[java.time.ZonedDateTime] = circe.this.Decoder.decodeZonedDateTime; private[this] val circeGenericDecoderForproposalToModerateCount: io.circe.Decoder[Int] = circe.this.Decoder.decodeInt; private[this] val circeGenericDecoderForhasTags: io.circe.Decoder[Boolean] = circe.this.Decoder.decodeBoolean; private[this] val circeGenericEncoderForquestionId: io.circe.Encoder[org.make.core.question.QuestionId] = question.this.QuestionId.QuestionIdEncoder; private[this] val circeGenericEncoderForslug: io.circe.Encoder[String] = circe.this.Encoder.encodeString; private[this] val circeGenericEncoderForwording: io.circe.Codec[org.make.api.question.SimpleQuestionWordingResponse] = question.this.SimpleQuestionWordingResponse.codec; private[this] val circeGenericEncoderForcountries: io.circe.Encoder.AsArray[cats.data.NonEmptyList[org.make.core.reference.Country]] = circe.this.Encoder.encodeNonEmptyList[org.make.core.reference.Country](reference.this.Country.countryEncoder); private[this] val circeGenericEncoderFordefaultLanguage: io.circe.Encoder[org.make.core.reference.Language] = reference.this.Language.LanguageEncoder; private[this] val circeGenericEncoderForlanguages: io.circe.Encoder.AsArray[cats.data.NonEmptyList[org.make.core.reference.Language]] = circe.this.Encoder.encodeNonEmptyList[org.make.core.reference.Language](reference.this.Language.LanguageEncoder); private[this] val circeGenericEncoderForendDate: io.circe.Encoder[java.time.ZonedDateTime] = circe.this.Encoder.encodeZonedDateTime; private[this] val circeGenericEncoderForproposalToModerateCount: io.circe.Encoder[Int] = circe.this.Encoder.encodeInt; private[this] val circeGenericEncoderForhasTags: io.circe.Encoder[Boolean] = circe.this.Encoder.encodeBoolean; final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId], tail: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestionId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("slug"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForslug @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse], tail: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForwording @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]], tail: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcountries @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language], tail: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFordefaultLanguage @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]], tail: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForlanguages @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime], tail: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForstartDate @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime], tail: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForendDate @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int], tail: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFortotalProposalCount @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int], tail: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForproposalToModerateCount @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForhasTags @ _), shapeless.HNil))))))))))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("questionId", $anon.this.circeGenericEncoderForquestionId.apply(circeGenericHListBindingForquestionId)), scala.Tuple2.apply[String, io.circe.Json]("slug", $anon.this.circeGenericEncoderForslug.apply(circeGenericHListBindingForslug)), scala.Tuple2.apply[String, io.circe.Json]("wording", $anon.this.circeGenericEncoderForwording.apply(circeGenericHListBindingForwording)), scala.Tuple2.apply[String, io.circe.Json]("countries", $anon.this.circeGenericEncoderForcountries.apply(circeGenericHListBindingForcountries)), scala.Tuple2.apply[String, io.circe.Json]("defaultLanguage", $anon.this.circeGenericEncoderFordefaultLanguage.apply(circeGenericHListBindingFordefaultLanguage)), scala.Tuple2.apply[String, io.circe.Json]("languages", $anon.this.circeGenericEncoderForlanguages.apply(circeGenericHListBindingForlanguages)), scala.Tuple2.apply[String, io.circe.Json]("startDate", $anon.this.circeGenericEncoderForendDate.apply(circeGenericHListBindingForstartDate)), scala.Tuple2.apply[String, io.circe.Json]("endDate", $anon.this.circeGenericEncoderForendDate.apply(circeGenericHListBindingForendDate)), scala.Tuple2.apply[String, io.circe.Json]("totalProposalCount", $anon.this.circeGenericEncoderForproposalToModerateCount.apply(circeGenericHListBindingFortotalProposalCount)), scala.Tuple2.apply[String, io.circe.Json]("proposalToModerateCount", $anon.this.circeGenericEncoderForproposalToModerateCount.apply(circeGenericHListBindingForproposalToModerateCount)), scala.Tuple2.apply[String, io.circe.Json]("hasTags", $anon.this.circeGenericEncoderForhasTags.apply(circeGenericHListBindingForhasTags)))) }; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecode(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("slug"), String, shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecode(c.downField("slug")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("wording"), org.make.api.question.SimpleQuestionWordingResponse, shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForwording.tryDecode(c.downField("wording")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("countries"), cats.data.NonEmptyList[org.make.core.reference.Country], shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountries.tryDecode(c.downField("countries")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("defaultLanguage"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFordefaultLanguage.tryDecode(c.downField("defaultLanguage")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("languages"), cats.data.NonEmptyList[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguages.tryDecode(c.downField("languages")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("startDate"), java.time.ZonedDateTime, shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForendDate.tryDecode(c.downField("startDate")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("endDate"), java.time.ZonedDateTime, shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForendDate.tryDecode(c.downField("endDate")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("totalProposalCount"), Int, shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForproposalToModerateCount.tryDecode(c.downField("totalProposalCount")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("proposalToModerateCount"), Int, shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForproposalToModerateCount.tryDecode(c.downField("proposalToModerateCount")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("hasTags"), Boolean, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForhasTags.tryDecode(c.downField("hasTags")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecodeAccumulating(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("slug"), String, shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecodeAccumulating(c.downField("slug")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("wording"), org.make.api.question.SimpleQuestionWordingResponse, shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForwording.tryDecodeAccumulating(c.downField("wording")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("countries"), cats.data.NonEmptyList[org.make.core.reference.Country], shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountries.tryDecodeAccumulating(c.downField("countries")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("defaultLanguage"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFordefaultLanguage.tryDecodeAccumulating(c.downField("defaultLanguage")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("languages"), cats.data.NonEmptyList[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguages.tryDecodeAccumulating(c.downField("languages")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("startDate"), java.time.ZonedDateTime, shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForendDate.tryDecodeAccumulating(c.downField("startDate")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("endDate"), java.time.ZonedDateTime, shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForendDate.tryDecodeAccumulating(c.downField("endDate")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("totalProposalCount"), Int, shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForproposalToModerateCount.tryDecodeAccumulating(c.downField("totalProposalCount")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("proposalToModerateCount"), Int, shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForproposalToModerateCount.tryDecodeAccumulating(c.downField("proposalToModerateCount")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("hasTags"), Boolean, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForhasTags.tryDecodeAccumulating(c.downField("hasTags")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),String] :: shapeless.labelled.FieldType[Symbol @@ String("wording"),org.make.api.question.SimpleQuestionWordingResponse] :: shapeless.labelled.FieldType[Symbol @@ String("countries"),cats.data.NonEmptyList[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("defaultLanguage"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("languages"),cats.data.NonEmptyList[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("startDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("endDate"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("totalProposalCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("proposalToModerateCount"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("hasTags"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$47().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]](inst$macro$48) })