> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.PhoneListPreferences

# <a id="SuperOffice_WebApi_Data_PhoneListPreferences" /> Class PhoneListPreferences

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for PhoneListPreferences.
Search preferences for a phone list search

```csharp theme={null}
public class PhoneListPreferences : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[PhoneListPreferences](SuperOffice.WebApi.Data.PhoneListPreferences.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences__ctor" /> PhoneListPreferences()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public PhoneListPreferences()
```

## Properties

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchCompany" /> SearchCompany

True if you want to search for Companies by their name.

```csharp theme={null}
public virtual bool SearchCompany { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchDepartment" /> SearchDepartment

True if you want to search for Departments where your colleagues work.

```csharp theme={null}
public virtual bool SearchDepartment { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchFirstname" /> SearchFirstname

True if you want to search for Persons by their firstname.

```csharp theme={null}
public virtual bool SearchFirstname { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchLastname" /> SearchLastname

True if you want to search for Persons by their lastname.

```csharp theme={null}
public virtual bool SearchLastname { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeCompany" /> SearchModeCompany

The Company name search type, e.g. BeginsWith, Contains, Endswith, Matches
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public StringSearchType? SearchModeCompany { get; set; }
```

#### Property Value

[StringSearchType](SuperOffice.WebApi.Data.StringSearchType.md)?

#### See Also

[PhoneListPreferences](SuperOffice.WebApi.Data.PhoneListPreferences.md).[SearchModeCompany\_String](SuperOffice.WebApi.Data.PhoneListPreferences.md#SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeCompany_String)

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeCompany_String" /> SearchModeCompany\_String

The Company name search type, e.g. BeginsWith, Contains, Endswith, Matches
Raw string enum value.

```csharp theme={null}
[JsonProperty("SearchModeCompany")]
public string SearchModeCompany_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[PhoneListPreferences](SuperOffice.WebApi.Data.PhoneListPreferences.md).[SearchModeCompany](SuperOffice.WebApi.Data.PhoneListPreferences.md#SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeCompany)

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeDepartment" /> SearchModeDepartment

The Department search type, e.g. BeginsWith, Contains, Endswith, Matches
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public StringSearchType? SearchModeDepartment { get; set; }
```

#### Property Value

[StringSearchType](SuperOffice.WebApi.Data.StringSearchType.md)?

#### See Also

[PhoneListPreferences](SuperOffice.WebApi.Data.PhoneListPreferences.md).[SearchModeDepartment\_String](SuperOffice.WebApi.Data.PhoneListPreferences.md#SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeDepartment_String)

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeDepartment_String" /> SearchModeDepartment\_String

The Department search type, e.g. BeginsWith, Contains, Endswith, Matches
Raw string enum value.

```csharp theme={null}
[JsonProperty("SearchModeDepartment")]
public string SearchModeDepartment_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[PhoneListPreferences](SuperOffice.WebApi.Data.PhoneListPreferences.md).[SearchModeDepartment](SuperOffice.WebApi.Data.PhoneListPreferences.md#SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeDepartment)

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeFirstname" /> SearchModeFirstname

The firstname search type, e.g. BeginsWith, Contains, Endswith, Matches
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public StringSearchType? SearchModeFirstname { get; set; }
```

#### Property Value

[StringSearchType](SuperOffice.WebApi.Data.StringSearchType.md)?

#### See Also

[PhoneListPreferences](SuperOffice.WebApi.Data.PhoneListPreferences.md).[SearchModeFirstname\_String](SuperOffice.WebApi.Data.PhoneListPreferences.md#SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeFirstname_String)

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeFirstname_String" /> SearchModeFirstname\_String

The firstname search type, e.g. BeginsWith, Contains, Endswith, Matches
Raw string enum value.

```csharp theme={null}
[JsonProperty("SearchModeFirstname")]
public string SearchModeFirstname_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[PhoneListPreferences](SuperOffice.WebApi.Data.PhoneListPreferences.md).[SearchModeFirstname](SuperOffice.WebApi.Data.PhoneListPreferences.md#SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeFirstname)

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeLastname" /> SearchModeLastname

The lastname search type, e.g. BeginsWith, Contains, Endswith, Matches
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public StringSearchType? SearchModeLastname { get; set; }
```

#### Property Value

[StringSearchType](SuperOffice.WebApi.Data.StringSearchType.md)?

#### See Also

[PhoneListPreferences](SuperOffice.WebApi.Data.PhoneListPreferences.md).[SearchModeLastname\_String](SuperOffice.WebApi.Data.PhoneListPreferences.md#SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeLastname_String)

### <a id="SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeLastname_String" /> SearchModeLastname\_String

The lastname search type, e.g. BeginsWith, Contains, Endswith, Matches
Raw string enum value.

```csharp theme={null}
[JsonProperty("SearchModeLastname")]
public string SearchModeLastname_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[PhoneListPreferences](SuperOffice.WebApi.Data.PhoneListPreferences.md).[SearchModeLastname](SuperOffice.WebApi.Data.PhoneListPreferences.md#SuperOffice_WebApi_Data_PhoneListPreferences_SearchModeLastname)

## See Also

[PhoneListAgent](SuperOffice.WebApi.Agents.PhoneListAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.PhoneList SearchWithPreferencesRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.PhoneList_SearchWithPreferencesRequest.md)
- [SuperOffice.WebApi.Data.PhoneList SetPreferencesRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.PhoneList_SetPreferencesRequest.md)
- [SuperOffice.WebApi.Agents.PhoneListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.PhoneListAgent.md)
- [SuperOffice.WebApi.Agents.IPhoneListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IPhoneListAgent.md)
- [SuperOffice.WebApi.Data.PhoneList GetPreferencesRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.PhoneList_GetPreferencesRequest.md)
- [SuperOffice.WebApi.Data.UserPreferenceStrings.Defaults](/en/api/reference/webapi/SuperOffice.WebApi.Data.UserPreferenceStrings.Defaults.md)
