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

# .NET: ChangeIntValueModel

> Signatures, models and behavior for SKM.V3.Models.ChangeIntValueModel in the .NET SDK 4.0.54.

Used to identify a data object.

**Namespace:** `SKM.V3.Models`\
**Version:** 4.0.54. Both packages; all six documented target frameworks.

<CodeGroup>
  ```csharp C# theme={null}
  public class ChangeIntValueModel : RequestModel
  ```

  ```vb VB.NET theme={null}
  Public Class ChangeIntValueModel Inherits RequestModel
  ```
</CodeGroup>

**Used By:** [`SetIntValue(string, ChangeIntValueModel)`](/libraries/dotnet-reference/methods/data#set-int-value-acf41ed0b3), [`IncrementIntValue(string, ChangeIntValueModel)`](/libraries/dotnet-reference/methods/data#increment-int-value-f16cf32c50), [`DecrementIntValue(string, ChangeIntValueModel)`](/libraries/dotnet-reference/methods/data#decrement-int-value-a9b1bdd55d)

[Web API Reference](/api-reference/generated/SetIntValue)

## Inherited SDK Members

* [`LicenseServerUrl`](/libraries/dotnet-reference/models/request-model#license-server-url-67581aa5cb)

## Properties

<a id="bound-00708809fa" />

### Bound

This is the upper/lower bound that will be enforced on the increment or
decrement operation. It will only be enforced if EnableBound
is set to true. Please read the description above.

<CodeGroup>
  ```csharp C# theme={null}
  public int Bound { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property Bound As Integer
  ```
</CodeGroup>

**Type:** `int`

<a id="enable-bound-26fa127e93" />

### EnableBound

If set to true, it will be possible to specify an upper/lower bound.
(for Increment Int Value) For example, if you set the Bound parameter (below) to 10, you
will be able to increment the int value until you reach ten (inclusive).
Once the upper bound is reached, an error will be thrown.
(for Decrement Int Value) For example, if you set the Bound parameter (below) to 0,
you will be able to decrement the int value until you reach zero (inclusive).
Once the lower bound is reached, an error will be thrown.

<CodeGroup>
  ```csharp C# theme={null}
  public bool EnableBound { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property EnableBound As Boolean
  ```
</CodeGroup>

**Type:** `bool`

<a id="id-31433f8dc7" />

### Id

The unique object id for the data object.

<CodeGroup>
  ```csharp C# theme={null}
  public long Id { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property Id As Long
  ```
</CodeGroup>

**Type:** `long`

<a id="int-value-50c693e9f7" />

### IntValue

This is either the new int value that should be assigned to the Data Object
when using Data.SetIntValue(AuthDetails, ChangeIntValueModel)
in which case it can be a signed int32, eg. 10, and -10 OR it is a the value that
should be added to the current IntValue of an existing Data Object, in which case
this value will be treated as an unsigned value, eg. 10 = -10. The latter case is
relevant for Data.IncrementIntValue(AuthDetails, ChangeIntValueModel)
and Data.DecrementIntValue(AuthDetails, ChangeIntValueModel).

<CodeGroup>
  ```csharp C# theme={null}
  public int IntValue { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property IntValue As Integer
  ```
</CodeGroup>

**Type:** `int`

## Constructors

<a id="ctor-dce6063542" />

### ChangeIntValueModel()

Creates an empty ChangeIntValueModel object. This constructor does not send an API request.

<CodeGroup>
  ```csharp C# theme={null}
  public ChangeIntValueModel()
  ```

  ```vb VB.NET theme={null}
  Public Sub New()
  ```
</CodeGroup>

[.NET SDK Reference](/libraries/dotnet-api) · [Reviewed Source Revision](https://github.com/Cryptolens/cryptolens-dotnet/tree/30aaf399ba53d9a111bee896c35bf557fa219394)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.