Ejemplo n.º 1
0
            public response.ProfileRevealing get(string source_id,
                                                 string profile_id = null, string profile_reference = null,
                                                 string filter_id  = null, string filter_reference  = null)
            {
                // To avoid a line of about 30000 columns.
                var mess = String.Format("One beetween profile_id and profile_reference has to be not null or empty. (profile_id: {0} profile_reference: {1})", profile_id, profile_reference);

                RequestUtils.assert_id_ref_notNull(profile_id, profile_reference, mess);
                mess = String.Format("One beetween filter_id and filter_reference has to be not null or empty. (filter_id: {0} filter_reference: {1})", filter_id, filter_reference);
                RequestUtils.assert_id_ref_notNull(filter_id, filter_reference, mess);

                var query = new Dictionary <string, string>
                {
                    { "source_id", source_id }
                };

                RequestUtils.addIfNotNull(ref query, "profile_id", profile_id);
                RequestUtils.addIfNotNull(ref query, "profile_reference", profile_reference);
                RequestUtils.addIfNotNull(ref query, "filter_id", filter_id);
                RequestUtils.addIfNotNull(ref query, "filter_reference", filter_reference);

                var resp = _client.get <response.ProfileRevealing>("profile/revealing", args: query);

                return(resp.data);
            }
Ejemplo n.º 2
0
        public response.FilterList list()
        {
            var resp = _client.get <global::Riminder.response.FilterList>("filters");

            return(resp.data);
        }
Ejemplo n.º 3
0
        public response.SourceList list()
        {
            var resp = _client.get <global::Riminder.response.SourceList>("sources");

            return(resp.data);
        }