Class GetComponentTemplateAction.Response
java.lang.Object
org.opensearch.transport.TransportMessage
org.opensearch.transport.TransportResponse
org.opensearch.action.ActionResponse
org.opensearch.action.admin.indices.template.get.GetComponentTemplateAction.Response
- All Implemented Interfaces:
Writeable
,org.opensearch.common.xcontent.ToXContent
,org.opensearch.common.xcontent.ToXContentObject
- Enclosing class:
- GetComponentTemplateAction
public static class GetComponentTemplateAction.Response extends ActionResponse implements org.opensearch.common.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.transport.TransportResponse
TransportResponse.Empty
Nested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent
org.opensearch.common.xcontent.ToXContent.DelegatingMapParams, org.opensearch.common.xcontent.ToXContent.MapParams, org.opensearch.common.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields Modifier and Type Field Description static org.opensearch.common.ParseField
COMPONENT_TEMPLATE
static org.opensearch.common.ParseField
COMPONENT_TEMPLATES
static org.opensearch.common.ParseField
NAME
-
Constructor Summary
Constructors Constructor Description Response(java.util.Map<java.lang.String,ComponentTemplate> componentTemplates)
Response(StreamInput in)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Map<java.lang.String,ComponentTemplate>
getComponentTemplates()
int
hashCode()
org.opensearch.common.xcontent.XContentBuilder
toXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params)
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Field Details
-
NAME
public static final org.opensearch.common.ParseField NAME -
COMPONENT_TEMPLATES
public static final org.opensearch.common.ParseField COMPONENT_TEMPLATES -
COMPONENT_TEMPLATE
public static final org.opensearch.common.ParseField COMPONENT_TEMPLATE
-
-
Constructor Details
-
Method Details
-
getComponentTemplates
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toXContent
public org.opensearch.common.xcontent.XContentBuilder toXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.opensearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-