Record Class InfoObject
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.dataroutes.openapi.InfoObject
public record InfoObject(String title, String summary, String description, String termsOfService, ContactObject contact, LicenseObject license, String version, LogoObject logoUrl)
extends Record
Record class that represents an OpenAPI Info Object
-
Constructor Summary
ConstructorsConstructorDescriptionInfoObject(String title, String summary, String description, String termsOfService, ContactObject contact, LicenseObject license, String version, LogoObject logoUrl) Creates an instance of aInfoObjectrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontact()Returns the value of thecontactrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.license()Returns the value of thelicenserecord component.logoUrl()Returns the value of thelogoUrlrecord component.summary()Returns the value of thesummaryrecord component.Returns the value of thetermsOfServicerecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
InfoObject
public InfoObject(String title, String summary, String description, String termsOfService, ContactObject contact, LicenseObject license, String version, LogoObject logoUrl) Creates an instance of aInfoObjectrecord class.- Parameters:
title- the value for thetitlerecord componentsummary- the value for thesummaryrecord componentdescription- the value for thedescriptionrecord componenttermsOfService- the value for thetermsOfServicerecord componentcontact- the value for thecontactrecord componentlicense- the value for thelicenserecord componentversion- the value for theversionrecord componentlogoUrl- the value for thelogoUrlrecord 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). -
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
summary
Returns the value of thesummaryrecord component.- Returns:
- the value of the
summaryrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
termsOfService
Returns the value of thetermsOfServicerecord component.- Returns:
- the value of the
termsOfServicerecord component
-
contact
Returns the value of thecontactrecord component.- Returns:
- the value of the
contactrecord component
-
license
Returns the value of thelicenserecord component.- Returns:
- the value of the
licenserecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
logoUrl
Returns the value of thelogoUrlrecord component.- Returns:
- the value of the
logoUrlrecord component
-