/// <summary> /// Generate the necessary parameters /// </summary> public override List <KeyValuePair <string, string> > GetParams() { var p = new List <KeyValuePair <string, string> >(); if (Status != null) { p.Add(new KeyValuePair <string, string>("Status", Status.ToString())); } if (SourceSid != null) { p.Add(new KeyValuePair <string, string>("SourceSid", SourceSid.ToString())); } if (DateCreatedAfter != null) { p.Add(new KeyValuePair <string, string>("DateCreatedAfter", Serializers.DateTimeIso8601(DateCreatedAfter))); } if (DateCreatedBefore != null) { p.Add(new KeyValuePair <string, string>("DateCreatedBefore", Serializers.DateTimeIso8601(DateCreatedBefore))); } if (PageSize != null) { p.Add(new KeyValuePair <string, string>("PageSize", PageSize.ToString())); } return(p); }
/// <summary> /// Generate the necessary parameters /// </summary> public override List <KeyValuePair <string, string> > GetParams() { var p = new List <KeyValuePair <string, string> >(); if (Status != null) { p.Add(new KeyValuePair <string, string>("Status", Status.ToString())); } if (SourceSid != null) { p.Add(new KeyValuePair <string, string>("SourceSid", SourceSid.ToString())); } if (GroupingSid != null) { p.AddRange(GroupingSid.Select(prop => new KeyValuePair <string, string>("GroupingSid", prop.ToString()))); } if (PageSize != null) { p.Add(new KeyValuePair <string, string>("PageSize", PageSize.ToString())); } return(p); }