private global::System.Collections.Generic.IReadOnlyList <global::MyHobbyPal.Client.IPersonDetail> ParseGetAllPersonsPersonsNodes( JsonElement parent, string field) { if (!parent.TryGetProperty(field, out JsonElement obj)) { return(null); } if (obj.ValueKind == JsonValueKind.Null) { return(null); } int objLength = obj.GetArrayLength(); var list = new global::MyHobbyPal.Client.IPersonDetail[objLength]; for (int objIndex = 0; objIndex < objLength; objIndex++) { JsonElement element = obj[objIndex]; list[objIndex] = new PersonDetail ( DeserializeNullableString(element, "personId"), DeserializeNullableString(element, "partitionKey"), DeserializeNullableString(element, "familyName"), DeserializeNullableString(element, "givenName"), DeserializeNullableListOfNullableString(element, "phoneNumbers") ); } return(list); }
public PersonWithHobbies( global::MyHobbyPal.Client.IPersonDetail person, global::System.Collections.Generic.IReadOnlyList <global::MyHobbyPal.Client.IHobbyDetail> hobbies) { Person = person; Hobbies = hobbies; }
public PersonPayload( global::MyHobbyPal.Client.IPersonDetail person) { Person = person; }