public APICursor(TelerivetAPI api, string path, JObject parameters)
        {
            if (parameters == null)
            {
                parameters = new JObject();
            }

            if (parameters["count"] != null)
            {
                throw new ArgumentException("Cannot construct APICursor with 'count' parameter. Call the count() method instead.");
            }

            this.api        = api;
            this.path       = path;
            this.parameters = parameters;

            this.ctor = typeof(T).GetConstructor(new Type[] {
                typeof(TelerivetAPI),
                typeof(JObject),
                typeof(bool)
            });
        }
예제 #2
0
파일: DataTable.cs 프로젝트: Tonycek/uclis
 public DataTable(TelerivetAPI api, JObject data, bool isLoaded = true)
     : base(api, data, isLoaded)
 {
 }
예제 #3
0
파일: Service.cs 프로젝트: Tonycek/uclis
 public Service(TelerivetAPI api, JObject data, bool isLoaded = true)
     : base(api, data, isLoaded)
 {
 }
 public ContactServiceState(TelerivetAPI api, JObject data, bool isLoaded = true)
     : base(api, data, isLoaded)
 {
 }
예제 #5
0
 public MobileMoneyReceipt(TelerivetAPI api, JObject data, bool isLoaded = true)
     : base(api, data, isLoaded)
 {
 }
예제 #6
0
 public Entity(TelerivetAPI api, JObject data, bool isLoaded = true)
 {
     this.api = api;
     SetData(data);
     this.isLoaded = isLoaded;
 }
 public Broadcast(TelerivetAPI api, JObject data, bool isLoaded = true)
     : base(api, data, isLoaded)
 {
 }
 public ScheduledMessage(TelerivetAPI api, JObject data, bool isLoaded = true)
     : base(api, data, isLoaded)
 {
 }
 public Organization(TelerivetAPI api, JObject data, bool isLoaded = true)
     : base(api, data, isLoaded)
 {
 }