Record Class MarketplaceInfo
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.MarketplaceInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavailablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theisDefaultrecord component.managed()Returns the value of themanagedrecord component.name()Returns the value of thenamerecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MarketplaceInfo
public MarketplaceInfo(String name, String source, Boolean isDefault, Boolean managed, Boolean available) Creates an instance of aMarketplaceInforecord class.- Parameters:
name- the value for thenamerecord componentsource- the value for thesourcerecord componentisDefault- the value for theisDefaultrecord componentmanaged- the value for themanagedrecord componentavailable- the value for theavailablerecord component
-
-
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
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
isDefault
Returns the value of theisDefaultrecord component.- Returns:
- the value of the
isDefaultrecord component
-
managed
Returns the value of themanagedrecord component.- Returns:
- the value of the
managedrecord component
-
available
Returns the value of theavailablerecord component.- Returns:
- the value of the
availablerecord component
-