Skip to content

Commit

Permalink
rename Dto classes with Dto in front. Update some dtos
Browse files Browse the repository at this point in the history
  • Loading branch information
coleji committed Nov 25, 2023
1 parent fc071b6 commit 9de42c6
Show file tree
Hide file tree
Showing 482 changed files with 925 additions and 11,114 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import play.api.libs.json.{JsValue, Json}
*/


case class MemberApCancelTeachInstancePostRequestDto (
case class DtoMemberApCancelTeachInstancePostRequest (
instanceId: Int,
)

object MemberApCancelTeachInstancePostRequestDto {
implicit val format = Json.format[MemberApCancelTeachInstancePostRequestDto]
def apply(v: JsValue): MemberApCancelTeachInstancePostRequestDto
= v.as[MemberApCancelTeachInstancePostRequestDto]
object DtoMemberApCancelTeachInstancePostRequest {
implicit val format = Json.format[DtoMemberApCancelTeachInstancePostRequest]
def apply(v: JsValue): DtoMemberApCancelTeachInstancePostRequest
= v.as[DtoMemberApCancelTeachInstancePostRequest]
}

Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ import play.api.libs.json.{JsValue, Json}
* Do not manually alter this file, or your changes will be lost
* !!!!!!!!!!!!
*/
case class MemberApClassInstancesInstructorInfoGetResponseSuccessDto (
case class DtoMemberApClassInstancesInstructorInfoGetResponseSuccess (
instanceId: Int,
instructorName: Option[String],
signupCt: Int,
signupMin: Option[Int],
signupMax: Option[Int],
)

object MemberApClassInstancesInstructorInfoGetResponseSuccessDto {
implicit val format = Json.format[MemberApClassInstancesInstructorInfoGetResponseSuccessDto]
def apply(v: JsValue): MemberApClassInstancesInstructorInfoGetResponseSuccessDto
= v.as[MemberApClassInstancesInstructorInfoGetResponseSuccessDto]
object DtoMemberApClassInstancesInstructorInfoGetResponseSuccess {
implicit val format = Json.format[DtoMemberApClassInstancesInstructorInfoGetResponseSuccess]
def apply(v: JsValue): DtoMemberApClassInstancesInstructorInfoGetResponseSuccess
= v.as[DtoMemberApClassInstancesInstructorInfoGetResponseSuccess]
}

Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import play.api.libs.json.{JsValue, Json}
*/


case class MemberApTeachInstancePostRequestDto (
case class DtoMemberApTeachInstancePostRequest (
instanceId: Int,
)

object MemberApTeachInstancePostRequestDto {
implicit val format = Json.format[MemberApTeachInstancePostRequestDto]
def apply(v: JsValue): MemberApTeachInstancePostRequestDto
= v.as[MemberApTeachInstancePostRequestDto]
object DtoMemberApTeachInstancePostRequest {
implicit val format = Json.format[DtoMemberApTeachInstancePostRequest]
def apply(v: JsValue): DtoMemberApTeachInstancePostRequest
= v.as[DtoMemberApTeachInstancePostRequest]
}

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import play.api.libs.json.{JsValue, Json}
* Do not manually alter this file, or your changes will be lost
* !!!!!!!!!!!!
*/
case class StaffDockhouseCreateSignoutPostResponseSuccessDto (
case class DtoStaffDockhouseCreateSignoutPostResponseSuccess (
signoutId: Int,
personId: Option[Int],
programId: Int,
Expand All @@ -21,47 +21,47 @@ case class StaffDockhouseCreateSignoutPostResponseSuccessDto (
testResult: Option[String],
isQueued: Boolean,
signoutDatetime: Option[String],
$$crew: List[StaffDockhouseCreateSignoutPostResponseSuccessDto_Crew],
$$tests: List[StaffDockhouseCreateSignoutPostResponseSuccessDto_Tests],
$$crew: List[DtoStaffDockhouseCreateSignoutPostResponseSuccess_Crew],
$$tests: List[DtoStaffDockhouseCreateSignoutPostResponseSuccess_Tests],
)

case class StaffDockhouseCreateSignoutPostResponseSuccessDto_Crew (
case class DtoStaffDockhouseCreateSignoutPostResponseSuccess_Crew (
signoutId: Int,
personId: Option[Int],
cardNum: Option[String],
startActive: Option[String],
)

object StaffDockhouseCreateSignoutPostResponseSuccessDto_Crew {
implicit val format = Json.format[StaffDockhouseCreateSignoutPostResponseSuccessDto_Crew]
def apply(v: JsValue): StaffDockhouseCreateSignoutPostResponseSuccessDto_Crew
= v.as[StaffDockhouseCreateSignoutPostResponseSuccessDto_Crew]
object DtoStaffDockhouseCreateSignoutPostResponseSuccess_Crew {
implicit val format = Json.format[DtoStaffDockhouseCreateSignoutPostResponseSuccess_Crew]
def apply(v: JsValue): DtoStaffDockhouseCreateSignoutPostResponseSuccess_Crew
= v.as[DtoStaffDockhouseCreateSignoutPostResponseSuccess_Crew]
}

case class StaffDockhouseCreateSignoutPostResponseSuccessDto_Tests (
case class DtoStaffDockhouseCreateSignoutPostResponseSuccess_Tests (
signoutId: Int,
personId: Int,
ratingId: Int,
)

object StaffDockhouseCreateSignoutPostResponseSuccessDto_Tests {
implicit val format = Json.format[StaffDockhouseCreateSignoutPostResponseSuccessDto_Tests]
def apply(v: JsValue): StaffDockhouseCreateSignoutPostResponseSuccessDto_Tests
= v.as[StaffDockhouseCreateSignoutPostResponseSuccessDto_Tests]
object DtoStaffDockhouseCreateSignoutPostResponseSuccess_Tests {
implicit val format = Json.format[DtoStaffDockhouseCreateSignoutPostResponseSuccess_Tests]
def apply(v: JsValue): DtoStaffDockhouseCreateSignoutPostResponseSuccess_Tests
= v.as[DtoStaffDockhouseCreateSignoutPostResponseSuccess_Tests]
}

object StaffDockhouseCreateSignoutPostResponseSuccessDto {
implicit val StaffDockhouseCreateSignoutPostResponseSuccessDto_CrewFormat
= StaffDockhouseCreateSignoutPostResponseSuccessDto_Crew.format
implicit val StaffDockhouseCreateSignoutPostResponseSuccessDto_TestsFormat
= StaffDockhouseCreateSignoutPostResponseSuccessDto_Tests.format
implicit val format = Json.format[StaffDockhouseCreateSignoutPostResponseSuccessDto]
def apply(v: JsValue): StaffDockhouseCreateSignoutPostResponseSuccessDto
= v.as[StaffDockhouseCreateSignoutPostResponseSuccessDto]
object DtoStaffDockhouseCreateSignoutPostResponseSuccess {
implicit val DtoStaffDockhouseCreateSignoutPostResponseSuccess_CrewFormat
= DtoStaffDockhouseCreateSignoutPostResponseSuccess_Crew.format
implicit val DtoStaffDockhouseCreateSignoutPostResponseSuccess_TestsFormat
= DtoStaffDockhouseCreateSignoutPostResponseSuccess_Tests.format
implicit val format = Json.format[DtoStaffDockhouseCreateSignoutPostResponseSuccess]
def apply(v: JsValue): DtoStaffDockhouseCreateSignoutPostResponseSuccess
= v.as[DtoStaffDockhouseCreateSignoutPostResponseSuccess]
}


case class StaffDockhouseCreateSignoutPostRequestDto (
case class DtoStaffDockhouseCreateSignoutPostRequest (
skipperPersonId: Int,
programId: Int,
skipperCardNumber: String,
Expand All @@ -73,26 +73,26 @@ case class StaffDockhouseCreateSignoutPostRequestDto (
isRacing: Boolean,
dockmasterOverride: Boolean,
didInformKayakRules: Boolean,
signoutCrew: List[StaffDockhouseCreateSignoutPostRequestDto_SignoutCrew],
signoutCrew: List[DtoStaffDockhouseCreateSignoutPostRequest_SignoutCrew],
)

case class StaffDockhouseCreateSignoutPostRequestDto_SignoutCrew (
case class DtoStaffDockhouseCreateSignoutPostRequest_SignoutCrew (
personId: Int,
cardNumber: String,
testRatingId: Option[Int],
)

object StaffDockhouseCreateSignoutPostRequestDto_SignoutCrew {
implicit val format = Json.format[StaffDockhouseCreateSignoutPostRequestDto_SignoutCrew]
def apply(v: JsValue): StaffDockhouseCreateSignoutPostRequestDto_SignoutCrew
= v.as[StaffDockhouseCreateSignoutPostRequestDto_SignoutCrew]
object DtoStaffDockhouseCreateSignoutPostRequest_SignoutCrew {
implicit val format = Json.format[DtoStaffDockhouseCreateSignoutPostRequest_SignoutCrew]
def apply(v: JsValue): DtoStaffDockhouseCreateSignoutPostRequest_SignoutCrew
= v.as[DtoStaffDockhouseCreateSignoutPostRequest_SignoutCrew]
}

object StaffDockhouseCreateSignoutPostRequestDto {
implicit val StaffDockhouseCreateSignoutPostRequestDto_SignoutCrewFormat
= StaffDockhouseCreateSignoutPostRequestDto_SignoutCrew.format
implicit val format = Json.format[StaffDockhouseCreateSignoutPostRequestDto]
def apply(v: JsValue): StaffDockhouseCreateSignoutPostRequestDto
= v.as[StaffDockhouseCreateSignoutPostRequestDto]
object DtoStaffDockhouseCreateSignoutPostRequest {
implicit val DtoStaffDockhouseCreateSignoutPostRequest_SignoutCrewFormat
= DtoStaffDockhouseCreateSignoutPostRequest_SignoutCrew.format
implicit val format = Json.format[DtoStaffDockhouseCreateSignoutPostRequest]
def apply(v: JsValue): DtoStaffDockhouseCreateSignoutPostRequest
= v.as[DtoStaffDockhouseCreateSignoutPostRequest]
}

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import play.api.libs.json.{JsValue, Json}
* Do not manually alter this file, or your changes will be lost
* !!!!!!!!!!!!
*/
case class StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto (
case class DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess (
signoutId: Int,
personId: Option[Int],
programId: Int,
Expand All @@ -21,51 +21,51 @@ case class StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto (
testResult: Option[String],
isQueued: Boolean,
signoutDatetime: Option[String],
$$crew: List[StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Crew],
$$tests: List[StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Tests],
$$crew: List[DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Crew],
$$tests: List[DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Tests],
)

case class StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Crew (
case class DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Crew (
signoutId: Int,
personId: Option[Int],
cardNum: Option[String],
startActive: Option[String],
)

object StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Crew {
implicit val format = Json.format[StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Crew]
def apply(v: JsValue): StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Crew
= v.as[StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Crew]
object DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Crew {
implicit val format = Json.format[DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Crew]
def apply(v: JsValue): DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Crew
= v.as[DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Crew]
}

case class StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Tests (
case class DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Tests (
signoutId: Int,
personId: Int,
ratingId: Int,
)

object StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Tests {
implicit val format = Json.format[StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Tests]
def apply(v: JsValue): StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Tests
= v.as[StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Tests]
object DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Tests {
implicit val format = Json.format[DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Tests]
def apply(v: JsValue): DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Tests
= v.as[DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Tests]
}

object StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto {
implicit val StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_CrewFormat
= StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Crew.format
implicit val StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_TestsFormat
= StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto_Tests.format
implicit val format = Json.format[StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto]
def apply(v: JsValue): StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto
= v.as[StaffDockhouseCreateSignoutMultiplePostResponseSuccessDto]
object DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess {
implicit val DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_CrewFormat
= DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Crew.format
implicit val DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_TestsFormat
= DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess_Tests.format
implicit val format = Json.format[DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess]
def apply(v: JsValue): DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess
= v.as[DtoStaffDockhouseCreateSignoutMultiplePostResponseSuccess]
}


case class StaffDockhouseCreateSignoutMultiplePostRequestDto (
signouts: List[StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts],
case class DtoStaffDockhouseCreateSignoutMultiplePostRequest (
signouts: List[DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts],
)

case class StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts (
case class DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts (
skipperPersonId: Int,
programId: Int,
skipperCardNumber: String,
Expand All @@ -77,34 +77,34 @@ case class StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts (
isRacing: Boolean,
dockmasterOverride: Boolean,
didInformKayakRules: Boolean,
signoutCrew: List[StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts_SignoutCrew],
signoutCrew: List[DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts_SignoutCrew],
)

case class StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts_SignoutCrew (
case class DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts_SignoutCrew (
personId: Int,
cardNumber: String,
testRatingId: Option[Int],
)

object StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts_SignoutCrew {
implicit val format = Json.format[StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts_SignoutCrew]
def apply(v: JsValue): StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts_SignoutCrew
= v.as[StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts_SignoutCrew]
object DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts_SignoutCrew {
implicit val format = Json.format[DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts_SignoutCrew]
def apply(v: JsValue): DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts_SignoutCrew
= v.as[DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts_SignoutCrew]
}

object StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts {
implicit val StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts_SignoutCrewFormat
= StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts_SignoutCrew.format
implicit val format = Json.format[StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts]
def apply(v: JsValue): StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts
= v.as[StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts]
object DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts {
implicit val DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts_SignoutCrewFormat
= DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts_SignoutCrew.format
implicit val format = Json.format[DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts]
def apply(v: JsValue): DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts
= v.as[DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts]
}

object StaffDockhouseCreateSignoutMultiplePostRequestDto {
implicit val StaffDockhouseCreateSignoutMultiplePostRequestDto_SignoutsFormat
= StaffDockhouseCreateSignoutMultiplePostRequestDto_Signouts.format
implicit val format = Json.format[StaffDockhouseCreateSignoutMultiplePostRequestDto]
def apply(v: JsValue): StaffDockhouseCreateSignoutMultiplePostRequestDto
= v.as[StaffDockhouseCreateSignoutMultiplePostRequestDto]
object DtoStaffDockhouseCreateSignoutMultiplePostRequest {
implicit val DtoStaffDockhouseCreateSignoutMultiplePostRequest_SignoutsFormat
= DtoStaffDockhouseCreateSignoutMultiplePostRequest_Signouts.format
implicit val format = Json.format[DtoStaffDockhouseCreateSignoutMultiplePostRequest]
def apply(v: JsValue): DtoStaffDockhouseCreateSignoutMultiplePostRequest
= v.as[DtoStaffDockhouseCreateSignoutMultiplePostRequest]
}

Loading

0 comments on commit 9de42c6

Please sign in to comment.