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 aCreateNewProjectDockerDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefaultDockerBackendrecord component.Returns the value of thedefaultDockerDBrecord component.Returns the value of thedockerBackendrecord component.dockerDB()Returns the value of thedockerDBrecord component.Returns the value of thedockerizeBackendrecord component.Returns the value of thedockerizeDBrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()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 aCreateNewProjectDockerDtorecord class.- Parameters:
dockerizeBackend- the value for thedockerizeBackendrecord componentdefaultDockerBackend- the value for thedefaultDockerBackendrecord componentdockerBackend- the value for thedockerBackendrecord componentdockerizeDB- the value for thedockerizeDBrecord componentdockerDB- the value for thedockerDBrecord componentdefaultDockerDB- the value for thedefaultDockerDBrecord 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 thedockerizeBackendrecord component.- Returns:
- the value of the
dockerizeBackendrecord component
-
defaultDockerBackend
Returns the value of thedefaultDockerBackendrecord component.- Returns:
- the value of the
defaultDockerBackendrecord component
-
dockerBackend
Returns the value of thedockerBackendrecord component.- Returns:
- the value of the
dockerBackendrecord component
-
dockerizeDB
Returns the value of thedockerizeDBrecord component.- Returns:
- the value of the
dockerizeDBrecord component
-
dockerDB
Returns the value of thedockerDBrecord component.- Returns:
- the value of the
dockerDBrecord component
-
defaultDockerDB
Returns the value of thedefaultDockerDBrecord component.- Returns:
- the value of the
defaultDockerDBrecord component
-