Record Class CreateNewProjectWithInitDto
java.lang.Object
java.lang.Record
com.winchesters.devopsify.dto.request.project.CreateNewProjectWithInitDto
public record CreateNewProjectWithInitDto(CreateNewProjectGeneralDto general, CreateNewProjectGithubDto github, GenerateMavenProjectDto maven, CreateNewProjectDockerDto docker, CreateNewProjectJenkinsDto jenkins, CreateNewProjectNexusDto nexus, CreateNewProjectEc2Dto ec2)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCreateNewProjectWithInitDto(CreateNewProjectGeneralDto general, CreateNewProjectGithubDto github, GenerateMavenProjectDto maven, CreateNewProjectDockerDto docker, CreateNewProjectJenkinsDto jenkins, CreateNewProjectNexusDto nexus, CreateNewProjectEc2Dto ec2) Creates an instance of aCreateNewProjectWithInitDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptiondocker()Returns the value of thedockerrecord component.ec2()Returns the value of theec2record component.final booleanIndicates whether some other object is "equal to" this one.general()Returns the value of thegeneralrecord component.github()Returns the value of thegithubrecord component.final inthashCode()Returns a hash code value for this object.jenkins()Returns the value of thejenkinsrecord component.maven()Returns the value of themavenrecord component.nexus()Returns the value of thenexusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateNewProjectWithInitDto
public CreateNewProjectWithInitDto(CreateNewProjectGeneralDto general, CreateNewProjectGithubDto github, GenerateMavenProjectDto maven, CreateNewProjectDockerDto docker, CreateNewProjectJenkinsDto jenkins, CreateNewProjectNexusDto nexus, CreateNewProjectEc2Dto ec2) Creates an instance of aCreateNewProjectWithInitDtorecord class.- Parameters:
general- the value for thegeneralrecord componentgithub- the value for thegithubrecord componentmaven- the value for themavenrecord componentdocker- the value for thedockerrecord componentjenkins- the value for thejenkinsrecord componentnexus- the value for thenexusrecord componentec2- the value for theec2record 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). -
general
Returns the value of thegeneralrecord component.- Returns:
- the value of the
generalrecord component
-
github
Returns the value of thegithubrecord component.- Returns:
- the value of the
githubrecord component
-
maven
Returns the value of themavenrecord component.- Returns:
- the value of the
mavenrecord component
-
docker
Returns the value of thedockerrecord component.- Returns:
- the value of the
dockerrecord component
-
jenkins
Returns the value of thejenkinsrecord component.- Returns:
- the value of the
jenkinsrecord component
-
nexus
Returns the value of thenexusrecord component.- Returns:
- the value of the
nexusrecord component
-
ec2
Returns the value of theec2record component.- Returns:
- the value of the
ec2record component
-