Record Class CreateNewProjectGithubDto
java.lang.Object
java.lang.Record
com.winchesters.devopsify.dto.request.project.CreateNewProjectGithubDto
-
Constructor Summary
ConstructorsConstructorDescriptionCreateNewProjectGithubDto
(Boolean autoInit, String licenseTemplate, String gitIgnoreTemplate, Boolean private_) Creates an instance of aCreateNewProjectGithubDto
record class. -
Method Summary
Modifier and TypeMethodDescriptionautoInit()
Returns the value of theautoInit
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thegitIgnoreTemplate
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelicenseTemplate
record component.private_()
Returns the value of theprivate_
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
CreateNewProjectGithubDto
public CreateNewProjectGithubDto(Boolean autoInit, String licenseTemplate, String gitIgnoreTemplate, Boolean private_) Creates an instance of aCreateNewProjectGithubDto
record class.- Parameters:
autoInit
- the value for theautoInit
record componentlicenseTemplate
- the value for thelicenseTemplate
record componentgitIgnoreTemplate
- the value for thegitIgnoreTemplate
record componentprivate_
- the value for theprivate_
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)
. -
autoInit
Returns the value of theautoInit
record component.- Returns:
- the value of the
autoInit
record component
-
licenseTemplate
Returns the value of thelicenseTemplate
record component.- Returns:
- the value of the
licenseTemplate
record component
-
gitIgnoreTemplate
Returns the value of thegitIgnoreTemplate
record component.- Returns:
- the value of the
gitIgnoreTemplate
record component
-
private_
Returns the value of theprivate_
record component.- Returns:
- the value of the
private_
record component
-