Package org.elasticsearch.client.license
Class PutLicenseResponse
- java.lang.Object
-
- org.elasticsearch.client.license.PutLicenseResponse
-
public final class PutLicenseResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description PutLicenseResponse()PutLicenseResponse(boolean acknowledged, LicensesStatus status)PutLicenseResponse(boolean acknowledged, LicensesStatus status, String acknowledgeHeader, Map<String,String[]> acknowledgeMessages)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringacknowledgeHeader()Map<String,String[]>acknowledgeMessages()booleanequals(Object o)static PutLicenseResponsefromXContent(XContentParser parser)inthashCode()booleanisAcknowledged()LicensesStatusstatus()
-
-
-
Constructor Detail
-
PutLicenseResponse
public PutLicenseResponse()
-
PutLicenseResponse
public PutLicenseResponse(boolean acknowledged, LicensesStatus status)
-
PutLicenseResponse
public PutLicenseResponse(boolean acknowledged, LicensesStatus status, String acknowledgeHeader, Map<String,String[]> acknowledgeMessages)
-
-
Method Detail
-
isAcknowledged
public boolean isAcknowledged()
-
status
public LicensesStatus status()
-
acknowledgeHeader
public String acknowledgeHeader()
-
fromXContent
public static PutLicenseResponse fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
-