/// <summary>
 /// Initializes a new instance of the <see cref="XapiStatementPipePostSchema" /> class.
 /// </summary>
 /// <param name="source">source.</param>
 /// <param name="target">target (required).</param>
 public XapiStatementPipePostSchema(XapiEndpointSchema source = default(XapiEndpointSchema), XapiEndpointSchema target = default(XapiEndpointSchema))
 {
     // to ensure "target" is required (not null)
     if (target == null)
     {
         throw new InvalidDataException("target is a required property for XapiStatementPipePostSchema and cannot be null");
     }
     else
     {
         this.Target = target;
     }
     this.Source = source;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="XapiStatementPipeSchema" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="lastForwardedStatementDate">lastForwardedStatementDate.</param>
 /// <param name="moreUrl">moreUrl.</param>
 /// <param name="attempts">attempts.</param>
 /// <param name="visibleAfter">visibleAfter.</param>
 /// <param name="source">source.</param>
 /// <param name="target">target.</param>
 public XapiStatementPipeSchema(string id = default(string), string lastForwardedStatementDate = default(string), string moreUrl = default(string), int?attempts = default(int?), string visibleAfter = default(string), XapiEndpointSchema source = default(XapiEndpointSchema), XapiEndpointSchema target = default(XapiEndpointSchema))
 {
     this.Id = id;
     this.LastForwardedStatementDate = lastForwardedStatementDate;
     this.MoreUrl      = moreUrl;
     this.Attempts     = attempts;
     this.VisibleAfter = visibleAfter;
     this.Source       = source;
     this.Target       = target;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XapiStatementPipeSchema" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="LastForwardedStatementDate">LastForwardedStatementDate.</param>
 /// <param name="MoreUrl">MoreUrl.</param>
 /// <param name="Attempts">Attempts.</param>
 /// <param name="VisibleAfter">VisibleAfter.</param>
 /// <param name="Source">Source.</param>
 /// <param name="Target">Target.</param>
 public XapiStatementPipeSchema(string Id = default(string), string LastForwardedStatementDate = default(string), string MoreUrl = default(string), int?Attempts = default(int?), string VisibleAfter = default(string), XapiEndpointSchema Source = default(XapiEndpointSchema), XapiEndpointSchema Target = default(XapiEndpointSchema))
 {
     this.Id = Id;
     this.LastForwardedStatementDate = LastForwardedStatementDate;
     this.MoreUrl      = MoreUrl;
     this.Attempts     = Attempts;
     this.VisibleAfter = VisibleAfter;
     this.Source       = Source;
     this.Target       = Target;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="XapiStatementPipePostSchema" /> class.
 /// </summary>
 /// <param name="Source">Source.</param>
 /// <param name="Target">Target.</param>
 public XapiStatementPipePostSchema(XapiEndpointSchema Source = default(XapiEndpointSchema), XapiEndpointSchema Target = default(XapiEndpointSchema))
 {
     this.Source = Source;
     this.Target = Target;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="XapiStatementPipePutSchema" /> class.
 /// </summary>
 /// <param name="source">source.</param>
 /// <param name="target">target.</param>
 public XapiStatementPipePutSchema(XapiEndpointSchema source = default(XapiEndpointSchema), XapiEndpointSchema target = default(XapiEndpointSchema))
 {
     this.Source = source;
     this.Target = target;
 }