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

# OperatorSpecification class

**Namespace:** [Ans.DataProcessing](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing)

OperatorSpecification(name: str)

OperatorSpecification(id: Int64)

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing` |
| Assembly | `CS_DataProcessing` |

## Constructors

#### Constructor

```python theme={null}
OperatorSpecification(name)
```

**Parameters:**

* `name` (*str*)

#### Constructor

```python theme={null}
OperatorSpecification(id)
```

**Parameters:**

* `id` (*int*)

## Methods

#### HasSpecification

```python theme={null}
result = obj.HasSpecification(name)
```

**Parameters:**

* `name` (*str*)

**Returns:** *bool*

#### GetOperatorDescription

```python theme={null}
result = obj.GetOperatorDescription()
```

**Returns:** *str*

#### GetInputPins

```python theme={null}
result = obj.GetInputPins()
```

**Returns:** *iterable*

#### GetInputPin

```python theme={null}
result = obj.GetInputPin(id)
```

**Parameters:**

* `id` (*int*)

**Returns:** *PinDescription*

#### GetOutputPins

```python theme={null}
result = obj.GetOutputPins()
```

**Returns:** *iterable*

#### GetOutputPin

```python theme={null}
result = obj.GetOutputPin(id)
```

**Parameters:**

* `id` (*int*)

**Returns:** *PinDescription*

#### getNumberOfPin

```python theme={null}
result = obj.getNumberOfPin(isInput)
```

**Parameters:**

* `isInput` (*bool*)

**Returns:** *int*

#### GetPinPosition

```python theme={null}
result = obj.GetPinPosition(PinToGet, isInput)
```

**Parameters:**

* `PinToGet` (*str*)
* `isInput` (*bool*)

**Returns:** *int*

#### GetCategory

```python theme={null}
result = obj.GetCategory()
```

**Returns:** *str*

#### GetUserName

```python theme={null}
result = obj.GetUserName()
```

**Returns:** *str*

#### GetScriptingName

```python theme={null}
result = obj.GetScriptingName()
```

**Returns:** *str*

#### GetExposure

```python theme={null}
result = obj.GetExposure()
```

**Returns:** *str*

## Properties

#### Id

**Type:** *int*

```python theme={null}
# Get the property (read-only)
value = obj.Id
```
