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 aCreateNewProjectGithubDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionautoInit()Returns the value of theautoInitrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegitIgnoreTemplaterecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelicenseTemplaterecord component.private_()Returns the value of theprivate_record component.final StringtoString()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 aCreateNewProjectGithubDtorecord class.- Parameters:
autoInit- the value for theautoInitrecord componentlicenseTemplate- the value for thelicenseTemplaterecord componentgitIgnoreTemplate- the value for thegitIgnoreTemplaterecord 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 theautoInitrecord component.- Returns:
- the value of the
autoInitrecord component
-
licenseTemplate
Returns the value of thelicenseTemplaterecord component.- Returns:
- the value of the
licenseTemplaterecord component
-
gitIgnoreTemplate
Returns the value of thegitIgnoreTemplaterecord component.- Returns:
- the value of the
gitIgnoreTemplaterecord component
-
private_
Returns the value of theprivate_record component.- Returns:
- the value of the
private_record component
-