示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WaterBodyResponse" /> class.
 /// </summary>
 /// <param name="objectId">objectId.</param>
 /// <param name="waterBody">waterBody.</param>
 /// <param name="matchedAddress">matchedAddress.</param>
 public WaterBodyResponse(string objectId = default(string), List <WaterBody> waterBody = default(List <WaterBody>), RiskAddress matchedAddress = default(RiskAddress))
 {
     this.ObjectId       = objectId;
     this.WaterBody      = waterBody;
     this.MatchedAddress = matchedAddress;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EarthquakeRiskResponse" /> class.
 /// </summary>
 /// <param name="objectId">objectId.</param>
 /// <param name="riskLevel">riskLevel.</param>
 /// <param name="eventsCount">eventsCount.</param>
 /// <param name="grid">grid.</param>
 /// <param name="matchedAddress">matchedAddress.</param>
 public EarthquakeRiskResponse(string objectId = default(string), string riskLevel = default(string), EventsCount eventsCount = default(EventsCount), Grid grid = default(Grid), RiskAddress matchedAddress = default(RiskAddress))
 {
     this.ObjectId       = objectId;
     this.RiskLevel      = riskLevel;
     this.EventsCount    = eventsCount;
     this.Grid           = grid;
     this.MatchedAddress = matchedAddress;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FloodRiskResponse" /> class.
 /// </summary>
 /// <param name="objectId">objectId.</param>
 /// <param name="state">state.</param>
 /// <param name="floodZone">floodZone.</param>
 /// <param name="community">community.</param>
 /// <param name="boundary">boundary.</param>
 /// <param name="matchedAddress">matchedAddress.</param>
 public FloodRiskResponse(string objectId = default(string), State state = default(State), FloodZone floodZone = default(FloodZone), Community community = default(Community), CrimeBoundary boundary = default(CrimeBoundary), RiskAddress matchedAddress = default(RiskAddress))
 {
     this.ObjectId       = objectId;
     this.State          = state;
     this.FloodZone      = floodZone;
     this.Community      = community;
     this.Boundary       = boundary;
     this.MatchedAddress = matchedAddress;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FireStations" /> class.
 /// </summary>
 /// <param name="fireStation">fireStation.</param>
 /// <param name="matchedAddress">matchedAddress.</param>
 public FireStations(List <FireStation> fireStation = default(List <FireStation>), RiskAddress matchedAddress = default(RiskAddress))
 {
     this.FireStation    = fireStation;
     this.MatchedAddress = matchedAddress;
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FireRiskResponse" /> class.
 /// </summary>
 /// <param name="objectId">objectId.</param>
 /// <param name="state">state.</param>
 /// <param name="fireShed">fireShed.</param>
 /// <param name="matchedAddress">matchedAddress.</param>
 public FireRiskResponse(string objectId = default(string), State state = default(State), FireShed fireShed = default(FireShed), RiskAddress matchedAddress = default(RiskAddress))
 {
     this.ObjectId       = objectId;
     this.State          = state;
     this.FireShed       = fireShed;
     this.MatchedAddress = matchedAddress;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FireStationContactDetails" /> class.
 /// </summary>
 /// <param name="address">address.</param>
 /// <param name="phone">phone.</param>
 /// <param name="fax">fax.</param>
 public FireStationContactDetails(RiskAddress address = default(RiskAddress), string phone = default(string), string fax = default(string))
 {
     this.Address = address;
     this.Phone   = phone;
     this.Fax     = fax;
 }
示例#7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CrimeRiskResponse" /> class.
 /// </summary>
 /// <param name="objectId">objectId.</param>
 /// <param name="themes">themes.</param>
 /// <param name="boundaries">boundaries.</param>
 /// <param name="matchedAddress">matchedAddress.</param>
 public CrimeRiskResponse(string objectId = default(string), List <RisksCrimeTheme> themes = default(List <RisksCrimeTheme>), RisksBoundaries boundaries = default(RisksBoundaries), RiskAddress matchedAddress = default(RiskAddress))
 {
     this.ObjectId       = objectId;
     this.Themes         = themes;
     this.Boundaries     = boundaries;
     this.MatchedAddress = matchedAddress;
 }