147 lines
3.5 KiB
C#
147 lines
3.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TarifasANEEL
|
|
{
|
|
|
|
|
|
|
|
public class Rootobject
|
|
{
|
|
public string? help { get; set; }
|
|
public bool success { get; set; }
|
|
public Result? result { get; set; }
|
|
}
|
|
|
|
public class Result
|
|
{
|
|
public bool include_total { get; set; }
|
|
public int limit { get; set; }
|
|
public string? records_format { get; set; }
|
|
public string? resource_id { get; set; }
|
|
public object? total_estimation_threshold { get; set; }
|
|
public Record[]? records { get; set; }
|
|
public Field[]? fields { get; set; }
|
|
public _Links? _links { get; set; }
|
|
public int? total { get; set; }
|
|
public bool? total_was_estimated { get; set; }
|
|
}
|
|
|
|
public class _Links
|
|
{
|
|
public string? start { get; set; }
|
|
public string? next { get; set; }
|
|
}
|
|
|
|
public class Record
|
|
{
|
|
public object this[string propertyName]
|
|
{
|
|
get { return this.GetType().GetProperty(propertyName)!.GetValue(this, null)!; }
|
|
set { this.GetType().GetProperty(propertyName)!.SetValue(this, value, null); }
|
|
}
|
|
public int _id {
|
|
get; set;
|
|
}
|
|
public string? DatGeracaoConjuntoDados {
|
|
get; set;
|
|
}
|
|
public string? DscREH {
|
|
get; set;
|
|
}
|
|
public string? DscResolucaoHomologatoria {
|
|
get; set;
|
|
}
|
|
public string? SigAgente {
|
|
get; set;
|
|
}
|
|
public string? SigNomeAgente {
|
|
get; set;
|
|
}
|
|
public string? NumCNPJDistribuidora {
|
|
get; set;
|
|
}
|
|
public Object? NumCPFCNPJ {
|
|
get; set;
|
|
}
|
|
public string? DatInicioVigencia {
|
|
get; set;
|
|
}
|
|
public string? DatFimVigencia {
|
|
get; set;
|
|
}
|
|
public string? DscBaseTarifaria {
|
|
get; set;
|
|
}
|
|
public string? DscSubGrupo {
|
|
get; set;
|
|
}
|
|
public string? DscSubGrupoTarifario {
|
|
get; set;
|
|
}
|
|
public string? DscModalidadeTarifaria {
|
|
get; set;
|
|
}
|
|
public string? DscClasse {
|
|
get; set;
|
|
}
|
|
public string? DscClasseConsumidor {
|
|
get; set;
|
|
}
|
|
public string? DscSubClasse {
|
|
get; set;
|
|
}
|
|
public string? DscSubClasseConsumidor {
|
|
get; set;
|
|
}
|
|
public string? DscDetalhe {
|
|
get; set;
|
|
}
|
|
public string? DscDetalheConsumidor {
|
|
get; set;
|
|
}
|
|
public string? NomPostoTarifario {
|
|
get; set;
|
|
}
|
|
public string? DscPostoTarifario {
|
|
get; set;
|
|
}
|
|
public string? DscUnidadeTerciaria {
|
|
get; set;
|
|
}
|
|
public string? DscUnidade {
|
|
get; set;
|
|
}
|
|
public string? SigAgenteAcessante {
|
|
get; set;
|
|
}
|
|
public string? SigNomeAgenteAcessante {
|
|
get; set;
|
|
}
|
|
public string? DscComponenteTarifario {
|
|
get; set;
|
|
}
|
|
public string? VlrTUSD {
|
|
get; set;
|
|
}
|
|
public string? VlrTE {
|
|
get; set;
|
|
}
|
|
public string? VlrComponenteTarifario {
|
|
get; set;
|
|
}
|
|
}
|
|
|
|
public class Field
|
|
{
|
|
public string? id { get; set; }
|
|
public string? type { get; set; }
|
|
}
|
|
|
|
|
|
|
|
} |