> ## 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.AttachmentValidationResult

# <a id="SuperOffice_WebApi_Data_AttachmentValidationResult" /> Class AttachmentValidationResult

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

Carrier object for AttachmentValidationResult.
Attachment validation info

```csharp theme={null}
public class AttachmentValidationResult
```

#### Inheritance

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

#### Inherited Members

[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_AttachmentValidationResult__ctor" /> AttachmentValidationResult()

Default constructor - defaults any enum props to 0.

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

## Properties

### <a id="SuperOffice_WebApi_Data_AttachmentValidationResult_AttachmentId" /> AttachmentId

The primary key (auto-incremented)

```csharp theme={null}
public virtual int AttachmentId { get; set; }
```

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_AttachmentValidationResult_ErrorMessage" /> ErrorMessage

Error message for invalid attachment

```csharp theme={null}
public virtual string ErrorMessage { get; set; }
```

#### Property Value

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

### <a id="SuperOffice_WebApi_Data_AttachmentValidationResult_IsValid" /> IsValid

Indicates if the attachment is valid

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

#### Property Value

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

## See Also

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


## Related topics

- [SuperOffice.WebApi.Agents.TicketAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.TicketAgent.md)
- [SuperOffice.WebApi.Agents.ITicketAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ITicketAgent.md)
- [SuperOffice.WebApi.Data.UserValidationResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.UserValidationResult.md)
- [SuperOffice.WebApi.Data.CRMScriptEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.CRMScriptEntity.md)
- [SuperOffice.WebApi.Data.CRMScriptResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.CRMScriptResult.md)
- [SuperOffice.WebApi.Data.TicketRelationDefinitionResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketRelationDefinitionResult.md)
