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 aInfoObject
record class. -
Method Summary
Modifier and TypeMethodDescriptioncontact()
Returns the value of thecontact
record component.Returns the value of thedescription
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.license()
Returns the value of thelicense
record component.logoUrl()
Returns the value of thelogoUrl
record component.summary()
Returns the value of thesummary
record component.Returns the value of thetermsOfService
record component.title()
Returns the value of thetitle
record component.final String
toString()
Returns a string representation of this record class.version()
Returns the value of theversion
record 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 aInfoObject
record class.- Parameters:
title
- the value for thetitle
record componentsummary
- the value for thesummary
record componentdescription
- the value for thedescription
record componenttermsOfService
- the value for thetermsOfService
record componentcontact
- the value for thecontact
record componentlicense
- the value for thelicense
record componentversion
- the value for theversion
record componentlogoUrl
- the value for thelogoUrl
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)
. -
title
Returns the value of thetitle
record component.- Returns:
- the value of the
title
record component
-
summary
Returns the value of thesummary
record component.- Returns:
- the value of the
summary
record component
-
description
Returns the value of thedescription
record component.- Returns:
- the value of the
description
record component
-
termsOfService
Returns the value of thetermsOfService
record component.- Returns:
- the value of the
termsOfService
record component
-
contact
Returns the value of thecontact
record component.- Returns:
- the value of the
contact
record component
-
license
Returns the value of thelicense
record component.- Returns:
- the value of the
license
record component
-
version
Returns the value of theversion
record component.- Returns:
- the value of the
version
record component
-
logoUrl
Returns the value of thelogoUrl
record component.- Returns:
- the value of the
logoUrl
record component
-