Record Class CreateNewProjectDockerDto
java.lang.Object
java.lang.Record
com.winchesters.devopsify.dto.request.project.CreateNewProjectDockerDto
public record CreateNewProjectDockerDto(Boolean dockerizeBackend, Boolean defaultDockerBackend, BackendDockerfileDto dockerBackend, Boolean dockerizeDB, DataBaseDockerfileDto dockerDB, Boolean defaultDockerDB)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCreateNewProjectDockerDto
(Boolean dockerizeBackend, Boolean defaultDockerBackend, BackendDockerfileDto dockerBackend, Boolean dockerizeDB, DataBaseDockerfileDto dockerDB, Boolean defaultDockerDB) Creates an instance of aCreateNewProjectDockerDto
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefaultDockerBackend
record component.Returns the value of thedefaultDockerDB
record component.Returns the value of thedockerBackend
record component.dockerDB()
Returns the value of thedockerDB
record component.Returns the value of thedockerizeBackend
record component.Returns the value of thedockerizeDB
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
CreateNewProjectDockerDto
public CreateNewProjectDockerDto(Boolean dockerizeBackend, Boolean defaultDockerBackend, BackendDockerfileDto dockerBackend, Boolean dockerizeDB, DataBaseDockerfileDto dockerDB, Boolean defaultDockerDB) Creates an instance of aCreateNewProjectDockerDto
record class.- Parameters:
dockerizeBackend
- the value for thedockerizeBackend
record componentdefaultDockerBackend
- the value for thedefaultDockerBackend
record componentdockerBackend
- the value for thedockerBackend
record componentdockerizeDB
- the value for thedockerizeDB
record componentdockerDB
- the value for thedockerDB
record componentdefaultDockerDB
- the value for thedefaultDockerDB
record 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. All components in this record class are compared withObjects::equals(Object,Object)
. -
dockerizeBackend
Returns the value of thedockerizeBackend
record component.- Returns:
- the value of the
dockerizeBackend
record component
-
defaultDockerBackend
Returns the value of thedefaultDockerBackend
record component.- Returns:
- the value of the
defaultDockerBackend
record component
-
dockerBackend
Returns the value of thedockerBackend
record component.- Returns:
- the value of the
dockerBackend
record component
-
dockerizeDB
Returns the value of thedockerizeDB
record component.- Returns:
- the value of the
dockerizeDB
record component
-
dockerDB
Returns the value of thedockerDB
record component.- Returns:
- the value of the
dockerDB
record component
-
defaultDockerDB
Returns the value of thedefaultDockerDB
record component.- Returns:
- the value of the
defaultDockerDB
record component
-