public SocialQueryString GetQueryString() {
     SocialQueryString qs = new SocialQueryString();
     if (UserId > 0) qs.Set("user_id", UserId);
     if (!String.IsNullOrWhiteSpace(ScreenName)) qs.Set("screen_name", ScreenName);
     if (Reverse) qs.Set("reverse", "1");
     return qs;
 }
 public virtual SocialQueryString GetQueryString() {
     SocialQueryString query = new SocialQueryString();
     if (Limit != null && Limit.Value >= 0) query.Set("limit", Limit.Value);
     if (Since > 0) query.Set("since", Since);
     if (Until > 0) query.Set("until", Until);
     return query;
 }
 public virtual SocialQueryString GetQueryString() {
     SocialQueryString query = new SocialQueryString();
     if (Limit != null && Limit.Value >= 0) query.Set("limit", Limit.Value);
     if (Before != null) query.Set("before", Before);
     if (After != null) query.Set("after", After);
     return query;
 }
 public SocialQueryString GetQueryString() {
     SocialQueryString qs = new SocialQueryString();
     if (UserId > 0) qs.Set("user_id", UserId);
     if (!String.IsNullOrWhiteSpace(ScreenName)) qs.Set("screen_name", ScreenName);
     if (Cursor != DefaultCursor) qs.Set("cursor", Cursor);
     if (Count != DefaultCount) qs.Set("count", Count);
     return qs;
 }
 public SocialQueryString GetQueryString() {
     SocialQueryString qs = new SocialQueryString();
     if (Id > 0) qs.Set("list_id", UserId);
     if (!String.IsNullOrWhiteSpace(Slug)) qs.Set("slug", Slug);
     if (UserId > 0) qs.Set("owner_id", UserId);
     if (!String.IsNullOrWhiteSpace(ScreenName)) qs.Set("owner_screen_name", ScreenName);
     return qs;
 }
 public SocialQueryString GetQueryString() {
     SocialQueryString qs = new SocialQueryString();
     qs.Set("q", Query);
     if (Page > 1) qs.Set("page", Page);
     if (Count != 20) qs.Set("count", Count);
     if (!IncludeEntities) qs.Set("include_entities", "false");
     return qs;
 }
 public SocialQueryString GetQueryString() {
     SocialQueryString qs = new SocialQueryString();
     if (UserId > 0) qs.Set("user_id", UserId);
     if (!String.IsNullOrWhiteSpace(ScreenName)) qs.Set("screen_name", ScreenName);
     if (Count > 0) qs.Set("count", Count);
     if (Cursor > 0) qs.Set("cursor", Cursor);
     if (FilterToOwnedLists) qs.Set("filter_to_owned_lists", "1");
     return qs;
 }
        public SocialQueryString GetQueryString() {

            // Initialize the query string
            SocialQueryString query = new SocialQueryString();

            // Set required parameters
            query.Set("lat", Latitude);
            query.Set("long", Longitude);

            // Set optional parameters
            if (Accurary != null && Accurary != "0m") query.Set("accuracy", Accurary);
            if (Granularity != default(TwitterGranularity)) query.Set("granularity", Granularity.ToString().ToLower());
            if (MaxResults > 0) query.Set("max_results", MaxResults);

            return query;

        }
 public SocialQueryString GetQueryString() {
     SocialQueryString query = new SocialQueryString();
     query.Set("id", Id);
     if (TrimUser) query.Add("trim_user", "true");
     if (IncludeMyRetweet) query.Add("include_my_retweet", "true");
     if (IncludeEntities) query.Add("include_entities", "true");
     return query;
 }
 public SocialQueryString GetQueryString() {
     SocialQueryString qs = new SocialQueryString();
     if (Id > 0) qs.Set("list_id", UserId);
     if (!String.IsNullOrWhiteSpace(Slug)) qs.Set("slug", Slug);
     if (UserId > 0) qs.Set("owner_id", UserId);
     if (!String.IsNullOrWhiteSpace(ScreenName)) qs.Set("owner_screen_name", ScreenName);
     if (Count > 0) qs.Set("count", Count);
     if (Cursor > 0) qs.Set("cursor", Cursor);
     if (!IncludeEntities) qs.Set("include_entities", "0");
     if (SkipStatus) qs.Set("skip_status", "1");
     return qs;
 }
        public SocialQueryString GetQueryString() {

            // Convert the collection of fields to a string
            string fields = (Fields == null ? "" : Fields.ToString()).Trim();

            // Construct the query string
            SocialQueryString query = new SocialQueryString();
            if (!String.IsNullOrWhiteSpace(fields)) query.Set("fields", fields);

            return query;

        }
 public SocialQueryString GetQueryString() {
     SocialQueryString qs = new SocialQueryString();
     if (UserId > 0) qs.Set("user_id", UserId);
     if (!String.IsNullOrWhiteSpace(ScreenName)) qs.Set("screen_name", ScreenName);
     if (Count > 0) qs.Set("count", Count);
     if (SinceId > 0) qs.Set("since_id", SinceId);
     if (MaxId > 0) qs.Set("max_id", MaxId);
     if (!IncludeEntities) qs.Set("include_entities", "0");
     return qs;
 }
 public SocialQueryString GetQueryString() {
     SocialQueryString qs = new SocialQueryString();
     if (UserId > 0) qs.Set("user_id", UserId);
     if (!String.IsNullOrWhiteSpace(ScreenName)) qs.Set("screen_name", ScreenName);
     if (Cursor != DefaultCursor) qs.Set("cursor", Cursor);
     if (Count != DefaultCount) qs.Set("count", Count);
     if (SkipStatus != DefaultSkipStatus) qs.Set("skip_status", SkipStatus ? "1" : "0");
     if (IncludeUserEntities != DefaultIncludeUserEntities) qs.Set("include_user_entities", IncludeUserEntities ? "1" : "0");
     return qs;
 }
        public SocialQueryString GetQueryString() {

            // Define the query string
            SocialQueryString qs = new SocialQueryString();

            // Add optional parameters
            if (UserId > 0) qs.Set("user_id", UserId);
            if (!String.IsNullOrWhiteSpace(ScreenName)) qs.Set("screen_name", ScreenName);
            if (SinceId > 0) qs.Set("since_id", SinceId);
            if (Count > 0) qs.Set("count", Count);
            if (MaxId > 0) qs.Set("max_id", MaxId);
            if (TrimUser) qs.Set("trim_user", "true");
            if (ExcludeReplies) qs.Set("exclude_replies", "true");
            if (ContributorDetails) qs.Set("contributor_details", "true");
            if (!IncludeRetweets) qs.Set("include_rts", "false");

            return qs;

        }