InventoryItemDetails Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. InventoryItemDetails
- com.
Implements
public final class InventoryItemDetails
implements JsonSerializable<InventoryItemDetails>
Defines the resource properties.
Constructor Summary
| Constructor | Description |
|---|---|
| InventoryItemDetails() |
Creates an instance of Inventory |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Inventory |
fromJson(JsonReader jsonReader)
Reads an instance of Inventory |
| String |
inventoryItemId()
Get the inventory |
| String |
inventoryItemName()
Get the inventory |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Inventory |
withInventoryItemId(String inventoryItemId)
Set the inventory |
|
Inventory |
withInventoryItemName(String inventoryItemName)
Set the inventory |
Methods inherited from java.lang.Object
Constructor Details
InventoryItemDetails
public InventoryItemDetails()
Creates an instance of InventoryItemDetails class.
Method Details
fromJson
public static InventoryItemDetails fromJson(JsonReader jsonReader)
Reads an instance of InventoryItemDetails from the JsonReader.
Parameters:
Returns:
Throws:
inventoryItemId
public String inventoryItemId()
Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.
Returns:
inventoryItemName
public String inventoryItemName()
Get the inventoryItemName property: Gets or sets the Managed Object name in Vmm for the resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withInventoryItemId
public InventoryItemDetails withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.
Parameters:
Returns:
withInventoryItemName
public InventoryItemDetails withInventoryItemName(String inventoryItemName)
Set the inventoryItemName property: Gets or sets the Managed Object name in Vmm for the resource.
Parameters:
Returns: