fromString static method
Implementation
static EApiResponseStatusCode fromString(String statusCode) {
switch (statusCode) {
case 'BIN000':
return EApiResponseStatusCode.bIN000;
case 'BIN001':
return EApiResponseStatusCode.bIN001;
case 'BIN002':
return EApiResponseStatusCode.bIN002;
case 'BIN003':
return EApiResponseStatusCode.bIN003;
case 'BIN004':
return EApiResponseStatusCode.bIN004;
case 'BIN005':
return EApiResponseStatusCode.bIN005;
case 'BIN006':
return EApiResponseStatusCode.bIN006;
case 'BIN007':
return EApiResponseStatusCode.bIN007;
case 'BIN008':
return EApiResponseStatusCode.bIN008;
case 'BIN010':
return EApiResponseStatusCode.bIN010;
case 'BIN011':
return EApiResponseStatusCode.bIN011;
case 'BIN012':
return EApiResponseStatusCode.bIN012;
case 'BIN404':
return EApiResponseStatusCode.bIN404;
case 'BIN500':
return EApiResponseStatusCode.bIN500;
default:
return EApiResponseStatusCode.bIN000; // Default to a safe value
}
}