Record Class OrasTagParameterDefinition.TagsResponse
java.lang.Object
java.lang.Record
io.jenkins.plugins.oras.parameter.OrasTagParameterDefinition.TagsResponse
- Record Components:
effectiveReference- The reference- List of tags
- Enclosing class:
OrasTagParameterDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionTagsResponse(String effectiveReference, List<String> tags) Creates an instance of aTagsResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theeffectiveReferencerecord component.empty(RegistryClient client, land.oras.ContainerRef containerRef) final booleanIndicates whether some other object is "equal to" this one.getTags()final inthashCode()Returns a hash code value for this object.of(RegistryClient client, land.oras.ContainerRef containerRef, Integer maxTags) tags()Returns the value of thetagsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TagsResponse
Creates an instance of aTagsResponserecord class.- Parameters:
effectiveReference- the value for theeffectiveReferencerecord componenttags- the value for thetagsrecord component
-
-
Method Details
-
of
public static OrasTagParameterDefinition.TagsResponse of(RegistryClient client, land.oras.ContainerRef containerRef, Integer maxTags) -
empty
public static OrasTagParameterDefinition.TagsResponse empty(RegistryClient client, land.oras.ContainerRef containerRef) -
getEffectiveReference
-
getTags
-
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). -
effectiveReference
Returns the value of theeffectiveReferencerecord component.- Returns:
- the value of the
effectiveReferencerecord component
-
tags
-