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 Details

    • CreateNewProjectDockerDto

      public CreateNewProjectDockerDto(Boolean dockerizeBackend, Boolean defaultDockerBackend, BackendDockerfileDto dockerBackend, Boolean dockerizeDB, DataBaseDockerfileDto dockerDB, Boolean defaultDockerDB)
      Creates an instance of a CreateNewProjectDockerDto record class.
      Parameters:
      dockerizeBackend - the value for the dockerizeBackend record component
      defaultDockerBackend - the value for the defaultDockerBackend record component
      dockerBackend - the value for the dockerBackend record component
      dockerizeDB - the value for the dockerizeDB record component
      dockerDB - the value for the dockerDB record component
      defaultDockerDB - the value for the defaultDockerDB record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • dockerizeBackend

      public Boolean dockerizeBackend()
      Returns the value of the dockerizeBackend record component.
      Returns:
      the value of the dockerizeBackend record component
    • defaultDockerBackend

      public Boolean defaultDockerBackend()
      Returns the value of the defaultDockerBackend record component.
      Returns:
      the value of the defaultDockerBackend record component
    • dockerBackend

      public BackendDockerfileDto dockerBackend()
      Returns the value of the dockerBackend record component.
      Returns:
      the value of the dockerBackend record component
    • dockerizeDB

      public Boolean dockerizeDB()
      Returns the value of the dockerizeDB record component.
      Returns:
      the value of the dockerizeDB record component
    • dockerDB

      public DataBaseDockerfileDto dockerDB()
      Returns the value of the dockerDB record component.
      Returns:
      the value of the dockerDB record component
    • defaultDockerDB

      public Boolean defaultDockerDB()
      Returns the value of the defaultDockerDB record component.
      Returns:
      the value of the defaultDockerDB record component