Record Class NullableOrganization
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.ref.NullableOrganization
- Record Components:
Name- Name of the organization. If set can not be blankType- Organization's type (NGO, educational, government, etc.). If set can not be blankIndustry- Industry (financial, industry, etc.). If set can not be blank
-
Constructor Summary
ConstructorsConstructorDescriptionNullableOrganization(@NotNull String Name, String Website, String Type, String Industry) Creates an instance of aNullableOrganizationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Industry()Returns the value of theIndustryrecord component.@NotNull StringName()Returns the value of theNamerecord component.final StringtoString()Returns a string representation of this record class.Type()Returns the value of theTyperecord component.Website()Returns the value of theWebsiterecord component.
-
Constructor Details
-
NullableOrganization
-
-
Method Details
-
toString
-
hashCode
-
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). -
Name
-
Website
Returns the value of theWebsiterecord component.- Returns:
- the value of the
Websiterecord component
-
Type
-
Industry
-