| | 1 | | using System; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using UnityEngine; |
| | 4 | |
|
| | 5 | | namespace DCLServices.Lambdas.NamesService |
| | 6 | | { |
| | 7 | | [Serializable] |
| | 8 | | public class NamesResponse : PaginatedResponse |
| | 9 | | { |
| | 10 | | [Serializable] |
| | 11 | | public class NameEntry |
| | 12 | | { |
| | 13 | | [SerializeField] private string name; |
| | 14 | | [SerializeField] private string contractAddress; |
| | 15 | | [SerializeField] private string price; |
| | 16 | |
|
| 0 | 17 | | public string Name => name; |
| 0 | 18 | | public string ContractAddress => contractAddress; |
| 0 | 19 | | public string Price => price; |
| | 20 | | } |
| | 21 | |
|
| | 22 | | [SerializeField] private List<NameEntry> names; |
| | 23 | |
|
| 0 | 24 | | public IReadOnlyList<NameEntry> Names => names; |
| | 25 | | } |
| | 26 | | } |