Skip to content

Commit

Permalink
declared nullable rollermain model
Browse files Browse the repository at this point in the history
  • Loading branch information
loguecow committed Jul 9, 2024
1 parent 6499255 commit 3921b6c
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions backend/src/altinn-support-dashboard.backend/Models/Rollermain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,88 +2,88 @@
{
public class RollerMain
{
public List<Rollegrupper> Rollegrupper { get; set; }
public Links Links { get; set; }
public List<Rollegrupper>? Rollegrupper { get; set; }
public Links? Links { get; set; }

public List<ApiRoller> ApiRoller { get; set; }
public List<ApiRoller>? ApiRoller { get; set; }
}

public class ApiRoller
{
public string Beskrivelse { get; set; }
public List<string> EnhetNavn { get; set; }
public string EnhetOrganisasjonsnummer { get; set; }
public string EnhetOrganisasjonsformKode { get; set; }
public string EnhetOrganisasjonsformBeskrivelse { get; set; }
public string PersonFodselsdato { get; set; }
public string PersonFornavn { get; set; }
public string PersonMellomnavn { get; set; }
public string PersonEtternavn { get; set; }
public string? Beskrivelse { get; set; }
public List<string>? EnhetNavn { get; set; }
public string? EnhetOrganisasjonsnummer { get; set; }
public string? EnhetOrganisasjonsformKode { get; set; }
public string? EnhetOrganisasjonsformBeskrivelse { get; set; }
public string? PersonFodselsdato { get; set; }
public string? PersonFornavn { get; set; }
public string? PersonMellomnavn { get; set; }
public string? PersonEtternavn { get; set; }
}
public class ApiRollerResponse
{
public List<ApiRoller> ApiRoller { get; set; }
public List<ApiRoller>? ApiRoller { get; set; }
}
public class Rollegrupper
{
public Type Type { get; set; }
public string SistEndret { get; set; }
public List<Roller> Roller { get; set; }
public Type? Type { get; set; }
public string? SistEndret { get; set; }
public List<Roller>? Roller { get; set; }
}

public class Type
{
public string Kode { get; set; }
public string Beskrivelse { get; set; }
public Links Links { get; set; }
public string? Kode { get; set; }
public string? Beskrivelse { get; set; }
public Links? Links { get; set; }
}

public class Roller
{
public Type Type { get; set; }
public Enhet Enhet { get; set; }
public Person Person { get; set; }
public Type? Type { get; set; }
public Enhet? Enhet { get; set; }
public Person? Person { get; set; }
public bool Fratraadt { get; set; }
public int Rekkefolge { get; set; }
}

public class Enhet
{
public string Organisasjonsnummer { get; set; }
public Organisasjonsform Organisasjonsform { get; set; }
public List<string> Navn { get; set; }
public string? Organisasjonsnummer { get; set; }
public Organisasjonsform? Organisasjonsform { get; set; }
public List<string>? Navn { get; set; }
public bool ErSlettet { get; set; }
public Links Links { get; set; }
public Links? Links { get; set; }
}

public class Organisasjonsform
{
public string Kode { get; set; }
public string Beskrivelse { get; set; }
public Links Links { get; set; }
public string? Kode { get; set; }
public string? Beskrivelse { get; set; }
public Links? Links { get; set; }
}

public class Person
{
public string Fodselsdato { get; set; }
public Navn Navn { get; set; }
public string? Fodselsdato { get; set; }
public Navn? Navn { get; set; }
public bool ErDoed { get; set; }
}

public class Navn
{
public string Fornavn { get; set; }
public string Mellomnavn { get; set; }
public string Etternavn { get; set; }
public string? Fornavn { get; set; }
public string? Mellomnavn { get; set; }
public string? Etternavn { get; set; }
}

public class Links
{
public Self Self { get; set; }
public Self? Self { get; set; }
}

public class Self
{
public string Href { get; set; }
public string? Href { get; set; }
}
}

0 comments on commit 3921b6c

Please sign in to comment.