Make Pupil.loginValue nullable

This commit is contained in:
Mikołaj Pich 2023-04-16 22:01:05 +02:00
parent c55d0bf251
commit 0fb794e246
2 changed files with 20 additions and 18 deletions

View file

@ -174,6 +174,7 @@ public final class io/github/wulkanowy/sdk/hebe/register/StudentInfo$Educator$Ro
public static final field Companion Lio/github/wulkanowy/sdk/hebe/register/StudentInfo$Educator$Role$Companion;
public synthetic fun <init> (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/String;
public final fun component10 ()Ljava/lang/String;
public final fun component2 ()Ljava/lang/String;
@ -369,17 +370,18 @@ public final class io/github/wulkanowy/sdk/hebe/register/StudentInfo$PeriodDate$
public final class io/github/wulkanowy/sdk/hebe/register/StudentInfo$Pupil {
public static final field Companion Lio/github/wulkanowy/sdk/hebe/register/StudentInfo$Pupil$Companion;
public synthetic fun <init> (ILjava/lang/String;IILjava/lang/String;Ljava/lang/String;ZLjava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> (Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;ZLjava/lang/String;)V
public final fun component1 ()Ljava/lang/String;
public synthetic fun <init> (IIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> (IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
public synthetic fun <init> (IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()I
public final fun component2 ()I
public final fun component3 ()I
public final fun component3 ()Ljava/lang/String;
public final fun component4 ()Ljava/lang/String;
public final fun component5 ()Ljava/lang/String;
public final fun component6 ()Z
public final fun component7 ()Ljava/lang/String;
public final fun copy (Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Lio/github/wulkanowy/sdk/hebe/register/StudentInfo$Pupil;
public static synthetic fun copy$default (Lio/github/wulkanowy/sdk/hebe/register/StudentInfo$Pupil;Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;ZLjava/lang/String;ILjava/lang/Object;)Lio/github/wulkanowy/sdk/hebe/register/StudentInfo$Pupil;
public final fun component6 ()Ljava/lang/String;
public final fun component7 ()Z
public final fun copy (IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Lio/github/wulkanowy/sdk/hebe/register/StudentInfo$Pupil;
public static synthetic fun copy$default (Lio/github/wulkanowy/sdk/hebe/register/StudentInfo$Pupil;IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Lio/github/wulkanowy/sdk/hebe/register/StudentInfo$Pupil;
public fun equals (Ljava/lang/Object;)Z
public final fun getFirstName ()Ljava/lang/String;
public final fun getId ()I

View file

@ -123,7 +123,7 @@ class StudentInfo(
val surname: String,
@SerialName("UnitSymbol")
val unitSymbol: String?,
val unitSymbol: String? = null,
)
}
@ -209,26 +209,26 @@ class StudentInfo(
@Serializable
data class Pupil(
@SerialName("FirstName")
val firstName: String,
@SerialName("Id")
val id: Int,
@SerialName("LoginId")
val loginId: Int,
val loginId: Int = -1,
@SerialName("LoginValue")
val loginValue: String,
val loginValue: String? = null,
@SerialName("FirstName")
val firstName: String,
@SerialName("SecondName")
val secondName: String,
@SerialName("Sex")
val sex: Boolean,
val secondName: String = "",
@SerialName("Surname")
val surname: String,
@SerialName("Sex")
val sex: Boolean,
)
@Serializable