Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LegalNotationOnTitle" /> class.
 /// </summary>
 /// <param name="legalNotationNumber">Legal Notation Number (required).</param>
 /// <param name="status">State of the Legal Notation on Title. A Legal Notation is cancelled by a subsequent \&quot;\&quot;CAN\&quot;\&quot; Legal Notation. A Legal Notation may be modified by a subsequent \&quot;\&quot;MOD\&quot;\&quot; Legal Notation. This relationship is captured by the Legal Notation Entity. Modifications and Cancellations are Title specific.  (required).</param>
 /// <param name="cancellationDate">Legal Notation Cancellation Date - only appears on a historic view of the title..</param>
 /// <param name="legalNotation">legalNotation (required).</param>
 public LegalNotationOnTitle(string legalNotationNumber = default, string status = default, string cancellationDate = default, LegalNotation legalNotation = default)
 {
     // to ensure "legalNotationNumber" is required (not null)
     if (legalNotationNumber == null)
     {
         throw new InvalidDataException("legalNotationNumber is a required property for LegalNotationOnTitle and cannot be null");
     }
     else
     {
         this.LegalNotationNumber = legalNotationNumber;
     }
     // to ensure "status" is required (not null)
     if (status == null)
     {
         throw new InvalidDataException("status is a required property for LegalNotationOnTitle and cannot be null");
     }
     else
     {
         this.Status = status;
     }
     // to ensure "legalNotation" is required (not null)
     if (legalNotation == null)
     {
         throw new InvalidDataException("legalNotation is a required property for LegalNotationOnTitle and cannot be null");
     }
     else
     {
         this.LegalNotation = legalNotation;
     }
     this.CancellationDate = cancellationDate;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LegalNotationsOnStrataCommonProperty" /> class.
 /// </summary>
 /// <param name="legalNotationNumber">Legal Notation Number (required).</param>
 /// <param name="status">State of the Legal Notation on Title.  Only active Legal Notation are presented on Current View of Title.  (required).</param>
 /// <param name="cancellationDate">Legal Notation Cancellation Date.</param>
 /// <param name="legalNotation">legalNotation (required).</param>
 public LegalNotationsOnStrataCommonProperty(string legalNotationNumber = default, StatusEnum status = default, DateTime?cancellationDate = default, LegalNotation legalNotation = default)
 {
     // to ensure "legalNotationNumber" is required (not null)
     if (legalNotationNumber == null)
     {
         throw new InvalidDataException("legalNotationNumber is a required property for LegalNotationsOnStrataCommonProperty and cannot be null");
     }
     else
     {
         this.LegalNotationNumber = legalNotationNumber;
     }
     // to ensure "legalNotation" is required (not null)
     if (legalNotation == null)
     {
         throw new InvalidDataException("legalNotation is a required property for LegalNotationsOnStrataCommonProperty and cannot be null");
     }
     else
     {
         this.LegalNotation = legalNotation;
     }
     this.Status           = status;
     this.CancellationDate = cancellationDate;
 }