Пример #1
0
        public string Path(bool withParameter = true)
        {
            if (withParameter && messageId != null)
            {
                return($"{parent.Path()}/messages/{messageId}");
            }

            return($"{parent.Path()}/messages");
        }
Пример #2
0
        public string Path(bool withParameter = true)
        {
            if (withParameter && batchId != null)
            {
                return($"{parent.Path()}/batch/{batchId}");
            }

            return($"{parent.Path()}/batch");
        }
Пример #3
0
 public string Path()
 {
     return($"{parent.Path()}/opt-outs");
 }