Record Class CloneOptions
java.lang.Object
java.lang.Record
org.jenkinsci.plugins.proxmox.api.model.CloneOptions
-
Constructor Summary
ConstructorsConstructorDescriptionCloneOptions(int newVmId, String name, String description, boolean full, String storage, String pool) Creates an instance of aCloneOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanfull()Returns the value of thefullrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.intnewVmId()Returns the value of thenewVmIdrecord component.pool()Returns the value of thepoolrecord component.storage()Returns the value of thestoragerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CloneOptions
public CloneOptions(int newVmId, String name, String description, boolean full, String storage, String pool) Creates an instance of aCloneOptionsrecord class.- Parameters:
newVmId- the value for thenewVmIdrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentfull- the value for thefullrecord componentstorage- the value for thestoragerecord componentpool- the value for thepoolrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
newVmId
public int newVmId()Returns the value of thenewVmIdrecord component.- Returns:
- the value of the
newVmIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
full
public boolean full()Returns the value of thefullrecord component.- Returns:
- the value of the
fullrecord component
-
storage
Returns the value of thestoragerecord component.- Returns:
- the value of the
storagerecord component
-
pool
Returns the value of thepoolrecord component.- Returns:
- the value of the
poolrecord component
-