Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="POIBoundaryPBKeyRequest" /> class.
 /// </summary>
 /// <param name="Pbkeys">Pbkeys (required).</param>
 /// <param name="Preferences">Preferences.</param>
 public POIBoundaryPBKeyRequest(List <POIBoundaryPBKey> Pbkeys = null, PoiBoundaryPreferences Preferences = null)
 {
     // to ensure "Pbkeys" is required (not null)
     if (Pbkeys == null)
     {
         throw new InvalidDataException("Pbkeys is a required property for POIBoundaryPBKeyRequest and cannot be null");
     }
     else
     {
         this.Pbkeys = Pbkeys;
     }
     this.Preferences = Preferences;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="POIBoundaryAddressRequest" /> class.
 /// </summary>
 /// <param name="Addresses">Addresses (required).</param>
 /// <param name="Preferences">Preferences.</param>
 public POIBoundaryAddressRequest(List <CommonAddress> Addresses = null, PoiBoundaryPreferences Preferences = null)
 {
     // to ensure "Addresses" is required (not null)
     if (Addresses == null)
     {
         throw new InvalidDataException("Addresses is a required property for POIBoundaryAddressRequest and cannot be null");
     }
     else
     {
         this.Addresses = Addresses;
     }
     this.Preferences = Preferences;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="POIBoundaryLocationRequest" /> class.
 /// </summary>
 /// <param name="Locations">Locations (required).</param>
 /// <param name="Preferences">Preferences.</param>
 public POIBoundaryLocationRequest(List <POIBoundaryLocations> Locations = null, PoiBoundaryPreferences Preferences = null)
 {
     // to ensure "Locations" is required (not null)
     if (Locations == null)
     {
         throw new InvalidDataException("Locations is a required property for POIBoundaryLocationRequest and cannot be null");
     }
     else
     {
         this.Locations = Locations;
     }
     this.Preferences = Preferences;
 }