using System.Collections.Generic;
namespace DataConnection.REST.Models
{
///
/// Represents information about a discovered REST entity (resource).
///
public class RestEntityInfo
{
public string Name { get; set; } = string.Empty;
public List Properties { get; set; } = new List();
// Add other relevant info like Key properties if needed
}
///
/// Represents information about a property of a discovered REST entity.
///
public class RestPropertyInfo
{
public string Name { get; set; } = string.Empty;
public string Type { get; set; } = string.Empty; // Type as defined in the metadata (e.g., Edm.String, Edm.Int32)
public bool IsKey { get; set; } = false;
// Add other relevant info like Nullable, MaxLength etc. if needed
}
}