Record Class MarketplaceInfo
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.MarketplaceInfo
@Generated("copilot-sdk-codegen")
public record MarketplaceInfo(String name, String source, Boolean isDefault)
extends Record
Registered marketplace summary.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMarketplaceInfo(String name, String source, Boolean isDefault) Creates an instance of aMarketplaceInforecord 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.Returns the value of theisDefaultrecord 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
-
-
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
-