# Buildium::TenantSearchMessage ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **building_statuses** | **Array<String>** | Filters results by the status of the rental property the tenants are associated with. If no status is specified tenants in either `active` and `inactive` rental properties will be returned. | [optional] | | **lease_term_statuses** | **Array<String>** | Filters results to any tenant whose lease term matches the specified status. If no status is specified tenants with any lease terms status will be returned. | [optional] | | **unit_number** | **String** | Filters results to any tenant whose unit number *contains* the specified value. | [optional] | | **name** | **String** | Filters results to any tenant whose name *contains* the specified value. | [optional] | | **phone** | **String** | Filters results to any tenant whose phone number *contains* the specified value. | [optional] | | **email** | **String** | Filters results to any tenant whose email *contains* the specified value. | [optional] | | **property_ids** | **Array<Integer>** | Filters results to tenants whose rental unit belongs to the specified set of property ids. | [optional] | | **rental_owner_ids** | **Array<Integer>** | Filters results to tenants whose rental unit belongs to a property with a rental owner in the specified set of rental owner ids. | [optional] | | **last_updated_from** | **Time** | Filters results to any rental tenants that were updated on or after the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ. | [optional] | | **last_updated_to** | **Time** | Filters results to any rental tenants that were updated on or before the specified date. The value must be in UTC and formatted as YYYY-MM-DDTHH:MM:SSZ. | [optional] | ## Example ```ruby require 'buildium-ruby' instance = Buildium::TenantSearchMessage.new( building_statuses: null, lease_term_statuses: null, unit_number: null, name: null, phone: null, email: null, property_ids: null, rental_owner_ids: null, last_updated_from: null, last_updated_to: null ) ```