Package com.mindee.v2.cli
Class SearchModelsCommand
- java.lang.Object
-
- com.mindee.v2.cli.BaseCommand
-
- com.mindee.v2.cli.SearchModelsCommand
-
public class SearchModelsCommand extends BaseCommand
CLI command for searching available V2 models.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchModelsCommand.ModelType-
Nested classes/interfaces inherited from class com.mindee.v2.cli.BaseCommand
BaseCommand.OutputType
-
-
Field Summary
-
Fields inherited from class com.mindee.v2.cli.BaseCommand
apiKey, output
-
-
Constructor Summary
Constructors Constructor Description SearchModelsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercall()protected StringgetFullOutput(CommonResponse response)Returns the full string for the given response.protected StringgetSummaryOutput(CommonResponse response)Returns the summary string for the given response.-
Methods inherited from class com.mindee.v2.cli.BaseCommand
printOutput
-
-
-
-
Method Detail
-
getSummaryOutput
protected String getSummaryOutput(CommonResponse response)
Description copied from class:BaseCommandReturns the summary string for the given response. Override in each command.- Specified by:
getSummaryOutputin classBaseCommand- Parameters:
response- the response- Returns:
- the summary string
-
getFullOutput
protected String getFullOutput(CommonResponse response)
Description copied from class:BaseCommandReturns the full string for the given response.- Specified by:
getFullOutputin classBaseCommand- Parameters:
response- the product response- Returns:
- the full output string
-
-